/* ヒカリカイロプラクティック 共通スタイル（デザイン案A：ミニマル・エディトリアル）
   ★「書いたのに効かない」ときは、後ろに書き足す前に詳細度を数えること（落とし穴集 A-1）。
     このファイルはクラス1つ（0,1,0）を基本にし、入れ子は2段までにしている。
   ★ 直したら build.py を実行（HTML の site.css?v= が更新され、古い見た目が残らない）。 */

:root {
  --bg: #f7f5f1;
  --bg-2: #efebe5;
  --paper: #ffffff;
  --ink: #2e2721;
  --ink-2: #8b8178;
  --text: #5b524a;
  --line: #e2ddd5;
  /* アクセントはロゴの「i」の点の色（#00d5c5）。明るい地では文字が読みにくいので、
     文字に使うときは同じ色相を濃くした --accent（#00877d）を使う。暗い地は --accent-logo をそのまま */
  --accent-logo: #00d5c5;
  --accent: #00877d;
  --dark: #2e2721;
  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --wrap: 1180px;
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--gothic); font-weight: 300; font-size: 15px; line-height: 2; letter-spacing: .05em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 400; line-height: 1.6; margin: 0; }
p { margin: 0 0 1em; }
strong, b { font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- スクロールで出てくる動き（site.js が .rv を付け、画面に入ったら .in） ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1.1s, transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- ヘッダー ----------
   PC：HOME / COURSE / SHOP / Q&A ＋ RESERVE ＋ 言語。ほかのページはフッターとスマホのメニューから。
   トップ（body.is-top）では写真の上に白い文字で重ね、スクロールしたら地の色が付く。 */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); transition: height .4s, background .4s, box-shadow .4s, color .4s; }
