@charset "UTF-8";
/* ============================================================
   腰痛伊藤整体院 LP
   - SP: 〜1079px（コンテンツカラムのみ・最大414px）
   - PC: 1080px〜（左ナビ + コンテンツ414px + 右CTAカードの3カラム）
   ============================================================ */

/* ---------- 変数 ---------- */
:root {
  --main: #005b30;        /* メイン緑 */
  --red: #c5171e;         /* アクセント赤 */
  --cream: #fff7f1;       /* クリーム背景 */
  --gray: #252525;        /* 基本テキスト */
  --gray-2: #8f8f8f;      /* 薄いグレー */
  --bg-gray: #eeeeee;     /* ページ背景 */
  --green-pale: #e5efea;  /* 淡い緑背景 */
  --green-tint: rgba(0, 91, 48, 0.1);
  --line-green: #03c755;  /* LINEブランド色 */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --font-en2: "Roboto", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  background: var(--bg-gray);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

em {
  font-style: normal;
  color: var(--red);
}

/* ---------- レイアウト ---------- */
.page {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
}

.content {
  width: 100%;
  max-width: 414px;
  min-width: 0; /* flexアイテムの最小幅による横はみ出しを防ぐ */
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: clip;
}

/* サイドバーはPCのみ表示 */
.sidebar {
  display: none;
}

/* 装飾円の固定背景もPCのみ表示 */
.page-bg {
  display: none;
}

@media (min-width: 1080px) {
  .sidebar {
    display: block;
    position: relative;
    flex: 1 1 476px; /* 背景はデバイス幅に合わせて伸びる */
    min-width: 360px;
    overflow: clip;
  }

  .content {
    flex: 0 0 414px;
  }

  .sidebar__inner {
    position: sticky;
    top: 0;
    max-width: 342px;
    padding: 100px 16px 0;
  }

  /* 中身はコンテンツ列側に寄せて位置を維持 */
  .sidebar--left .sidebar__inner {
    margin: 0 67px 0 auto;
  }

  .sidebar--right .sidebar__inner {
    margin: 0 auto 0 67px;
  }

  .sidebar__inner--right {
    padding-top: 116px;
  }

  /* 装飾円（コンテンツの下を貫通して両サイドバー上部に跨る固定背景） */
  .page-bg {
    --bg-offset-y: -250px; /* 上方向のはみ出し量 */
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: url("../img/bg-ellipse-wide.svg") no-repeat center var(--bg-offset-y) / 1705px 1317px;
    pointer-events: none;
    z-index: 0;
  }

  /* コンテンツとサイドバー中身は背景より前面に */
  .page {
    position: relative;
    z-index: 1;
  }
}

/* ---------- 左サイドバー ---------- */
.sidebar__head {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar__logo img {
  width: 80%;
  max-width: 310px;
}

.sidebar__address {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
}

.sidebar__hours {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar__hours-label {
  background: var(--main);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.sidebar__hours-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sidebar__nav {
  padding-top: 40px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-list__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--gray-2);
  transition: color 0.2s;
}

.nav-list__item a:hover {
  color: var(--gray);
}

/* 現在地の項目：ドットを表示して濃色に */
.nav-list__item.is-active a {
  padding-left: 0;
  color: var(--gray);
}

.nav-list__item.is-active a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--main);
}

/* ---------- 右サイドバー（CTAカード） ---------- */
.side-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 32px 24px;
  background: #fff;
  border-top: 5px solid var(--main);
  border-radius: 8px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.25));
}

.side-cta__badge {
  background: var(--main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 999px;
  font-feature-settings: "palt" 1;
}

.side-cta__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.side-cta__divider {
  width: 80px;
  height: 13px;
}

.side-cta__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.side-cta__qr {
  flex: 1 1 0;
  min-width: 0;
  max-width: 130px;
  aspect-ratio: 1 / 1;
}

.side-cta__line-logo {
  font-family: var(--font-en2);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--line-green);
}

.side-cta__line-note {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
}

.side-cta__line-note strong {
  font-size: 14px;
}

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

/* セクション見出し（英字 + 日本語） */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

.section-head__en {
  font-family: var(--font-en2);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--main);
}

.section-head__ja {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-head__ja--md {
  font-size: 24px;
}

.section-head__ja--serif {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}

/* CTAボタン（赤の丸ボタン） */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 24px 24px 40px;
  background: var(--red);
  border-radius: 100px;
  filter: drop-shadow(0 4px 4px rgba(28, 28, 28, 0.15));
  transition: opacity 0.2s;
}

