/*
    整体院こはる（制作サンプル）共通スタイル
    - 色：生成り #f7f1e8 の地に、こげ茶の文字 #43382f、差し色はテラコッタ #c56f4c とセージ #7f9372
    - 書体：見出し＝Kiwi Maru（手書きに近い丸文字で人柄を出す）、手書き風の一言＝Klee One、英字＝Fraunces（斜体）、本文＝Zen Kaku Gothic New
      ※すずかけ（Zen Maru Gothic＋Quicksand）と重ならないようにしている
    - 写真はアーチ型・大きめの角丸でそろえ、「人柄・あたたかさ」を出す
  */
:root {
  --bg: #f7f1e8; --paper: #fffcf6; --sand: #efe5d6; --ink: #43382f; --ink-2: #7a6d61;
  --terra: #c56f4c; --terra-d: #a9573a; --sage: #7f9372; --sage-l: #e3e8da; --line: #e3d8c8; --line-green: #06c755;
  --f-maru: "Kiwi Maru", serif; --f-hand: "Klee One", cursive; --f-en: "Fraunces", serif; --f-body: "Zen Kaku Gothic New", sans-serif;
  --r: 28px; --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15.5px; line-height: 2; letter-spacing: .05em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 40px; }
.en { font-family: var(--f-en); font-style: italic; font-weight: 500; letter-spacing: .04em; color: var(--terra); font-size: 17px; text-transform: lowercase; }
.sample { position: relative; z-index: 60; background: var(--ink); color: var(--bg); font-size: 12px; text-align: center; padding: 6px 12px; letter-spacing: .06em; }
.sample a { text-decoration: underline; }

/* ヘッダー */
.head { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 232, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.scrolled { border-color: var(--line); }
.head .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; height: 80px; padding-inline: 40px; }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo .mark { width: 44px; height: 44px; flex: none; }
.logo .wm { display: grid; }
.logo .wm small { font-family: var(--f-body); font-weight: 500; font-size: 10.5px; letter-spacing: .42em; color: var(--ink-2); }
.logo .wm span { font-family: var(--f-maru); font-weight: 500; font-size: 27px; letter-spacing: .1em; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; font-family: var(--f-maru); font-weight: 500; font-size: 14.5px; }
.nav a:not(.btn) { position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: currentColor; margin: 7px 9px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-maru); font-weight: 500; font-size: 15px; letter-spacing: .08em; padding: 14px 30px; border-radius: 999px; background: var(--terra); color: #fff; transition: transform .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); background: var(--terra-d); }
.btn.line { background: var(--line-green); }
.btn.line:hover { background: #05a849; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.sm { padding: 9px 22px; font-size: 13.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ヒーロー：左に文字、右にアーチ型の写真 */
.hero { padding: 56px 0 120px; position: relative; }
.hero::before { content: ""; position: absolute; right: -8vw; top: -6vw; width: 52vw; height: 52vw; border-radius: 50%; background: var(--sand); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero .tag { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .tag span { font-family: var(--f-maru); font-weight: 500; font-size: 12.5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; letter-spacing: .06em; }
.hero h1 { font-family: var(--f-maru); font-weight: 500; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.45; letter-spacing: .06em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(197, 111, 76, .28) 62%); }
.hero .sub { margin-top: 28px; font-size: 16px; line-height: 2.1; color: var(--ink-2); max-width: 30em; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .note { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.hero .ph { position: relative; }
.hero .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; border-radius: 999px 999px var(--r) var(--r); }
.hero .badge { position: absolute; left: -36px; bottom: 56px; width: 150px; height: 150px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-content: center; text-align: center; font-family: var(--f-maru); font-weight: 500; line-height: 1.4; box-shadow: 0 14px 30px rgba(169, 87, 58, .28); transform: rotate(-8deg); }
.hero .badge small { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.hero .badge b { font-size: 28px; letter-spacing: .02em; }
.hero .badge b span { font-size: 13px; }
.hero .hand { position: absolute; right: -28px; top: -14px; background: var(--paper); border-radius: 18px; padding: 14px 20px; font-family: var(--f-hand); font-size: 15px; line-height: 1.7; box-shadow: 0 10px 28px rgba(67, 56, 47, .12); transform: rotate(3deg); }

/* セクション共通 */
.sec { padding-block: 128px; position: relative; }
.sec.paper { background: var(--paper); }
.sec.sage { background: var(--sage-l); }
.ttl { display: grid; gap: 10px; margin-bottom: 56px; }
.ttl h2 { font-family: var(--f-maru); font-weight: 500; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.6; letter-spacing: .08em; }
.ttl.c { text-align: center; justify-items: center; }
.ttl.c .en::before, .ttl.c .en::after { content: "—"; margin: 0 10px; opacity: .5; }
.lead-txt { text-align: center; max-width: 40em; margin: -24px auto 56px; color: var(--ink-2); }

/* お悩みチェック */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.worries li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: 20px; padding: 22px 24px; font-family: var(--f-maru); font-weight: 500; font-size: 15.5px; line-height: 1.7; }
.worries li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.worries-foot { text-align: center; margin-top: 48px; font-family: var(--f-hand); font-size: 20px; line-height: 1.9; }
.worries-foot b { color: var(--terra); font-weight: 600; }

/* 3つの約束 */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.promise li { text-align: center; }
.promise img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); }
.promise .n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 18px; margin: -26px auto 0; position: relative; border: 4px solid var(--bg); }
.paper .promise .n { border-color: var(--paper); }
.promise h3 { font-family: var(--f-maru); font-weight: 500; font-size: 20px; line-height: 1.6; margin: 14px 0 12px; letter-spacing: .06em; }
.promise p { font-size: 14.5px; color: var(--ink-2); text-align: left; }

