/* ============================================================
全体設定
===============================================================*/
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 750px;
  margin: 0px;
  margin-inline: auto;
  font-family: var(--font-hiragino);
  /* 中央揃え */
}

@media (min-width: 751px) {
  body {
    max-width: 540px;
    margin-inline: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a{
	text-decoration: none;
}

/* ============================================================
 CSS Custom Properties (Variables)
 ===============================================================*/
:root {
  /* Colors */
  --color-primary: #ff7474;
  --color-black: #000;
  --color-white: #fff;
  --color-bg-light: #f6f6f6;
  --color-bg-pink-light: #fff3f3;
  --color-bg-table-highlight: #cbe3f8;
  --color-text-gray: #8c9297;
  --color-border-gray: #cacaca;
  --color-border-dashed: #dfdfdf;
  /* Responsive */
  --rpx: calc(100vw / 750);

  /* Typography */
  --font-gothic: "Zen Kaku Gothic New", sans-serif;
  --font-hiragino: "Zen Kaku Gothic New", "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Common Spacing & Sizing (頻出値のみ) */
  --radius-sm: calc(15 * var(--rpx));
  --radius-md: calc(40 * var(--rpx));
  --radius-lg: calc(45 * var(--rpx));
  --radius-pill: 9999px;
}


/* ============================================================
common
===============================================================*/

.article-catlist {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(5 * var(--rpx));
}

.article-cat , .article-cat--single {
  display: block;
  width: max-content;
  padding: calc(6 * var(--rpx)) calc(20 * var(--rpx));
  font-weight: 600;
  font-size: calc(14 * var(--rpx));
  line-height: 1;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background-color: #fff;
  margin: 0px;
  text-decoration: none;
}

.article-cat--single {
  font-size: calc(17 * var(--rpx));
}

.category-section {
  width: 85.4%;
  margin-inline: auto;
  margin-top: calc(52 * var(--rpx));
}

.category-wrapper {
  width: 100%;
  border: 1px solid var(--color-primary);
  border-radius: calc(52 * var(--rpx));
  padding: calc(45 * var(--rpx)) calc(55 * var(--rpx)) calc(10 * var(--rpx));
  background-color: #fff;
  box-sizing: border-box;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: calc(45 * var(--rpx));
  margin-bottom: calc(35 * var(--rpx));
}

.category-title-icon {
  display: block;
  width: calc(36 * var(--rpx));
  height: auto;
}

.category-title {
  font-family: var(--font-gothic);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  font-size: calc(32 * var(--rpx));
  font-weight:600;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--color-primary);
}

.category-title[data-en]::after{
  content: attr(data-en);
  display: block;
  font-family: var(--font-gothic);
  font-size: calc(17 * var(--rpx));
  font-weight: 600;
  line-height: 1;
  color: var(--color-border-gray);;
}

.category-item {
  display: block;
  border-top: calc(2 * var(--rpx)) dashed var(--color-border-dashed);
}

.category-link {
  color: var(--color-black);
  font-weight: 500;
  font-size: calc(25 * var(--rpx));
  line-height: 1;
  display: block;
  padding: calc(34 * var(--rpx)) calc(12 * var(--rpx));
  transition: color ease .3s;
  text-decoration: none;
}

.category-link:hover {
  color: var(--color-primary);
}

.return-top {
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--color-primary);
  display: block;
  max-width: max-content;
  margin: calc(68 * var(--rpx)) auto;
  transition: opacity ease .3s;
  text-decoration: none;
}

@media (max-width: 750px) {
	.return-top {
		margin-bottom: 25%;
	}
}


.return-top:hover {
  opacity: 0.7;
}

.head-category {
  background-color: #fff;
  width: 82.3%;
  border-radius: calc(52 * var(--rpx));
  margin: 0 auto;
  margin-bottom: calc(40 * var(--rpx));
}

.head-category-button {
  font-size: calc(28 * var(--rpx));
  font-weight: 500;
  color: var(--color-black);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: calc(44 * var(--rpx));
  padding: calc(35 * var(--rpx)) calc(40 * var(--rpx));
}

.head-category-title-icon {
  display: block;
  width: calc(33 * var(--rpx));
  height: auto;
  aspect-ratio: 1 / 1;
  flex: none;
}

.head-category-title {
  text-align: left;
  flex: 1;
  margin: 0px;
}