.btn-cta:hover {
  opacity: 0.85;
}

.btn-cta span {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}

.btn-cta img {
  width: 12px;
  height: 12px;
}

/* QRコード + 案内文 */
.line-add {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.line-add__qr {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.line-add__text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  height: 770px;
  background: var(--cream);
  overflow: clip;
}

.hero__ellipse {
  position: absolute;
  pointer-events: none;
}

.hero__ellipse--1 {
  width: 378px;
  height: 378px;
  left: 148px;
  top: -198px;
}

.hero__ellipse--2 {
  width: 425px;
  height: 425px;
  left: -177px;
  top: 190px;
}

.hero__ellipse--3 {
  width: 425px;
  height: 425px;
  left: 216px;
  top: 553px;
}

.hero__figure {
  position: absolute;
  top: 48px;
  right: 7px;
  width: 307px;
  height: 282px;
  overflow: hidden;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 17%;
}

.hero__copy {
  position: absolute;
  left: 32px;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__lead {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray);
  white-space: nowrap;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--main);
  white-space: nowrap;
}

.hero__sub {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray);
  white-space: nowrap;
}

.hero__badge {
  background: var(--main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 8px;
  white-space: nowrap;
}

/* .price-card の position: relative より詳細度を上げて絶対配置にする */
.price-card.hero__card {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 323px;
}

/* ---------- 料金カード ---------- */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 5px solid var(--main);
  border-radius: 8px;
  box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25);
}

/* 再掲用（クリーム背景） */
.price-card--cream {
  background: var(--cream);
  box-shadow: 1px 4px 2px rgba(0, 0, 0, 0.25);
}

/* Figma同様にキャップハイトで行送りを詰める（対応ブラウザのみ） */
.price-card__limited,
.price-card__campaign,
.price-card__desc,
.price-card__before > *,
.price-card__after > * {
  text-box: trim-both cap alphabetic;
}

/* 60% off バッジ */
.price-card__off {
  position: absolute;
  left: 24px;
  top: 18px;
  transform: rotate(-5deg);
}

.price-card__off-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.price-card__off-rate {
  font-size: 40px;
  line-height: 1.05;
}

.price-card__off-rate small {
  font-size: 24px;
}

.price-card__off-label {
  font-size: 30px;
  line-height: 1.05;
}

.price-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.price-card__limited {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.price-card__campaign {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main);
}

.price-card__desc {
  align-self: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 8px -10px 0; /* 幅350のカードでも2行に収める */
  white-space: nowrap;
}

.price-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* 通常価格（打ち消し） */
.price-card__before {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.7;
}

.price-card__before-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-card__yen {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.price-card__strike {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  text-decoration: line-through;
}

.price-card__tax {
  font-size: 12px;
  font-weight: 700;
}

.price-card__arrow {
  width: 30px;
  height: 12px;
  transform: rotate(180deg);
}

/* 割引後価格 */
.price-card__after {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.price-card__yen--big {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.price-card__num {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
}

.price-card__tax--big {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 4px;
}

/* ---------- こんな症状ありませんか？ ---------- */
.symptoms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 32px;
  background: var(--green-pale);
}

.symptoms__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}

/* タイトル両脇の斜め線 */
.symptoms__slash {
  width: 1px;
  height: 35px;
  background: var(--gray);
}

.symptoms__slash--l {
  transform: rotate(-25deg);
}

.symptoms__slash--r {
  transform: rotate(25deg);
}

.symptoms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.symptoms__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
}

/* 中央の縦・横仕切り線 */
.symptoms__cell:nth-child(odd) {
  border-right: 1px solid #cbcbcb;
}

.symptoms__cell:nth-child(-n+2) {
  border-bottom: 1px solid #cbcbcb;
}

.symptoms__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.symptoms__icon img {
  width: 40px;
  height: 50px;
  object-fit: cover;
}

.symptoms__text {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ---------- 根本的な原因 ---------- */
.cause {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  background: #fff;
}

.cause__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 0 32px;
}

.cause__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

.cause__lead {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.cause__catch-em {
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--red);
  text-decoration: underline wavy var(--red) 2px;
  text-underline-offset: 6px;
}

.cause__catch-rest {
  font-size: 20px;
  letter-spacing: 0.05em;
}

.cause__text {
  text-align: center;
  font-weight: 500;
}

/* 「なぜ、腰痛が治らないのか？」ボックス */
.cause__box {
  background: var(--cream);
  border-radius: 8px;
  overflow: clip;
}

