html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-gray);
  font-family: var(--font-ja);
  background-color: var(--base);
  box-sizing: border-box;
}

:root {
  /*カラー*/
  --base: #FAFCFF;
  --text-gray: #4D5866;
  --blue: #667791;
  --dark-blue: #394463;
  --light-blue: #DCEAF4;
  --gray: #838B99;
  --beige: #F7F1E6;
  --white: #fff;
  /*スペース*/
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  /*フォント*/
  --font-ja: "ten-mincho", serif;
  --font-en: "Cormorant", serif;
  --font-num: "Fraunces", serif;
}

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

.pc-only {
  display: none;
}

.sp-only {
  display: block;
}

.section {
  padding: 48px 0;
  position: relative;
}

.wrapper {
  width: min(100% - 48px, 1100px);
  margin-inline: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: clamp(18px, 6.5vw, 58px);
  margin-bottom: var(--space-5);
  letter-spacing: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.section-title__ja {
  text-align: center;
  white-space: nowrap;
}

.section-title__ja--decorated {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  position: relative;
  font-size: clamp(20px, 5vw, 64px);
}

.section-title__ja--decorated::before {
  content: "";
  width: clamp(43px, 5vw, 64px);
  height: clamp(1px, 0.5vw, 2px);
  border-radius: 2px;
  background-color: var(--dark-blue);
  transform: rotate(-135deg);
}

.section-title__ja--decorated::after {
  content: "";
  width: clamp(43px, 5vw, 64px);
  height: clamp(1px, 0.5vw, 2px);
  border-radius: 2px;
  background-color: var(--dark-blue);
  transform: rotate(-45deg);
}

.section-title__text {
  text-align: center;
  line-height: 1.25;
  font-size: clamp(20px, 5vw, 48px);
}

.marker {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.marker::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.08em;
  height: 0.25em;
  background: var(--gray);
  opacity: 0.45;
  z-index: -1;
  border-radius: 2px;
}

.section-title__en {
  text-align: center;
  font-size: clamp(14px, 3.5vw, 24px);
  color: #717171;
}

.heading-m {
  font-size: clamp(18px, 3vw, 28px);
  font-family: var(--font-ja);
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
  line-height: 1.5;
}

.heading-s {
  font-size: clamp(14px, 2.5vw, 18px);
  font-family: var(--font-ja);
  letter-spacing: 1px;
  line-height: 1.5;
}

/* =========================
   ヘッダー
========================= */

.header {
  margin: 24px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__sub-title {
  display: inline;
  font-size: clamp(12px, 2vw, 14px);
}

/* =========================
   ハンバーガー
========================= */

.header__hamburger {
  position: fixed;
  right: 18px;
  top: 33px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger span {
  position: relative;
  width: 40px;
  height: 1px;
  background: var(--gray);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.header__hamburger span::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 49.5%;
  width: 13px;
  height: 0.5px;
  background: #1a1a1a;
  transform: translateY(-50%);
  transform-origin: left center;
}

/* ×開閉 */
.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   ナビ（SPスライド）
========================= */
.header__logo {
  width: clamp(140px, 10vw, 200px);
}

.header-sp__nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 100vh;
  background: var(--base);
  transform: translateX(100%);
  transition: 0.3s ease;
  padding: 80px 20px;
  z-index: 1000;
}

.header-sp__nav.is-open {
  transform: translateX(0);
}

/* メニュー */
.header-sp__menu {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.header-sp__reserve {
  width: fit-content;
  max-width: 300px;
  margin: 0 auto;
}

.header-sp__reserve li {
  text-align: center;
  margin: 8px 0;
  transition:
    opacity 0.3s ease;
}

.header-sp__reserve li a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

/*instagram*/
.header-sp__reserve .btn__insta a{
  color: var(--dark-blue);
}

/*予約はこちら*/
.header-sp__reserve .btn__reservation {
  background-color: var(--light-blue);
}

.header-sp__reserve .btn__reservation a{
    color: var(--dark-blue);
}

.header-sp__reserve li:hover {
  opacity: 0.5;
}

.btn__sns {
  border-radius: 20px;
  padding: 8px 24px;
}

.btn__insta {
  background-color: var(--beige);
}

.btn__insta .fa-instagram:before {
  font-size: 1.5rem;
}

.btn__line {
  color: var(--base);
  background-color: #42722E;
}

.btn__line span,
.btn__line i {
  color: var(--base);
}

.btn__reservation {
  background-color: var(--light-blue);
}

.btn__reservation span,
.btn__reservation i {
  color: var(--dark-blueblue);
}

/* =========================
   mv
========================= */

.mv {
  position: relative;
}

.mv__img--container {
  position: relative;
  width: 100%;
  height: calc(100svh - clamp(90px, 10vw, 200px));
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.mv__img--container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom,
      #ffffff00 63%,
      #686868 100%);
      background: linear-gradient(to bottom, #ffffff00 45%, #444444 100%);
  z-index: 1;
  width: 100%;
  height: calc(100svh - clamp(85px, 10vw, 200px));
}

.image {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation:image-switch-animation 15s infinite,
  image-zoom-animation 15s infinite;

}

.kv01 {
  background-image: url(../img/kv01.jpg);
}

.kv02 {
  background-image: url(../img/kv02.jpg);
  animation-delay: 7.5s;
}

@keyframes image-switch-animation {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  65% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes image-zoom-animation {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

/* MVタイトル */

.mv__title {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-3);
  color: var(--base);
  font-family: var(--font-ja);
  font-size: clamp(20px, 8vw, 4rem);
  line-height: 1.65;
  letter-spacing: 0.085em;
  z-index: 1;
}

.mv__title-line {
  position: relative;
  display: inline-block;
}

.mv__title-line .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(3px);
  animation: titleCharIn 0.4s ease forwards;
}

/* 下線 */
.mv__title-line::before {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(
    to left,
    #ffffff00 0%,
    #c6c6c6 100%
  );
  z-index: -1;
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: left center;
  animation: titleLineIn 0.8s ease forwards;
  animation-delay: calc(var(--line-delay) - 0.3s);
}

/* sub */
.mv__title-sub {
  font-size: clamp(16px, 5vw, 2rem);
  color: #d5d5d5;
  display: inline-block;
  opacity: 0;
  animation: titleSubIn 0.6s ease forwards;
}

/* 文字 */
@keyframes titleCharIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 下線 */
@keyframes titleLineIn {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* sub */
@keyframes titleSubIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================
   problems
========================= */

.problems {
  background: linear-gradient(to bottom,
      transparent 0%,
      transparent 90%,
      #EEEEEE 100%);
  position: relative;
}

.problems::after {
  content: "";
  background-image: url(../img/mach-divider-wave__white.svg);
  height: 17px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-size: cover;
  background-repeat: repeat-x;
}

.problems__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  place-content: center;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.problems__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
  padding: 10% 0;
}

/* 背景用 */
.problems__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
  animation: blobMove 6s ease-in-out infinite;
  transform-origin: center;
}


.problems__item__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* padding: 8% 16px; */
}

.problems__item__content img {
  width: 45%;
  object-fit: contain;
}

.problems__item span {
  color: var(--base);
  text-align: center;
  font-size: clamp(14px, 3vw, 20px);
}

.problems__item--shoulders::before {
  background-image: url(../img/inverted_triangle.svg);
}

.problems__item--waist {
  margin-top: 80px;
}

.problems__item--waist::before {
  background-image: url(../img/distorted_circle.svg);
  animation: blobMove__02 4s ease-in-out infinite;
}

.problems__item--headache {
  margin-top: -120px;
}

.problems__item--headache::before {
  background-image: url(../img/left_triangle.svg);
    animation: blobMove__04 4s ease-in-out infinite;
}

.problems__item--posture {
  margin-top: -60px;
}

.problems__item--posture::before {
  background-image: url(../img/triangle.svg);
  animation: blobMove__03 4s ease-in-out infinite;
}

.problems__item--fatiguex {
  margin-top: -120px;
}

.problems__item--fatiguex img {
  width: 35%;
}

.problems__item--fatiguex::before {
  background-image: url(../img/distorted_circle.svg);
  animation: blobMove__03 6s ease-in-out infinite;
}

.problems__item--bonex {
  margin-top: -40px;
}

.problems__item--bonex::before {
  background-image: url(../img/inverted_triangle.svg);
  animation: blobMove 6s ease-in-out infinite;

}

.problems__item--nervousx {
  margin-top: -60px;
}

.problems__item--nervousx::before {
  background-image: url(../img/triangle.svg);
}

.problems__item--baby {
  margin-top: 40px;
}

.problems__item--baby::before {
  background-image: url(../img/left_triangle.svg);
  animation: blobMove__02 4s ease-in-out infinite;
}

.problems__item--headache .problems__item__content img {
  margin-right: 15%;
}

.problems__item--headache .problems__item__content span {
  margin-right: 5%;
}

.problems__item--baby .problems__item__content img {
  margin-right: 15%;
}

.problems__item--baby .problems__item__content span {
  margin-right: 5%;
}

.problems .heading-s {
  margin-bottom: var(--space-2);
  text-align: center;
}

/* =========================
   blob animation
========================= */

@keyframes blobMove {

  0%,
  100% {
    transform: scale(1) rotate(0deg) translateY(2px);
  }

  50% {
    transform: scale(1.05) rotate(3deg) translateY(3px);
  }
}


@keyframes blobMove__02 {

  0%,
  100% {
    transform: scale(1) rotate(0deg) translateY(0);
  }

  50% {
    transform: scale(1.03) rotate(-5deg) translateY(-5px);
  }
}


@keyframes blobMove__03 {

  0%,
  100% {
    transform: scale(1.15) rotate(0deg) translate(0, 0);
  }

  50% {
    transform: scale(1.08) rotate(2deg) translate(2px, 4px);
  }
}


@keyframes blobMove__04 {

  0%,
  100% {
    transform: scale(1) rotate(0deg) translate(0, 0);
  }

  50% {
    transform: scale(1.08) rotate(-2deg) translate(-2px, -5px);
  }
}

/* =========================
   about
========================= */

.about__img-wrap {
  position: relative;
  overflow: hidden;
}

.about {
  background-color: var(--white);
}

.about__img {
  max-width: 500px;
  margin: 0 auto var(--space-3);
  position: relative;
  z-index: 1;
}

.about__img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.about__content {
  position: relative;
}

.about__content::after {
  content: "";
  display: block;
  background-image: url(../img/back__wave.svg);
  background-size: 100% 100%;
  background-repeat: repeat-x;
  width: 120%;
  height: 445px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.about__title {
  text-align: center;
}

.about__text {
  text-align: center;
}

/* =========================
   ABOUT テキストアニメーション
========================= */

.about__title,
.about__text {
  opacity: 0;
  transform: translateY(15px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}


/* タイトル表示 */

.about__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* 本文表示 */

.about__text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   menu
========================= */

.menu {
  background-color: var(--base);
  position: relative;
  padding: 15% 0 0 0;
}

.menu::before {
  content: "";
  background-image: url(../img/mach-divider-wave__base.svg);
  height: 40px;
  width: 100%;
  position: absolute;
  top: 0;
  background-size: contain;
  background-repeat: repeat-x;
}

.menu__section-title{
  font-size: clamp(18px, 6.5vw, 58px);
}

.menu__wrapper {
  margin-bottom: var(--space-5);
}

.menu__img {
  margin-bottom: var(--space-2);
  text-align: center;
}

.menu__content {
  margin-bottom: var(--space-3);
}

.menu__title {
  margin-bottom: var(--space-1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu__title img {
  max-width: 40px;
  text-align: center;
  display: inline;
}

.menu__description {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--dark-blue);
  margin-bottom: var(--space-3);
  line-height: 1.75;
}

.menu__course-title {
  color: var(--gray);
  margin-bottom: var(--space-1);
}

.menu__price-row {
  margin-bottom: var(--space-1);
}

.menu__option {
  font-size: clamp(14px, 2vw, 16px);
}

.menu__course-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
}

.menu__text {
  margin-bottom: var(--space-1);
}

.menu__course--border {
  margin: 8px 0;
}

.menu__course--border:nth-of-type(1) {
  border-right: 1px solid var(--light-blue);
  padding-right: 8px;
}

.menu__course--border:nth-of-type(2) {
  border-right: 1px solid var(--light-blue);
  padding-right: 8px;
}

.menu__course--border:last-child {
  border-right: none;
}

@media (max-width: 400px) {
  .menu__course--border:nth-of-type(2) {
    border-right: 0px;
    padding-right: 4px;
  }

  .menu__course--border:nth-of-type(1) {
    border-right: 0px;
    padding-right: 4px;
  }

}

/* =========================
   施術内容 アニメーション
========================= */

.menu__item {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.menu__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
  flow
========================= */

.flow {
  background-color: var(--blue);
  color: var(--base);
  padding: 30% 0 30% 0;
  position: relative;
  z-index: 1;
}

.flow::before {
  content: "";
  position: absolute;
  background-image: url(../img/back__wave__white.svg);
  width: 60%;
  height: 100%;
  top: 0;
  right: 0;
  background-repeat: repeat-y;
  background-size: cover;
  z-index: 0;
  opacity: 0.8;
}

.flow__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow .section-title__en {
  color: var(--light-blue);
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-left: var(--space-3);
}

.flow__item {
  position: relative;
}

.flow__item::before {
  content: "";
  width: 1px;
  height: clamp(36px, 8vw, 85px);
  background-color: #ffffff;
  position: absolute;
  top: 59px;
  left: 21px;
}

.flow__item:last-child::before {
  content: none;
}

.flow__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light-blue);
}

.flow__step-label {
  line-height: 1;
  font-family: var(--font-en);
  letter-spacing: 0.07em;
}

.flow__step-number {
  font-size: clamp(32px, 5vw, 92px);
  font-weight: 200;
  line-height: 1;
  font-family: var(--font-num);
}

.flow__title {
  font-size: clamp(14px, 4vw, 24px);
  font-weight: 200;
  letter-spacing: 0.05em;
  margin-top: 12px;
  white-space: nowrap;
}

.flow__right {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 1;
}

.flow__img {
  text-align: right;
}

.flow__img img {
  width: 95%;
  max-width: 368px;
  border-radius: 10px 0 0 10px;
}

/*flow　セクション区切り*/
.flow__top__wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  transform: scale(-1);
}

.flow_top__wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 160px;
}

.flow__top__wave-fill {
  fill: var(--base);
}

/* =========================
   施術の流れ アニメーション
========================= */

.flow__item {
  position: relative;

  /* STEP全体 */
  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}


/* STEP */
.flow__step {
  opacity: 0;
  transform: translateY(5px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}


/* タイトル */
.flow__title {
  opacity: 0;
  transform: translateY(5px);

  transition:
    opacity 0.6s ease 0.15s,
    transform 0.6s ease 0.15s;
}


/* =========================
   表示されたとき
========================= */

.flow__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flow__item.is-visible .flow__step,
.flow__item.is-visible .flow__title {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   STEP間の縦線
========================= */

.flow__item::before {
  content: "";

  width: 1px;
  height: clamp(36px, 8vw, 85px);

  background-color: #ffffff;

  position: absolute;
  top: 59px;
  left: 21px;

  /* 最初は縮んでいる */
  transform: scaleY(0);
  transform-origin: top;

  /* STEP・タイトルが出たあとに伸びる */
  transition: transform 0.6s ease 0.4s;
}


/* 表示されたら線を伸ばす */
.flow__item.is-visible::before {
  transform: scaleY(1);
}


/* 最後のSTEPには線を出さない */
.flow__item:last-child::before {
  display: none;
}

/* =========================
   右側画像
========================= */
.flow__img {
  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.8s ease 0.3s,
    transform 0.8s ease 0.3s;
}

.flow__img.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   staff
========================= */

.staff {
  background-color: var(--beige);
  position: relative;
  padding: 20% 0 15% 0;
}

.staff__img {
  max-width: 500px;
  margin: 0 auto var(--space-3) auto;
}

.staff__img img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: center -15px;
}

.staff__name {
  text-align: center;
  margin-bottom: var(--space-1);
  color: #303740;
}

.staff__qualifications {
  font-size: clamp(14px, 3vw, 16px);
  color: var(--dark-blue);
  text-align: center;
  margin-bottom: var(--space-1);
}

.staff__position {
  margin-bottom: var(--space-2);
}

.staff__position li {
  text-align: center;
  line-height: 1.5;
  font-size: clamp(12px, 3vw, 14px);
}

.staff__text {
  line-height: 1.5;
  text-align: center;
}

/*staff　セクション区切り*/
.staff__top__wave {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.staff__top__wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.staff__top__wave-fill {
  fill: var(--beige);
}

/* =========================
   faq
  ========================= */

.faq {
  background-color: var(--white);
  padding: 30% 0;
}

.faq__accordion {
  width: 100%;
}

.faq__accordion .faq__label {
  padding: 2px 4px;
  text-align: center;
  margin-right: 5px;
}

.faq__accordion .faq__answer-text {
  color: var(--dark-blue);
  padding: 2px 8px;
  text-align: center;
  margin-right: 5px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.faq__answer-label {
  line-height: 1.65;
  margin-top: var(--space-1);
  margin-left: 1%;
  color: var(--dark-blue);
  border-bottom: 1px solid var(--gray);
  padding-bottom: 8px;
}

.faq__item {
  margin-bottom: var(--space-2);
}

.faq__item .faq__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--base);
  background-color: var(--dark-blue);
  border-radius: 30px;
  font-size: clamp(14px, 5vw, 16px);
  gap: 10px;
  text-align: left;
  position: relative;
  padding: 2px 16px;
  z-index: 1;
  cursor: pointer;
  transition-duration: 0.2s;
}

.faq__question,
.faq__answer {
  padding: 8px 0;
  font-size: clamp(16px, 2vw, 20px);
}

.faq__body {
  display: none;
  color: var(--gray);
  font-size: clamp(14px, 5vw, 16px);
  text-align: left;
}

.faq__item .faq__header::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--black);
  content: "";
  bottom: 0;
}

.faq__item .faq__icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 5px;
}

