*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: clip;
  scroll-padding-top: 12rem;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fz-15);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--text-black);
  background: var(--base-gray);
  overflow-x: visible;
}

a {
  color: var(--text-black);
  text-decoration: none;
}

p {
  font-weight: 300;
}

.sp-br {
  display: none;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 8rem;
  }

  .sp-br {
    display: block;
  }

  body {
  font-size: var(--fz-14);
  }
}


:root {

  /* -------------
  color 
  --------------*/
  /* main */
  --pink: #BF9C95;
  --beige: #D8CDB7;

  /* accent */
  --gold: #D7AF73;
  --red: #D79184;

  /* text */
  --text-black: #333333;
  --text-gray: #8B8B8B;

  /* heading */
  --heading-brown: #5A4B23;

  /* base */
  --base-light: #EFECEC;
  --base-gray: #F5F5F5;
  --base-white: #FFFFFF;
  --base-beige: #E8E0CA;

  /* decoration */
  --deco-pink: #DFCDCA;

  /* highlight */
  --highlight: #f8ff3766;

  /* line */
  --line: #BF9C9559;

  /* -----
  --------
  font
  --------------*/
  --font-base: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Italiana", serif;

  /* -------------
  font-size
  --------------*/
  --fz-8: 0.8rem;
  --fz-9: 0.9rem;
  --fz-10: 1rem;
  --fz-11: 1.1rem;
  --fz-12: 1.2rem;
  --fz-13: 1.3rem;
  --fz-14: 1.4rem;
  --fz-15: 1.5rem;
  --fz-16: 1.6rem;
  --fz-17: 1.7rem;
  --fz-18: 1.8rem;
  --fz-19: 1.9rem;
  --fz-20: 2rem;
  --fz-22: 2.2rem;
  --fz-24: 2.4rem;
  --fz-26: 2.6rem;
  --fz-28: 2.8rem;
  --fz-30: 3.0rem;
  --fz-32: 3.2rem;
  --fz-34: 3.4rem;
  --fz-36: 3.6rem;
  --fz-38: 3.8rem;
  --fz-40: 4rem;
  --fz-48: 4.8rem;
  --fz-64: 6.4rem;
  --fz-110: 11rem;
}

/*------------------------
共通パーツ
-------------------------*/

/*heading*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
}

h2 {
  font-size: var(--fz-28);
  font-weight: 500;
  color: var(--heading-brown);
  position: relative;
  margin: 0 0 5.2rem;
  padding-bottom: 1.3rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.8rem;
  height: 2px;
  background: var(--pink);
  opacity: 0.4;
}

h3 {
  position: relative;
  padding-bottom: 1.4rem;
  font-size: var(--fz-22);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text-black);
}

h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--gold) 0,
    var(--gold) 4rem,
    var(--base-light) 4rem,
    var(--base-light) 100%
  );
}

h4 {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fz-20);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text-black);
}

h4::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 2.4rem;
  background: var(--pink);
  transform: translateY(-50%);
  opacity: 0.5;
}

.heading-number {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: var(--fz-28);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text-black);
}

.heading-number span {
  font-family: var(--font-en);
  font-size: var(--fz-40);
  line-height: 1;
  color: var(--pink);
}

h5 {
  font-size: var(--fz-18);
  font-weight: 400;
  margin: 0 0 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--pink);
}

@media (max-width: 767px) {
  h2 {
    font-size: var(--fz-20);
  }

  h3 {
    font-size: var(--fz-18);
  }

  h4 {
    font-size: var(--fz-16);
  }

  h5 {
    font-size: var(--fz-15);
  }
}

/*list*/

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li {
  position: relative;
  padding-left: 2.4rem;
}

ul li::before {
  content: "";
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--deco-pink);
  transform: translateY(-50%);
}

/* marker */

