/* 飲食店向けのサイト（/・/mihon・/ryoukin）の見た目。品書きの和紙と朱に合わせる */
:root {
  --ink: #1b1a18; --sub: #6b665e; --line: #ddd6c8; --paper: #f7f3ec; --card: #fffdf9;
  --shu: #b8352a; --shu-d: #96281f; --sumi: #141312; --gold: #e0b03a;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); line-height: 1.8; }
a { color: var(--shu); }
img { max-width: 100%; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* 上の帯（のれん） */
.top { background: var(--sumi); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-family: var(--mincho); font-weight: 700; letter-spacing: .12em; font-size: 17px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; padding: 8px 9px; border-radius: 6px; min-height: 40px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.nav a.cta { background: var(--shu); }
@media (max-width: 480px) { .nav a.home { display: none; } .top .wrap { padding-bottom: 6px; } }
.band { height: 4px; background: var(--gold); width: 120px; margin: 0 auto; }

/* 見出し・段 */
h1, h2, h3 { font-family: var(--mincho); font-weight: 700; line-height: 1.4; }
section { padding: 40px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-title { text-align: center; font-size: 24px; letter-spacing: .1em; margin: 0 0 6px; }
.sec-lead { text-align: center; color: var(--sub); margin: 0 auto 24px; max-width: 640px; }

/* はじめの大きな段 */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; gap: 24px; align-items: center; }
.hero h1 { font-size: 25px; margin: 0 0 12px; letter-spacing: .04em; }
@media (min-width: 420px) { .hero h1 { font-size: 30px; letter-spacing: .06em; } }
.hero p { margin: 0 0 18px; font-size: 16px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid var(--shu); }
.btn.main { background: var(--shu); color: #fff; }
.btn.main:hover { background: var(--shu-d); }
.btn.sub { background: transparent; color: var(--shu); }
.btn:has(small) { flex-direction: column; line-height: 1.35; }
.btn small { display: block; font-size: 12px; font-weight: 400; }   /* ボタンの中の小さな添え書き */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.phone { border-radius: 18px; overflow: hidden; border: 6px solid var(--sumi); background: var(--sumi); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.phone img { width: 100%; height: auto; aspect-ratio: 375 / 700; object-fit: cover; object-position: top; }
.phones .phone:nth-child(2) { margin-top: 24px; }
@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; }
  .hero h1 { font-size: 36px; }
}

/* 業種の札 */
.kinds { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kinds a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }

/* できること */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--sub); font-size: 14px; }

/* 手順 */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--sumi); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; font-size: 16px; }
.steps span { color: var(--sub); font-size: 14px; }

/* 見本の一覧 */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sample { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.sample img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e3d8; }
.sample .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sample .k { font-size: 13px; color: var(--shu); font-weight: 700; }
.sample .n { font-family: var(--mincho); font-weight: 700; font-size: 18px; }
.sample .p { font-size: 13px; color: var(--sub); }
.sample .p code { font-size: 14px; color: var(--ink); background: #f0ebe1; padding: 1px 6px; border-radius: 4px; }
.sample .go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.sample .go a { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; border: 2px solid var(--shu); color: var(--shu); }
.sample .go a.edit { background: var(--shu); color: #fff; }
.note { background: #fff7e6; border: 1px solid #f0d9a6; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 0 0 18px; }

/* 料金 */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; max-width: 640px; margin: 0 auto; }
.price { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.price.best { border-color: var(--shu); }
.price h3 { margin: 0; font-size: 18px; }
.price .yen { font-family: var(--mincho); font-size: 36px; font-weight: 700; margin: 6px 0 0; }
.price .yen small { font-size: 16px; }
.price .per { color: var(--sub); font-size: 14px; margin: 0 0 12px; }
.price .tag { display: inline-block; background: var(--shu); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 10px; }
.price .btn { width: 100%; }
.closed-msg { text-align: center; color: var(--sub); font-size: 14px; margin: 14px 0 0; }
.incl { max-width: 640px; margin: 18px auto 0; padding-left: 1.2em; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 8px; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.faq p { margin: 8px 0 0; color: var(--sub); font-size: 15px; }

/* 下 */
.foot { background: var(--sumi); color: #cfc9bf; text-align: center; font-size: 13px; padding: 24px 16px 32px; }
.foot a { color: #fff; }
.foot nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.cta-band { text-align: center; }
.cta-band .btns { justify-content: center; }

.hero .lead-strong { font-weight: 700; font-size: 18px; margin-top: 0; }   /* 見出しの下の一言 */
.qa-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 760px; margin: 0 auto; }
.qa-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; }
.qa-h { font-size: 20px; margin: 0 0 14px; padding-left: 10px; border-left: 4px solid var(--shu); }
section[id] { scroll-margin-top: 70px; }
.qa-more { text-align: center; margin: 16px 0 0; }
.qa-more a { color: var(--shu); }
/* ひとつの仕組みで 11 通り：携帯では横に流す・広い画面では並べる */
.vars { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
.var { scroll-snap-align: start; display: block; text-decoration: none; color: var(--ink); text-align: center; }
.var img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.12); background: #fff; }
.var span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.var-tip { text-align: center; color: var(--sub); font-size: 13px; margin: 4px 0 0; }
@media (min-width: 760px) { .vars { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; } .var-tip { display: none; } }
/* トップの携帯 3 台の下に、お店に置く QR の札の見本（本物の QR・しろくまの見本が開く）。携帯には重ねない */
.qr-sample { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; text-decoration: none; color: var(--ink); }
.qr-sample img { display: block; width: 30%; max-width: 150px; height: auto; border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.22); background: #fff; transform: rotate(-3deg); }
.qr-sample span { font-size: 13px; font-weight: 700; line-height: 1.6; text-align: left; }
/* 申し込みのボタン：受け付けを始めるまでは押せない「準備中」 */
.btn.soon { background: #b9b2a6; border-color: #b9b2a6; color: #fff; cursor: not-allowed; pointer-events: none; }
/* できないこと：できることの下に、短い一覧で */
.cannot { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; gap: 8px; }
.cannot li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid #8a8378; border-radius: 10px; padding: 12px 14px; }
.cannot b { display: block; font-size: 15px; }
.cannot span { display: block; margin-top: 2px; color: var(--sub); font-size: 14px; }
/* トップの「LINE で友だちに教える」（LINE の緑） */
.btn.line { background: #06c755; border-color: #06c755; color: #fff; }
.btn.line:hover { background: #05b34c; }
/* トップの縦動画 2 本：携帯では縦に、広い画面では横に並べる */
.vids { display: grid; gap: 18px; justify-content: center; grid-template-columns: minmax(0, 340px); }
.vids figure { margin: 0; text-align: center; }
.vids video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; background: #141312; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.vids figcaption { margin-top: 8px; font-size: 14px; font-weight: 700; }
@media (min-width: 760px) { .vids { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 32px; } }