/* セラピスト紹介 */
.therapist { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.therapist .ph { position: relative; }
.therapist .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.therapist .ph::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--terra); border-radius: var(--r); z-index: -1; }
.therapist .letter { font-family: var(--f-hand); font-size: 17.5px; line-height: 2.1; background: var(--paper); border-radius: 22px; padding: 26px 32px; border-left: 4px solid var(--terra); }
.sage .therapist .letter { background-color: var(--paper); }
.therapist .who { margin-top: 28px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; font-family: var(--f-maru); }
.therapist .who b { font-size: 22px; letter-spacing: .14em; }
.therapist .who span { font-size: 13px; color: var(--ink-2); }
.therapist .career { margin-top: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.therapist .career li { padding-left: 1.3em; position: relative; }
.therapist .career li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* 初回の流れ */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 36px; border-top: 2px dashed var(--line); }
.flow li { counter-increment: s; text-align: center; position: relative; }
.flow li::before { content: counter(s); display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--terra); color: var(--terra); font-family: var(--f-en); font-weight: 600; font-size: 24px; position: relative; }
.flow h3 { font-family: var(--f-maru); font-weight: 500; font-size: 17px; margin-bottom: 8px; }
.flow p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); text-align: left; }
.flow .tm { display: inline-block; font-family: var(--f-maru); font-size: 12px; background: var(--sage-l); border-radius: 999px; padding: 0 10px; margin-bottom: 8px; }