em {
    font-style: normal;
    font-weight: 500;
    background: linear-gradient(transparent 70%, var(--highlight) 0%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: left bottom;
    transition: background-size 1.0s ease-out;
}

/* 4. スクロール検知時のアニメーション */
em.is-active {
    background-size: 100% 100%;
}

/* 注釈 */

small,
.small {
  display: block;
  margin-top: 1.2rem;
  font-size: var(--fz-12);
  font-weight: 300;
  color: var(--text-gray);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

small + small,
.small + .small {
  margin-top: 0.4rem;
}


/*table*/

.c-table {
  width: 100%;
  margin: 4rem 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--base-white);
}

.c-table th,
.c-table td {
  padding: 3.2rem 2.4rem;
  border: 1px solid var(--line);
  font-size: var(--fz-13);
  line-height: 1.8;
  color: var(--heading-brown);
  text-align: center;
  vertical-align: middle;
}

.c-table th {
  padding: 2.4rem;
  background: var(--deco-pink);
  font-family: var(--font-serif);
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.5;
}

.c-table p {
  margin: 0;
}

.c-table .is-large {
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--font-serif);
  font-size: var(--fz-32);
  line-height: 1;
}

@media (max-width: 767px) {
  .wp-block-table {
    overflow-x: visible;
  }

  .wp-block-table table {
    width: 100%;
    table-layout: fixed;
    white-space: normal;
  }

  .c-table {
    display: table;
    table-layout: fixed;
    overflow: visible;
    margin: 3.2rem 0;
    white-space: normal;
  }

  .c-table th,
  .c-table td {
    padding: 1rem 0.6rem;
    font-size: var(--fz-11);
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .c-table th {
    padding: 1rem 0.6rem;
    font-size: var(--fz-12);
    line-height: 1.45;
  }

  .c-table .is-large {
    margin-bottom: 0.6rem;
    font-size: var(--fz-18);
  }

}

/*button*/

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-serif);
}

.link-btn,
.link-btn--lg {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-serif);
  background: var(--base-white);
  border: 1px solid var(--gold);
  color: var(--gold);
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.link-btn {
  min-width: 15rem;
  min-height: 4.5rem;
  padding: 0.2rem 4rem 0.2rem 2.4rem;
  font-size: var(--fz-14);
}

.link-btn--lg {
  min-width: 25rem;
  min-height: 6rem;
  padding: 0.2rem 5.2rem 0.2rem 3.2rem;
  font-size: var(--fz-18);
}

.link-btn::after,
.link-btn--lg::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.link-btn--lg::after {
  right: 2.8rem;
}

.link-btn:hover,
.link-btn--lg:hover {
  opacity: 1;
}

.link-btn:hover::after,
.link-btn--lg:hover::after {
  transform: translate(0.4rem, -50%) rotate(45deg);
}

