/* ======================================
  変数・ベース
====================================== */
:root {
  --color-black: #222222;
  --color-white: #ffffff;
  --color-red: #E55928;
  --color-yellow: #F0D122;
  --color-cream: #F6DF75;
  --color-green: #166674;
  --color-blue: #5397A9;

  --bg-gray: #EFEFEF;
  --bg-yellow: #FFF5C7;
  --bg-white: #ffffff;

  --neutral-10: #ffffff;
  --neutral-20: #F5F5F5;
  --neutral-30: #DEDEDE;
  --neutral-40: #E0E0E0;
  --neutral-50: #C4C2C2;
  --neutral-60: #9E9E9E;
  --neutral-70: #757575;
  --neutral-80: #616161;
  --neutral-90: #424242;
  --neutral-100: #0A0A0A;
}

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

body {
  line-height: 2;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  background: var(--color-white);
}

html,
body {
  overflow-x: hidden;
}

/* ヘッダー分だけ余裕を持ってスクロールさせる */
#feature,
#merit,
#price,
#faq,
#myobrace,
#merit {
  scroll-margin-top: 100px;
}

/* ======================================
  Layout（レイアウト）
====================================== */
.l-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.l-header {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  height: 80px;
  overflow: visible;
}

.l-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.l-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1280px) {
  .l-header__logo {
    width: 384px;
  }
}

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

.l-header__link {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  box-sizing: border-box;
}

.l-header__icon img {
  width: 26px;
  height: auto;
  display: block;
}

.l-header__icon--feature img {
  width: 18px;
  margin: 2px 3px;
}

.l-header__icon--merit img {
  width: 20px;
  margin: 2px 1px 3px 2px;
}

.l-header__icon--price img {
  width: 2;
  margin: 2px;
}

.l-header__icon--faq img {
  width: 20px;
  margin: 2px;
}

.l-header__icon--myobrace img {
  width: 20px;
  margin: 3px 2px;
}

.l-header__text {
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
  color: #333;
}

.l-header__link.is-small .l-header__text {
  font-size: 10px;
  white-space: nowrap;
  /* margin-top: 3px; */
}

.l-header__link:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background-color: var(--bg-gray);
}

.l-header__link,
.l-header__text {
  transition: color 0.2s ease;
}

.l-header__link:hover .l-header__text {
  color: var(--color-red);
}


