:root {
  --paper: #fdfafa;
  --petal: #f8ebe9;
  --rose: #efd2d0;
  --mist: #e1e9e5;
  --ink: #43303a;
  --sub: #6b5760;
  --line: #e5d8d8;
  --cta: #a34d62;
  --cta-dark: #8a3e52;
  --mincho: "Zen Old Mincho", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
  --gutter: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  padding-bottom: 76px;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; line-height: 1.5; word-break: auto-phrase; }
h2 { font-size: 26px; letter-spacing: 0.04em; }
h3 { font-size: 20px; font-weight: 600; }
.h2-line { display: block; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  background: var(--cta);
  color: #fff;
  font: 700 16px/1.4 var(--gothic);
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  border-radius: 28px;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: var(--cta-dark); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 22px; }

/* 制作作品の表示 */
.demo-notice { padding: 8px var(--gutter); background: var(--ink); color: #fff; font-size: 14px; line-height: 1.6; }
.demo-toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 40;
  width: max-content; max-width: calc(100vw - 32px); padding: 10px 20px;
  transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 14px; border-radius: 20px;
}
.demo-toast[hidden] { display: none; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--gutter);
  background: var(--paper);
}
.logo { font: 600 19px/1 var(--mincho); letter-spacing: 0.08em; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-tel { display: none; font-weight: 500; text-decoration: none; }

/* ファーストビュー */
.hero { padding: 16px var(--gutter) 0; }
.hero-text { position: relative; z-index: 2; }
h1 { font-size: clamp(24px, 7.5vw, 30px); line-height: 1.5; letter-spacing: 0.04em; }
h1 span { display: block; white-space: nowrap; }
.hero-lead { margin-top: 16px; }
.hero .btn { width: 100%; margin-top: 24px; }
.hero-tel { margin-top: 12px; text-align: center; font-size: 15px; color: var(--sub); }
.hero-tel a { display: inline-block; padding: 10px 0; color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-visual { position: relative; margin: 32px calc(var(--gutter) * -1) 0; padding-left: var(--gutter); }
.hero-photo { position: relative; height: 340px; border-radius: 170px 0 0 0; }
.hero-circle { position: absolute; border-radius: 50%; }
.hero-circle-a { width: 150px; height: 150px; left: 0; top: -22px; background: var(--rose); }
.hero-circle-b { width: 92px; height: 92px; right: 28px; bottom: -36px; background: rgba(225, 233, 229, .88); }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 44px; padding-bottom: 8px; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font-size: 14px; color: var(--sub); }
.hero-facts dd { font: 500 21px/1.5 var(--mincho); }

/* 悩みから選ぶ */
.concerns { margin-top: 64px; padding: 64px var(--gutter); background: var(--petal); }
.concerns-head p { margin-top: 12px; }
.circles { position: relative; width: 100%; max-width: 350px; aspect-ratio: 1 / 1; margin: 32px auto 0; }
.circle {
  position: absolute; width: 54%; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px; border: 0; border-radius: 50%;
  color: var(--ink);
  font: 500 18px/1.45 var(--mincho);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.c1 { left: 0; top: 0; background: rgba(239, 200, 198, .78); }
.c2 { left: 46%; top: 3%; background: rgba(209, 224, 217, .78); }
.c3 { left: 3%; top: 46%; background: rgba(246, 226, 205, .82); }
.c4 { left: 46%; top: 46%; background: rgba(226, 211, 226, .78); }
.circle:hover { background: var(--rose); }
.circle[aria-pressed="true"] { background: rgba(163, 77, 98, .94); color: #fff; }
.concern-result { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rose); }
.result-title { font: 500 20px/1.6 var(--mincho); }
.result-list { margin-top: 8px; }
.result-list a { display: flex; align-items: center; min-height: 48px; font-weight: 500; text-underline-offset: 4px; }
.result-note { margin-top: 12px; font-size: 14px; color: var(--sub); }

/* 無理にすすめない */
.promise { padding: 64px 0 0; }
.promise-photo { width: calc(100% - var(--gutter)); height: 260px; border-radius: 0 130px 0 0; }
.promise-text { padding: 36px var(--gutter) 0; }
.promise dl { margin-top: 12px; }
.promise dl div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.promise dt { font: 600 18px/1.6 var(--mincho); }
.promise dd { margin-top: 4px; }

/* 施術と料金 */
.treatments { padding: 72px var(--gutter) 0; }
.section-lead { margin-top: 12px; }
.t-table { margin-top: 24px; border-top: 1px solid var(--ink); }
.t-head { display: none; }
.t-row { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; transition: background-color .25s; }
.t-row.is-match { background: var(--petal); box-shadow: -12px 0 0 var(--petal), 12px 0 0 var(--petal); }
.t-name p { margin-top: 6px; }
.t-cell { margin-top: 14px; }
.t-label { display: block; font-size: 14px; color: var(--sub); }
.t-price { font: 600 25px/1.5 var(--mincho); }
.t-unit { margin-left: 8px; font-size: 15px; }
.t-note { margin-top: 20px; font-size: 14px; color: var(--sub); }

/* 来院の流れ */
.flow { margin-top: 72px; padding: 64px var(--gutter); background: var(--mist); }
.flow ol { margin-top: 24px; }
.flow li { position: relative; padding: 0 0 28px 56px; }
.flow li:last-child { padding-bottom: 0; }
.flow-no {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper);
  font: 600 18px/1 var(--mincho);
}
.flow h3 { font-size: 19px; line-height: 40px; }

/* 院長 */
.doctor { padding: 72px var(--gutter) 0; }
.doctor-text p { margin-top: 16px; }
.doctor-text .doctor-name { margin-top: 24px; font: 600 19px/1.6 var(--mincho); }
.doctor-text .doctor-career { margin-top: 0; font-size: 14px; color: var(--sub); }
.doctor-photo { height: 340px; margin-top: 32px; border-radius: 170px 170px 0 0; object-position: 50% 12%; }

/* よくある質問 */
.faq { padding: 72px var(--gutter) 0; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; min-height: 64px; padding: 12px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 20px; color: var(--sub); }

/* 予約 */
.reserve { margin-top: 72px; padding: 64px var(--gutter); background: var(--petal); }
.reserve-intro > p:first-of-type { margin-top: 12px; }
.reserve-tel-label { margin-top: 24px; font-size: 14px; color: var(--sub); }
.reserve-tel { display: inline-block; min-height: 44px; font: 600 28px/1.6 var(--mincho); letter-spacing: 0.04em; text-decoration: none; }
.reserve-hours { font-size: 14px; color: var(--sub); }
.reserve-form { margin-top: 32px; padding: 28px 20px; background: var(--paper); border-radius: 20px; }
.reserve-form label { display: block; margin-top: 18px; font-weight: 500; }
.reserve-form label:first-child { margin-top: 0; }
.reserve-form input, .reserve-form select {
  width: 100%; height: 52px; margin-top: 6px; padding: 0 16px;
  background: #fff; color: var(--ink);
  border: 1px solid #b9a7ac; border-radius: 10px;
  font: 400 16px/1.4 var(--gothic);
}
.reserve-form input::placeholder { color: #75636b; }
.reserve-form .btn { width: 100%; margin-top: 26px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--sub); }
.form-done { margin-top: 12px; font-weight: 700; color: var(--cta-dark); }

/* アクセス */
.access { padding: 64px var(--gutter); }
.access-name { margin-top: 12px; font: 600 18px/1.6 var(--mincho); }
.hours { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 15px; }
.hours caption { padding-bottom: 8px; text-align: left; font-weight: 500; }
.hours th, .hours td { height: 44px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.hours thead th { border-bottom-color: var(--ink); }
.hours th:first-child { width: 36%; text-align: left; }

/* フッター */
.site-footer { padding: 40px var(--gutter) 32px; background: var(--ink); color: #fff; font-size: 14px; }
.footer-logo { margin-bottom: 8px; font: 600 18px/1.6 var(--mincho); letter-spacing: 0.08em; }

/* スマホ固定ボタン */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 10px var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.sticky-tel {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; border: 1px solid var(--cta); border-radius: 28px;
  color: var(--cta-dark); font-weight: 700; text-decoration: none;
}

/* パソコン */
@media (min-width: 900px) {
  :root { --gutter: max(56px, calc((100vw - 1200px) / 2)); }
  body { font-size: 17px; padding-bottom: 0; }
  h2 { font-size: 36px; }
  h3 { font-size: 22px; }
  .sticky-cta { display: none; }
  .site-header { height: 80px; }
  .logo { font-size: 23px; }
  .header-tel { display: block; }
  .btn-small { min-height: 48px; padding: 0 26px; border-radius: 24px; }

  .hero {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: 40px; padding: 24px 0 0 var(--gutter); align-items: center;
  }
  h1 { font-size: 52px; line-height: 1.45; }
  .hero-lead { margin-top: 28px; max-width: 30em; font-size: 18px; }
  .hero .btn { width: auto; min-height: 64px; padding: 0 48px; margin-top: 36px; border-radius: 32px; font-size: 18px; }
  .hero-tel { text-align: left; margin-top: 16px; font-size: 16px; }
  .hero-visual { margin: 0; padding: 0; }
  .hero-photo { height: 640px; border-radius: 320px 0 0 0; }
  .hero-circle-a { width: 240px; height: 240px; left: -56px; top: -8px; }
  .hero-circle-b { width: 150px; height: 150px; right: 72px; bottom: -44px; }
  .hero-facts {
    grid-column: 1 / -1; display: flex; gap: 64px;
    margin-top: 28px; padding: 0 0 8px;
  }
  .hero-facts dt { font-size: 15px; }
  .hero-facts dd { font-size: 25px; }

  .concerns { margin-top: 80px; padding: 96px var(--gutter); }
  .concerns-head p { max-width: 44em; }
  .concerns-body { display: grid; grid-template-columns: 500px 1fr; gap: 80px; align-items: center; margin-top: 40px; }
  .circles { max-width: 500px; margin: 0; }
  .circle { font-size: 24px; }
  .concern-result { margin-top: 0; padding-top: 0; border-top: 0; }
  .result-title { font-size: 25px; }
  .result-list { margin-top: 16px; }
  .result-list a { font-size: 19px; }
  .result-note { font-size: 15px; }

  .promise {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: 80px; align-items: center; padding: 120px var(--gutter) 0 0;
  }
  .promise-photo { width: 100%; height: 520px; border-radius: 0 260px 0 0; }
  .promise-text { padding: 0; }
  .promise dl { margin-top: 20px; }
  .promise dl div { padding: 26px 0; }
  .promise dt { font-size: 21px; }

  .treatments { padding: 120px var(--gutter) 0; }
  .t-table { margin-top: 36px; }
  .t-row {
    display: grid; grid-template-columns: 3.4fr 1.5fr 2.5fr 2.6fr;
    column-gap: 36px; padding: 32px 0;
  }
  .t-head { display: grid; padding: 14px 0; font-size: 15px; color: var(--sub); }
  .t-label { display: none; }
  .t-cell { margin-top: 0; font-size: 16px; }
  .t-price { display: block; font-size: 28px; }
  .t-unit { display: block; margin-left: 0; }
  .t-row.is-match { box-shadow: -20px 0 0 var(--petal), 20px 0 0 var(--petal); }
  .t-note { margin-top: 24px; font-size: 15px; max-width: 60em; }

  .flow { margin-top: 120px; padding: 96px var(--gutter); }
  .flow ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 44px; }
  .flow li, .flow li:last-child { padding: 56px 0 0; }
  .flow h3 { font-size: 21px; line-height: 1.6; }
  .flow p { margin-top: 8px; font-size: 16px; }

  .doctor {
    display: grid; grid-template-columns: 7fr 4fr; column-gap: 96px; align-items: center;
    padding: 120px var(--gutter) 0;
  }
  .doctor-text p { max-width: 34em; }
  .doctor-text .doctor-name { font-size: 21px; }
  .doctor-text .doctor-career { font-size: 15px; }
  .doctor-photo { height: 500px; margin: 0; border-radius: 210px 210px 0 0; }

  .faq { display: block; max-width: 920px; margin: 0 auto; padding: 120px 0 0; }
  .faq h2 { margin-bottom: 32px; }
  .faq summary { min-height: 76px; font-size: 18px; }

  .reserve {
    display: grid; grid-template-columns: 5fr 6fr; column-gap: 96px; align-items: start;
    margin-top: 120px; padding: 96px var(--gutter);
  }
  .reserve-intro > p:first-of-type { margin-top: 20px; }
  .reserve-tel-label { margin-top: 40px; font-size: 15px; }
  .reserve-tel { font-size: 36px; }
  .reserve-hours { font-size: 15px; }
  .reserve-form { margin-top: 0; padding: 44px; border-radius: 28px; }
  .form-note { font-size: 15px; }

  .access {
    display: grid; grid-template-columns: 5fr 6fr; column-gap: 96px; align-items: center;
    padding: 96px var(--gutter);
  }
  .hours { margin-top: 0; font-size: 16px; }

  .site-footer { padding: 56px var(--gutter) 48px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