/* エディタ用ボタンリンク */
.editor-button-link-wrap,
.entry-content p:has(> a:only-child),
.page-content p:has(> a:only-child),
.blog-single__content p:has(> a:only-child),
.news-single__content p:has(> a:only-child),
.treatment-custom-html p:has(> a:only-child),
.treatment-callout__content p:has(> a:only-child),
.treatment-pickup-case__content p:has(> a:only-child),
.treatment-pickup-case__explanation p:has(> a:only-child),
.treatment-closing__content p:has(> a:only-child),
.case-detail-section__content p:has(> a:only-child),
.page-content p:has(> br + a:last-child),
.treatment-custom-html p:has(> br + a:last-child),
.treatment-callout__content p:has(> br + a:last-child),
.treatment-pickup-case__content p:has(> br + a:last-child),
.treatment-pickup-case__explanation p:has(> br + a:last-child),
.treatment-closing__content p:has(> br + a:last-child),
.case-detail-section__content p:has(> br + a:last-child) {
  text-align: center;
}
.entry-content > a,
.page-content > a,
.blog-single__content > a,
.news-single__content > a,
.treatment-custom-html > a,
.treatment-callout__content > a,
.treatment-pickup-case__content > a,
.treatment-pickup-case__explanation > a,
.treatment-closing__content > a,
.case-detail-section__content > a {
  display: flex;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.editor-button-link,
.entry-content p:has(> a:only-child) > a,
.page-content p:has(> a:only-child) > a,
.blog-single__content p:has(> a:only-child) > a,
.news-single__content p:has(> a:only-child) > a,
.treatment-custom-html p:has(> a:only-child) > a,
.treatment-callout__content p:has(> a:only-child) > a,
.treatment-pickup-case__content p:has(> a:only-child) > a,
.treatment-pickup-case__explanation p:has(> a:only-child) > a,
.treatment-closing__content p:has(> a:only-child) > a,
.case-detail-section__content p:has(> a:only-child) > a,
.page-content p > br + a:last-child,
.treatment-custom-html p > br + a:last-child,
.treatment-callout__content p > br + a:last-child,
.treatment-pickup-case__content p > br + a:last-child,
.treatment-pickup-case__explanation p > br + a:last-child,
.treatment-closing__content p > br + a:last-child,
.case-detail-section__content p > br + a:last-child,
.entry-content > a,
.page-content > a,
.blog-single__content > a,
.news-single__content > a,
.treatment-custom-html > a,
.treatment-callout__content > a,
.treatment-pickup-case__content > a,
.treatment-pickup-case__explanation > a,
.treatment-closing__content > a,
.case-detail-section__content > a,
.wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  min-height: 4.5rem;
  padding: 0.2rem 4rem 0.2rem 2.4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--base-white);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fz-14);
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.editor-button-link::after,
.entry-content p:has(> a:only-child) > a::after,
.page-content p:has(> a:only-child) > a::after,
.blog-single__content p:has(> a:only-child) > a::after,
.news-single__content p:has(> a:only-child) > a::after,
.treatment-custom-html p:has(> a:only-child) > a::after,
.treatment-callout__content p:has(> a:only-child) > a::after,
.treatment-pickup-case__content p:has(> a:only-child) > a::after,
.treatment-pickup-case__explanation p:has(> a:only-child) > a::after,
.treatment-closing__content p:has(> a:only-child) > a::after,
.case-detail-section__content p:has(> a:only-child) > a::after,
.page-content p > br + a:last-child::after,
.treatment-custom-html p > br + a:last-child::after,
.treatment-callout__content p > br + a:last-child::after,
.treatment-pickup-case__content p > br + a:last-child::after,
.treatment-pickup-case__explanation p > br + a:last-child::after,
.treatment-closing__content p > br + a:last-child::after,
.case-detail-section__content p > br + a:last-child::after,
.entry-content > a::after,
.page-content > a::after,
.blog-single__content > a::after,
.news-single__content > a::after,
.treatment-custom-html > a::after,
.treatment-callout__content > a::after,
.treatment-pickup-case__content > a::after,
.treatment-pickup-case__explanation > a::after,
.treatment-closing__content > a::after,
.case-detail-section__content > a::after,
.wp-block-button__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.editor-button-link:hover::after,
.entry-content p:has(> a:only-child) > a:hover::after,
.page-content p:has(> a:only-child) > a:hover::after,
.blog-single__content p:has(> a:only-child) > a:hover::after,
.news-single__content p:has(> a:only-child) > a:hover::after,
.treatment-custom-html p:has(> a:only-child) > a:hover::after,
.treatment-callout__content p:has(> a:only-child) > a:hover::after,
.treatment-pickup-case__content p:has(> a:only-child) > a:hover::after,
.treatment-pickup-case__explanation p:has(> a:only-child) > a:hover::after,
.treatment-closing__content p:has(> a:only-child) > a:hover::after,
.case-detail-section__content p:has(> a:only-child) > a:hover::after,
.page-content p > br + a:last-child:hover::after,
.treatment-custom-html p > br + a:last-child:hover::after,
.treatment-callout__content p > br + a:last-child:hover::after,
.treatment-pickup-case__content p > br + a:last-child:hover::after,
.treatment-pickup-case__explanation p > br + a:last-child:hover::after,
.treatment-closing__content p > br + a:last-child:hover::after,
.case-detail-section__content p > br + a:last-child:hover::after,
.entry-content > a:hover::after,
.page-content > a:hover::after,
.blog-single__content > a:hover::after,
.news-single__content > a:hover::after,
.treatment-custom-html > a:hover::after,
.treatment-callout__content > a:hover::after,
.treatment-pickup-case__content > a:hover::after,
.treatment-pickup-case__explanation > a:hover::after,
.treatment-closing__content > a:hover::after,
.case-detail-section__content > a:hover::after,
.wp-block-button__link:hover::after {
  transform: translate(0.4rem, -50%) rotate(45deg);
}