.faq__item .faq__header.open .faq__icon {
  transform: rotate(-180deg);
  margin-top: -5px;
}

.fa-angle-down:before {
  color: var(--base);
  font-size: 1.25rem;
}

.faq__body {
  display: none;
}

/*faq　セクション区切り*/
.faq__top__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  transform: scale(-1);
}

.faq__top__wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.faq__top__wave-fill {
  fill: var(--beige);
}

/* =========================
   access
  ========================= */

.access__img {
  display: block;
  margin: 0 auto var(--space-2) auto;
}

.access__map--img {
  margin-bottom: var(--space-3);
  text-align: center;
}

.access__info {
  border-bottom: 1px solid var(--light-blue);
  margin: 2% 0;
  padding: 2% 0;
}

.access__map {
  display: block;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto var(--space-1) auto;
}

.access__route {
  text-align: center;
  line-height: 1.75;
  margin-bottom: var(--space-1);
}

.access__route .number {
  font-weight: bold;
}

.access__text {
  margin-bottom: var(--space-2);
  font-size: clamp(12px, 4vw, 16px);
}

.access__label {
  font-size: clamp(14px, 4vw, 20px);
  line-height: 2;
  margin-bottom: var(--space-1);
}

.access__small-text{
  font-size: clamp(12px, 4vw, 14px);
}

