/* パターンF：職人・顔出し型（レシピFトークン） */
:root {
  --base: #faf8f5;
  --surface: #ffffff;
  --alt: #f0ebe2;
  --ink: #2b2823;
  --main: #33302a;
  --accent: #8a6d3b;
  --accent-ink: #755c2d;
  --line: #e2dacb;
  --cta: #9e3b26;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85; letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
.sample-banner { background: var(--main); color: #fff; text-align: center; font-size: 0.82rem; font-weight: 700; line-height: 1.6; padding: 8px 12px; }

header { max-width: 960px; margin: 0 auto; padding: 22px 16px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.logo { margin: 0; font-size: 1.45rem; font-weight: 700; }
.logo a { color: var(--main); text-decoration: none; }
.logo small { display: block; font-size: 0.78rem; letter-spacing: 0.28em; color: var(--accent-ink); font-weight: 700; }
.header-tel { margin: 0; white-space: nowrap; }
.header-tel a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }

main { max-width: 960px; margin: 0 auto; padding: 0 16px; }
/* FV */
.hero { padding-top: 18px; }
.hero h1 { font-size: 2rem; line-height: 1.45; margin: 0 0 8px; color: var(--main); }
.hero .hero-sub { margin: 0 0 18px; font-size: 1.05rem; }
.hero-photo { border-radius: 10px; overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-note { font-size: 0.8rem; color: #5c5546; margin: 8px 2px 0; }

/* 信頼帯：数字＋資格＋顔 */
.trust-band {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 10px; padding: 26px 24px; margin-top: 26px;
  display: grid; grid-template-columns: 168px 1fr auto; gap: 10px 28px; align-items: center;
}
.trust-photo { grid-row: span 2; width: 168px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.trust-num { text-align: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.trust-num .num { font-size: 3.2rem; font-weight: 700; line-height: 1.1; color: var(--accent-ink); }
.trust-num .num small { font-size: 1.3rem; }
.trust-num .num-label { margin: 4px 0 0; font-weight: 700; color: var(--main); }
.trust-who h2 { margin: 0 0 4px; font-size: 1.35rem; color: var(--main); }
.trust-who p { margin: 0; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { border: 2px solid var(--accent-ink); color: var(--accent-ink); font-weight: 700; border-radius: 4px; padding: 3px 12px; font-size: 0.95rem; background: var(--base); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px; border-radius: 4px;
  background: var(--cta); color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem;
}
.btn-sub { background: var(--surface); color: var(--main); border: 2px solid var(--main); }
.branch { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.branch a {
  background: var(--alt); border-radius: 10px; padding: 20px; text-decoration: none; color: var(--main);
  font-weight: 700; font-size: 1.1rem; display: block; border: 1px solid var(--line);
}
.branch a small { display: block; font-weight: 400; font-size: 0.92rem; color: var(--ink); margin-top: 4px; }

section.block { padding: 54px 0 8px; }
.sec-label { margin: 0; font-size: 0.8rem; letter-spacing: 0.3em; color: var(--accent-ink); font-weight: 700; }
h2.sec-title { font-size: 1.55rem; line-height: 1.45; color: var(--main); margin: 6px 0 18px; }
.sec-rule { border: none; border-top: 2px solid var(--accent); width: 44px; margin: 0 0 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.two-col img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 施術の流れ */
ol.flow { list-style: none; counter-reset: flow; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
ol.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
ol.flow li::before {
  counter-increment: flow; content: counter(flow);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-ink); color: #fff;
  font-weight: 700; margin-bottom: 8px;
}
ol.flow h3 { margin: 0 0 4px; font-size: 1.08rem; color: var(--main); }
ol.flow p { margin: 0; }

table.price { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table.price th, table.price td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.price th { color: var(--main); width: 55%; }
table.price th small { display: block; font-weight: 400; color: var(--ink); font-size: 0.9rem; }
table.price td { text-align: right; font-weight: 700; white-space: nowrap; }
table.price tr:last-child th, table.price tr:last-child td { border-bottom: none; }
.price-note { font-size: 0.92rem; margin: 10px 2px 0; }

table.info { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table.info th, table.info td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info th { width: 6.5em; color: var(--main); }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }

.cta-band { background: var(--alt); border-radius: 10px; padding: 26px 22px; text-align: center; margin: 52px 0 8px; }
.cta-band p { margin: 0 0 6px; font-weight: 700; color: var(--main); font-size: 1.1rem; }
.cta-band .hours { margin: 0 0 16px; font-weight: 400; font-size: 0.98rem; }

footer { margin-top: 56px; background: var(--main); color: #f3eddd; padding: 34px 16px 92px; }
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-logo { font-weight: 700; font-size: 1.2rem; margin: 0 0 6px; }
footer p { margin: 0 0 8px; }
.credits { font-size: 0.8rem; color: #d9d0ba; margin-top: 18px; }

.cta-bar { display: none; }
@media (max-width: 720px) {
  .trust-band { grid-template-columns: 1fr; }
  .trust-photo { width: 200px; margin: 0 auto; }
  .trust-num { border-top: 1px solid var(--line); padding-top: 12px; }
  .badges { justify-content: center; }
  .hero-actions .btn { flex: 1; }
  .branch, .two-col, ol.flow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    padding-bottom: env(safe-area-inset-bottom); background: var(--main);
  }
  .cta-bar a { flex: 1; text-align: center; color: #fff; font-weight: 700; padding: 15px 4px; text-decoration: none; }
  .cta-bar .cta-tel { background: var(--cta); }
}

/* ================================================================
   インタラクション・フィードバック標準 v1（IF-STD v1 / 2026-11-18）
   仕様の正本: templates/motion-parts.md「インタラクション・フィードバック標準」
   押せる要素すべてに「触っているのが分かる」反応を付ける共通ルール。
   骨格（0.2秒・イージング・変化量）は全サイト統一。色は各サイトの変数を使う。
   ================================================================ */
:root {
  --if-dur: .2s;
  --if-ease: cubic-bezier(.25, .7, .3, 1);
  --if-focus: var(--cta, #9e3b26);
  --if-shadow: 0 8px 20px rgba(43, 36, 28, .16);
  --if-shadow-sm: 0 3px 8px rgba(43, 36, 28, .14);
}

/* 下地：色・影・透明度・下線は常になめらかに変化させる（動き自体は付けない） */
a, button, [role="button"], summary {
  -webkit-tap-highlight-color: transparent;
  transition: color var(--if-dur) var(--if-ease),
    background-color var(--if-dur) var(--if-ease),
    border-color var(--if-dur) var(--if-ease),
    box-shadow var(--if-dur) var(--if-ease),
    opacity var(--if-dur) var(--if-ease),
    text-decoration-color var(--if-dur) var(--if-ease);
}

/* 本文中テキストリンク：動きでなく、下線の太さで反応する */
a:hover { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 押した瞬間の反応（スマホのタップでも効く） */
a:active, button:active, [role="button"]:active { opacity: .72; }

/* キーボード操作時の位置表示（消さない） */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--if-focus);
  outline-offset: 2px;
}

/* ボタン・カードの「浮く／沈む」は、動きを減らす設定でない環境でのみ付ける */
@media (prefers-reduced-motion: no-preference) {
  .btn, .btn-main, .btn-sub, .btn-ghost, .btn-tel, .btn-light,
  .cta-tel, .cta-map, .cta-mail, .cta-price, .mail-big,
  button, input[type="submit"], input[type="button"], [role="button"],
  .card, .sample-card, .works-card, .staff-card, .feature-card,
  .svc-card, .stock-card, .set-card, .trio-card, .class-card {
    transition: color var(--if-dur) var(--if-ease),
      background-color var(--if-dur) var(--if-ease),
      border-color var(--if-dur) var(--if-ease),
      box-shadow var(--if-dur) var(--if-ease),
      opacity var(--if-dur) var(--if-ease),
      transform var(--if-dur) var(--if-ease);
  }
  .btn:hover, .btn-main:hover, .btn-sub:hover, .btn-ghost:hover,
  .btn-tel:hover, .btn-light:hover,
  .cta-tel:hover, .cta-map:hover, .cta-mail:hover, .cta-price:hover,
  .mail-big:hover, button:hover, [role="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--if-shadow);
  }
  .btn:active, .btn-main:active, .btn-sub:active, .btn-ghost:active,
  .btn-tel:active, .btn-light:active,
  .cta-tel:active, .cta-map:active, .cta-mail:active, .cta-price:active,
  .mail-big:active, button:active, [role="button"]:active {
    transform: translateY(0) scale(.98);
    box-shadow: var(--if-shadow-sm);
    opacity: 1;
  }
  .card:hover, .sample-card:hover, .works-card:hover, .staff-card:hover,
  .feature-card:hover, .svc-card:hover, .stock-card:hover, .set-card:hover,
  .trio-card:hover, .class-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--if-shadow);
  }
}

/* 動きを減らす設定：動きは止め、色の変化だけを即時に効かせる */
@media (prefers-reduced-motion: reduce) {
  a, button, [role="button"], summary,
  .card, .sample-card, .works-card, .staff-card, .feature-card,
  .svc-card, .stock-card, .set-card, .trio-card, .class-card {
    transition: none;
  }
}