.editor-button-link-wrap {
  text-align: center;
}

.editor-button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  min-height: 4.5rem;
  padding: 0.2rem 4rem 0.2rem 2.4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--base-white);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fz-14);
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.editor-button-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.editor-button-link:hover::after {
  transform: translate(0.4rem, -50%) rotate(45deg);
}

.cta-web {
  position: relative;
  overflow: hidden;
  min-width: 16rem;
  min-height: 4.4rem;
  padding: 0 2rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--base-white);
  font-size: var(--fz-14);
  gap: 1rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.cta-web--lg {
  position: relative;
  overflow: hidden;
  min-width: 20rem;
  min-height: 5.5rem;
  padding: 0 2rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--base-white);
  font-size: var(--fz-18);
  gap: 1rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.cta-tel {
  position: relative;
  overflow: hidden;
  min-width: 16rem;
  min-height: 4.4rem;
  padding: 0 2rem;
  background: var(--base-white);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: var(--fz-14);
  gap: 1rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.cta-tel--lg {
  position: relative;
  overflow: hidden;
  min-width: 20rem;
  min-height: 5.5rem;
  padding: 0 2rem;
  background: var(--base-white);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: var(--fz-18);
  gap: 1rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.cta-tel:hover,
.cta-tel--lg:hover {
  background: var(--gold);
  color: var(--base-white);
}

.cta-web:hover,
.cta-web--lg:hover {
  background: var(--base-white);
  color: var(--gold);
}

.cta-web img,
.cta-web--lg img,
.cta-tel img,
.cta-tel--lg img {
  transition: none;
}

.cta-tel:hover img,
.cta-tel--lg:hover img {
  filter: brightness(0) invert(1);
}

.cta-web:hover img,
.cta-web--lg:hover img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(36%) saturate(530%) hue-rotate(354deg) brightness(88%) contrast(88%);
}

/*　slider navigation */

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  width: fit-content;
  margin: 4rem auto 0;
}

.slider-prev,
.slider-next {
  position: relative;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--base-white);
  cursor: pointer;
  flex-shrink: 0;
}

.slider-prev::before,
.slider-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.slider-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.slider-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.slider-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  gap: 1.6rem;
}

.slider-pagination .swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
  margin: 0 !important;
  background: var(--base-white);
  opacity: 1;
}

.slider-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

@media (max-width: 767px) {
  .slider-nav {
    margin: 3.2rem auto 0;
  }

}
/*------------------------
header
-------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding-right: 2rem;
  padding-left: 2rem;
}

.site-header__logo img {
  width: 250px;
  height: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.site-header__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  min-height: 58px;
  border: none;
  background: transparent;
  color: var(--text-black);
  cursor: pointer;
  flex-shrink: 0;
}

.site-header__menu span {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 9px;
  background: var(--text-black);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - var(--scrollbar-width, 0px));
}

body.menu-open .site-header__menu span:first-child {
  opacity: 0;
  transition: opacity 0s ease;
}

body.menu-open .site-header__menu span:nth-child(2) {
  transform: translateY(0px) rotate(30deg);
}

body.menu-open .site-header__menu span:nth-child(3) {
  transform: translateY(-10px) rotate(-30deg);
}

.site-header__menu em,
.site-header__menu pre {
  display: block;
  margin-top: -1px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-family: var(--font-serif);
  font-size: var(--fz-14);
  font-style: normal;
  font-weight: 400;
  background: none;
  color: var(--text-black);
  line-height: 1;
  white-space: normal;
}

.site-main {
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 767px) {
  .site-header__inner {
    height: 70px;
    padding: 0 16px;
  }

  .site-header__logo img {
    width: 210px;
  }

  .site-header__tel,
  .site-header__reserve {
    display: none;
  }

  .site-header__menu {
    width: 56px;
    min-height: 54px;
  }

  .site-header__menu span {
    margin-bottom: 8px;
  }
  body.menu-open .site-header {
    width: 100%;
  }

  body.menu-open .site-header__menu span:nth-child(2) {
    transform: translateY(0) rotate(30deg);
  }

    body.menu-open .site-header__menu span:nth-child(3) {
    transform: translateY(-10px) rotate(-30deg);
  }

}
/*------------------------
sp fixed cta
-------------------------*/