/* メニュー */
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; align-items: stretch; }
.plan { background: var(--paper); border-radius: var(--r); padding: 36px 32px; display: flex; flex-direction: column; position: relative; }
.plan.first { background: var(--terra); color: #fff; }
.plan .lbl { position: absolute; top: -14px; left: 32px; background: var(--ink); color: var(--bg); font-family: var(--f-maru); font-weight: 500; font-size: 12.5px; padding: 3px 16px; border-radius: 999px; letter-spacing: .1em; }
.plan h3 { font-family: var(--f-maru); font-weight: 500; font-size: 19px; letter-spacing: .06em; }
.plan .tm { font-family: var(--f-en); font-weight: 600; font-size: 13px; opacity: .8; }
.plan .pr { font-family: var(--f-en); font-weight: 600; font-size: 40px; line-height: 1.2; margin: 18px 0 6px; letter-spacing: .02em; }
.plan .pr small { font-family: var(--f-body); font-size: 13px; font-weight: 400; margin-left: 4px; }
.plan .was { font-size: 13px; opacity: .85; }
.plan .was s { margin-right: 6px; }
.plan p { font-size: 14px; margin-top: 14px; line-height: 1.9; }
.plan ul { margin-top: 16px; display: grid; gap: 4px; font-size: 13.5px; }
.plan ul li::before { content: "・"; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.first .btn { background: #fff; color: var(--terra); margin-top: 24px; }
.menu-note { margin-top: 24px; font-size: 13px; color: var(--ink-2); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: 20px; overflow: hidden; }
.table th, .table td { padding: 20px 26px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { font-family: var(--f-maru); font-weight: 500; font-size: 16px; }
.table th small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.table td.p { text-align: right; font-family: var(--f-en); font-weight: 600; font-size: 19px; white-space: nowrap; }

/* お客さまの声 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { background: var(--paper); border-radius: 22px; padding: 30px 28px 26px; position: relative; }
.voice::before { content: "“"; position: absolute; top: 2px; right: 22px; font-family: Georgia, serif; font-size: 72px; color: var(--sand); line-height: 1; }
.voice p { font-size: 14.5px; line-height: 2; }
.voice .by { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--ink-2); font-family: var(--f-maru); }
.voice .by i { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-l); display: grid; place-items: center; font-style: normal; color: var(--sage); font-weight: 700; }
.voice-note { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--ink-2); }

/* よくある質問 */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 20px 24px; font-family: var(--f-maru); font-weight: 500; font-size: 15.5px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-family: var(--f-en); font-size: 14px; }
.faq .pm { margin-left: auto; flex: none; width: 14px; height: 14px; position: relative; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform .3s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 24px 22px 68px; font-size: 14.5px; color: var(--ink-2); }

/* お店の雰囲気・Instagram */
.gal { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.gal img:first-child { grid-row: span 2; }
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig a { aspect-ratio: 1; overflow: hidden; border-radius: 16px; }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig a:hover img { transform: scale(1.06); }
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ig-head .ttl { margin-bottom: 0; }

/* 店舗情報（トップの小さい版と、アクセスページ） */
.access { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.7); }
.info { display: grid; }
.info div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info dt { font-family: var(--f-maru); font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; font-size: 13.5px; text-align: center; margin-top: 6px; }
.hours th, .hours td { border: 1px solid var(--line); padding: 6px 2px; }
.hours th { font-family: var(--f-maru); font-weight: 500; background: var(--sand); }
.hours td { font-family: var(--f-en); font-weight: 600; color: var(--terra); }
.hours td.x { color: var(--ink-2); }
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: r; }
.route li { counter-increment: r; background: var(--paper); border-radius: 22px; overflow: hidden; }
.route li > div { padding: 22px 24px 26px; }
.route h3 { font-family: var(--f-maru); font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.route h3::before { content: counter(r); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--f-en); font-size: 13px; margin-right: 10px; vertical-align: 2px; }
.route p { font-size: 14px; color: var(--ink-2); }
.route .ill { height: 150px; background: var(--sand); display: grid; place-items: center; color: var(--ink-2); font-size: 12.5px; font-family: var(--f-maru); }

/* 下層ページの見出し */
.page-hero { padding: 72px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: -240px; width: 640px; height: 420px; border-radius: 50%; background: var(--sand); transform: translateX(-50%); z-index: -1; }
.page-hero h1 { font-family: var(--f-maru); font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .1em; margin-top: 8px; }
.page-hero p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.crumbs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; font-size: 12.5px; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 10px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-ph { max-width: 1080px; margin: 0 auto; padding-inline: 40px; }
.page-ph img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r); }

/* 左右に写真と文章 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev > img { order: 2; }
.split > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.split .no { font-family: var(--f-en); font-weight: 600; color: var(--terra); font-size: 14px; letter-spacing: .14em; }
.split h3 { font-family: var(--f-maru); font-weight: 500; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.6; margin: 8px 0 18px; letter-spacing: .06em; }
.split p + p { margin-top: 12px; }
.notes { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.notes li { background: var(--paper); border-radius: 16px; padding: 16px 22px 16px 50px; position: relative; font-size: 14.5px; }
.notes li::before { content: "!"; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 12px; display: grid; place-items: center; line-height: 1; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.compare > div { border-radius: 22px; padding: 28px 30px; background: var(--paper); }
.compare > div.ok { box-shadow: inset 0 0 0 2px var(--sage); }
.compare h3 { font-family: var(--f-maru); font-weight: 500; font-size: 17px; margin-bottom: 12px; }
.compare li { font-size: 14.5px; padding-left: 1.4em; position: relative; }
.compare li::before { content: "○"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.compare .ng li::before { content: "×"; color: var(--terra); }

/* 次のページへ */
.next-links { max-width: 1160px; margin: 0 auto; padding: 0 40px 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-links a { background: var(--paper); border-radius: 20px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-maru); font-weight: 500; transition: transform .3s var(--ease); }
.next-links a:hover { transform: translateY(-3px); }
.next-links a span:first-child { display: grid; }
.next-links .en { font-size: 11.5px; }
.next-links a::after { content: "→"; color: var(--terra); }