.head-category-icon {
  position: relative;
  display: block;
  width: calc(21 * var(--rpx));
  height: calc(21 * var(--rpx));
  flex-shrink: 0;
}

.head-category-icon::before,
.head-category-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 9999px;
}

.head-category-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.head-category-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform .3s, opacity .3s;
}

.head-category-button.is-open .head-category-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.head-category-list {
  display: none;
  padding: 0 calc(40 * var(--rpx)) calc(35 * var(--rpx));
}

.head-category-item {
  display: block;
  border-top: calc(2 * var(--rpx)) dashed var(--color-border-dashed);
}

.head-category-item:last-child .head-category-link{
  padding-bottom: 0;
}

.head-category-link {
  color: var(--color-black);
  font-weight: 500;
  font-size: calc(24 * var(--rpx));
  line-height: 1;
  display: block;
  padding: calc(30 * var(--rpx)) calc(12 * var(--rpx));
  transition: color ease .3s;
  text-decoration: none;
}

.head-category-link:hover {
  color: var(--color-primary);
}



/* ============================================================
ヘッダー
===============================================================*/

.header-container {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(24 * var(--rpx));
}

.header-logo {
  margin-left: calc(30 * var(--rpx));
}

.header-logo img {
  height: calc(56.25 * var(--rpx));
  width: auto;
}

.header-login {
  margin-left: calc(75 * var(--rpx));
}

.header-login img {
  height: calc(58.5 * var(--rpx));
  width: auto;
}

.header-hamburger {
  position: fixed;
  top: calc(24 * var(--rpx));
  right: calc(30 * var(--rpx));
  width: calc(60 * var(--rpx));
  height: calc(60 * var(--rpx));
  background: transparent;
  border: none;
  cursor: pointer;
  padding: calc(10 * var(--rpx)) calc(5 * var(--rpx));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
}