.l-header__sp-menu {
  display: none;
  background: var(--color-red);
  border: none;
  width: 72px;
  height: 80px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.l-header__sp-menu .l-header__sp-bar {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.l-header__sp-menu.is-open .l-header__sp-bar:nth-of-type(1) {
  transform: translateY(6px) rotate(45deg);
}
.l-header__sp-menu.is-open .l-header__sp-bar:nth-of-type(2) {
  opacity: 0;
}
.l-header__sp-menu.is-open .l-header__sp-bar:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.l-header__sp-menu .l-header__sp-text {
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.l-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38px;
  height: 40px;
  background-image: url("../img/header/wave.svg");
  background-repeat: repeat-x;
  background-position: left top;
  background-size: contain;
  pointer-events: none;
}

.l-sp-nav {
  position: fixed;
  inset: 0;
  background: var(--color-red);
  z-index: 90;
  display: none;
  padding: 40px 32px;
  font-size: 16px;
}

.l-sp-nav.is-open {
  display: block;
}

.l-sp-nav__list {
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
}

.l-sp-nav__item + .l-sp-nav__item {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.l-sp-nav__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.l-sp-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px 16px 2px;
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.l-sp-nav__icon img {
  display: block;
  width: 18px;
  height: auto;
}

.l-sp-nav__link::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

.l-sp-nav__footer {
  margin: 40px 16px;
}

/* PCではSPナビを強制非表示 */
@media (min-width: 768px) {
  .l-sp-nav {
    display: none !important;
  }
}


/* ======================================
  Component（コンポーネント）
====================================== */
.c-btn.c-btn--header {
  width: 129px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid var(--color-red);
    transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.c-btn.c-btn--header:hover {
  background: var(--color-yellow);
  color: var(--color-red);
  border-color: var(--color-red);
}

.c-btn.c-btn--header .c-btn__icon img {
  transition: 0.2s ease;
}

.c-btn.c-btn--header:hover .c-btn__icon img {
  content: url("../img/header/icon_mail_red.svg");
}

.c-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.c-btn__icon img {
  width: 20px;
  height: auto;
  display: block;
}

.c-btn--sp-reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 21px 20px 21px 60px;
  background: var(--color-yellow);
  color: #333;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--neutral-40);
  position: relative;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.c-btn--sp-reserve:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  background-color: rgba(240, 209, 34, 0.7);
}

.c-btn--sp-reserve .c-btn__label {
  flex: 0 0 auto;
}

.c-btn--sp-reserve .c-btn__icon {
  margin-right: 0;
}

.c-btn--sp-reserve .c-btn__icon--arrow {
  margin-left: 42px;
}

.c-btn--sp-reserve .c-btn__icon--arrow img {
  display: block;
  width: 16px;
  height: auto;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.c-btn--cta {
  min-width: 280px;
  padding: 21px 20px 21px 66px;
  background: var(--color-red);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 0.7;
  border-radius: 9999px;
  box-shadow: 4px 4px 0 var(--neutral-40);
  position: relative;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.c-btn--cta .c-btn__icon {
  margin-right: 0;     /* 既存の 8px を打ち消す */
}

.c-btn--cta .c-btn__icon--arrow {
  margin-left: 38px;   /* テキストとの間隔 */
}

.c-btn--cta .c-btn__icon--arrow img {
  width: 18px;
  height: auto;
  display: block;
}

.c-btn--cta:hover {
  background-color: rgba(208, 96, 0, 0.7);
  transform: translate(4px, 4px);
  box-shadow: none;
}

/* セクション内で中央寄せしたいとき用ラッパー */
.p-price__cta {
  margin-top: 40px;
  text-align: center;
}

.c-deco {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.c-deco--squiggle-orange {
  width: 140px;
  height: 90px;
  background-image: url("../img/deco/deco_squiggle_orange.svg");
}

.c-deco--blob-green {
  width: 80px;
  height: 80px;
  background-image: url("../img/deco/deco_blob_green.svg");
}

.c-text-block {
  max-width: 540px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 2;
}

.c-mark-pill {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.c-mark-pill::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3em;
  height: 12px;
  background: var(--color-cream);
  border-radius: 4px;
  z-index: -1;
}

.c-sec-stone {
  text-align: center;
  margin: 92px 0 48px;
}

.c-sec-stone__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-green);
  line-height: 1.5;
}

.c-sec-stone__title-accent {
  font-size: 40px;
  display: inline-block;
}

.c-sec-stone__dots {
  margin-top: 8px;
}

.c-sec-stone__dots img {
  display: block;
  margin: 0 auto;
  width: 72px;
  max-width: 100%;
  height: auto;
}

/* ======================================
  Utility（ユーティリティ）
====================================== */
.u-text-orange {
  color: var(--color-red);
}

.u-text-black {
  color: var(--color-black);
}

.u-fz-20 {
  font-size: 20px;
}

.u-fz-24 {
  font-size: 24px;
}

.u-fz-30 {
  font-size: 30px;
}

.u-br-pc {
  display: inline;
}

.u-br-sp {
  display: none;
}

.u-ta-left {
  text-align: left;
}

.u-ta-center {
  text-align: center;
}

.u-ta-right {
  text-align: right;
}

.u-fw-bold {
  font-weight: 600;
}

/* ======================================
  Project（ページ固有パーツ）
====================================== */
.p-hero {
  position: relative;
  z-index: 2;
}

.p-hero__image {
  position: relative;
}

.p-hero__rainbow,
.p-hero__bird {
  position: absolute;
  transform-origin: center;
  pointer-events: none;
}

.p-hero__rainbow {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.p-hero__bird {
  top: 55%;
  right: 3%;
  animation-delay: 1.2s; /* ずらしてあげると自然 */
}

/* ゆらゆらアニメーション */
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* SPで位置を変えたい場合（数値は例） */
@media (max-width: 767px) {
  .p-hero__rainbow {
    top: 5%;
    right: 4%;
  }
  .p-hero__bird {
    top: 16%;
    right: 10%;
  }
}


.p-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.p-hero__overlay {
  position: absolute;
  inset: 0;
}

.p-hero__overlay .l-inner {
  height: 100%;
  position: relative;
}

.p-hero__copy {
  position: absolute;
  right: 40px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}


/* 1280px幅のキャンバス内で右24pxに固定 */
@media (min-width: 768px) {
  .p-hero__overlay .l-inner {
    padding: 0;
  }

  .p-hero__copy {
    right: 24px;
  }
}


.p-hero__box {
  background: #fff;
  border-left: 5px solid var(--color-red);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}

.p-hero__box--sm {
  padding: 12px 24px;
  font-size: 24px;
  font-weight: 500;
}

.p-hero__box--lg {
  padding: 20px 24px;
  letter-spacing: 0.1em;
  font-size: 48px;
  color: var(--color-red);
  font-weight: 600;
}

.p-hero__deco--squiggle {
  left: 129px;
  bottom: -37px;
}

.p-hero__deco--leaf {
  left: 240px;
  bottom: 0;
}

/* ============================
   5才以上の子どもの～ セクション
============================ */
.p-lead {
  position: relative;
  background-image: url("../img/bg/bg_lead_yellow.png");
  background-repeat: repeat;
  text-align: center;
  margin-top: -60px;
  padding: 140px 0 80px;
}

.p-lead__catch {
  margin-bottom: 24px;
}

.p-lead__catch p {
  font-size: 24px;
  color: var(--color-green);
  font-weight: 500;
}

/* ============================
   ブラケット（ハリガネ）の問題点
============================ */
.p-bracket {
  position: relative;
  padding: 80px 0 64px;
  background-color: var(--bg-gray);
  background-image: url("../img/bg/bg_bracket_drop.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: auto;
}

.p-bracket__inner {
  position: relative;
}

.p-bracket__head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.p-bracket__eyebrow {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 2;
  font-weight: 500;
}

.p-bracket__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-green);
}

.p-bracket__title {
  position: relative;
  display: inline-block;
  line-height: 2;
  font-size: 40px;
  z-index: 0;
}

.p-bracket__title::before,
.p-bracket__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background-color: var(--color-green);
}

.p-bracket__title::before {
  top: 0;
}

.p-bracket__title::after {
  bottom: 0;
}

.p-bracket__deco {
  position: absolute;
  top: calc(50% + 18px);
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.p-bracket__deco--left {
  left: 50%;
  margin-left: -342px;
  background-image: url("../img/deco/deco_squiggle_gray_left.svg");
}

.p-bracket__deco--right {
  right: 50%;
  margin-right: -348px;
  background-image: url("../img/deco/deco_squiggle_gray_right.svg");
}

.p-bracket__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 50px;
}

.p-bracket__photo {
  flex: 0 0 360px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  z-index: 0;
}

.p-bracket__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-bracket__points {
  flex: 0 1 540px;
  display: flex;
  flex-direction: column;
  gap: 29px;
  position: relative;
  z-index: 0;
  margin-left: -95px;
}

.p-bracket-point {
  position: relative;
  background: var(--color-blue);
  border-radius: 9999px;
  padding: 16px 24px;
  text-align: center;
  color: #fff;
}

.p-bracket-point__label {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  padding: 8px 56px;
  background: var(--neutral-70);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.p-bracket-point__text {
  margin: 0;
  font-size: 24px;
  line-height: 2;
  white-space: nowrap;
}

/* =====================================
   マイオブレースなら
   ===================================== */
.p-myobrace {
  padding: 80px 0;
  background-image: url("../img/bg/bg_lead_yellow.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.p-myobrace::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_yellow_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}


.p-myobrace__head {
  text-align: center;
  position: relative;
}

.p-myobrace__eyebrow {
  position: absolute;
  left: 50%;
  top: -75px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.p-myobrace__title-main {
  position: relative;
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-red);
  padding-top: 7px;
  line-height: 1.5;
}

.p-myobrace__title-main::before {
  content: "・・・・・・・";
  position: absolute;
  top: 0;
  left: 54%;
  transform: translateX(-50%);
  font-size: 15px;
  letter-spacing: 1.7em;
  color: var(--color-red);
  font-weight: 900;
}

.p-myobrace__title-sub {
  font-size: 32px;
  font-weight: 700;
  color: #166674;
}

.p-myobrace__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.p-myobrace__title {
  margin: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.25em;
}

.p-myobrace__line {
  flex: 0 0 auto;
  display: block;
}

.p-myobrace__line img {
  display: block;
  width: 45px;
  height: auto;
}

.p-myobrace__body {
  position: relative;
  max-width: 800px;
  margin: 32px auto 0;
}

.p-myobrace__card {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 3px 32px 32px 260px;
}

.p-myobrace__doctor {
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 249px;
  height: 335px;
  overflow: hidden;
  z-index: 1;
}

.p-myobrace__doctor img {
  display: block;
  width: 100%;
  height: auto;
}

.p-myobrace__card {
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  border: 3px solid var(--color-cream);
  padding: 3px 0px 16px 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 0px;
  flex-wrap: wrap;
  max-width: 800px;
}

.p-myobrace-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.p-myobrace-card__bubble {
  position: relative;
  width: 229px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.p-myobrace-card__bubble img {
  display: block;
}

.p-myobrace-card__label {
  position: absolute;
  bottom: 31px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  color: var(--color-red);
  white-space: nowrap;
}

.p-myobrace-card__bubble--training + .p-myobrace-card__label {
  bottom: 24px;
}

.p-myobrace__plus {
  font-size: 24px;
  font-weight: 700;
}

.p-myobrace__note {
  flex-basis: 100%;
  margin: 0px 24px 8px 0;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

@media screen and (max-width: 1024px) {
  .p-myobrace__card {
    padding: 32px 24px 32px 220px;
  }

  .p-myobrace__doctor {
    width: 180px;
  }
}

@media screen and (max-width: 768px) {
  .p-myobrace {
    padding: 56px 0;
  }

  .p-myobrace__title {
    font-size: 22px;
  }

  .p-myobrace__body {
    margin-top: 72px;
  }

  .p-myobrace__doctor {
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 160px;
  }

  .p-myobrace__card {
    padding: 10px 6px 16px 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0;
    /* row-gap: 8px; */
    text-align: center;
  }

  .p-myobrace-card {
    width: auto;
  }

  .p-myobrace-card__bubble {
    width: 140px;
    height: 110px;
  }

  .p-myobrace__note {
    margin: 0;
    font-size: 20px;
    text-align: center;
  }
}

/* =====================================
   マイオブレースの特徴
===================================== */

.p-feature {
  position: relative;
  padding: 0px 0 80px;
  background-color: #ffffff;
  margin-top: 90px;
}

.p-feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_white_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  z-index: 2;
}

.p-feature__grid {
display: grid;
  grid-template-columns: repeat(2, 360px);
  column-gap: 80px;
  row-gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.p-feature-card {
  text-align: left;
}

.p-feature-card__media {
  margin-bottom: 24px;
}

.p-feature-card__media img {
  display: block;
  width: 360px;
  height: auto;
}

.p-feature-card__lead {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-green);
  text-align: center;
  width: 360px;
}

.p-feature-card__text {
  font-size: 16px;
  line-height: 2;
}

.p-feature__deco--flag {
  top: 100px;
  left: 73px;
  width: 123px;
  height: 87px;
  background-image: url("../img/deco/deco_flag_orange.svg");
}

.p-feature__deco--flower-left {
  left: -20px;
  bottom: 700px;
  width: 152px;
  height: 127px;
  background-image: url("../img/deco/deco_flower_yellow.svg");
}

.p-feature__deco--flower-blue {
  right: 70px;
  top: 400px;
  width: 77px;
  height: 80px;
  background-image: url("../img/deco/deco_flower_blue.svg");
}

.p-feature__deco--squiggle {
  right: -158px;
  bottom: 120px;
  transform: scale(0.8);
  transform-origin: bottom right;
  width: 348px;
  height: 155px;
}

/* =====================================
   施術を受けるメリット
===================================== */

.p-merit {
  position: relative;
  padding: 16px 0 80px;
  background-image: url("../img/bg/bg_lead_yellow.png");
  background-repeat: repeat;
}

.p-merit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_yellow_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}


.p-merit__list {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  margin-top: 56px;

  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.p-merit-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  column-gap: 0;
  position: relative;
}

.p-merit-item--reverse {
  flex-direction: row-reverse;
}

.p-merit-item__photo {
  flex: 0 0 440px;
  width: 440px;
  height: 240px;
}

.p-merit-item__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid var(--color-cream);
  box-sizing: border-box;
}

.p-merit-item__body {
  position: relative;
  flex: 1;
}

.p-merit-item--reverse .p-merit-item__body {
  margin: 0;
}

.p-merit-item__label {
  position: absolute;
  top: -20px;
  right: 16px;
  margin: 0;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-cream);
}

.p-merit-item--reverse .p-merit-item__label {
  left: 16px;
  right: auto;
  text-align: right;
}

.p-merit-item__card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 50px 60px;
  max-width: 440px;
  margin-top: 40px;
  margin-left: -80px;
  z-index: 1;
}

.p-merit-item--reverse .p-merit-item__card {
  margin: 40px -80px 0 0;
  width: 440px;
  margin-top: 40px;
  z-index: 1;
}

.p-merit-item__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.p-merit__cta {
  margin-top: 40px;
  text-align: center;
}


/* ============================
   ビフォーアフター
============================ */
.p-before-after {
  padding: 104px 0 80px;
  position: relative;
}

.p-before-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_white_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.p-before-after__deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: auto;
}

.p-before-after__head {
  position: relative;
  text-align: center;
  margin-bottom: 56px;
}

.p-before-after__deco--left {
  left: 30%;
  width: 45px;
}

.p-before-after__deco--right {
  right: 30%;
  width: 45px;
}

.p-before-after__title {
  display: inline-block;
  font-size: 40px;
  font-weight: 600;
  color: var(--color-green);
}

.p-before-after__list {
  display: flex;
  flex-direction: column;
  row-gap: 56px;
  margin-top: 32px;
}

.p-before-after-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 24px;
  margin-bottom: 60px;
}

.p-before-after-item__before,
.p-before-after-item__after {
  flex: 0 0 auto;
  width: 360px;
  height: 360px;
  margin: 0;
}

.p-before-after-item__before img,
.p-before-after-item__after img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p-before-after-item__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-before-after-item__arrow img {
  display: block;
  width: 40px;
  height: auto;
}

.p-before-after-item__footer {
  display: none;
}

.js-case.is-open .p-before-after-item__body {
  height: 0;
  overflow: hidden;
  padding: 0 40px;
  border-radius: 0 0 16px 16px;
  border-top: none;
  background: #FFF5C7;
}


.p-before-after-item__detail {
  width: 100%;
  max-width: 800px;
  margin: 24px auto 0;
  border: 3px solid #F6E285;
  border-radius: 16px;
}

.p-before-after-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  border: none;
  background-color: #FFF5C7;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.js-case.is-open .p-before-after-item__head {
  border-radius: 14px 14px 0 0;
}

