@font-face{font-family:"ZK";src:url(fonts/zk-r.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"ZK";src:url(fonts/zk-b.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"SMB";src:url(fonts/smb.woff2) format("woff2");font-weight:800;font-display:swap}

:root{
  --ji:#231812;      /* こげ茶（とみ吉の HP と同じ） */
  --kami:#f4ead6;    /* 生成り（ページの地） */
  --kami2:#ebdfc6;   /* 生成り（少し濃い） */
  --sumi:#2a1c15;    /* 文字 */
  --usu:#6e5a48;     /* 控えめな文字 */
  --shu:#c63f26;     /* 提灯の朱 */
  --karashi:#dcaa3e; /* からし */
  --sen:rgba(42,28,21,.16);
  --talk:#cdc6b8;    /* トークの地（見立て） */
  --mincho:"SMB","Hiragino Mincho ProN","Yu Mincho",serif;
  --gothic:"ZK","Hiragino Sans","Yu Gothic",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--kami);color:var(--sumi);font-family:var(--gothic);font-size:16px;line-height:1.8}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
ul,ol{list-style:none}

/* ---------- 上の帯 ---------- */
.top{background:var(--ji);color:var(--kami);padding:56px 20px 48px;text-align:center}
.top-in{max-width:760px;margin:0 auto}
.top-kicker{font-size:13px;letter-spacing:.12em;color:var(--karashi);font-weight:700}
.top-logo{width:170px;margin:18px auto 6px}
.top-shop{font-family:var(--mincho);font-weight:800;font-size:17px;letter-spacing:.2em}
.top-lead{margin-top:22px;font-size:15px;line-height:1.9;color:#e7dcc6}
.top-list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.top-list a{display:block;border:1px solid rgba(244,234,214,.45);border-radius:4px;padding:5px 14px;font-size:13px;text-decoration:none;color:var(--kami)}
.top-list a:hover{background:rgba(244,234,214,.1)}

/* ---------- 区切り ---------- */
.sec{max-width:1200px;margin:0 auto;padding:72px 20px 8px}
.h2{font-family:var(--mincho);font-weight:800;font-size:30px;line-height:1.4;letter-spacing:.06em;display:flex;align-items:center;gap:14px}
.h2-no{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--shu);color:var(--kami);font-size:20px;letter-spacing:0;flex:none}
.sec-lead{margin-top:12px;max-width:40em;color:var(--usu);font-size:15.5px}
.h3{font-family:var(--mincho);font-weight:800;font-size:19px;letter-spacing:.04em;margin-bottom:12px}

/* ---------- スマホの見立て ---------- */
.shot{width:340px;max-width:100%;flex:none;display:flex;flex-direction:column}
.shot .phone{flex:1;display:flex}
.shot .screen{flex:1}
.phone{background:#1d1511;border-radius:42px;padding:11px;box-shadow:0 14px 30px rgba(35,24,18,.22)}
.screen{background:var(--talk);border-radius:32px;overflow:hidden;display:flex;flex-direction:column;min-height:620px}
.screen-white{background:#fff}
.bar{display:flex;align-items:center;gap:8px;height:52px;padding:0 14px;background:#f8f4ec;border-bottom:1px solid rgba(0,0,0,.06);font-size:14px;font-weight:700;flex:none}
.bar-white{background:#fff}
.bar-back{font-size:24px;line-height:1;color:#555;width:16px}
.bar-icon{width:26px;height:26px;border-radius:50%}
.bar-name{color:#222}
.talk{padding:12px 12px 16px;flex:1}
.talk-short{min-height:150px}
.chip{width:max-content;margin:2px auto 12px;padding:0 12px;border-radius:10px;background:rgba(40,30,20,.28);color:#fff;font-size:11px;line-height:20px}
.msg{display:flex;gap:7px;align-items:flex-start;margin-top:8px}
.msg-cont{padding-left:37px}
.av{width:30px;height:30px;border-radius:50%;flex:none}
.msg-body{display:flex;align-items:flex-end;gap:5px;max-width:250px}
.b{background:#fff;border-radius:16px;padding:10px 13px;font-size:14px;line-height:1.65;color:#222}
.b-img{width:228px;border-radius:14px}
.time{font-size:10px;color:#5d554a;flex:none;line-height:1.2}
.cap{margin-top:14px;text-align:center;font-size:14px;font-weight:700;color:var(--usu)}

/* クーポンの吹き出し */
.cp{width:210px;background:#fff;border-radius:14px;overflow:hidden}
.cp-in{padding:9px 12px 4px}
.cp-shop{font-size:11px;color:#777}
.cp-name{font-size:14px;font-weight:700;line-height:1.45;color:#222;margin-top:2px}
.cp-date{font-size:11px;color:#777;margin-top:4px}
.cp-btn{margin-top:8px;border-top:1px solid #eee;text-align:center;font-size:13px;font-weight:700;color:var(--shu);line-height:40px}

/* リッチメニュー（見立ての中） */
.rm{flex:none;border-top:1px solid rgba(0,0,0,.1)}
.rm-bar{flex:none;display:flex;align-items:center;height:42px;background:#f8f4ec;border-top:1px solid rgba(0,0,0,.08);padding:0 14px;font-size:12.5px;font-weight:700;color:#333}
.kb{width:20px;height:14px;border:2px solid #777;border-radius:3px;margin-right:10px}
.rm-label{flex:1;text-align:center;padding-right:30px}

/* ---------- 1. リッチメニューの割り振り ---------- */
.menu-wrap{display:flex;gap:48px;align-items:flex-start;margin-top:36px}
.menu-plan{flex:1;min-width:0}
.rm-big{position:relative;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(35,24,18,.16)}
.rm-no{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);counter-reset:rm}
.rm-no li{padding:10px;font-size:0;counter-increment:rm;display:flex;align-items:flex-end;justify-content:flex-end}
.rm-no li::before{content:counter(rm);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--kami);color:var(--sumi);font-size:15px;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.rm-key{margin-top:10px;font-size:13px;color:var(--usu)}
.plan{counter-reset:pl;margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:18px 32px}
.plan li{counter-increment:pl;position:relative;padding-left:42px}
.plan li::before{content:counter(pl);position:absolute;left:0;top:2px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--sumi);color:var(--kami);font-size:15px;font-weight:700}
.plan li:first-child::before{background:var(--shu)}
.plan b{font-family:var(--mincho);font-weight:800;font-size:18px;letter-spacing:.04em;margin-right:10px}
.act{display:inline-block;font-size:12px;font-weight:700;color:var(--shu);border:1px solid rgba(198,63,38,.45);border-radius:3px;padding:0 6px;line-height:20px;vertical-align:2px}
.plan p{font-size:14.5px;line-height:1.75;margin-top:4px}
.spec{margin-top:24px;padding-top:14px;border-top:1px solid var(--sen);font-size:13px;color:var(--usu)}

/* ---------- 並べ方 ---------- */
.shots{display:flex;flex-wrap:wrap;gap:48px;margin-top:36px;align-items:stretch;justify-content:center}
.shots .notes{align-self:flex-start}
.notes{flex:1 1 300px;min-width:280px;max-width:560px}
.why li{padding:14px 0;border-top:1px solid var(--sen);font-size:14.5px;line-height:1.75}
.why li:last-child{border-bottom:1px solid var(--sen)}
.why b{display:block;font-family:var(--mincho);font-weight:800;font-size:16.5px;letter-spacing:.03em;margin-bottom:2px}
.note-s{margin-top:12px;font-size:13px;color:var(--usu)}

/* ---------- クーポンの画面 ---------- */
.cpd-in{padding:16px 18px 22px}
.cpd-shop{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#555;font-weight:700}
.cpd-shop img{width:22px;height:22px;border-radius:50%}
.cpd-name{font-size:19px;font-weight:700;line-height:1.45;margin-top:8px;color:#1e1e1e}
.cpd-date{font-size:12px;color:#666;margin-top:6px}
.cpd-dl{margin-top:14px;border-top:1px solid #eee;padding-top:10px;font-size:13px;line-height:1.65;color:#333}
.cpd-dl dt{font-weight:700;margin-top:8px}
.cpd-btn{margin-top:18px;background:var(--ji);color:#fff;border-radius:24px;text-align:center;line-height:46px;font-weight:700;font-size:15px}

/* ---------- 判子帳の画面 ---------- */
.sc{padding:16px 14px 22px}
.sc-card{background:var(--ji);color:var(--kami);border-radius:14px;padding:20px 16px 18px;text-align:center}
.sc-logo{width:96px;margin:0 auto}
.sc-title{font-family:var(--mincho);font-weight:800;font-size:16px;letter-spacing:.14em;margin-top:6px}
.sc-stamps{display:flex;justify-content:center;gap:14px;margin-top:16px}
.sc-stamps li{width:64px;height:64px;border-radius:50%;border:2px dashed rgba(244,234,214,.4);display:grid;place-items:center}
.sc-stamps li.on{border:0}
.sc-stamps img{width:64px;height:64px}
.sc-goal{margin-top:14px;font-size:13px;font-weight:700;color:var(--karashi)}
.sc-dl{margin-top:14px;font-size:13px;line-height:1.65;color:#333}
.sc-dl dt{font-weight:700;margin-top:10px}
.sc-h{margin-top:18px;padding-top:12px;border-top:1px solid #eee;font-size:12.5px;font-weight:700;color:#333}
.sc-log li{display:flex;justify-content:space-between;font-size:12.5px;color:#444;padding:6px 0;border-bottom:1px solid #f0f0f0}
.sc-next{margin-top:10px;font-size:12px;color:#888}
.h3-set{margin-top:28px;font-size:16px}
.setlist{counter-reset:st}
.setlist li{counter-increment:st;display:grid;grid-template-columns:28px 1fr 1fr;gap:10px;padding:7px 0;border-top:1px solid var(--sen);font-size:13.5px;line-height:1.6}
.setlist li::before{content:counter(st);font-weight:700;color:var(--shu)}
.setlist li:last-child{border-bottom:1px solid var(--sen)}
.spec-s{margin-top:8px;padding-top:0;border-top:0}

/* ---------- 5. 動かし方 ---------- */
.run{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:30px}
.run-box{background:var(--kami2);border-radius:10px;padding:22px 24px}
.run-box p{font-size:15px;line-height:1.85}
.run-box .run-note{margin-top:14px;padding-top:12px;border-top:1px solid var(--sen);font-size:13.5px;line-height:1.75;color:var(--usu)}
.todo li{position:relative;padding:8px 0 8px 22px;font-size:15px;line-height:1.75;border-top:1px solid var(--sen)}
.todo li:first-child{border-top:0;padding-top:0}
.todo li::before{content:"";position:absolute;left:2px;top:17px;width:9px;height:9px;border-radius:50%;background:var(--shu)}
.todo li:first-child::before{top:9px}
.todo b{display:block;font-weight:700}

/* ---------- 締め：得られる効果 ---------- */
.kouka{margin:80px 20px 0;}
.kouka-in{max-width:1000px;margin:0 auto;background:var(--ji);color:var(--kami);border-radius:14px;padding:52px 48px;text-align:center;border-top:6px solid var(--shu)}
.kouka-kicker{font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--karashi)}
.kouka-h{font-family:var(--mincho);font-weight:800;font-size:34px;line-height:1.5;letter-spacing:.06em;margin-top:12px}
.kouka-p{max-width:34em;margin:20px auto 0;font-size:16.5px;line-height:1.95;color:#eadfca}
.kouka-list{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:26px}
.kouka-list li{background:var(--shu);color:var(--kami);border-radius:999px;padding:6px 18px;font-size:14px;font-weight:700}
.kouka-list li+li::before{content:""}
.br-sp{display:none}

/* ---------- 下 ---------- */
.foot{margin-top:72px;background:var(--ji);color:#d8ccb6;text-align:center;padding:36px 20px 40px;font-size:13px}
.foot a{color:var(--kami);font-weight:700;font-size:15px}
.foot-note{max-width:40em;margin:14px auto 0;line-height:1.8}

/* ---------- 狭い画面 ---------- */
@media (max-width:980px){
  .menu-wrap{flex-direction:column;align-items:center}
  .menu-plan{width:100%}
}
@media (max-width:720px){
  .top{padding:40px 16px 36px}
  .top-logo{width:140px}
  .top-lead{font-size:14.5px;text-align:left}
  .sec{padding:56px 16px 4px}
  .h2{font-size:24px}
  .h2-no{width:38px;height:38px;font-size:18px}
  .plan{grid-template-columns:1fr}
  .setlist li{grid-template-columns:24px 1fr;gap:2px 8px}
  .setlist li span:last-child{grid-column:2}
  .rm-no li{padding:6px}
  .rm-no li::before{width:22px;height:22px;font-size:12px}
  .shots{justify-content:center}
  .notes{max-width:none}
  .run{grid-template-columns:1fr}
  .run-box{padding:18px}
  .kouka{margin:56px 16px 0}
  .kouka-in{padding:36px 20px}
  .kouka-h{font-size:24px}
  .kouka-p{font-size:15.5px;text-align:left}
  .br-sp{display:inline}
}

/* 見やすさの直し（2026-12-06。点検 tools/check_a11y.mjs の ⚠️ への対応：文字 12px 以上・文字と背景の差 4.5 以上・押すところ 44px 角）
   押すところは、見えない当たり判定（::before）を外側に広げているだけで、見た目は変えていない */
:root{--shu:#bd3a22}
.chip{background:rgba(40,30,20,.55);font-size:12px}
.time{font-size:12px;color:#4a4339}
.sc-next{color:#6b6b6b}
.top-list a{position:relative}.top-list a::before{content:"";position:absolute;inset:-5px -0px}
.foot a{position:relative}.foot a::before{content:"";position:absolute;inset:-12px -0px}
.cp-shop,.cp-date{font-size:12px;color:#6b6b6b}