/*------------------------
sp clinic panel
-------------------------*/

.sp-clinic-panel,
.sp-fixed-cta {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 6.4rem;
  }

  .sp-clinic-panel {
    position: fixed;
    right: 0;
    bottom: 6.4rem;
    left: 0;
    z-index: 1099;
    display: block;
    padding: 1.6rem 1.6rem 1.8rem;
    background: var(--base-white);
    box-shadow: 0 -0.4rem 1.6rem rgba(90, 75, 35, 0.12);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  }

  .sp-clinic-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sp-clinic-panel__inner {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
  }

  .sp-clinic-panel .site-footer__schedule {
    margin-top: 0;
  }

  .sp-clinic-panel .site-footer__schedule table {
    font-size: var(--fz-12);
  }

  .sp-clinic-panel .site-footer__schedule th,
  .sp-clinic-panel .site-footer__schedule td {
    padding: 0.7rem 0.4rem;
  }

  .sp-clinic-panel .site-footer__schedule-note {
    margin-top: 1rem;
    font-size: var(--fz-11);
    line-height: 1.6;
  }

  .sp-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 9.2rem 1fr 1fr;
    height: 7.5rem;
    background: var(--base-white);
    box-shadow: 0 -0.4rem 1.6rem rgba(90, 75, 35, 0.12);
  }

  .sp-fixed-cta__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border-top: 1px solid rgba(191, 156, 149, 0.4);
    font-family: var(--font-serif);
    line-height: 1;
  }

  .sp-fixed-cta__item + .sp-fixed-cta__item {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }

  .sp-fixed-cta__item img {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
  }

  .sp-fixed-cta__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-weight: 400;
  }

  .sp-fixed-cta__item small {
    display: block;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-family: var(--font-base);
    color: var(--base-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    line-height: 1;
    white-space: nowrap;
  }

  .sp-fixed-cta__item--time {
    flex-direction: column;
    gap: 0.4rem;
    background: var(--base-white);
    color: var(--heading-brown);
    font-size: var(--fz-14);
  }

  .sp-fixed-cta__item--time img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) saturate(100%) invert(71%) sepia(15%) saturate(643%) hue-rotate(304deg) brightness(92%) contrast(88%);
  }

  .sp-fixed-cta__item--tel,
  .sp-fixed-cta__item--web {
    flex-direction: column;
    color: var(--base-white);
    font-size: var(--fz-18);
    letter-spacing: 0.1em;
  }

  .sp-fixed-cta__item--tel {
    background: #E9B7AD;
    gap: 0.5rem;
  }

  .sp-fixed-cta__item--web {
    background: var(--red);
    gap: 0.5rem;
  }

  .sp-fixed-cta__item--tel span img,
  .sp-fixed-cta__item--web span img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) invert(1);
  }

  .site-header__menu span {
    width: 32px;
  }

  .site-header__menu em,
  .site-header__menu pre {
    font-size: var(--fz-12);
  }
}


/*------------------------
navigation
-------------------------*/

.site-nav {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(6rem, 8vw, 12rem);
  width: min(120rem, calc(100% - 8rem));
  margin: 0 auto 3rem;
}

.site-nav__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-nav__basic {
  display: grid;
  gap: 3.2rem;
  margin-top: 4rem;
}

.site-nav__basic li {
  padding-left: 0;
}

.site-nav__basic li::before {
  display: none;
}

.site-nav__basic a {
  font-family: var(--font-serif);
  font-size: var(--fz-16);
  color: var(--text-black);
}

.site-nav__sns {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
}

.site-nav__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.site-nav__sns img {
  display: block;
  width: 90%;
  object-fit: contain;
}