.header-hamburger span {
  display: block;
  width: 100%;
  height: calc(3 * var(--rpx));
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.header-hamburger.active span:nth-child(1) {
  position: absolute;
  left: calc(5 * var(--rpx));
  right: calc(5 * var(--rpx));
  width: auto;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header-hamburger.active span:nth-child(3) {
  position: absolute;
  left: calc(5 * var(--rpx));
  right: calc(5 * var(--rpx));
  width: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.header-nav-logo {
  display: none;
  /* モバイルでは非表示 */
}

.header-nav {
  position: fixed;
  top: calc(15 * var(--rpx));
  right: calc(15 * var(--rpx));
  background-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: calc(15 * var(--rpx));
  padding-top: calc(40 * var(--rpx));
  padding-left: calc(75 * var(--rpx));
  padding-right: calc(105 * var(--rpx));
  padding-bottom: calc(40 * var(--rpx));
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(2 * var(--rpx)));
  transition: opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-close-btn {
  position: absolute;
  top: calc(24 * var(--rpx));
  right: calc(30 * var(--rpx));
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  color: var(--color-white);
  font-family: var(--font-gothic);
  font-weight: 600;
  font-size: calc(30 * var(--rpx));
}

.header-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.header-nav a {
  color: var(--color-white);
  font-family: var(--font-gothic);
  font-weight: 600;
  font-size: calc(27 * var(--rpx));
  line-height: 2;
}

.nav-cta-btn {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-primary) !important;
  font-family: var(--font-gothic);
  font-weight: 600;
  font-size: calc(18 * var(--rpx));
  border-radius: calc(15 * var(--rpx));
  padding-top: calc(10 * var(--rpx));
  padding-left: calc(25 * var(--rpx));
  padding-right: calc(70 * var(--rpx));
  padding-bottom: calc(10 * var(--rpx));
  margin-top: calc(15 * var(--rpx));
  width: 100%;
  box-sizing: border-box;
}

.nav-cta-btn::after {
  content: '';
  position: absolute;
  background-image: url('../img/shop/arrow-pink.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: calc(20 * var(--rpx));
  height: calc(18 * var(--rpx));
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}
.nav-cta-btn .small {
  display: block;
  font-size: .9em;
  text-align: center;
  line-height: 1.1;
  position: relative;
  top: -.2em;
  left: .5em;
}

.site-title-area{
	margin: 0 auto;
    margin-top: min(4vw, 30px);
	margin-bottom: min(11.4vw, 85px);
	display: block;
	position: relative;
}
.site-title {
    width: 50.7%;
    margin: 0 auto;
}
.site-title-area .sns{
	display: block;
    position: absolute;
    bottom: 25%;
    right: 4%;
}
.site-title-area .sns.sns_insta{
    right: 12%;
    width: min(4.2vw, 31px);
}
.site-title-area .sns.sns_tiktok{
    width: min(3.6vw, 27px);
}


@media (min-width: 1200px) {

  .header-container,
  .header-hamburger,
  .nav-close-btn {
      display: none;
  }

  .header-nav {
      opacity: 1;
      visibility: visible;
      top: 50%;
      transform: translateY(-50%);
      left: calc(50% + 10px + (540px / 2));
      padding-top: 10px;
      padding-bottom: 10px;
      padding-left: 10px;
      padding-right: 10px;
      width: 200px;
      line-height: 1;
  }

  .header-nav a {
      font-size: calc(20 * var(--rpx));
      color: var(--color-white);
      font-weight: 500;
  }
  
  .nav-cta-btn{
	  width: 90%;
  }

}



/* ============================================================
mobile btns
===============================================================*/
.mobile_btn_area{
    background: rgba(0,0,0,0.6);
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 2.6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.mobile_btn_area .btn{
	width: 49%;
}

@media (min-width: 751px) {
	.mobile_btn_area {
      display: none;
	}
}


/* ============================================================
archive
===============================================================*/
.archive-section {
  padding: calc(75 * var(--rpx)) 0;
  background-color: #fff3f3;
  border-radius: calc(40 * var(--rpx));
  margin-bottom: calc(52 * var(--rpx));
}

.archive-title {
    width: 37.7%;
    margin: 0 auto;
    margin-bottom: min(9.4vw, 70px);
}

.archive-inner {
  width: 85.4%;
  margin-inline: auto;
}

.archive-sub-title {
  font-family: var(--font-gothic);
  font-size: calc(45 * var(--rpx));
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: calc(20 * var(--rpx));
}

.archive-post-count {
  font-size: calc(17 * var(--rpx));
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
  line-height: 1;
}

.archive-article-list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: calc(60 * var(--rpx));
  margin-top: calc(63 * var(--rpx));
}

.archive-article-item{
  display: block;
  width: calc(50% - 30 * var(--rpx));
}

.archive-article-item a{
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: calc(20 * var(--rpx));
  width: 100%;
  height: 100%;
  transition: opacity .3s;
  text-decoration: none;
}

.archive-article-item a:hover {
  opacity: 0.6;
}

.archive-article-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background-color: #fff;
  display: block;
  border-radius: calc(20 * var(--rpx));
}

.archive-article-detail{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(8 * var(--rpx)) calc(22 * var(--rpx));
  margin-bottom: calc(20 * var(--rpx));
}

.archive-article-date {
  font-family: var(--font-gothic);
  font-size: calc(18 * var(--rpx));
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  color:#535353;
  margin-top: calc(6 * var(--rpx));
  text-decoration: none;
}

.archive-article-title {
  --titlelh: 1.46;
  font-size: calc(22 * var(--rpx));
  font-weight: 600;
  letter-spacing: .08em;
  line-height: var(--titlelh);
  color: var(--color-black);
}

.archive-article-title::before {
  content: '';
  display: block;
  margin-top: calc((1 - var(--titlelh)) * 0.5em);
}

/* ============================================================
pagination
===============================================================*/

.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--rpx));
  margin-top: calc(52 * var(--rpx));
}

.archive-pagination a,
.archive-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(80 * var(--rpx));
  height: calc(60 * var(--rpx));
  border: 1px solid var(--color-primary);
  border-radius: calc(33 * var(--rpx));
  font-size: calc(24 * var(--rpx));
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity .3s;
}

.archive-pagination a:hover {
  opacity: 0.7;
}

.archive-pagination .current {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.archive-pagination a img {
  width: calc(20 * var(--rpx));
  height: auto;
  display: block;
}

.archive-pagination .prev {
  transform: scaleX(-1);
}

.archive-pagination .dots {
  border: none !important;
  margin: 0 -1em !important;
}

/* ============================================================
single
===============================================================*/

.single-section {
  
}

.single-wrapper {
  width: 89.6%;
  margin-inline: auto;
}

.single-detail-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(8 * var(--rpx)) calc(28 * var(--rpx));
  margin-bottom: calc(20 * var(--rpx));
}