.cause__box-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cause__box-title {
  width: 100%;
  padding: 12px 16px;
  background: var(--main);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px 4px 0 0;
}

.cause__box-arrow {
  width: 32px;
  height: 12px;
  transform: scaleY(-1);
}

.cause__checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 24px;
}

.cause__check {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e1e1;
}

.cause__check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--main);
  border-radius: 50%;
}

.cause__check-icon img {
  width: 15px;
  height: 10px;
}

.cause__check p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
}

.cause__dots {
  color: var(--main);
}

.cause__note {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 写真マーキー（無限スクロール） ---------- */
.marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  overflow: hidden;
}

.marquee__row {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.marquee__set {
  display: flex;
  gap: 16px;
}

.marquee__set img {
  width: 200px;
  height: 136px;
  object-fit: cover;
}

/* 1セット分（200×4 + 16×4 = 864px）を移動してループ */
.marquee__track--left {
  animation: marquee-left 24s linear infinite;
}

.marquee__track--right {
  animation: marquee-right 24s linear infinite;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-864px); }
}

@keyframes marquee-right {
  from { transform: translateX(-864px); }
  to   { transform: translateX(0); }
}

/* ---------- 選ばれる4つの理由 ---------- */
.reasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 32px;
  background: var(--green-tint);
}

.reasons__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-align: center;
}

.reasons__title-sub {
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.reasons__title-main {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.reasons__title-main em {
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 0.76;
  letter-spacing: 0.05em;
  color: var(--main);
}

.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.reason__headline {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.reason__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.reason__body p + p {
  margin-top: 16px;
}

.reason__photo {
  height: 273px;
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.reason__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.reason__emphasis {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--red);
  text-align: justify;
}

/* 誤解カード（Reason 02 内） */
.misbelief-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border-bottom: 3px solid var(--main);
  border-radius: 8px;
}

.misbelief-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-2);
}

.misbelief-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.misbelief-card__icon {
  flex-shrink: 0;
  width: 89px;
  height: 82px;
  object-fit: contain;
}

.misbelief-card__note {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: justify;
}

/* ---------- 院長あいさつ ---------- */
.message {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 40px 0;
  background: #fff;
  overflow: clip;
}

.message__ellipse {
  position: absolute;
  pointer-events: none;
}

.message__ellipse--1 {
  width: 391px;
  height: 391px;
  left: -165px;
  top: -215px;
}

.message__ellipse--2 {
  width: 251px;
  height: 251px;
  left: 261px;
  top: 54px;
}

.message__container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 32px;
}

.message__text {
  display: flex;
  flex-direction: column;
  gap: 27px;
  font-weight: 500;
}

/* 写真コラージュ */
.message__collage {
  position: relative;
  height: 303px;
}

.message__photo {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
}

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

.message__photo--1 {
  left: 16px;
  top: 0;
  width: 176px;
  height: 273px;
}

.message__photo--1 img {
  object-position: 31% center;
}

.message__photo--2 {
  left: 178px;
  top: 27px;
  width: 220px;
  height: 140px;
}

.message__photo--3 {
  left: 228px;
  top: 183px;
  width: 120px;
  height: 120px;
}

/* ---------- お客様の声 ---------- */
.voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 32px;
  background: var(--green-tint);
}

.voice-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding-top: 16px;
}

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

.voice-card__avatar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.voice-card__avatar img {
  width: 69px;
  height: 85px;
  object-fit: cover;
  object-position: 50% 12%;
}

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

.voice-card__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.voice-card__person {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.voice-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 来院前・来院後の吹き出しカード */
.voice-card__before,
.voice-card__after {
  position: relative;
  padding: 36px 16px 16px;
  border-radius: 8px;
}

.voice-card__before {
  background: #fff;
}

.voice-card__after {
  background: var(--main);
  margin-top: 24px;
}

.voice-card__before p,
.voice-card__after p {
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: justify;
}

.voice-card__after p {
  color: #fff;
}

.voice-card__label {
  position: absolute;
  left: 16px;
  top: -16px;
  padding: 10px 16px;
  background: var(--main);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  border-radius: 8px;
}

.voice-card__label--after {
  background: var(--cream);
  color: var(--main);
}

.voice-card__arrow {
  align-self: center;
  width: 50px;
  height: 20px;
  transform: scaleY(-1);
  margin-top: 4px;
}

/* ---------- キャンペーン（再掲） ---------- */
.campaign {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  overflow: clip;
}

.campaign__ellipse {
  position: absolute;
  pointer-events: none;
}

.campaign__ellipse--1 {
  width: 391px;
  height: 391px;
  left: -167px;
  top: -107px;
}

.campaign__ellipse--2 {
  width: 251px;
  height: 251px;
  left: 265px;
  top: 259px;
}

.campaign .price-card {
  position: relative;
}

/* ---------- 施術の流れ ---------- */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
  background: var(--green-tint);
}