.site-nav__right {
  display: grid;
  gap: 4rem;
  margin-top: 4rem;
}

.site-nav__section {
  display: block;
}

.site-nav__title {
  position: relative;
  padding-bottom: 1rem;
  margin: 0 0 2.6rem;
  font-family: var(--font-serif);
  font-size: var(--fz-20);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text-black);
  text-align: left;
}

.site-nav__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  opacity: 0.6;
}

.site-nav__title a {
  color: inherit;
  text-decoration: none;
}

.site-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.4rem, 4vw, 4rem);
}

.site-nav__grid ul {
  display: grid;
  gap: 1.6rem;
}

.site-nav__grid a {
  font-family: var(--font-serif);
  font-size: var(--fz-15);
  color: var(--text-black);
  white-space: nowrap;
}

@media (max-width: 767px) {

  .site-nav {
    grid-template-columns: 1fr;
    gap: 6rem;
    width: min(100% - 4.8rem, 60rem);
  }

  .site-nav__basic a {
  font-size: var(--fz-15);
}

  .site-nav__left {
    display: contents;
  }

  .site-nav__basic {
    order: 1;
    gap: 2.2rem;
  }

  .site-nav__right {
    order: 2;
  }

  .site-nav__title {
  font-size: var(--fz-18);
}

  .site-nav__sns {
    order: 3;
    justify-content: flex-start;
    margin-top: 4rem;
  }

  .site-nav__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

/*------------------------
menu overlay
-------------------------*/

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  background: rgba(239, 236, 236, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

body.menu-open::before {
  opacity: 1;
  visibility: visible;
}

body.menu-open .menu-overlay {
  visibility: visible;
  opacity: 1;
  max-height: 100vh;
}

.menu-overlay__inner {
  position: relative;
  width: calc(100% - var(--scrollbar-width, 0px));
  min-height: auto;
  padding: calc(10rem + 3rem) 0 0;
}

.menu-overlay__nav {
  max-width: 120rem;
  margin: 0 auto;
  padding-right: 2rem;
}

@media (max-width: 767px) {
  .menu-overlay__inner {
    padding: calc(7rem + 4rem) 0 4rem;
  }
}

/*------------------------
footer
-------------------------*/

.site-footer {
  padding: 8rem 0 3.2rem;
  background: var(--base-light);
}

.site-footer__clinic {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  width: min(115rem, calc(100% - 8rem));
  margin: 0 auto;
  padding: 4rem;
  background: var(--base-white);
}

.site-footer__logo {
  text-align: center;
}

.site-footer__logo img {
  width: clamp(24rem, 32vw, 27rem);
  max-width: 100%;
  height: auto;
}

.site-footer__address{
  text-align: center;
}

.site-footer__access {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-footer__access-heading {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--heading-brown);
  font-weight: 400;
  font-size: var(--fz-16);
}

.site-footer__access-detail {
  display: grid;
  gap: 0.5rem;
}

.site-footer__access-detail p {
  margin: 0;
  font-size: var(--fz-14);
}

.site-footer__schedule {
  margin-top: 2.2rem;
}

.site-footer__schedule table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fz-14);
  text-align: center;
}

.site-footer__schedule th,
.site-footer__schedule td {
  padding: 1rem 0.8rem;
  border: 1px solid var(--text-gray);
  color: var(--heading-brown);
  font-weight: 300;
  background: var(--base-white);
}

.site-footer__schedule thead th {
  background: var(--deco-pink);
}

.site-footer__schedule-note {
  margin: 1.6rem 0 0;
  font-size: var(--fz-13);
  color: var(--text-gray);
}

.site-footer__buttons {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 2rem;
}

.site-footer__map {
  min-height: 100%;
  align-items: center;
}

.site-footer__map img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.site-footer__payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: min(80rem, calc(100% - 4rem));
  margin: 4rem auto;
  padding: 3rem 2.4rem;
  background: var(--base-white);
}

.site-footer__payment-text {
  position: relative;
  margin: 0;
  padding-left: 2rem;
  font-weight: 400;
}

.site-footer__payment-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.site-footer__payment-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-footer__payment-list li {
  padding-left: 0;
}