.p-before-after-item__head-label {
  display: inline-block;
  margin: 0 auto;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size:
}

.js-case.is-open .p-before-after-item__head-label {
  visibility: hidden;
}

.p-before-after-item__icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.p-before-after-item__icon::before,
.p-before-after-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-red);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.p-before-after-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.js-case.is-open .p-before-after-item__icon::after {
  opacity: 0;
}

.p-before-after-item__body {
  height: 0;
  overflow: hidden;
  padding: 0 40px;
  border-radius: 0 0 16px 16px;
  border-top: none;
  background-color: #fff;
  transition: height 0.25s ease;
}

.p-before-after-item__list {
  margin: 0 0 20px;
}

.p-before-after-item__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 16px;
  row-gap: 8px;
  font-size: 14px;
  border-bottom: 2px dashed #F6E285;
  padding: 24px 0;
}

.p-before-after-item__row:last-child {
  border-bottom: none;
}

.p-before-after-item__row:first-child {
  padding-top: 0;
}

.p-before-after-item__term {
  font-weight: 500;
  color: var(--color-red);
  font-size: 16px;
}

.p-before-after-item__desc {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  align-self: center;
}

.c-deco--before-after-ribbon {
  width: 192px;
  height: 134px;
  background-image: url("../img/deco/deco_ribbon_orange.svg");
  top: 86px;
  left: 34px;
}