/* 予約の呼びかけ */
.cta { padding: 0 40px 120px; }
.cta .box { max-width: 1080px; margin: 0 auto; background: var(--terra); color: #fff; border-radius: 40px; padding: 64px 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta .box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta .en { color: #fff; opacity: .85; }
.cta h2 { font-family: var(--f-maru); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.6; letter-spacing: .06em; margin-top: 6px; }
.cta p { margin-top: 12px; font-size: 14.5px; opacity: .92; }
.cta .btns { display: grid; gap: 12px; position: relative; }
.cta .btn { width: 100%; padding-block: 17px; }
.cta .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.cta .btn.ghost:hover { background: #fff; color: var(--terra); }
.cta .tel { text-align: center; font-family: var(--f-en); font-weight: 600; font-size: 13px; opacity: .9; }

/* フッター */
.foot { background: var(--ink); color: var(--bg); padding: 56px 0 40px; font-size: 13px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.foot .logo .wm small { color: rgba(247, 241, 232, .6); }
.foot address { font-style: normal; margin-top: 14px; opacity: .8; line-height: 1.9; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--f-maru); }
.foot .copy { grid-column: 1 / -1; border-top: 1px solid rgba(247, 241, 232, .14); padding-top: 22px; opacity: .55; font-size: 12px; }
.sp-bar { display: none; }

/* ふわっと表示 */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* タブレット */
@media (max-width: 1000px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 4px; background: var(--paper); padding: 96px 32px 36px; transform: translateY(-105%); transition: transform .5s var(--ease); box-shadow: 0 20px 40px rgba(67, 56, 47, .14); border-radius: 0 0 28px 28px; font-size: 17px; z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 12px; width: 100%; text-align: center; }
  .nav .btn { margin-top: 12px; }
  .menu-btn { display: block; }
  .hero .wrap, .therapist, .access, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.rev > img { order: 0; }
  .hero .ph { max-width: 520px; margin: 0 auto; width: 100%; }
  .worries, .voices { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 30px; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .flow::before { left: 35px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 2px dashed var(--line); }
  .flow li { display: grid; grid-template-columns: 72px 1fr; column-gap: 22px; text-align: left; padding-bottom: 26px; }
  .flow li::before { grid-row: span 3; margin: 0; }
  .flow .tm { justify-self: start; }
  .therapist .ph { max-width: 460px; }
  .cta .box { grid-template-columns: 1fr; padding: 48px 36px; }
  .next-links { grid-template-columns: 1fr; }
}

/* スマートフォン */
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .wrap { padding-inline: 16px; }
  .head .wrap { padding-inline: 16px; height: 64px; }
  .logo { gap: 10px; }
  .logo .mark { width: 38px; height: 38px; }
  .logo .wm small { font-size: 9.5px; }
  .logo .wm span { font-size: 23px; margin-top: 4px; }
  .head .btn.sm { display: none; }
  .hero { padding: 28px 0 80px; }
  .hero::before { width: 120vw; height: 120vw; right: -50vw; top: 30vw; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 15px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .hero .badge { left: -4px; bottom: 24px; width: 112px; height: 112px; }
  .hero .badge b { font-size: 21px; }
  .hero .badge small { font-size: 10.5px; }
  .hero .hand { right: -4px; top: -16px; font-size: 13px; padding: 10px 14px; }
  .sec { padding-block: 84px; }
  .ttl { margin-bottom: 40px; }
  .worries, .voices, .promise, .route, .compare { grid-template-columns: 1fr; }
  .promise { gap: 48px; }
  .promise img { aspect-ratio: 1 / .9; }
  .therapist .letter { font-size: 15px; padding: 22px 20px; }
  .ttl h2 { font-size: 23px; }
  .therapist .ph::after { inset: 14px -10px -14px 14px; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; gap: 10px; }
  .gal img:first-child { grid-column: span 2; grid-row: auto; }
  .ig { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ig a { border-radius: 10px; }
  .info div { grid-template-columns: 5.5em 1fr; gap: 10px; }
  .table th, .table td { padding: 16px 18px; }
  .table td.p { font-size: 17px; }
  .faq details p { padding: 0 20px 20px 20px; }
  .page-hero { padding: 48px 0 40px; }
  .page-ph { padding-inline: 16px; }
  .page-ph img { height: 220px; border-radius: 20px; }
  .split { gap: 28px; }
  .cta { padding: 0 16px 80px; }
  .cta .box { padding: 40px 24px; border-radius: 28px; }
  .next-links { padding: 0 16px 72px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); box-shadow: 0 -6px 20px rgba(67, 56, 47, .1); padding: 8px; gap: 8px; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 999px; font-family: var(--f-maru); font-weight: 500; font-size: 14.5px; box-shadow: inset 0 0 0 1.5px var(--ink); }
  .sp-bar a.line { background: var(--line-green); color: #fff; box-shadow: none; }
  .sp-bar svg { width: 18px; height: 18px; }
}