.site-footer__payment-list li::before {
  display: none;
}

.site-footer__payment-list img {
  display: block;
  max-width: 6rem;
  max-height: 3.2rem;
  width: auto;
  height: auto;
}

.site-footer__nav {
  width: min(120rem, calc(100% - 8rem));
  margin: 0 auto;
}

.site-footer__nav .site-nav {
  width: 100%;
}

.site-nav li a {
  position: relative;
  display: inline-block;
}

.site-nav li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;

  transition: transform 0.45s ease;
}

.site-nav li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-footer__copy {
  margin: 8rem 0 0;
  font-size: var(--fz-12);
  text-align: center;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 5.6rem 0 2.4rem;
  }

  .site-footer__clinic {
    grid-template-columns: 1fr;
    width: min(100% - 4rem, 60rem);
    padding: 2.4rem;
  }

  .site-footer__logo img {
    width: 28rem;
  }

  .site-footer__access {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .site-footer__access p {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .site-footer__schedule th,
  .site-footer__schedule td {
    font-size: 1rem;
  }

.site-footer__buttons {
  gap: 1.4rem;
}


  .site-footer__buttons .cta-tel,
  .site-footer__buttons .cta-web,
  .site-footer__buttons .cta-tel--lg,
  .site-footer__buttons .cta-web--lg {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: calc((100% - 1rem) / 2);
    min-height: 5rem;
    padding: 0 0.8rem;
    box-sizing: border-box;
    font-size: var(--fz-15);
    gap: 0.6rem;
    white-space: nowrap;
  }

    .site-footer__buttons img {
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
  }

  .site-footer__payment,
  .site-footer__nav {
    display: grid;
    gap: 2rem;
    margin-bottom: 0;
  }
}

/*------------------------
common cta
-------------------------*/

.common-cta {
    padding: 8rem 0 8rem;
    background: url("../img/common/bg-paper.png") center center / cover repeat;
}

.common-cta__inner {
    width: min(110rem, calc(100% - 4rem));
    margin: 0 auto;
}

.common-cta__box {
    width: min(76rem, 100%);
    margin: 0 auto;
    padding: 4.8rem 2rem;
    background: var(--base-white);
    text-align: center;
}

.common-cta__en {
    margin: 0 0 0.8rem;
    font-family: var(--font-en);
    font-size: var(--fz-13);
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--deco-pink);
}

.common-cta__title {
    margin: 0;
    padding: 0;
    font-size: var(--fz-24);
    font-weight: 400;
    line-height: 1.7;
    color: var(--heading-brown);
}

.common-cta__title::after {
    display: none;
}

.common-cta__text {
    margin: 2.4rem 0 0;
    font-size: var(--fz-12);
    line-height: 1.8;
    color: var(--text-gray);
}

@media (max-width: 767px) {
  .common-cta__title {
      font-size: var(--fz-22);
  }
}

/*------------------------
case card
-------------------------*/

.case-card {
  padding: 10rem 0 14rem;
  background: var(--base-gray);
  overflow: hidden;
}

.case-card__inner {
  width: min(110rem, calc(100% - 8rem));
  margin: 0 auto;
}

.case-card__heading {
  margin-bottom: 7.2rem;
  text-align: left;
}

.case-card__title {
  margin: 0;
  padding: 0;
  font-size: var(--fz-20);
  color: var(--heading-brown);
  text-align: left;
    font-weight: 400;
}

.case-card__title::after {
  display: none;
}

.case-card__en {
  margin: 1.2rem 0 3.2rem;
  font-family: var(--font-en);
  font-size: clamp(6rem, 6vw, 10rem);
  line-height: 1;
  color: var(--deco-pink);
  opacity: 0.65;
}

.case-card__slider,
.case-card__slider.swiper {
  overflow: visible;
  padding-bottom: 2rem;
}

.case-card__list,
.case-card__list.swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.case-card__card,
.case-card__card.swiper-slide {
  width: auto;
  height: auto;
  border-radius: 1rem;
  overflow: visible;
}