.c-deco--before-after-green {
  width: 144px;
  height: 93px;
  background-image: url("../img/deco/deco_moko_green.svg");
  top: 624px;
  right: 38px;
}

.c-deco--before-after-ball {
  width: 123px;
  height: 133px;
  background-image: url("../img/deco/deco_ball_yellow.svg");
  top: 1320px;
  left: -10px;
}

.c-deco--before-after-flower {
  width: 53px;
  height: 64px;
  background-image: url("../img/deco/deco_before-after_flower_blue.svg");
  top: 1520px;
  left: 122px;
}

/* ---------------------------------------------
   Counseling section
--------------------------------------------- */
.p-counseling {
  position: relative;
  background-color: var(--bg-yellow);
  background-image: url("../img/bg/bg_lead_yellow.png");
  background-repeat: repeat;
}

.p-counseling::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_yellow_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.p-counseling__loop {
  overflow: hidden;
  padding-top: 54px;
  padding-bottom: 24px;
}

.p-counseling__loop-inner {
  width: 100%;
}

.p-counseling__loop-list {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: counseling-loop 24s linear infinite;
}

.p-counseling__loop-item {
  flex: 0 0 auto;
}

.p-counseling__loop-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-counseling__loop-item--01 {
  width: 197px;
  margin-top: -16px;
}