.flow .section-head {
  padding: 0 32px;
}

.flow__slider-wrap {
  position: relative;
  width: 100%;
}

.flow__slider {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-left: 32px;
}

.flow__slider::-webkit-scrollbar {
  display: none;
}

.flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  width: min(350px, calc(100vw - 64px));
  padding: 32px 20px 20px;
  background: #fff;
  border-radius: 8px;
  scroll-snap-align: start;
  overflow: clip;
}

/* 透かし番号 */
.flow-card__num {
  position: absolute;
  right: 24px;
  top: -2px;
  font-family: var(--font-en);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  color: var(--main);
  opacity: 0.1;
  pointer-events: none;
}

.flow-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--main);
}

.flow-card__desc {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.flow-card__photo {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
}

.flow-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-card__photo--2 img {
  object-position: center 60%;
}

.flow-card__detail {
  border: 1px solid var(--cream);
  border-radius: 8px;
  overflow: clip;
}

.flow-card__strip {
  height: 132px;
}

.flow-card__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-card__note {
  padding: 10px 12px;
  background: var(--cream);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #000;
}

/* 次へ・前へボタン */
.flow__next,
.flow__prev {
  position: absolute;
  top: 283px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.flow__next {
  right: 12px;
}

.flow__prev {
  left: 12px;
  visibility: hidden; /* 1枚目では非表示 */
}

.flow__next img,
.flow__prev img {
  width: 20px;
  height: 40px;
}

.flow__prev img {
  transform: scaleX(-1); /* 矢印を左向きに */
}

/* ドットインジケーター */
.flow__dots {
  display: flex;
  gap: 16px;
}

.flow__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: background 0.2s;
}

.flow__dot.is-active {
  background: var(--main);
}

/* ---------- LINEでの予約・相談方法 ---------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  background: #fff;
}

.contact .section-head {
  padding: 0 32px;
}

.contact__steps {
  width: 100%;
}

.contact-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
}

.contact-step--cream {
  background: var(--cream);
}

.contact-step--green {
  background: var(--green-pale);
}

/* ステップ間の下向きくさび */
.contact-step--wedge {
  padding-top: 62px;
}

.contact-step--wedge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.contact-step--wedge-cream::before {
  background: var(--cream);
}

.contact-step--wedge-green::before {
  background: var(--green-pale);
}

.contact-step__row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.contact-step__num {
  font-family: var(--font-en2);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: var(--main);
}

.contact-step__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-step__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.contact-step__desc {
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #000;
}

.contact-step__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 310px;
  max-width: 100%;
}

.contact-step__qr {
  width: 140px;
  height: 140px;
}

.contact-step__img {
  border-radius: 8px;
  overflow: hidden;
}

.contact-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-step__img--talk {
  width: 228px;
  height: 140px;
}

.contact-step__img--talk img {
  object-position: 50% 29%;
}

.contact-step__img--reply {
  width: 164px;
  height: 140px;
}

.contact-step__img--reply img {
  object-position: 50% 19%;
}

/* ---------- 腰痛伊藤整体院について ---------- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 32px;
  background: #fff;
}

.about__store {
  width: 100%;
  aspect-ratio: 640 / 448;
  border-radius: 8px;
  overflow: hidden;
}

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

.about__store iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.about__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__logo {
  width: 200px;
  height: 25px;
}

.about__address {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
}

/* 装飾の地図イラスト */
.about__map {
  position: absolute;
  right: -32px;
  top: 78px;
  width: 263px;
  height: 236px;
  pointer-events: none;
}

.about__hours {
  position: relative;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  overflow: clip;
}

.about__hours-day {
  padding: 4px 0;
  background: var(--main);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}

.about__hours-time {
  padding: 12px 0;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}

.about__line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* ---------- フッター ---------- */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 32px 12px;
  background: var(--main);
  overflow: clip;
}

.footer__ellipse {
  position: absolute;
  pointer-events: none;
}

.footer__ellipse--1 {
  width: 391px;
  height: 391px;
  left: -143px;
  top: -284px;
}

.footer__ellipse--2 {
  width: 251px;
  height: 251px;
  left: 265px;
  top: 93px;
}

.footer__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  width: 200px;
  height: 25px;
}

