:root {
  --orange: #f08a24;
  --orange-dark: #cf6d0c;
  --cream: #fff7ec;
  --leaf: #06c755;
  --ink: #40352b;
  --muted: #84786b;
  --line: #f1dcc2;
  --white: #fff;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --max: 1040px;
  --pad: clamp(16px, 4vw, 36px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.85; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- ヘッダー ---------- */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 12px var(--pad); background: var(--white); border-bottom: 4px solid var(--orange); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.logo i { width: 12px; height: 30px; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 9px); border-radius: 6px; }
.nav { display: flex; gap: 20px; font-size: .88rem; font-weight: 700; }
.nav a { white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--orange-dark); }
.header-tel { padding: 6px 18px 6px 40px; font-size: 1.15rem; font-weight: 800; color: var(--white); background: var(--orange) radial-gradient(circle at 22px 50%, #fff 0 6px, transparent 6.5px); border-radius: 999px; white-space: nowrap; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: var(--cream); border: 0; border-radius: 12px; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 3px; background: var(--orange); border-radius: 3px; transition: transform .25s, opacity .25s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; padding: clamp(44px, 7vw, 80px) var(--pad) clamp(120px, 15vw, 170px); text-align: center; background: var(--cream); overflow: hidden; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-tags span { padding: 3px 16px; font-size: .84rem; font-weight: 700; color: var(--orange-dark); background: var(--white); border: 2px solid var(--orange); border-radius: 999px; }
.hero h1 { margin: 20px 0 16px; font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 800; line-height: 1.3; }
.hero h1 em { position: relative; font-style: normal; color: var(--orange-dark); }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; z-index: -1; background: #ffd9a8; border-radius: 999px; }
.hero h1 { position: relative; z-index: 1; }
.hero-lead { max-width: 34em; margin: 0 auto; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 36px; font-size: 1.05rem; font-weight: 800; color: var(--white); border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(3px); }
.btn-main { background: var(--orange); box-shadow: 0 6px 0 var(--orange-dark); }
.btn-main:hover { box-shadow: 0 3px 0 var(--orange-dark); }
.btn-line { background: var(--leaf); box-shadow: 0 6px 0 #04913d; }
.btn-line:hover { box-shadow: 0 3px 0 #04913d; }

/* 背骨をイメージした丸の並び */
.hero-figure { position: absolute; left: 50%; bottom: -30px; display: flex; align-items: flex-end; gap: 10px; transform: translateX(-50%); }
.hero-figure i { width: clamp(44px, 8vw, 84px); aspect-ratio: 1; background: var(--orange); border-radius: 50%; opacity: .9; animation: bob 3s ease-in-out infinite; }
.hero-figure i:nth-child(2) { animation-delay: .2s; opacity: .7; }
.hero-figure i:nth-child(3) { animation-delay: .4s; opacity: .5; }
.hero-figure i:nth-child(4) { animation-delay: .6s; opacity: .7; }
.hero-figure i:nth-child(5) { animation-delay: .8s; }
@keyframes bob { 50% { transform: translateY(-16px); } }

/* ---------- 共通 ---------- */
.section { padding: clamp(54px, 8vw, 96px) var(--pad); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.soft { background: var(--cream); }
.head { margin-bottom: 36px; text-align: center; }
.head p { font-size: .78rem; font-weight: 800; letter-spacing: .26em; color: var(--orange); }
.head h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); font-weight: 800; }
.note { margin-top: 20px; font-size: .84rem; color: var(--muted); text-align: center; }

/* ---------- お悩みチェック ---------- */
.check { text-align: center; }
.check h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; }
.check ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: 760px; margin-top: 26px; margin-bottom: 22px; text-align: left; }
.check li { position: relative; padding: 14px 18px 14px 54px; font-weight: 700; background: var(--cream); border-radius: 14px; }
.check li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--white); border: 2px solid var(--orange); border-radius: 6px; }
.check li::after { content: ""; position: absolute; left: 25px; top: 50%; width: 8px; height: 14px; margin-top: -11px; border-right: 3px solid var(--orange-dark); border-bottom: 3px solid var(--orange-dark); transform: rotate(40deg); }
.check > p { font-weight: 700; color: var(--orange-dark); }