.p-counseling__loop-item--02 {
  width: 173px;
  margin-bottom: -12px;
}

.p-counseling__loop-item--03 {
  width: 178px;
  margin-top: -8px;
}

.p-counseling__loop-item--04 {
  width: 178px;
}

.p-counseling__loop-item--05 {
  width: 173px;
  margin-bottom: -20px;
}

.p-counseling__loop-item--06 {
  width: 191px;
  margin-top: -12px;
}

.p-counseling__loop-item--07 {
  width: 177px;
  margin-top: -12px;
}

@keyframes counseling-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.p-counseling__body {
  position: relative;
  padding: 40px 0 0px;
}

.p-counseling__header {
  text-align: center;
}

.p-counseling__eyebrow {
  font-size: 12px;
  color: var(--color-red);
  margin-bottom: 8px;
}

.p-counseling__title {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 40px;
}

.p-counseling__lead {
  font-size: 16px;
  line-height: 2;
}

.p-counseling__cards {
  max-width: 904px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.p-counseling-card {
  width: 280px;
  flex: 0 0 280px;
  background-color: var(--color-white);
  border-radius: 999px 999px 130px 130px;
  border: 3px solid var(--color-cream);
  padding: 12px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-counseling-card--middle {
  margin-top: 64px;
}

.p-counseling-card__thumb {
  width: 100%;
  max-width: 260px;
  border-radius: 200px;
  overflow: hidden;
  margin: 0 auto 24px;
}

.p-counseling-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-counseling-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-green);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.5;
}

.p-counseling-card__text {
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.p-counseling-card--doctor .p-counseling-card__text {
  letter-spacing: 0.04em;
}

.p-counseling-card--trainer .p-counseling-card__text {
  letter-spacing: 0.03em;
}

/* スタッフとの振り返り：ベースのままでもOK */
.p-counseling-card--staff .p-counseling-card__text {
  letter-spacing: 0.03em;
}

.p-counseling__bottom-illust {
  margin-top: 40px;
  height: 148px;
  background: url("../img/deco/counseling_bottom.png");
  background-repeat: no-repeat;
  background-position: center bottom;
}

/* ============================
   マイオブレースの料金表
   ============================ */
.p-price {
  position: relative;
  padding: 104px 0 80px;
  background-color: var(--bg-white);
}

.p-price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 27px;
  background-image: url("../img/bg/bg_wave_white_bottom.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.p-price .c-sec-stone {
  margin: 0 0 48px;
}

.p-price .c-sec-title {
  margin-bottom: 40px;
}

.p-price__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.p-price-table {
  border-top: 3px solid var(--bg-gray);
  border-bottom: 3px solid var(--bg-gray);
}

.p-price-row {
  display: grid;
  grid-template-columns: 17fr 18fr;
  border-bottom: 3px solid var(--bg-gray);
  align-items: center;
}

.p-price-row:last-child {
  border-bottom: none;
}

.p-price-row__label {
  background-color: var(--bg-yellow);
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  margin: 8px 12px;
}

.p-price-row__price {
  background-color: #ffffff;
  padding: 14px 0px 14px 16px;
}

.p-price-row__main {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-red);
  line-height: 1.5
}

.p-price-row__sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-red);
}

.p-price-row__note {
  font-size: 14px;
  color: var(--color-black);
  line-height: 1.5;
}

.p-price-row__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.p-deco--price-balloons {
  width: 124px;
  height: 240px;
  background-image: url("../img/deco/deco_price_balloons.svg");
  bottom: 50px;
  left: 50px;
}

.p-deco--price-flowers {
  width: 152px;
  height: 113px;
  background-image: url("../img/deco/deco_price_flowers.svg");
  top: 110px;
  right: 50px;
  z-index: 2;
}


/* ============================
   よくあるご質問
============================ */

.p-faq {
  position: relative;
  padding: 16px 0 80px;
  background-image: url("../img/bg/bg_lead_yellow.png");
  background-repeat: repeat;
}

.p-faq-list {
  max-width: 800px;
  margin: 56px auto 0px;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.p-faq-item {
  background-color: var(--color-cream);
  border-radius: 16px;
  border: 3px solid var(--color-cream);
}

.p-faq-item__question,
.p-faq-item__answer {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: flex-start;
  padding: 16px 24px;
}

.p-faq-item__question {
  background-color: var(--color-cream);
  border-radius: 16px 16px 0 0;
}

.p-faq-item__answer {
  background-color: var(--color-white);
  border-radius: 0 0 14px 14px;
  padding: 24px
}

.p-faq-item__label {
  width: 32px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-red);
}

.p-faq-item__label--q,
.p-faq-item__label--a {
  font-size: 32px;
}

.p-faq-item__question-text,
.p-faq-item__answer-text {
  margin: 0;
  line-height: 2;
}

.p-faq-item__question-text {
  font-size: 20px;
  font-weight: 500;
}

.p-faq-item__answer-text {
  font-size: 16px;
}

/* ============================
   お問い合わせ
============================ */

.p-contact {
  position: relative;
  background-color: var(--bg-white);
}

.p-contact__inner {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
}

.p-contact__photo {
  flex: 0 0 50%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.p-contact__photo img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-contact__body {
  flex: 0 0 50%;
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 80px;
}

.p-contact__body-inner {
  max-width: 480px;
  text-align: center;
}

.p-contact__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-green);
}

.p-contact__dots {
  margin: 16px 0;
}

.p-contact__dots img {
  display: block;
  margin: 0 auto;
  width: 72px;
  height: auto;
}