.access__info--text{
  margin: 32px 0;
}

.time-table {
  width: 100%;
  margin-bottom: var(--space-2);
}

.time-table .time {
  line-height: 1.5;
  text-align: center;
  padding: var(--space-1) 0;
  display: inline-block;
  white-space: nowrap;
}

.time-table tr {
  border-bottom: 1px solid var(--light-blue);
}

.time-table td,
.time-table th {
  text-align: center;
  padding: var(--space-1) 0;
  white-space: normal;
  font-weight: normal;
  font-size: clamp(14px, 1vw, 16px);
}


/*access　セクション区切り*/
.access__top__wave {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 10;
  overflow: hidden;
}

.access__top__wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.access__top__wave-fill {
  fill: var(--base);
}

/* =========================
   footer
  ========================= */

.footer {
  background-color: var(--blue);
  color: var(--base);
  text-align: center;
  font-size: clamp(12px, 3vw, 16px);
  position: relative;
  padding: 20% 0;
}

.footer p {
  text-align: center;
}

.footer__logo {
  width: 80%;
  margin: 0 auto var(--space-5) auto;
}

.footer__btn {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.footer__btn a {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.footer__btn__area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-bottom: var(--space-3);
}

.footer__btn__area .footer__btn {
  margin: 0;
}

.footer .btn__insta:hover{
  transform: translateY(2px);
}

.footer__btn__area .footer__btn:hover{
  transform: translateY(2px);
}

.footer .btn__insta {
  border: 1px solid var(--dark-blue);
  margin-bottom: var(--space-3);
}

.footer .btn__reservation {
  border: 1px solid var(--dark-blue);
}

.footer .btn__line {
  border: 1px solid var(--beige);
}

.footer__hours {
  margin-bottom: var(--space-6);
}

.tel__text {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: var(--base);
  font-size: clamp(16px, 5vw, 56px);
  font-family: var(--font-num);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.tel__text,
.tel__text:link,
.tel__text:visited,
.tel__text:hover,
.tel__text:active {
  color: var(--base);
  -webkit-text-fill-color: var(--base);
}

.tel__icon {
  max-width: clamp(26px, 4vw, 43px);
  margin-bottom: -1%;
  padding-right: 10px;
}

footer small {
  text-align: center;
  display: block;
  font-size: clamp(12px, 2vw, 14px);
}


/* footer区切り */

.footer__top__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  transform: scale(-1);
}

.footer__top__wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.footer__top__wave-fill {
  fill: #fafcff;
}


.footer .wrapper{
  opacity: 1;
}

/* =========================
   CTA
  ========================= */
.floating-cta {
  position: fixed;
  right: 0;
  bottom: 50px;
  opacity: 1;
  transition: opacity 1s ease, transform 1s ease;
  z-index: 100;
}

.floating-cta.is-hidden {
  opacity: 0;
  transform: translate(50%, 0px);
  pointer-events: none;
}

.floating-cta__list {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  width: fit-content;
}

.floating-cta__list li {
  width: 45px;
  box-sizing: border-box;
  background-color: #42722E;
  border-radius: 4px 0 0px 4px;
  text-align: center;
  padding: 10px 8px;
  transition: background-color 0.6s ease;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
}

.floating-cta__list li a {
  width: 100%;
  color: var(--white);
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  transition: color 0.6s ease;
  font-size: clamp(14px,2vw,16px);
}

.floating-cta__list li:nth-child(2) {
  background-color: var(--light-blue);
}

.floating-cta__list li:nth-child(2) a {
  color: var(--dark-blue);
}

.floating-cta__list li:hover {
  opacity: 0.7;
}

.floating-cta__list li:hover a {
  color: var(--gray);
}



/* =========================
   PCPCPCPCPCPCPCPCPCPCPCPC
    ========================= */

@media (min-width: 768px) {
  .section {
    padding: 10% 0;
  }

  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
  .section-title{
    gap: 16px;
  }

  /* =========================
   PC--header
  ========================= */

  .header {
    margin: 24px 2%;
  }

  .header__logo {
    width: 100%;
    max-width: 200px;
  }

  .header-pc {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .header-pc__nav {
    position: relative;
    width: 100%;
    height: 100%;
    background: none;
    transform: translateX(0);
    transition: none;
    padding: 0;
    z-index: 1000;
  }

  .header-pc__nav__sns {
    width: 100%;
  }

  .header-pc__menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-en);
    font-weight: 500;
  }

  .header-pc__menu li a {
    transition: opacity 0.3s ease;
  }

  .header-pc__menu li a:hover {
    opacity: 0.65;
  }

  .header-pc__nav__sns .header-pc__menu .header-pc__menu__sns span {
    width: 100%;
  }

  .header-pc__nav__sns .header-pc__menu .header-pc__menu__sns a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .header-pc__nav__sns .header-pc__menu .header-pc__menu__sns a i {
    font-size: 1.25rem;
  }

  .header__inner {
    height: 100%;
  }

  @media (max-width: 1024px) {
    .header__inner{
      flex-wrap: nowrap;
    }

    .header-pc {
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
  }

  .header-pc__menu{
    justify-content: flex-end;
  }

  }

  .fixed-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition:
      opacity 0.8s ease,
      transform 0.8s ease,
      visibility 0.8s;
  }

  .fixed-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .fixed-header .header__inner{
    width: 95vw;
    padding: 24px 2%;
    box-sizing: border-box;
    margin: auto;
    background-color: var(--base);
    border-radius: 0.83vw;
    filter: drop-shadow(0px 12px 24px rgba(62, 62, 62, 0.12));
  }

  /* =========================
   PC--mv
  ========================= */
  .mv {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
  }

  .mv__img--container {
    width: calc(100vw - 40%);
    object-fit: cover;
    border-radius: 60px 0 0 60px;
    margin-left: auto;
  }

  .mv__img--container::before {
    content: none;
  }

  .image {
    border-radius: 60px 0 0 60px;
    width: 100%;
    height: 100%;
  }

  .mv__title {
    bottom: var(--space-7);
    left: var(--space-4);
    color: var(--dark-blue);
    letter-spacing: 0.085em;
    white-space: nowrap;
  }

  .mv__title-sub {
    color: #a9afbe;
    font-size: clamp(16px, 5vw, 2.5rem);
  }

  /* =========================
   PC--problems
  ========================= */
  .problems::after {
    background-size: contain;
  }

  .problems__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .problems__section-title {
    margin-bottom: var(--space-7);
  }

  .problems__item--blue {
    width: 90%;
  }

  .problems__item--dark--blue {
    width: 75%;
  }

  .problems__item--shoulders {
    order: 1;
  }

  .problems__item--waist {
    order: 2;
  }

  .problems__item--headache {
    order: 4;
    margin-top: 30px;
  }

  .problems__item--posture {
    order: 3;
  }

  .problems__item--fatiguex {
    order: 5;
  }

  .problems__item--bonex {
    order: 6;
  }

  .problems__item--nervousx {
    order: 8;
  }

  .problems__item--baby {
    order: 7;
    margin-top: -120px;
  }

  /* =========================
   PC--about
  ========================= */

  .about__img {
    margin-bottom: var(--space-4);
  }

  .about__text {
    text-align: center;
    line-height: 1.75;
  }

  /* =========================
   PC--menu
  ========================= */

  .menu {
    padding: 10% 0 5% 0;
  }

  .menu::after {
    height: 12%;
    background-size: cover;
  }

  .menu__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
  }

  .menu__img {
    max-width: 50%;
    margin-bottom: var(--space-4);
  }

  .menu__title {
    margin-bottom: var(--space-3);
  }

  .menu__content {
    max-width: 50%;
    margin-bottom: var(--space-4);
  }

  .menu__course--border {
    margin: 8px 0;
  }

  /* =========================
  PC--flow
  ========================= */

  .flow {
    padding: 20% 0 20% 0;
  }

  .flow__list {
    gap: var(--space-7);
  }

  .flow__content {
    max-width: min(100% - 48px, 1100px);
    margin: 0 auto;
  }

  .flow::before {
    width: 40%;
    background-size: contain;
  }

  .flow__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--space-5);
  }

  .flow__right {
    gap: 96px;
  }

  .flow__img img {
    width: 65%;
    max-width: 100%;
    border-radius: 10px;
  }

  .flow__item::before {
    top: 80%;
    left: 25%;
  }

  /*flow　セクション区切り*/
  .flow__top__wave {
    top: -1%;
  }

  /* =========================
    PC--access
  ========================= */
  .access__info--text{
    margin: 64px 0;
  }

  .time-table td, .time-table th{
    padding: 8px;
  }

  .time-table .time{
    margin-right: 6px;
  }

  /* =========================
   PC--staff
  ========================= */
  .staff {
    padding: 5% 0;
  }

  .staff__item {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .staff__name,
  .staff__text,
  .staff__qualifications,
  .staff__position {
    text-align: left;
  }

  .staff__position li {
    text-align: left;
    list-style-type: disc;
    margin-left: 20px;
  }

  /*staff　セクション区切り*/
  .staff__top__wave {
    top: -120px;
  }

  .staff__top__wave svg {
    height: 120px;
  }

  /* =========================
   PC--FAQ
  ========================= */

  .faq {
    padding: 15% 0;
  }

  .faq__item .faq__header {
    padding: 6px 16px;
    margin-bottom: var(--space-3);
  }

  .faq__item {
    margin-bottom: var(--space-3);
  }

  .fa-angle-down:before {
    font-size: 1.5rem;
  }

  /* =========================
   PC--footer
  ========================= */

  .footer {
    position: relative;
    padding: 8% 0 4% 0;
  }

  .footer__pc__content {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-6);
  }

  .footer__btn__area {
    flex-wrap: nowrap;
  }

  .footer__left__pc--only {
    width: 50%;
  }

  .tel__icon {
    margin-bottom: -3%;
  }

  .pagetop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--base);
    transition: transform 0.3s ease;
    position: absolute;
    right: 24px;
    bottom: 24px;
  }

  .pagetop:hover {
    transform: translateY(-4px);
  }

  .pagetop__arrow {
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transform: rotate(45deg);
    margin-top: 4px;
  }


  /* =========================
   PC--CTA
  ========================= */

  .floating-cta{
    bottom: 10%;
  }

  .floating-cta__list {
    width: 300px;
    align-items: center;
  }

  .floating-cta__list li {
    width: 320px;
    padding: 10px;
    writing-mode: lr;
}

  .floating-cta__list li a {
    gap: 8px;
    font-size: 20px;
  }
}