.site-head .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-head.scrolled, body:not(.is-top) .site-head { --head-h: 68px; background: rgba(247, 245, 241, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
body:not(.is-top) main { padding-top: 68px; }
.site-logo img { height: 40px; width: auto; transition: filter .4s; }
.is-top .site-head:not(.scrolled):not(.is-open) { color: #fff; }
.is-top .site-head:not(.scrolled):not(.is-open) .site-logo img { filter: brightness(0) invert(1); }

.gnav { display: flex; align-items: center; gap: 36px; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.gnav a { text-decoration: none; }
.nav-pc a { position: relative; font-family: var(--en); font-size: 15px; font-weight: 500; letter-spacing: .22em; transition: color .3s; }
.nav-pc a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-pc a:hover::after, .nav-pc a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-pc a:hover { color: var(--accent); }
.is-top .site-head:not(.scrolled) .nav-pc a:hover { color: var(--accent-logo); }
.nav-reserve { font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-decoration: none; padding: 9px 24px; border: 1px solid currentColor; transition: background .3s, color .3s, border-color .3s; }
.nav-reserve:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* .gnav ul（0,1,1）に負けないよう .gnav .nav-all（0,2,0）にする：落とし穴集 A-1 */
.gnav .nav-all { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .site-logo img { height: 34px; }
  /* .gnav ul（0,1,1）に勝つよう .gnav .nav-pc（0,2,0） */
  .gnav .nav-pc, .site-head .lang-switch { display: none; }
  .gnav { gap: 14px; }
  .nav-reserve { padding: 7px 14px; font-size: 11px; }
  .nav-toggle { display: block; position: relative; z-index: 2; width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
  /* スマホのメニュー：全画面でふわっと出る。中身は全ページ＋言語 */
  .drawer { position: fixed; inset: 0; z-index: 1; background: var(--bg); color: var(--ink); padding: 96px 32px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
  .site-head.is-open .drawer { opacity: 1; visibility: visible; }
  .site-head.is-open { color: var(--ink); }
  .gnav .drawer .nav-all { display: block; list-style: none; margin: 0; padding: 0; }
  .drawer .nav-all li { overflow: hidden; border-bottom: 1px solid var(--line); }
  .drawer .nav-all a { display: block; padding: 16px 0; font-family: var(--mincho); font-size: 17px; letter-spacing: .1em; transform: translateY(100%); transition: transform .6s var(--ease), color .3s; }
  .site-head.is-open .drawer .nav-all a { transform: none; }
  .drawer .nav-all a:hover { color: var(--accent); }
  .drawer .lang-switch { display: flex; }
}
@media (min-width: 961px) { .drawer { display: contents; } .drawer .lang-switch { display: none; } }

/* 言語切り替え（プルダウン：🌐 日本語 ▾） */
.lang-switch { position: relative; font-size: 12px; letter-spacing: .06em; }
.lang-switch summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0; transition: color .3s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--accent); }
.is-top .site-head:not(.scrolled) .lang-switch summary:hover { color: var(--accent-logo); }
.lang-switch svg { fill: none; stroke: currentColor; stroke-width: 1.3; }
.lang-switch .lang-globe { width: 15px; height: 15px; }
.lang-switch .lang-caret { width: 9px; height: 6px; transition: transform .3s; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.gnav .lang-switch ul { display: block; list-style: none; margin: 0; padding: 6px 0; position: absolute; right: 0; top: calc(100% + 12px); min-width: 140px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(46, 39, 33, .12); z-index: 60; animation: drop .3s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.gnav .lang-switch li a { display: block; padding: 8px 18px; color: var(--ink-2); transition: color .2s, background .2s; }
.gnav .lang-switch li a:hover { color: var(--accent); background: var(--bg); }
.lang-switch li a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.lang-switch li a[aria-current="true"]::after { content: "✓"; float: right; margin-left: 12px; color: var(--accent); }
@media (max-width: 960px) {
  .drawer .lang-switch { justify-content: center; flex-direction: column; align-items: center; padding: 28px 0 0; font-size: 14px; }
  .gnav .drawer .lang-switch ul { position: static; box-shadow: none; margin-top: 10px; width: min(260px, 100%); text-align: center; }
  .lang-switch li a[aria-current="true"]::after { float: none; }
}

/* ---------- 共通パーツ ---------- */
.section { padding: 150px 0; }
.section-alt { background: var(--bg-2); }
/* 見出し：小さな英字ラベル（ロゴ色＋線）と、大きな明朝の日本語 */
.sec-title { margin-bottom: 64px; }
.sec-title .en { display: flex; align-items: center; gap: 16px; font-family: var(--en); font-size: 14px; font-weight: 500; letter-spacing: .35em; color: var(--accent); margin-bottom: 18px; }
.sec-title .en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.sec-title .ja { display: block; font-family: var(--mincho); font-size: clamp(24px, 2.6vw, 36px); letter-spacing: .12em; line-height: 1.7; }
/* 見出しの後ろに薄く大きな英字（装飾） */
.section { position: relative; overflow: hidden; }
.section[data-bg-word]::before { content: attr(data-bg-word); position: absolute; right: -.04em; top: 60px; font-family: var(--en); font-weight: 300; font-size: clamp(80px, 14vw, 210px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; white-space: nowrap; }
.section > .wrap { position: relative; }
.lead { max-width: 760px; margin: 0 0 48px; color: var(--text); }
.note { font-size: 13px; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 200px; padding: 14px 30px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font-family: var(--gothic); font-size: 13px; font-weight: 400; letter-spacing: .14em; text-decoration: none; cursor: pointer;
  transition: background .35s, color .35s, border-color .35s; }
/* ボタンの文字の横は細い矢印（→）。ホバーで少し右へ動く */
.btn::after { content: "→"; font-family: var(--gothic); font-size: 13px; line-height: 1; transition: transform .35s var(--ease); }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover::after { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* 下層ページの見出し */
.page-head { padding: 90px 0 56px; }
.page-head .en { display: block; font-family: var(--en); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: .12em; }
.page-head h1 { display: flex; align-items: center; gap: 14px; font-family: var(--gothic); font-weight: 400; font-size: 14px; letter-spacing: .3em; color: var(--accent); margin-top: 20px; }
.page-head h1::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.page-head { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.page-hero { aspect-ratio: 16 / 6; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }

/* ---------- トップ：ファーストビュー（枠なし・写真いっぱい） ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #cfd6d8; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: hero-zoom 16s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,24,19,.6) 0%, rgba(30,24,19,.12) 48%, rgba(30,24,19,0) 72%); }
.hero-copy { position: absolute; z-index: 2; left: max(24px, calc((100% - var(--wrap)) / 2)); right: 24px; bottom: 12vh; }
.hero-en { font-family: var(--en); font-weight: 500; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .4em; margin: 0 0 20px; opacity: 0; animation: fade-up 1.2s .4s forwards; }
.hero-copy h1 { font-size: clamp(28px, 4.2vw, 58px); line-height: 1.6; letter-spacing: .14em; margin: 0 0 36px; }
.hero-copy h1 span { display: block; overflow: hidden; }
.hero-copy h1 i { display: block; font-style: normal; transform: translateY(110%); animation: line-up 1.3s var(--ease) .6s forwards; }
.hero-copy h1 span + span i { animation-delay: .85s; }
.hero-copy .btn { opacity: 0; animation: fade-up 1.2s 1.4s forwards; }
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-scroll { position: absolute; z-index: 2; right: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 12vh; font-family: var(--en); font-size: 12px; letter-spacing: .3em; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ""; width: 1px; height: 80px; background: linear-gradient(#fff 50%, transparent 50%); background-size: 1px 200%; animation: scroll-line 2s infinite; }
@keyframes scroll-line { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (prefers-reduced-motion: reduce) { .hero img, .hero-copy h1 i, .hero-en, .hero-copy .btn { animation: none; opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero-scroll { display: none; } .hero-copy { bottom: 9vh; } }

/* ---------- コンセプト ---------- */
.concept-intro { font-family: var(--mincho); font-size: clamp(16px, 1.5vw, 19px); line-height: 2.3; margin: 0 0 100px; max-width: 820px; }
.concept-intro strong { display: block; font-size: clamp(24px, 2.8vw, 36px); font-weight: 400; letter-spacing: .16em; margin: 14px 0; color: var(--ink); }
.concept-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 8vw; align-items: center; }
.concept-photos { position: relative; padding-bottom: 14%; }
.concept-photos img:first-child { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; }
.concept-photos img + img { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border: 10px solid var(--bg); }
.concept-text h2 { font-size: clamp(21px, 2.1vw, 28px); letter-spacing: .1em; margin-bottom: 32px; }
.concept-text p { color: var(--text); }
.concept-text .em { font-family: var(--mincho); color: var(--ink); }
@media (max-width: 900px) { .concept-grid { grid-template-columns: 1fr; gap: 48px; } .concept-intro { margin-bottom: 64px; } }

/* ---------- コース（タブ） ---------- */
.course-tabs { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.course-tabs [role="tab"] { position: relative; font-family: var(--mincho); font-size: 15px; letter-spacing: .1em; color: var(--ink-2);
  background: none; border: 0; padding: 0 0 16px; cursor: pointer; transition: color .3s; }
.course-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .5s var(--ease); }
.course-tabs [role="tab"]:hover { color: var(--accent); }
.course-tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.course-tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.course-panel { display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; animation: panel-in .8s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(20px); } }
.course-panel[hidden] { display: none; }
.course-panel > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.course-panel h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .14em; margin-bottom: 20px; }
.course-fit { color: var(--accent); font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
.course-fit b { display: block; font-weight: 500; }
.course-body { font-size: 14px; color: var(--text); }
.price { width: 100%; border-collapse: collapse; margin: 28px 0 10px; font-size: 14px; border-top: 1px solid var(--ink); }
.price th, .price td { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.price th { font-weight: 400; text-align: left; color: var(--text); }
.price td { text-align: right; font-family: var(--en); font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.course-panel .btn { margin-top: 28px; }
@media (max-width: 1024px) {
  .course-panel { grid-template-columns: 1fr; gap: 32px; }
  .course-panel > img { max-width: 640px; aspect-ratio: 4 / 3; }
  .course-panel .btn { display: flex; width: fit-content; margin: 32px auto 0; }
  .course-tabs { gap: 8px 22px; }
}

/* ---------- 店舗 ---------- */
.shop-index { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 40px; }
.shop-index a { font-family: var(--mincho); text-decoration: none; position: relative; padding-bottom: 4px; transition: color .3s; }
.shop-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transition: background .3s; }
.shop-index a:hover { color: var(--accent); } .shop-index a:hover::after { background: var(--accent); }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; padding: 80px 0; border-top: 1px solid var(--line); }
/* 3院とも同じ並び（左に写真・右に情報）。ボタン・SNS・地図の位置もそろえる */
.shop > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shop h3 { font-size: 22px; letter-spacing: .1em; margin-bottom: 24px; }
.shop-info { margin: 0 0 28px; display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; font-size: 14px; }
.shop-info dt { color: var(--ink-2); }
.shop-info dd { margin: 0; }
.shop-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 22px; }
.shop-btns .btn { min-width: 0; padding: 12px 10px; font-size: 12.5px; white-space: nowrap; }
.shop-btns .btn::after { display: none; }
.shop-sns { display: flex; gap: 10px; margin-bottom: 18px; }
.shop-notes { list-style: none; padding: 0; margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }
.shop-notes li { padding-left: 1em; text-indent: -1em; margin-bottom: 4px; }
@media (max-width: 860px) { .shop { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }

/* SNSアイコン（assets/icons-v1.svg。中身を変えるときはファイル名の v を上げる＝immutable キャッシュのため） */
.sns { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.sns:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.sns svg { width: 17px; height: 17px; fill: currentColor; }
.site-foot .sns { border-color: rgba(255,255,255,.25); color: #e9e3da; }
.site-foot .sns:hover { background: var(--accent-logo); border-color: var(--accent-logo); color: var(--dark); }

/* ---------- 写真の入り方（site.js が .rv を付けた画像は、幕が開くように出る） ---------- */
.img-rv { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.img-rv.in { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) { .img-rv { clip-path: none; } }

/* ---------- PELVISMAKE（ロゴ入りの写真をそのまま。文字とボタンは下に控えめに） ---------- */
.pelvis { background: #f1f1f0; text-align: center; }
.pelvis-banner { display: block; overflow: hidden; }
.pelvis-banner img { width: 100%; height: auto; transition: transform 1.6s var(--ease); }
.pelvis-banner:hover img { transform: scale(1.04); }
.pelvis-in { padding: 64px 0 110px; }
.pelvis .pelvis-kicker { font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .35em; color: var(--ink-2); margin-bottom: 18px; }
.pelvis h2 { font-size: clamp(20px, 2vw, 26px); letter-spacing: .12em; margin-bottom: 18px; }
.pelvis .pelvis-text { font-size: 14px; color: var(--text); max-width: 34em; margin: 0 auto 36px; }
@media (max-width: 1024px) { .pelvis-banner img { aspect-ratio: 16 / 9; object-fit: cover; } }
@media (max-width: 640px) { .pelvis-banner img { aspect-ratio: 4 / 3; } .pelvis-in { padding: 44px 0 80px; } .pelvis .pelvis-text { text-align: left; } }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 10em 8em 1fr auto; gap: 16px; padding: 24px 8px; text-decoration: none; align-items: baseline; transition: background .3s, padding .4s var(--ease); }
.news-list a::after { content: ""; width: 18px; height: 1px; background: currentColor; align-self: center; transition: width .4s var(--ease); }
.news-list a:hover { background: var(--paper); padding-left: 20px; }
.news-list a:hover::after { width: 32px; }
.news-date { font-family: var(--en); font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: .06em; }
.news-cat { font-size: 12px; color: var(--accent); }
@media (max-width: 640px) { .news-list a { grid-template-columns: auto 1fr; gap: 4px 14px; } .news-list a::after { display: none; } .news-title { grid-column: 1 / -1; } }
.news-more { margin-top: 48px; }
.article { max-width: 780px; margin: 0 auto; background: var(--paper); padding: 64px clamp(20px, 6vw, 72px); }
.article h2 { font-size: clamp(20px, 2vw, 26px); letter-spacing: .08em; margin: 12px 0 36px; }
.article-body p { margin-bottom: 1.5em; color: var(--text); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 780px; margin: 32px auto 0; font-size: 14px; }
.article-nav a { text-decoration: none; transition: color .3s; } .article-nav a:hover { color: var(--accent); }

/* ---------- フォーム ---------- */
.form { max-width: 720px; }
.form-row { margin-bottom: 26px; }
.form-row > label, .form-row > .label { display: block; font-size: 14px; margin-bottom: 8px; }
.req { color: var(--accent); font-size: 11px; margin-left: 8px; letter-spacing: .1em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="date"], .form input[type="time"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 0; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 135, 125, .12); }
.form textarea { min-height: 180px; resize: vertical; }
.form .is-invalid { border-color: var(--accent); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-dt { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
.form-radio { display: flex; gap: 24px; }
.form-radio label { display: flex; align-items: center; gap: 6px; }
.form-err { color: var(--accent); font-size: 12.5px; margin: 4px 0 0; min-height: 1em; }
.form-actions { margin-top: 40px; }
.form-status { margin-top: 18px; min-height: 1.5em; }
.form-status.is-error { color: var(--accent); }
.form-status.is-done { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 520px; margin: 28px auto 0; padding: 28px 24px 26px; background: var(--paper); border: 1px solid var(--accent); text-align: center; animation: doneIn .5s ease; }
.form-status.is-done::before { content: "✓"; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 22px; line-height: 1; }
.form-status.is-done strong { font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: .1em; color: var(--accent); }
.form-status.is-done span { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
@keyframes doneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hp { position: absolute; left: -9999px; }

/* ---------- Q&A・お客様の声・会社概要・ポリシー ---------- */
.qa { max-width: 900px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 28px 56px 28px 0; font-family: var(--mincho); font-size: 17px; letter-spacing: .06em; position: relative; list-style: none; transition: color .3s; }
.qa summary:hover { color: var(--accent); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q."; font-family: var(--en); font-size: 22px; color: var(--accent); margin-right: 14px; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%);
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa .answer { padding: 0 0 32px 2.4em; font-size: 14px; color: var(--text); }
.qa details[open] .answer { animation: panel-in .6s var(--ease); }

.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.voice { position: relative; margin: 0; background: var(--paper); padding: 56px 32px 32px; font-size: 14px; color: var(--text); }
.voice::before { content: "“"; position: absolute; left: 24px; top: 4px; font-family: var(--en); font-size: 80px; line-height: 1; color: var(--accent-logo); opacity: .6; }
.voice cite { display: block; margin-top: 20px; font-style: normal; color: var(--ink-2); font-size: 12.5px; text-align: right; }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } }

.table-dl { max-width: 900px; display: grid; grid-template-columns: 11em 1fr; border-top: 1px solid var(--ink); }
.table-dl dt, .table-dl dd { margin: 0; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.table-dl dt { color: var(--ink-2); }
@media (max-width: 640px) { .table-dl { grid-template-columns: 1fr; } .table-dl dt { border-bottom: 0; padding-bottom: 4px; } }

.policy { max-width: 900px; background: var(--paper); padding: 56px clamp(20px, 6vw, 64px); font-size: 14px; color: var(--text); }
.policy h2 { font-size: 17px; color: var(--ink); margin: 36px 0 12px; }
.policy ol { padding-left: 1.6em; margin: 0 0 1em; }

/* ---------- フッター ---------- */
.site-foot { background: var(--dark); color: #d9d2c8; padding: 96px 0 32px; font-size: 13px; }
.site-foot a { text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.foot-logo { width: 200px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .92; }
.foot-nav a, .site-foot p a { color: #e9e3da; transition: color .3s; }
.foot-nav a:hover, .site-foot p a:hover { color: var(--accent-logo); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; }
.foot-sns { display: flex; gap: 10px; margin-top: 20px; }
.copy { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--en); font-size: 12px; letter-spacing: .12em; opacity: .7; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } .section { padding: 100px 0; } .page-head { padding: 72px 0 48px; } }

/* ==========================================================
   中央寄せ（見出し・リード・タブ・お知らせ・フォーム）
   写真と文章を左右に並べる部分（コンセプト・コース・店舗）は並びのまま
   ========================================================== */
.sec-title { text-align: center; }
.sec-title .en { justify-content: center; }
.sec-title .en::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.lead, .concept-intro { margin-left: auto; margin-right: auto; text-align: center; }
.course-tabs, .shop-index { justify-content: center; }
.news-list { max-width: 860px; margin-inline: auto; }
.news-more, .form-actions, .form-status { text-align: center; }
.form { margin-inline: auto; }
.page-head { text-align: center; }
.page-head h1 { justify-content: center; }
.page-head h1::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.qa, .table-dl, .policy { margin-inline: auto; }
.section[data-bg-word]::before { left: 50%; right: auto; transform: translateX(-50%); }

/* ---------- ヘッダーのメニュー（日本語は明朝） ---------- */
.nav-pc a { font-family: var(--mincho); font-size: 14px; font-weight: 400; letter-spacing: .14em; }
:lang(en) .nav-pc a { font-family: var(--en); font-size: 16px; font-weight: 500; letter-spacing: .14em; }
.nav-reserve { font-family: var(--gothic); font-size: 13px; font-weight: 400; letter-spacing: .2em; }

/* ---------- こんなお悩みありませんか？ ---------- */
.worry-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 1000px; }
.worry-list a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 190px; padding: 32px 20px;
  background: var(--bg); text-align: center; text-decoration: none; transition: background .4s, color .4s; overflow: hidden; }
.worry-list .no { font-family: var(--en); font-size: 28px; font-weight: 300; color: var(--accent); line-height: 1; transition: transform .5s var(--ease); }
.worry-list b { font-family: var(--mincho); font-weight: 400; font-size: 16px; letter-spacing: .08em; line-height: 1.7; }
.worry-list small { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.worry-list small::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.worry-list a:hover { background: var(--paper); color: var(--accent); }
.worry-list a:hover .no { transform: translateY(-4px); }
.worry-list a:hover small { color: var(--accent); }
.worry-list a:hover small::after { width: 26px; }
.worry-foot { text-align: center; margin: 56px auto 0; font-family: var(--mincho); font-size: 16px; line-height: 2.2; max-width: 40em; }
@media (max-width: 860px) { .worry-list { grid-template-columns: 1fr 1fr; } .worry-list a { min-height: 150px; padding: 24px 12px; } .worry-list b { font-size: 14px; } }

/* ---------- 地図 ---------- */
.map { display: block; width: 100%; height: 240px; border: 0; margin-top: 24px; filter: grayscale(.4) contrast(1.05); transition: filter .4s; }
.map:hover { filter: none; }

/* ---------- スマホ：画面下の固定ボタン（電話・LINE・WEB予約） ---------- */
.action-bar, .sheet { display: none; }
@media (max-width: 960px) {
  body { padding-bottom: 64px; }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(46, 39, 33, .96); backdrop-filter: blur(8px); padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%); transition: transform .5s var(--ease); }
  .action-bar.show { transform: none; }
  .action-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; border: 0; background: none; color: #f2ede6; font: inherit; font-size: 11px; letter-spacing: .1em; cursor: pointer; }
  .action-bar button + button { border-left: 1px solid rgba(255,255,255,.12); }
  .action-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
  /* LINE のアイコンは塗りの図形なので、線ではなく塗りで、ほかと同じ色にする */
  .action-bar button:nth-child(2) svg { fill: currentColor; stroke: none; }
  .sheet { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(30, 24, 19, .45); }
  .sheet[hidden] { display: none; }
  .sheet-in { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); animation: sheet-up .45s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .sheet-ttl { text-align: center; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
  .sheet ul { list-style: none; margin: 0; padding: 0; }
  .sheet li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--mincho); font-size: 16px; }
  .sheet li a small { font-family: var(--en); font-size: 16px; color: var(--accent); }
  .sheet-close { display: block; width: 100%; margin-top: 16px; padding: 12px; border: 1px solid var(--line); background: none; font: inherit; font-size: 13px; color: var(--ink-2); cursor: pointer; }
}

/* ---------- 数字：Cormorant の数字は「0I」のような飾り数字（オールドスタイル）なので、
   高さのそろった数字（ライニング数字）に統一する ---------- */
body { font-variant-numeric: lining-nums; }
.news-date, .price td, .worry-list .no, .sheet li a small, .copy { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

/* ---------- コースの「適応性」：ロゴと同じ緑（#00d5c5） ---------- */
.course-fit { color: var(--accent); font-weight: 500; }  /* 店舗のSNSアイコンのホバー色と同じ */

/* 「こんなお悩みありませんか？」：直前のコンセプトと余白が二重になるので上を詰める */
.section.worries { padding-top: 30px; }
#concept { padding-bottom: 60px; }
.section.worries[data-bg-word]::before { top: 0; }
@media (max-width: 700px) { .section.worries { padding-top: 10px; } #concept { padding-bottom: 40px; } }

/* ---------- お客様の声（雑誌の特集風：大きな番号・ひと言の見出し・細い罫線） ---------- */
.voice-page .voices { display: block; max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--ink); }
.voice-page .voice { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 64px 0; margin: 0; background: none; border-bottom: 1px solid var(--line); }
.voice-page .voice::before { display: none; }
.voice-side { position: relative; }
.voice-no { display: block; font-family: var(--en); font-weight: 300; font-size: 72px; line-height: 1; color: var(--accent); letter-spacing: .02em; font-variant-numeric: lining-nums; }
.voice-ini { position: absolute; right: 0; top: 4px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); font-family: var(--en); font-size: 24px; color: var(--ink-2); }
.voice-who { margin: 22px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--ink-2); letter-spacing: .08em; }
.voice-main { margin: 0; }
.voice-main h2 { position: relative; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: .1em; line-height: 1.7; margin: 0 0 28px; padding-left: 1.1em; }
.voice-main h2::before { content: "“"; position: absolute; left: -.15em; top: -.35em; font-family: var(--en); font-size: 2.4em; line-height: 1; color: var(--accent-logo); }
.voice-main p { font-size: 14.5px; line-height: 2.1; color: var(--text); margin: 0 0 1em; }
.voice-note { text-align: center; margin: -24px 0 40px; }
.voice-page .voice:nth-child(even) .voice-main h2 { color: var(--ink); }
@media (max-width: 760px) {
  .voice-page .voice { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .voice-side { display: flex; align-items: center; gap: 16px; }
  .voice-no { font-size: 52px; }
  .voice-ini { position: static; width: 44px; height: 44px; font-size: 19px; }
  .voice-who { margin: 0; }
}

/* コースの動画（元サイトの動画を軽くしたもの。音なし・ループ） */
.course-panel > .course-video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-2); }
@media (max-width: 1024px) { .course-panel > .course-video { max-width: 640px; aspect-ratio: 4 / 3; } }

/* ---------- ハンバーガー（上下が同じ長さ・真ん中だけ短い3本線。開くと×） ---------- */
@media (max-width: 960px) {
  .site-head .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; }
  .nav-toggle .bars { position: relative; display: block; width: 26px; height: 16px; }
  .nav-toggle .bars i { position: absolute; right: 0; height: 1px; background: currentColor;
    transition: width .45s var(--ease), transform .45s var(--ease), top .45s var(--ease), opacity .3s; }
  .nav-toggle .bars i:nth-child(1) { top: 0; width: 26px; }
  .nav-toggle .bars i:nth-child(2) { top: 7px; width: 20px; }
  .nav-toggle .bars i:nth-child(3) { top: 14px; width: 26px; }  /* 上と下は同じ長さ、真ん中だけ短い */
  .nav-toggle:hover .bars i { width: 26px; }
  /* 開いたら：上下の線を同じ長さで中央に交差させて「×」、真ん中の線は消す */
  .site-head.is-open .nav-toggle .bars i { width: 24px; top: 7px; right: 1px; }
  .site-head.is-open .nav-toggle .bars i:nth-child(1) { transform: rotate(45deg); }
  .site-head.is-open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
  .site-head.is-open .nav-toggle .bars i:nth-child(3) { transform: rotate(-45deg); }
}

/* ---------- 料金表（案5：1行ずつのカード。初回は濃い色＋FIRST、回数券は「1回あたり・お得額」を site.js が足す） ---------- */
.price { display: block; border: 0; margin: 28px 0 12px; }
.price tbody { display: grid; gap: 4px; }
.price tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; padding: 16px 22px; background: var(--paper); border: 1px solid var(--line); }
.price th, .price td { display: block; padding: 0; border: 0; }
.price th { font-family: var(--mincho); font-weight: 400; font-size: 15px; letter-spacing: .08em; color: var(--ink); text-align: left; }
.price td { font-family: var(--en); font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--ink); text-align: right; font-variant-numeric: lining-nums; }
.price tr:first-child th::after { content: "FIRST"; margin-left: 10px; padding: 2px 10px; font-family: var(--gothic); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; color: #fff; background: var(--accent); border-radius: 2px; vertical-align: middle; }
.price td.per { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-family: var(--gothic); font-size: 12px; font-weight: 400; color: var(--ink-2); text-align: left; }
.price td.per em { font-style: normal; font-weight: 500; color: var(--accent); }
.price + .note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 2px 0 2px 14px; background: none; border-left: 3px solid var(--accent); font-size: 14px; color: var(--ink); letter-spacing: .04em; }
@media (max-width: 480px) { .price + .note { font-size: 13px; } .price tr { padding: 14px 16px; } .price td { font-size: 22px; } .price th { font-size: 14px; } }

/* お客様の声：イニシャルの丸と引用符は使わない */
.voice-page .voice-ini { display: none; }
.voice-page .voice-main h2 { padding-left: 0; }
.voice-page .voice-main h2::before { content: none; }

/* コピーライト：フッターの .wrap の外にあるので、幅をそろえて中央に置く */
.copy { width: min(var(--wrap), 100% - 48px); margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- コースのタブ：丸いスイッチ（選んだ所へ濃い背景 .tab-ind がスッと動く。.tab-ind は site.js が足す） ---------- */
.course-tabs { position: relative; display: flex; flex-wrap: nowrap; gap: 0; max-width: 900px; margin: 0 auto 56px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.course-tabs .tab-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.course-tabs [role="tab"] { position: relative; z-index: 1; flex: 1; padding: 14px 8px; border: 0; border-radius: 999px; background: none; color: var(--ink);
  font-family: var(--mincho); font-size: 14px; letter-spacing: .06em; white-space: nowrap; transition: color .4s; transform: none; box-shadow: none; }
.course-tabs [role="tab"]::before, .course-tabs [role="tab"]::after { content: none; display: none; }
.course-tabs [role="tab"]:hover { color: var(--accent); transform: none; box-shadow: none; }
.course-tabs [role="tab"][aria-selected="true"] { color: #fff; background: none; }
@media (max-width: 760px) {
  .course-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .course-tabs::-webkit-scrollbar { display: none; }
  .course-tabs [role="tab"] { flex: 0 0 auto; padding: 12px 18px; font-size: 13px; }
}

/* メニューを開いている間は、ヘッダーのぼかし（backdrop-filter）を外す。
   ぼかしがあると、中の position: fixed（全画面メニュー）がヘッダーの高さに閉じ込められて出てこない */
html body .site-head.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); box-shadow: none; }

/* お客様の声：YouTube 動画（最初はサムネイルだけ。押したら YouTube を読み込む） */
.voice-movie { max-width: 860px; margin: 110px auto 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.2s var(--ease), opacity .4s; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: rgba(30,24,19,.35); backdrop-filter: blur(4px); transition: transform .4s var(--ease), background .3s; }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cap { margin: 16px 0 0; font-size: 13.5px; text-align: center; color: var(--text); line-height: 1.8; }
.yt-cap small { color: var(--ink-2); font-size: 12px; }
@media (max-width: 700px) { .voice-movie { margin-top: 72px; } .yt-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .yt-play::after { left: 24px; top: 19px; border-width: 11px 0 11px 17px; } }

/* メイン写真（生成画像 H2）：人物が右側にあるので、スマホでは右寄りを見せる */
.hero img { object-position: 62% 40%; }
@media (max-width: 700px) { .hero img { object-position: 74% 40%; } }
/* 写真の上部が明るいので、ヘッダーの白い文字が読めるよう上側にもうっすら影 */
.hero::after { background: linear-gradient(180deg, rgba(30,24,19,.38) 0%, rgba(30,24,19,0) 22%), linear-gradient(0deg, rgba(30,24,19,.62) 0%, rgba(30,24,19,.14) 50%, rgba(30,24,19,0) 74%); }

/* ---------- PELVISMAKE：AI姿勢診断（根拠を見せるブロック。暗い地に診断画面をスマホ枠で） ---------- */
.pelvis-in { padding-bottom: 72px; }
.pelvis-ev { background: #141210; color: #ece6dc; text-align: left; padding: 110px 0; overflow: hidden; }
.pelvis-ev-in { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.pv-shots { position: relative; display: flex; justify-content: center; gap: 22px; }
.pv-phone { margin: 0; width: min(46%, 230px); }
.pv-phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border: 8px solid #2a2622; border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.5); background: #000; }
.pv-phone + .pv-phone { margin-top: 64px; }
.pv-phone figcaption { margin-top: 14px; font-size: 12px; text-align: center; color: #a39a8f; letter-spacing: .08em; }
.pv-kick { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .35em; color: var(--accent-logo); margin-bottom: 20px; }
.pv-kick::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.pv-text h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: .1em; line-height: 1.7; color: #fff; margin-bottom: 36px; }
.pv-points { list-style: none; margin: 0 0 44px; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.pv-points li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pv-no { font-family: var(--en); font-size: 24px; font-weight: 300; color: var(--accent-logo); line-height: 1.3; font-variant-numeric: lining-nums; }
.pv-points b { display: block; font-family: var(--mincho); font-weight: 400; font-size: 17px; letter-spacing: .08em; color: #fff; margin-bottom: 4px; }
.pv-points p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #b7ada2; }
@media (max-width: 900px) {
  .pelvis-ev { padding: 80px 0; }
  .pelvis-ev-in { grid-template-columns: 1fr; gap: 56px; }
  .pv-text { order: -1; }
  .pv-phone + .pv-phone { margin-top: 40px; }
}

/* AI姿勢診断ブロック：明るい地に変更（暗すぎたため）。診断画面はスマホ枠の中だけ黒 */
.pelvis-ev { background: var(--bg-2); color: var(--ink); }
.pv-phone img { border-color: #2e2721; box-shadow: 0 24px 50px rgba(46, 39, 33, .22); }
.pv-phone figcaption { color: var(--ink-2); }
.pv-kick { color: var(--accent); }
.pv-text h3 { color: var(--ink); }
.pv-points { border-top-color: var(--line); }
.pv-points li { border-bottom-color: var(--line); }
.pv-no { color: var(--accent); }
.pv-points b { color: var(--ink); }
.pv-points p { color: var(--text); }
.pelvis-ev .btn-light { border-color: var(--ink); color: var(--ink); }
.pelvis-ev .btn-light:hover { background: var(--ink); color: #fff; }
/* 上の「体で感じ、データで納得する。」と同じ背景にして、ひと続きのブロックに見せる */
.pelvis-ev { background: #f1f1f0; padding-top: 40px; }
/* スマホ・タブレット：診断画面 → 見出し・特長 → ボタン の順 */
@media (max-width: 900px) { .pelvis-ev .pv-text { order: 0; } .pelvis-ev .pv-shots { order: -1; } }
@media (max-width: 900px) { .pelvis-ev .pv-text .btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; } }

/* ---------- Instagram（/api/instagram から最新6件。取れないときは一覧を出さずボタンだけ） ---------- */
.insta-id { color: var(--accent); text-decoration: none; font-family: var(--en); font-size: 16px; font-weight: 500; letter-spacing: .06em; }
.insta-id:hover { text-decoration: underline; }
.insta-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-grid[hidden] { display: none; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(46, 39, 33, 0); transition: background .4s; }
.insta-grid a:hover img { transform: scale(1.06); }
.insta-grid a:hover::after { background: rgba(46, 39, 33, .25); }
.insta-grid .cap { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; color: #fff; font-size: 12px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.insta-grid a:hover .cap { opacity: 1; transform: none; }
.insta-grid .vid { position: absolute; z-index: 1; right: 10px; top: 10px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.insta-more { text-align: center; margin-top: 40px; }
@media (max-width: 640px) { .insta-grid { gap: 4px; } .insta-grid .cap { display: none; } }
.section[hidden] { display: none; }