.case-card__card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--base-white);
  box-shadow: 0 0.6rem 0.6rem rgba(191, 156, 149, 0.28);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card__card > a:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 3rem rgba(191, 156, 149, 0.36);
}

.case-card__card > a::after {
  content: "詳しく見る";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 14rem;
  min-height: 4rem;
  margin: 2rem auto 0.4rem;
  padding: 0 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: var(--fz-13);
  line-height: 1;
}


.case-card__compare,
.case-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.4rem;
  background: var(--base-light);
}

.case-card__compare {
  touch-action: none;
  user-select: none;
}

.case-card__compare::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.case-card__compare:hover::before {
  background: rgba(0, 0, 0, 0.28);
}

.case-card__compare.is-dragging::before {
  background: rgba(0, 0, 0, 0);
}


.case-card__compare img,
.case-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__before {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.case-card__after-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  inset: 0;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.case-card__after {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
}

.case-card__handle {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: 2px;
  height: 100%;
  background: var(--base-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  pointer-events: auto;
}

.case-card__handle::before {
    content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--base-white);
  border-radius: 50%;
  background: rgba(90, 75, 35, 0.82);
  color: var(--base-white);
  font-family: var(--font-en);
  font-size: var(--fz-16);
  transform: translate(-50%, -50%);
}

.case-card__compare.is-dragging {
  cursor: ew-resize;
}


.case-card__compare-label {
  position: absolute;
  top: 50%;
  z-index: 6;
  min-width: 6.4rem;
  padding: 0.6rem 1rem;
  background: rgba(90, 75, 35, 0.68);
  color: var(--base-white);
  font-family: var(--font-en);
  font-size: var(--fz-12);
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.case-card__compare-label--before {
  left: 1.2rem;
}

.case-card__compare-label--after {
  right: 1.2rem;
}

.case-card__compare:hover .case-card__compare-label {
  opacity: 1;
}

.case-card__compare.is-dragging .case-card__compare-label {
  opacity: 0;
}


.case-card__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.case-card__terms span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  background: var(--deco-pink);
  color: var(--heading-brown);
  font-size: var(--fz-10);
  line-height: 1;
}

.case-card__info {
  margin-top: 1.4rem;
  border-top: 1px solid rgba(191, 156, 149, 0.35);
}

.case-card__info dl {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.2rem;
  margin: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(191, 156, 149, 0.35);
  font-size: var(--fz-13);
  line-height: 1.7;
}

.case-card__info dt {
  color: var(--heading-brown);
}

.case-card__info dd {
  margin: 0;
  color: var(--text-black);
}

.case-card__button {
  display: flex;
  justify-content: center;
  margin-top: 7.4rem;
}

@media (max-width: 767px) {
  .case-card {
    padding: 7.2rem 0 8rem;
  }

  .case-card__inner {
    width: min(100% - 4rem, 60rem);
  }

  .case-card__heading {
    margin-bottom: 5.6rem;
  }

  .case-card__title {
    font-size: var(--fz-18);
  }

  .case-card__en {
    font-size: clamp(4.8rem, 14vw, 7rem);
  }

  .case-card__slider,
  .case-card__slider.swiper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .case-card__slider.is-before-after-dragging,
  .case-card__slider.swiper.is-before-after-dragging {
    overflow-x: hidden;
    scroll-snap-type: none;
  }

  .case-card__slider::-webkit-scrollbar {
    display: none;
  }

  .case-card__list,
  .case-card__list.swiper-wrapper {
    display: flex;
    gap: 2rem;
    width: max-content;
  }

  .case-card__card,
  .case-card__card.swiper-slide {
    flex: 0 0 30rem;
    width: 30rem;
    scroll-snap-align: start;
  }

  .case-card__button {
    margin-top: 3.2rem;
  }
}

/* 共通 */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 下から */
.fade-in,
.fade-in-up {
  transform: translateY(10px);
}

.fade-in.is-visible,
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 左から（右方向へ表示） */
.fade-in-right {
  transform: translateX(-10px);
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右から（左方向へ表示） */
.fade-in-left {
  transform: translateX(10px);
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 拡大しながらフェードイン */
.fade-in-scale {
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes textReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