.p-contact__text {
  font-size: 16px;
  line-height: 2;
  text-align: center;
  margin: 0 0 8px;
}

.p-contact__name {
  text-align: center;
  margin: 0;
}

.p-contact__buttons {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.c-btn--reserve {
  width: 100%;
  max-width: 280px;
  padding: 14px 19px;
  border-radius: 9999px;
  background: var(--color-red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--neutral-40);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  justify-content: space-between;
  display: flex;
}

.c-btn--reserve .c-btn__label {
  width: 218px;
}

.c-btn--reserve .c-btn__icon img {
  display: block;
  width: 18px;
  height: auto;
}

.c-btn--reserve:hover {
  opacity: 0.9;
  transform: translate(4px, 4px);
  box-shadow: none;
}

.l-sp-fixed-cta {
  display: none;
}

/* ============================
   Footer
============================ */
.l-footer {
  height: 68px;
  background-image: url("../img//footer/footer_wave_yellow.svg");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -35px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1281px) and (max-width: 1439px) {
  .l-footer {
    height: 60px;
    background-size: 100% 140%;
  }
}

@media (min-width: 1440px) and (max-width: 1920px) {
  .l-footer {
    height: 60px;
    background-size: 100% 170%;
  }
}

.l-footer__inner {
  text-align: center;
}

.l-footer__copy {
  margin: 0;
  font-size: 12px;
  line-height: 2;
  color: var(--color-green);
  font-weight: 500;
  transform: translateY(9px);
}




/* ======================================
   AOS（fade-up）
====================================== */

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform;
  transition-duration: 1400ms;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
}

@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

/* ---------- SP（〜767px） ---------- */
@media (max-width: 767px) {
  .l-footer {
    height: auto;
    padding: 24px 0 20px;
    background-position: center top;
    background-size: auto;
  }

  .l-footer__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}


@media (max-width: 767px) {
  .p-feature {
    padding: 2px 0 72px;
  }

  .p-feature__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 56px;
    margin-top: 40px;
  }

  .p-feature-card__lead {
    font-size: 16px;
  }
}

