/* パターンD：看板・名刺型（レシピDトークン） */
:root {
  --base: #f7f3ea;
  --surface: #fffdf8;
  --alt: #efe8d8;
  --ink: #33302a;
  --main: #4a4234;
  --accent: #5d7350;
  --accent-ink: #46573c;
  --line: #ddd2bd;
  --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.9; 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 { padding: 26px 16px 0; }
.signboard {
  max-width: 880px; margin: 0 auto; background: var(--main); color: #fffdf8;
  border-radius: 10px; padding: 22px 20px 18px; text-align: center;
  box-shadow: 0 10px 30px rgba(74,66,52,.18);
}
.signboard .sb-en { margin: 0; font-size: 0.8rem; letter-spacing: 0.32em; color: #e8dfc9; }
.signboard h1, .signboard .sb-name {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700; font-size: 2rem; letter-spacing: 0.1em; margin: 4px 0 2px; line-height: 1.4;
}
.signboard .sb-sub { margin: 0; font-size: 0.95rem; color: #efe8d8; }
.header-tel { max-width: 880px; margin: 12px auto 0; text-align: center; }
.header-tel a { font-weight: 700; font-size: 1.1rem; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }

main { max-width: 880px; margin: 0 auto; padding: 0 16px; }
section.block { padding: 52px 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-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.55rem; line-height: 1.4; color: var(--main); margin: 6px 0 18px;
}
.sec-rule { border: none; border-top: 2px solid var(--accent); width: 44px; margin: 0 0 22px; }

/* FV：写真＋名刺情報 */
.hero { padding-top: 26px; }
.hero-photo { border-radius: 999px 999px 10px 10px; overflow: hidden; border: 1px solid var(--line); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-note { font-size: 0.8rem; color: #5c5546; margin: 8px 2px 0; }
.namecard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 22px 8px; margin-top: 20px;
}
.namecard table { width: 100%; border-collapse: collapse; }
.namecard th, .namecard td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.namecard th { width: 6.5em; color: var(--main); font-weight: 700; }
.namecard tr:last-child th, .namecard tr:last-child td { border-bottom: none; }
.open-now { display: inline-block; background: var(--accent-ink); color: #fff; font-weight: 700; border-radius: 4px; padding: 1px 10px; font-size: 0.9rem; margin-right: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px; 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); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 4px; }

/* サービス */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { padding: 16px 18px 18px; }
.svc-body h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--main); }
.svc-body p { margin: 0 0 10px; }
.svc-price { font-weight: 700; color: var(--accent-ink); font-size: 1.08rem; }
.svc-price small { color: var(--ink); font-weight: 400; font-size: 0.85rem; }

/* 料金表 */
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 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; }

/* CTA帯 */
.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; color: var(--ink); }

footer { margin-top: 56px; background: var(--main); color: #f3eddd; padding: 34px 16px 90px; }
.footer-inner { max-width: 880px; margin: 0 auto; }
.footer-logo { font-family: "Zen Old Mincho", serif; 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) {
  .card-grid { grid-template-columns: 1fr; }
  .signboard h1, .signboard .sb-name { font-size: 1.6rem; }
  .hero-actions .btn { flex: 1; }
  .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;
  }
}
