/* 駒場のお直し屋さん — チラシ準拠の配色（生成り＋オリーブグリーン＋テラコッタ） */
:root {
  --paper: #FAF7F0;      /* 生成りの背景 */
  --paper-deep: #F2ECDD; /* 帯・区切り用の少し濃い生成り */
  --ink: #2E2620;        /* 文字（濃い茶） */
  --ink-soft: #6A5F55;   /* 補助の文字 */
  --olive: #5E6535;      /* オリーブグリーン（ボタン・帯） */
  --olive-logo: #837E5A; /* ロゴのオリーブ */
  --terra: #B9502F;      /* テラコッタ（金額・強調） */
  --stitch: #B9B08F;     /* 縫い目風の点線 */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  padding-bottom: 76px; /* 固定CTAのぶん */
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.5; text-wrap: balance; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

/* イラストの紙色をページの生成りになじませる */
.hero-art img, .price-art, .flow-art img, .shop-art, .footer-in img { mix-blend-mode: multiply; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 28px;
  border-radius: 999px;
  background: var(--olive); color: #fff;
  font-weight: 700; font-size: 17px; line-height: 1.4; text-decoration: none; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #4C522A; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.btn-main { width: 100%; }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: 14px; display: none; }
.btn-light { background: var(--paper); color: var(--olive); }
.btn-light:hover { background: #fff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 240, .94);
  border-bottom: 1px dashed var(--stitch);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.brand img { width: 36px; height: 36px; }
.nav { display: none; }

/* ---------- ヒーロー ---------- */
.hero { padding: 28px 0 8px; }
.hero-in { display: grid; gap: 20px; }
.area-tag {
  display: inline-block; padding: 3px 14px;
  border: 1px solid var(--olive); border-radius: 999px;
  color: var(--olive); font-weight: 700; font-size: 13.5px; line-height: 1.7;
}
.hero h1 { font-size: clamp(38px, 11vw, 60px); font-weight: 800; line-height: 1.35; letter-spacing: .02em; margin: 14px 0 16px; }
.lead { font-size: 15.5px; margin-bottom: 22px; }
.lead br { display: none; }
.hours { margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.hero-art { margin: 0 -8px; }

/* ---------- 特徴3点 ---------- */
.features { background: var(--olive); color: #fff; padding: 8px 0; }
.feature-list li {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center;
  padding: 18px 0;
}
.feature-list li + li { border-top: 1px dashed rgba(255,255,255,.45); }
.feature-list .icon { grid-row: span 2; width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-list h2 { font-size: 20px; letter-spacing: .04em; }
.feature-list p { font-size: 14px; line-height: 1.7; opacity: .92; }

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--paper-deep); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head.left { text-align: left; }
.eyebrow { font-family: var(--serif); font-size: 13px; letter-spacing: .22em; color: var(--terra); }
.section-head h2 { font-size: 28px; letter-spacing: .06em; }
.section-head h2 small { font-size: .55em; font-weight: 500; }
.sub-head {
  font-size: 17px; color: var(--olive); letter-spacing: .08em;
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
}
.sub-head::after { content: ""; flex: 1; border-top: 1px dashed var(--stitch); }

/* ---------- 料金 ---------- */
.price-top { display: grid; gap: 20px; margin-bottom: 36px; }
.price-list > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0; border-bottom: 1px dashed var(--stitch);
}
.price-list dt { font-weight: 500; line-height: 1.6; }
.price-list dt .note { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.price-list dd { white-space: nowrap; font-family: var(--serif); font-weight: 700; color: var(--terra); font-variant-numeric: tabular-nums; }
.price-main .price-list dd { font-size: 20px; }

.price-tables { border-top: 1px solid var(--ink); margin-top: 10px; }
.price-tables details { border-bottom: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.price-tables summary, .faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 2px; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.6;
}
.price-tables summary::after, .faq summary::after, .legal summary::after {
  content: "＋"; flex: none; color: var(--olive); font-family: var(--sans); font-weight: 400; font-size: 20px;
}
details[open] > summary::after { content: "－"; }
.price-tables .price-list { padding: 0 2px 14px; font-size: 15px; }
.price-tables .price-list > div:last-child { border-bottom: 0; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.price-note + .price-note { margin-top: 6px; }

/* ---------- ご利用の流れ ---------- */
.flow-in { display: grid; gap: 28px; }
.flow { counter-reset: step; }
.flow li { position: relative; padding: 0 0 26px 62px; counter-increment: step; }
.flow li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--olive); color: var(--olive);
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px;
  border-left: 2px dashed var(--stitch);
}
.flow h3 { font-size: 18px; padding-top: 7px; margin-bottom: 4px; }
.flow p { font-size: 14.5px; line-height: 1.8; }
.flow-art figcaption {
  margin-top: 12px; padding: 14px 16px;
  background: var(--paper); border-left: 3px solid var(--terra);
  font-size: 14px; line-height: 1.8;
}

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary::before { content: "Q"; flex: none; color: var(--terra); font-size: 20px; }
.faq summary { justify-content: flex-start; }
.faq summary::after { margin-left: auto; }
.faq details p { padding: 0 2px 20px 34px; font-size: 15px; }

/* ---------- LINEへの案内 ---------- */
.cta-band { background: var(--olive); color: #fff; padding: 48px 0; text-align: center; }
.cta-band h2 { font-size: 26px; letter-spacing: .04em; margin-bottom: 8px; }
.cta-band p { font-size: 14.5px; margin-bottom: 22px; }
.cta-band .btn { width: 100%; }
.cta-qr { display: none; }

/* ---------- 店舗情報・表記 ---------- */
.shop-in { display: grid; gap: 28px; }
.info > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--stitch); line-height: 1.75; }
.info dt { font-weight: 700; color: var(--olive); font-size: 14.5px; }
.info dd a { text-decoration: underline; text-underline-offset: 3px; }
.info-small { font-size: 14px; margin-top: 6px; }
.info-small > div { grid-template-columns: 1fr; gap: 2px; }
.info-small dt { font-size: 13.5px; }

.legal { padding: 28px 0; }
.legal summary { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.legal h2 { font-size: 16px; font-weight: 700; letter-spacing: .04em; }

/* ---------- フッター ---------- */
.site-footer { padding: 36px 0 28px; text-align: center; font-size: 13.5px; line-height: 1.9; }
.footer-in img { width: min(300px, 78%); margin: 0 auto 12px; }
.footer-in a { text-underline-offset: 3px; }
.copy { margin-top: 14px; color: var(--ink-soft); font-size: 12.5px; }

/* ---------- 固定CTA（スマートフォン） ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, .96); border-top: 1px dashed var(--stitch);
}

.sp { display: inline; }

/* ========== タブレット・PC ========== */
@media (min-width: 800px) {
  body { padding-bottom: 0; font-size: 16.5px; }
  .fixed-cta { display: none; }
  .sp { display: none; }
  .wrap { padding: 0 32px; }
  .header-in { height: 68px; }
  .nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
  .nav a { text-decoration: none; }
  .nav a:hover { color: var(--terra); }
  .btn-small { display: inline-flex; }
  .btn-main, .cta-band .btn { width: auto; }

  .hero { padding: 48px 0 24px; }
  .hero-in { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 36px; }
  .hero h1 { font-size: clamp(44px, 5.2vw, 64px); }
  .lead { font-size: 16.5px; }
  .lead br { display: inline; }
  .hours { text-align: left; }
  .hero-art { margin: 0; }

  .features { padding: 0; }
  .feature-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .feature-list li { padding: 30px 26px; grid-template-columns: 56px 1fr; }
  .feature-list li + li { border-top: 0; border-left: 1px dashed rgba(255,255,255,.45); }

  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 34px; }

  .price-top { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .price-tables { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .price-tables details { border-top: 1px solid var(--ink); border-bottom: 0; }

  .flow-in { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .flow h3 { font-size: 20px; }
  .flow p { font-size: 15.5px; }

  .cta-band { padding: 64px 0; text-align: left; }
  .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .cta-band h2 { font-size: 32px; }
  .cta-qr { display: block; text-align: center; font-size: 13px; line-height: 1.6; }
  .cta-qr img { background: #fff; padding: 8px; border-radius: 8px; margin: 0 auto 8px; }
  .cta-qr p { margin: 0; }

  .shop-in { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .info-small > div { grid-template-columns: 10em 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* フッターの看板イラストは縁をぼかして背景になじませる */
.footer-in img {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 58%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 58%, transparent 72%);
}