/* ======================================
  SP用レイアウト調整（まとめ）
====================================== */
@media (max-width: 767px) {

  #merit,
  #price,
  #faq,
  #myobrace,
  #merit {
  scroll-margin-top: 40px;
  }

  #feature {
    scroll-margin-top: 80px;
  }

  .l-header {
    height: 48px;
    padding-left: 16px;
  }

  .l-header__inner {
    padding: 0;
  }

  .l-header__nav,
  .c-btn.c-btn--header {
    display: none;
  }

  .l-header__sp-menu {
    display: flex;
    width: 48px;
    height: 49px;
  }

  .l-header::after {
    display: none;
  }

  .l-header__logo {
    width: 230px;
  }

  .l-inner {
    padding: 0 32px;
  }

  .l-header .l-inner {
    padding: 0;
  }

  .l-footer {
    margin-top: 0;
  }

    /* ---------- SP固定CTAバー ---------- */
  .l-sp-fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .l-sp-fixed-cta.is-hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .l-sp-fixed-cta__inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 12px 10px;
    display: flex;
    gap: 8px;
  }

    .l-sp-nav.is-open ~ .l-sp-fixed-cta {
    display: none
  }

  .c-btn--sp-fixed {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--neutral-40);
    height: 40px;
  }

  .c-btn--sp-fixed--tel {
    background: var(--color-red);
    color: var(--color-white);
  }

  .c-btn--sp-fixed--web {
    background: var(--color-red);
    color: var(--color-white);
  }

  .c-btn--sp-fixed .c-btn__icon img {
    display: block;
    width: 16px;
    height: auto;
  }

  .c-btn--sp-fixed .c-btn__icon {
    margin-right: 0;
  }

  .c-btn--sp-fixed .c-btn__label {
    white-space: nowrap;
    font-size: 16px;
    width: 132px;
    text-align: center;
    line-height: 1;
  }

  /* ---------- Utility（SP） ---------- */
  .u-br-pc {
    display: none;
  }

    .u-br-sp {
    display: inline;
  }

  /* ---------- Project：Hero（SP） ---------- */

  .p-hero {
    min-height: 45vh;
    margin-top: 30px;
  }

  .p-hero__image {
    height: 45vh;
    /* height: 400px; */
    overflow: hidden;
  }

  .p-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% center;
    /* transform: translateY(-18%); */
  }

  .p-hero__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    max-width: min(360px, 75vw);
    margin-left: auto;
  }

  .p-hero__rainbow {
    width: 160px;
    top: 3%;
    left: -6%;
  }

  .p-hero__bird {
    width: 94px;
    top: 58%;
    right: 6%;
  }

  .p-hero__box {
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1;
  }

  .p-hero__box--sm {
    padding: 6px 12px;
    font-size: 14px;
  }

  .p-hero__box--lg {
    padding: 10px 15px;
    font-size: 24px;
    align-self: stretch;
  }

  .p-hero__box .u-fz-20 {
    font-size: 14px;
  }

  .p-hero__deco--squiggle {
    left: 11px;
    bottom: -55px;
    width: 80px;
  }

  .p-hero__deco--leaf {
    left: 83px;
    bottom: -45px;
    width: 27px;
  }

  /* ---------- Component ---------- */
  .c-btn--sp-reserve {
    line-height: 1;
  }

  .c-mark-pill {
    position: static;
    display: inline;
    padding: 0 .35em .16em;
    border-radius: 4px;
    background-image: linear-gradient(
      to bottom,
      transparent 0,
      transparent 65%,
      var(--color-cream) 65%,
      var(--color-cream) 100%
    );
    background-repeat: no-repeat;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .c-mark-pill::before {
    content: none;
  }

  .c-btn--cta {
    min-width: 296px;
  }

  /* ---------- Project ---------- */
  .p-lead__catch p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
  }

  .p-lead {
    padding: 130px 0 64px;
  }

  /* ---------- ブラケットの問題点（SP） ---------- */
  .p-bracket {
    padding: 64px 0 20px;
  }

  .p-bracket__head {
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .p-bracket__eyebrow {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
  }

  .p-bracket__title {
    font-size: 32px;
    line-height: 1.3;
    padding: 16px 0;
  }

  .p-bracket__title::before,
  .p-bracket__title::after {
    width: 254px;
  }

  .p-bracket__title .u-fz-24 {
    font-size: 16px;
  }

  .p-bracket__deco {
    top: 58%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
  }

  .p-bracket__deco--left {
    left: 0px;
    margin-left: -20px;
  }

  .p-bracket__deco--right {
    right: 16px;
    margin-right: -32px;
  }

  .p-bracket__body {
    flex-direction: column;
    gap: 24px;
  }

  .p-bracket__photo {
    width: 260px;
    height: 260px;
    flex: 0 0 auto;
  }

  .p-bracket__points {
    flex: unset;
    width: 100%;
    max-width: 420px;
    margin: -50px auto auto 0;
  }

  .p-bracket-point {
    padding: 20px 38px;
  }

  .p-bracket-point__label {
    font-size: 14px;
    padding: 8px 56px;
    white-space: nowrap;
  }

  .p-bracket-point__text {
    font-size: 20px;
    line-height: 1.5;
    white-space: normal;
  }

  .p-myobrace {
    padding: 80px 0 64px;
  }

  .p-myobrace .l-inner {
  padding-left: 16px;
  padding-right: 16px;
  }

  .p-myobrace__body {
    margin-top: 210px;
  }

  .p-myobrace__card-inner {
    padding: 24px 20px 32px;
    display: block;
    text-align: center;
  }

  .p-myobrace__doctor {
    position: absolute;
    width: 180px;
    margin: 0 auto 16px;
    z-index: 0;
  }

  .p-myobrace__content {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .p-myobrace__plus {
    font-size: 28px;
  }

  .p-myobrace__text {
    font-size: 16px;
    line-height: 1.7;
  }

  .p-myobrace__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0;
  }

  .p-myobrace__title-main {
    white-space: nowrap;
    line-height: 1.5;
    font-size: 32px;
  }

  .p-myobrace__title-main::before {
    top: -3px;
    font-size: 16px;
  }

  .p-myobrace__title-sub {
    font-size: 24px;
    line-height: 1.4;
  }

  .p-myobrace__eyebrow {
    width: 320px;
  }

  .p-myobrace__title-main::before {
    letter-spacing: 1em;
}

  .p-myobrace-card__label {
    font-size: 20px;
  }

  .p-feature-card__lead {
    width: 296px
    margin: 0 auto;
  }

  .p-feature-card__text {
    width: 296px;
    margin: 0 auto
  }

  .p-feature-card__media img {
    width: 296px;
    margin: 0 auto;
  }

  .p-feature-card__lead-line {
    font-size: 20px;
  }

  .c-sec-stone {
    margin: 0;
  }

  .c-sec-stone__title {
    font-size: 24px;
    white-space: nowrap;
  }
  .c-sec-stone__title-accent {
    font-size:  32px
  }

  .p-feature__deco--flag {
    width: 80px;
    height: 57px;
    top: 770px;
    left: auto;
    right: -5px;
  }

  .p-feature__deco--flower-left {
    width: 100px;
    height: 83px;
    left: auto;
    right: -22px;
    bottom: 690px;
  }

  .p-feature__deco--flower-blue {
    width: 58px;
    height: 60px;
    left: 5px;
    top: 1460px;
  }

  .p-feature__deco--squiggle {
    right: auto;
    left: -90px;
    bottom: -30px;
    width: 152px;
    height: 155px;
    z-index: 10;
  }

  .p-before-after {
    padding: 88px 0 6px;
  }

  .p-before-after__title {
    font-size: 32px;
  }

  .p-before-after__deco--left {
    width: 32px;
    left: -17px;
  }

  .p-before-after__deco--right {
    width: 31px;
    right: -17px;
  }

  .p-before-after__list {
    gap: 64px;
    margin-top: 24px;
  }

  .p-before-after-item {
    flex-direction: column;
    row-gap: 0px;
  }

  .p-before-after-item__before,
  .p-before-after-item__after {
    width: 76%;
  }

  .p-before-after-item__before,
  .p-before-after-item__after {
    flex: 0 0 auto;
    width: 280px;
    height: 280px;
    margin: 0;
  }

  .p-before-after-item__arrow img {
    height: 80px;
    width: auto;
    transform: rotate(90deg);
  }

  .p-before-after__head {
    margin-bottom: 40px;
  }

  .p-before-after-item__detail {
    width: 280px;
    margin-top: 16px;
    border-radius: 12px;
  }

  .p-before-after-item__head {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
  }

  .js-case.is-open .p-before-after-item__head {
    padding: 12px 16px 0 16px;
    border-radius: 8px 8px 0 0;
  }

  .p-before-after-item__body {
    padding: 0 20px;
  }

  .p-before-after-item__list {
    margin: 0 0 8px;
  }

  .js-case.is-open .p-before-after-item__body {
    padding: 0 20px;
    border-radius: 0 0 10px 10px;
  }

  .p-before-after-item__row {
    row-gap: 0;
    grid-template-columns: 1fr;
  }

  .p-before-after-item__row:last-child {
    border-bottom: 2px dashed #F6E285;
  }

  /* ビフォーアフター：とじるボタン */
.p-before-after-item__footer {
  display: block;
  padding-bottom: 8px;
  text-align: center;
}

.p-before-after-item__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* 「とじる」と「－」の間 */
  padding: 0 24px 4px;
  border: none;
  background: none;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

.p-before-after-item__close-icon {
  font-size: 22px;
  line-height: 1;
}

  .c-deco--before-after-ribbon {
    width: 84px;
    height: 56px;
    top: 32px;
    left: -6px;
  }

  .c-deco--before-after-green {
    width: 74px;
    height: 48px;
    top: 840px;
    right: -3px;
  }

  .c-deco--before-after-ball {
    width: 84px;
    height: 91px;
    top: 1670px;
    left: -16px;
  }

  .c-deco--before-after-flower {
    width: 53px;
    height: 64px;
    top: 2420px;
    left: auto;
    right: -10px;
  }

  .p-counseling__loop {
    padding-top: 60px;
    padding-bottom: 16px;
    overflow: hidden;
  }

  .p-counseling__loop-list {
    animation-duration: 50s;
    width: max-content;
  }

  .p-counseling__body {
    padding: 30px 0 0;
  }

  .p-counseling__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .p-counseling__lead {
    font-size: 16px;
    line-height: 2;
    text-align: left;
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .p-counseling-card__thumb {
    margin-bottom: 17px;
  }

  .p-counseling-card__title {
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .p-counseling-card {
    margin: 0 auto 40px auto;
  }

  .p-counseling-card--middle {
    margin-top: 64px;
  }

  .p-counseling__cards {
    display: block;
  }

  .p-counseling-card--doctor .p-counseling-card__text {
    letter-spacing: -0.04em;
  }

  .p-counseling__bottom-illust {
    background-position: left bottom;
    background-size: 254% auto;
    height: 111px;
  }

  .p-price {
    padding: 80px 0 0 0;
  }

  .p-price::after {
    bottom: -90px;
  }

  .p-price__inner {
    margin: 56px 0px 64px;
  }

  .p-price-row {
    grid-template-columns: 1fr;
    border-bottom: 3px solid var(--bg-gray);
  }

  .p-price-row__label {
    height: 40px;
    margin: 8px 12px 0px;
  }

  .p-price-row__price {
    text-align: center;
    padding: 16px 0px;
  }

  .p-faq {
    padding: 88px 0 64px
  }

  .p-faq-list {
    margin: 40px auto 0px;
  }

  .p-faq .c-sec-stone__title {
    font-size: 32px;
  }

  .p-faq-item__question-text {
    line-height: 1.5;
  }

  .p-faq-item__question {
    padding: 16px;
  }

  .p-faq-item__answer {
    padding: 24px 16px;
  }

  .p-deco--price-balloons {
  width: 35px;
  height: 67px;
  background-image: url("../img/deco/deco_price_balloons.svg");
  bottom: -60px;
  left: -1px;
  }

  .p-deco--price-flowers {
    width: 75px;
    height: 56px;
    background-image: url("../img/deco/deco_price_flowers.svg");
    top: 24px;
    right: -5px;
    z-index: 2;
  }

  .p-contact__inner {
    display: block;
  }

  .p-contact__photo {
    height: 240px;
    margin: 0 0 24px;
  }

  .p-contact__photo img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }

  .p-contact__body {
    padding: 16px 32px 40px;
    background: #fff;
    border-radius: 16px;
  }

  .p-contact__title {
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 16px;
  }

  .p-contact__lead {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 16px;
  }

  .p-contact__doctor {
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
  }

  .p-contact__btns {
    margin: 32px 0 24px;
  }

  .p-contact__btns .c-btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 16px;
    text-align: center;
    justify-content: center;
  }

  .p-contact__btns .c-btn:last-child {
    margin-bottom: 0;
  }

   /* ---------- 施術を受けるメリット（SP） ---------- */

  .p-merit {
    padding: 80px 0 64px;
  }

  .p-merit .l-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .p-merit__list {
    max-width: 320px;
    margin: 72px auto 0;
    row-gap: 56px;
  }

  .p-merit-item,
  .p-merit-item--reverse {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    text-align: center;
  }

  .p-merit-item__body {
    max-width: 296px;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .p-merit-item--reverse .p-merit-item__card {
    margin: 0;
    margin-left: 0;
  }

  .p-merit-item__label {
    margin: -25px -15px 0;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-cream);
    z-index: 1;
  }

  .p-merit-item--reverse .p-merit-item__label {
    text-align: center;
  }

  .p-merit-item__card {
    max-width: 264px;
    margin: 0;
    padding: 19px 24px;
    border-radius: 16px;
    margin-left: 32px;
  }

  .p-merit-item__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
  }

  .p-merit-item__photo {
    width: 100%;
    max-width: 264px;
    margin: -10px 0 0 0;
    position: relative;
    z-index: 1;
    flex: 0;
    margin-right: 57px;
  }

  .p-merit-item--reverse {
  align-items: flex-start;
  }

  .p-merit-item--reverse .p-merit-item__photo {
    margin-left: 58px;
  }

  .p-merit-item__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid var(--color-cream);
    box-sizing: border-box;
  }

  .p-merit__cta {
    margin-top: 40px;
    text-align: center;
  }

  .p-merit__cta .c-btn--cta {
    width: 100%;
    max-width: 320px;
  }
}