.footer__address {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
  color: #fff;
  font-feature-settings: "palt" 1;
}

.footer__copy {
  text-align: center;
  color: #fff;
}

.footer__copy small {
  font-size: 12px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* ---------- PC調整 ---------- */
@media (min-width: 1080px) {
  /* ファーストビューはPCで縦が詰まる
     text-box非対応ブラウザではカードが伸びるため高さに余裕を持たせる */
  .hero {
    height: 720px;
  }

  @supports (text-box: trim-both cap alphabetic) {
    .hero {
      height: 660px;
    }
  }

  .hero__figure {
    top: 0;
  }

  .hero__copy {
    top: 48px;
  }

  .price-card.hero__card {
    top: 275px;
  }
}

/* ---------- 小さい画面の微調整 ---------- */
@media (max-width: 413px) {
  .price-card__desc {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__lead,
  .hero__sub {
    font-size: 25px;
  }
}

/* ---------- 追従バナー（スマホのみ・スクロールで出現） ---------- */
.float-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  /* 初期状態は画面下に隠す */
  transform: translateX(-50%) translateY(calc(100% + 80px));
  transition: transform 0.4s ease;
  width: calc(100% - 32px);
  max-width: 382px;
  background: var(--cream);
  border-radius: 20px;
  filter: drop-shadow(1px 4px 2px rgba(0, 0, 0, 0.25));
  z-index: 100;
}

/* スクロールで出現 */
.float-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* ×ボタンで完全に閉じる */
.float-banner.is-hidden {
  display: none;
}

.float-banner__link {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 146px 0 40px; /* 右はスマホ画像分の余白 */
}

.float-banner__text {
  color: var(--line-green);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  white-space: nowrap;
}

.float-banner__text-lg {
  font-size: 20px;
}

.float-banner__text-sm {
  font-size: 16px;
}

.float-banner__phone {
  /* 絶対配置で下端をバナー下端にビタ付けし、上部は飛び出させる */
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 90px;
  height: 117px;
  pointer-events: none;
}

.float-banner__phone-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.float-banner__line-icon {
  position: absolute;
  left: 20px;
  top: 50px;
  width: 50px;
  height: 50px;
}

.float-banner__close {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: var(--main);
  filter: drop-shadow(1px 4px 2px rgba(0, 0, 0, 0.25));
  z-index: 1;
}

.float-banner__close-x {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.float-banner__close-x::before,
.float-banner__close-x::after {
  content: "";
  position: absolute;
  background: #fff;
}

.float-banner__close-x::before {
  left: 8px;
  top: 0;
  width: 1px;
  height: 17px;
}

.float-banner__close-x::after {
  left: 0;
  top: 8px;
  width: 17px;
  height: 1px;
}

/* PCでは非表示（右サイドバーにCTAがあるため） */
@media (min-width: 1080px) {
  .float-banner {
    display: none;
  }
}

/* ---------- ヘッダー（スマホのみ） ---------- */
.sp-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 200;
}

.sp-header__logo img {
  width: 200px;
  height: 25px;
  vertical-align: middle;
}

/* ハンバーガーボタン */
.sp-header__menu-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}

.sp-header__menu-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--main);
  transition: transform 0.3s, opacity 0.3s;
}

/* 開いたとき×に変形 */
.sp-header__menu-btn.is-open .sp-header__menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sp-header__menu-btn.is-open .sp-header__menu-line:nth-child(2) {
  opacity: 0;
}

.sp-header__menu-btn.is-open .sp-header__menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーメニュー（右からスライドイン） */
.sp-menu {
  position: fixed;
  right: 0;
  top: 49px; /* ヘッダーの高さ分 */
  width: 280px;
  max-width: 80%;
  height: calc(100vh - 49px); /* dvh非対応ブラウザ用 */
  height: calc(100dvh - 49px); /* アドレスバーの伸縮にも追従 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green-pale);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s, visibility 0.3s;
  z-index: 199;
}

.sp-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.sp-menu__list {
  padding: 8px 0;
}

.sp-menu__item a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 1px solid var(--green-tint);
}

.sp-menu__item:last-child a {
  border-bottom: none;
}

/* ドロワー下部（ロゴ・住所） */
.sp-menu__foot {
  padding: 24px;
}

.sp-menu__logo img {
  width: 180px;
}

.sp-menu__address {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

/* PCではヘッダー・ドロワーとも非表示（左サイドバーにナビがあるため） */
@media (min-width: 1080px) {
  .sp-header,
  .sp-menu {
    display: none;
  }
}