.single-detail-date {
  font-family: var(--font-gothic);
  font-size: calc(22 * var(--rpx));
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  color:#535353;
  margin-top: calc(4 * var(--rpx));
}

.single-title {
  font-family: var(--font-gothic);
  font-size: calc(34 * var(--rpx));
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.61;
  margin-left: -.05em;
  margin-bottom: calc(20 * var(--rpx));
}

.single-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background-color: #F1F6F7;
  border-radius: calc(28 * var(--rpx));
}

.single-content p {
  font-size: calc(24 * var(--rpx));
  letter-spacing: 0;
  line-height: 1.67;
}

.single-content p:not(:last-child) {
  margin-bottom: 1em;
}

.single-content a {
  font-size: calc(24 * var(--rpx));
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity .3s;
}

.single-content a:hover {
  opacity: 0.7;
}

.single-content h2, .single-content h3, .single-content h4, .single-content h5 , .single-content h6 {
  font-family: var(--font-gothic);
  font-size: calc(30 * var(--rpx));
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.33;
  margin-bottom: calc(35 * var(--rpx));
  margin-top: calc(60 * var(--rpx));
  word-break: break-all;
}

.single-content h2 {
  color: var(--color-primary);
  padding: calc(30 * var(--rpx));
  border-radius: calc(13 * var(--rpx));
  background-color: var(--color-bg-pink-light);
}

.single-content h3 {
  display: flex;
  align-items: flex-start;
  column-gap: calc(10 * var(--rpx));
  padding-bottom: calc(15 * var(--rpx));
  border-bottom: calc(2 * var(--rpx)) dashed var(--color-border-dashed);
}

.single-content h3::before {
  content: '';
  display: block;
  width: calc(22 * var(--rpx));
  height: auto;
  aspect-ratio: 22 / 30;
  background-image: url('../img/shop/single-h3.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: calc(7 * var(--rpx));
}

.single-content h4 {
  display: flex;
  gap: calc(10 * var(--rpx));
}

.single-content h4::before {
  content: '';
  display: block;
  width: calc(4 * var(--rpx));
  height: auto;
  background-color: var(--color-primary);
  flex: none;
  border-radius: calc(2 * var(--rpx));
  margin: calc(-6 * var(--rpx)) 0;
}

.single-content h5 {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--rpx));
}

.single-content h5::before {
  content: '';
  display: block;
  width: calc(12 * var(--rpx));
  height: auto;
  aspect-ratio: 1 / 1;
  flex: none;
  background-color: var(--color-primary);
  border-radius: calc(6 * var(--rpx));
}

.single-content .wp-block-list li {
  font-size: calc(24 * var(--rpx));
  display: flex;
}

.single-content .wp-block-list li::before {
  content: '・';
  display: block;
  flex: none;
}

.single-content ol.wp-block-list {
  counter-reset: ol-counter;
}

.single-content ol.wp-block-list li {
  display: flex;
  counter-increment: ol-counter;
  margin-left: .35em;                                   
}

.single-content ol.wp-block-list li::before {
  content: counter(ol-counter)'.';
}

.single-content figure {
  margin-top: 1em;
}

.single-content figure img {
  max-width: 100%;
}

.single-content blockquote {
  font-size: calc(24 * var(--rpx));
  line-height: 1.67;
  margin-top: 1em;
  padding: calc(30 * var(--rpx));
  border-radius: calc(13 * var(--rpx));
  background-color: #f6f6f6;
}

.single-other {
  margin-top: calc(60 * var(--rpx));
}

.single-other-item {
  display: flex;
  column-gap: calc(33 * var(--rpx));
  border-top: 1px solid var(--color-border-dashed);
  border-bottom: 1px solid var(--color-border-dashed);
  padding: calc(30 * var(--rpx)) 0;
  transition: opacity .3s;
  text-decoration: none;
}

.single-other-item:hover {
  opacity: 0.6;
}

.single-other-thumb {
  display: block;
  width: calc(146 * var(--rpx));
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background-color: #F1F6F7;
  border-radius: calc(19 * var(--rpx));
  flex: none;
}

.single-other-date {
  font-family: var(--font-gothic);
  font-size: calc(16 * var(--rpx));
  font-weight: 500;
  line-height: 1;
  color:#535353;
  margin-top: calc(6 * var(--rpx));
}