/* ---------- タブ ---------- */
.tab-list { display: flex; gap: 6px; overflow-x: auto; }
.tab-list button { flex: 1 0 auto; padding: 14px 20px; font: inherit; font-weight: 800; color: var(--muted); background: var(--cream); border: 0; border-radius: 16px 16px 0 0; cursor: pointer; transition: background .2s, color .2s; }
.tab-list button[aria-selected="true"] { color: var(--white); background: var(--orange); }
.tab-panel { padding: clamp(24px, 4vw, 40px); border: 3px solid var(--orange); border-radius: 0 0 20px 20px; }
.tab-panel h3 { margin-bottom: 8px; font-size: 1.3rem; font-weight: 800; color: var(--orange-dark); }
.tab-panel dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tab-panel dl > div { padding: 12px 18px; background: var(--cream); border-radius: 12px; }
.tab-panel dt { font-size: .78rem; font-weight: 800; color: var(--orange-dark); }
.tab-panel dd { font-weight: 700; }

/* ---------- 料金 ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prices article { padding: 28px 24px; text-align: center; background: var(--white); border-radius: 20px; box-shadow: 0 6px 0 var(--line); }
.prices .pick { box-shadow: 0 6px 0 var(--orange-dark); outline: 3px solid var(--orange); }
.prices h3 { font-size: 1.14rem; font-weight: 800; }
.yen { margin: 6px 0 10px; font-size: 2.3rem; font-weight: 800; line-height: 1.3; color: var(--orange-dark); }
.yen small { margin: 0 4px; font-size: .86rem; color: var(--ink); }
.prices article > p:last-child { font-size: .9rem; text-align: left; }

/* ---------- 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.flow li { position: relative; padding: 46px 14px 20px; text-align: center; background: var(--cream); border-radius: 18px; counter-increment: step; }
.flow li::before { content: counter(step); position: absolute; top: -16px; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px; font-size: 1.3rem; font-weight: 800; color: var(--white); background: var(--orange); border: 4px solid var(--white); border-radius: 50%; }
.flow h3 { font-size: 1.02rem; font-weight: 800; }
.flow p { font-size: .84rem; }

/* ---------- 声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.voices blockquote { position: relative; padding: 30px 24px 22px; background: var(--white); border-radius: 20px; }
.voices blockquote::after { content: ""; position: absolute; left: 34px; bottom: -14px; border: 14px solid transparent; border-top-color: var(--white); border-bottom: 0; }
.voices p { font-size: .94rem; }
.voices footer { margin-top: 12px; font-size: .84rem; font-weight: 800; color: var(--orange-dark); }

/* ---------- 受付時間 ---------- */
.info-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 26px; align-items: stretch; }
.info table { width: 100%; border-collapse: separate; border-spacing: 3px; text-align: center; font-size: .92rem; }
.info th, .info td { padding: 10px 4px; background: var(--cream); border-radius: 8px; }
.info thead th { color: var(--white); background: var(--orange); }
.info tbody th { font-size: .8rem; white-space: nowrap; }
.info td { font-weight: 800; color: var(--orange-dark); }
.addr { margin-top: 16px; font-size: .94rem; }
.reserve { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 20px; text-align: center; background: var(--cream); border-radius: 22px; }
.reserve > p { font-weight: 800; }
.reserve-tel { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--orange-dark); }
.reserve small { font-size: .76rem; color: var(--muted); }

.footer { padding: 22px var(--pad); font-size: .8rem; text-align: center; color: var(--white); background: var(--orange); }

/* ---------- 表示アニメーション ---------- */
.js [data-reveal] { opacity: 0; transform: scale(.94); transition: opacity .5s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: calc(100% + 4px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--pad) 14px; background: var(--white); box-shadow: 0 14px 24px rgba(64, 53, 43, .14); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 4px; border-bottom: 2px dotted var(--line); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 12px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .logo { font-size: 1.02rem; }
  .header-tel { display: none; }
  .check ul, .prices, .voices, .tab-panel dl { grid-template-columns: minmax(0, 1fr); }
  .voices { gap: 30px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-list button { padding: 12px 14px; font-size: .9rem; }
  .info table { font-size: .82rem; }
  .info tbody th { font-size: .68rem; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