.single-other-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: calc(8 * var(--rpx)) calc(20 * var(--rpx));
  margin-bottom: calc(15 * var(--rpx));
}

.single-other-title {
  font-family: var(--font-gothic);
  font-size: calc(20 * var(--rpx));
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.46;
  color: var(--color-black);
}

/* ============================================================
single pager
===============================================================*/

.single-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 * var(--rpx));
  padding: calc(60 * var(--rpx)) 0 calc(30 * var(--rpx));
}

.single-pager-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(110 * var(--rpx));
  height: calc(70 * var(--rpx));
  border: 1.5px solid var(--color-primary);
  border-radius: calc(38 * var(--rpx));
  text-decoration: none;
  transition: opacity .3s;
  flex-shrink: 0;
}

.single-pager-arrow img {
  width: calc(20 * var(--rpx));
  height: auto;
  display: block;
}

.single-pager-arrow--prev img {
  transform: scaleX(-1);
}

.single-pager-arrow--disabled {
  opacity: 0;
  pointer-events: none;
}

.single-pager-arrow:hover {
  opacity: 0.7;
}

.single-pager-back {
  font-family: var(--font-gothic);
  font-size: calc(24 * var(--rpx));
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: max-content;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: calc(38 * var(--rpx));
  padding: calc(25 * var(--rpx)) calc(70 * var(--rpx));
  transition: opacity .3s;
}

.single-pager-back:hover {
  opacity: 0.8;
}

/* ============================================================
toc
===============================================================*/

div#ez-toc-container {
  border: none!important;
  box-sizing: border-box;
  padding: calc(50 * var(--rpx)) calc(40 * var(--rpx));
  border-radius: calc(13 * var(--rpx));
  margin: calc(50 * var(--rpx)) 0 !important;
  box-shadow: none;
}

div#ez-toc-container .ez-toc-title {
  font-family: var(--font-gothic);
  font-size: calc(32 * var(--rpx))!important;
  font-weight: 600 !important;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: calc(20 * var(--rpx));
  padding-bottom: calc(40 * var(--rpx));
  margin-bottom: 0px;
}


div#ez-toc-container .ez-toc-title::after {
  content: 'CONTENTS';
  display: block;
  font-size: calc(13 * var(--rpx));
  line-height: 1;
  letter-spacing: .04em;
  margin-top: calc(2 * var(--rpx));
}

div#ez-toc-container ul li{
  font-size: calc(22 * var(--rpx))!important;
  font-family: var(--font-hiragino);
  font-weight: 500;
  padding: calc(40 * var(--rpx)) 0;
  border-top: calc(2 * var(--rpx)) dashed var(--color-border-dashed);
  word-break: break-all;
}

div#ez-toc-container a {
  column-gap: calc(18 * var(--rpx));
}

.ez-toc-counter nav ul li a::before {
  content: counters(item, '.', decimal-leading-zero);  
  font-size: calc(20 * var(--rpx)) !important;
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  margin-right: 0 !important;
}

body div#ez-toc-container nav ul ul li {
  font-size: calc(20 * var(--rpx)) !important;
}

div#ez-toc-container ul li ul {
  padding: 0;
}

div#ez-toc-container ul li a {
  margin-bottom: calc(15 * var(--rpx));
}

div#ez-toc-container ul li > ul {
  margin-left: 1.5em;
}

div#ez-toc-container ul li > ul li > ul {
  margin-left: 0;
}

div#ez-toc-container ul li ul li {
  padding: 0;
  border: none;
}

div#ez-toc-container .ez-toc-list li:last-child {
  padding-bottom: 0 !important;
}

div#ez-toc-container ul li > ul li a {
  column-gap: calc(13 * var(--rpx));
}

div#ez-toc-container li:last-child:not(:has(li)) > a {
  margin-bottom: 0 !important;
}

div#ez-toc-container ul li ul li a::before {
  content: '';
  counter-increment: none;
  width: calc(10 * var(--rpx));
  height: calc(10 * var(--rpx));
  background-color: var(--color-primary);
  border-radius: calc(5 * var(--rpx));
  flex: none;
  margin-top: calc(11 * var(--rpx));
}

div#ez-toc-container ul.ez-toc-list a:visited {
  color: #000;
}

/* ============================================================
media query
===============================================================*/

@media (min-width: 751px) {
  :root {
      --rpx: calc(540px / 750);
  }
}