/* カンバン— 町のお店の取材記事のサイト。見本の段階の共通の見た目。 */
:root{
  --ink:#1c1a17;
  --sub:#5d5850;
  --line:#d9d4cb;
  --paper:#ffffff;
  --brand:#c8331d;      /* サイトの色（朱） */
  --acc:#c8331d;        /* お店ごとの色。記事のページで上書きする */
  --acc-soft:#f6e3df;
  --mincho:"Shippori Mincho B1","Hiragino Mincho ProN","Yu Mincho",serif;
  --gothic:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic",sans-serif;
  --fude:"Yuji Syuku","Shippori Mincho B1",serif;
  --num:"Bebas Neue","Zen Kaku Gothic New",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font-family:var(--mincho);font-size:17px;line-height:1.9;font-feature-settings:"palt"}
img,video{display:block;max-width:100%}
a{color:inherit}
.tate{writing-mode:vertical-rl;text-orientation:mixed}
.tcy{text-combine-upright:all}

/* 誌名のロゴ・柱・札・記事の終わり・足は issue.css */

/* ---- 見本の印（公開前に外す） ---- */
.draft{position:fixed;right:10px;bottom:10px;z-index:50;background:#111;color:#fff;font-family:var(--gothic);font-size:12px;padding:6px 10px;border-radius:4px;opacity:.85}

/* =========================================================
   記事：雑誌風の見開き
   パソコン：右に大きな外観（1ページ目）、左に料理とDATA（2ページ目）
   スマホ：外観 → 料理 → DATA の順に縦に並ぶ
   ========================================================= */
.spread{display:grid;grid-template-columns:1fr;gap:0;max-width:1320px;margin:0 auto}
@media (min-width:980px){
  .spread{grid-template-columns:1fr 1fr;direction:rtl;padding:28px clamp(16px,3vw,40px) 0;gap:28px}
  .spread>*{direction:ltr}
}

/* 1ページ目：外観 */
.p-hero{position:relative;overflow:hidden;background:#111;min-height:78vh}
.p-hero>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
@media (min-width:980px){.p-hero{min-height:760px}}  /* 左のページと同じ高さまで伸ばす */
.p-hero .edge{position:absolute;top:0;right:0;bottom:0;width:22px;background:var(--acc)}
.badge{position:absolute;top:5%;right:30px;width:clamp(150px,30%,210px);aspect-ratio:1;border-radius:50%;background:var(--acc);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 5px var(--acc),0 0 0 7px #fff,0 0 0 11px var(--acc)}
.badge::before{content:"";position:absolute;inset:10px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.6)}
.badge .tate{font-weight:800;font-size:clamp(22px,2.4vw,30px);line-height:1.25;letter-spacing:.1em}
.hero-catch{position:absolute;left:6%;bottom:9%;display:flex;gap:10px}
.hero-catch span{writing-mode:vertical-rl;background:#fff;color:var(--acc);font-weight:800;font-size:clamp(22px,2.6vw,32px);letter-spacing:.14em;padding:14px 6px;line-height:1.1;box-shadow:3px 3px 0 var(--acc)}
.hero-catch span:first-child{margin-top:2.2em}
@media (max-width:979px){
  .hero-catch{bottom:6%}
  .hero-catch span{font-size:19px;padding:10px 4px}
  .lede-tate{font-size:12px}
  .badge{width:130px}
}
.hero-cap{position:absolute;right:34px;bottom:14px;color:#fff;font-family:var(--gothic);font-size:11px;text-shadow:0 1px 3px rgba(0,0,0,.8);text-align:right}
.lede-tate{position:absolute;left:6%;top:4%;color:#fff;font-size:14px;font-weight:700;letter-spacing:.12em;line-height:1.8;text-shadow:0 1px 4px rgba(0,0,0,.9)}

/* 2ページ目：料理・店名・DATA */
.p-food{display:grid;grid-template-columns:1fr;gap:14px;padding:16px}
@media (min-width:980px){.p-food{padding:0}}
.dish-main{position:relative}
.dish-main img{width:100%;aspect-ratio:4/3;object-fit:cover}
.dish-main .cap{position:absolute;right:12px;top:12px;max-width:14.5em;background:rgba(255,255,255,.94);padding:10px 12px;font-family:var(--gothic);font-size:12px;line-height:1.65}
.cap b{display:block;font-family:var(--mincho);font-size:16px}
.cap .yen{color:var(--acc);font-weight:700}
.dish-sub{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dish-sub figure{position:relative}
.dish-sub img{width:100%;aspect-ratio:4/3;object-fit:cover}
.dish-sub figcaption{font-family:var(--gothic);font-size:12px;line-height:1.6;padding-top:6px}
.dish-sub figcaption b{font-family:var(--mincho);font-size:14px;margin-right:.6em}

.data-row{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}
.shopname{background:var(--acc);color:#fff;padding:16px 10px;display:flex;flex-direction:row-reverse;gap:6px;align-items:flex-start}
.shopname .area{writing-mode:vertical-rl;font-family:var(--gothic);font-size:12px;letter-spacing:.2em;background:#fff;color:var(--acc);padding:6px 2px;font-weight:700}
.shopname .name{writing-mode:vertical-rl;font-weight:800;font-size:30px;letter-spacing:.18em;line-height:1}
.shopname .kana{writing-mode:vertical-rl;font-family:var(--gothic);font-size:10px;letter-spacing:.2em;opacity:.9}
.datebox{font-family:var(--gothic);font-size:13px;line-height:1.7}
.datebox h3{font-family:var(--gothic);font-size:12px;letter-spacing:.3em;color:var(--acc);border-bottom:2px solid var(--acc);padding-bottom:2px;margin-bottom:6px}
.datebox dl{display:grid;grid-template-columns:auto 1fr;gap:3px 8px}
.datebox dt{background:var(--acc);color:#fff;font-size:11px;padding:0 5px;height:1.7em;line-height:1.7em;border-radius:2px;text-align:center;min-width:2.6em}
.datebox dd a{color:var(--acc);font-weight:700}
.datebox .note{font-size:11px;color:var(--sub);margin-top:6px}
.data-photos{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.data-photos img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10}
.data-photos .tall img{aspect-ratio:auto;height:100%}

/* =========================================================
   取材記事（パソコンは縦書き、スマホは横書き）
   ========================================================= */
.story{max-width:1180px;margin:56px auto 0;padding:0 clamp(16px,4vw,40px)}
.story-head{display:flex;align-items:center;gap:14px;font-family:var(--gothic);font-size:12px;letter-spacing:.2em;color:var(--acc);margin-bottom:22px}
.story-head::after{content:"";flex:1;height:1px;background:var(--acc)}
.chapter{margin:0 0 48px}
.chapter h2{font-weight:800;font-size:clamp(24px,3.2vw,34px);letter-spacing:.06em;line-height:1.4;margin-bottom:18px}
.chapter h2 small{display:block;font-family:var(--gothic);font-size:12px;letter-spacing:.3em;color:var(--acc);font-weight:700;margin-bottom:6px}
.chapter p{margin-bottom:1em;text-align:justify}
.dropcap{display:inline-block;background:var(--acc);color:#fff;font-weight:800;font-size:1.9em;line-height:1.15;padding:.08em .14em;margin:0 .12em .1em 0}

@media (min-width:980px){
  .chapters{display:flex;flex-direction:column;gap:40px}
  .chapter{display:flex;flex-direction:row-reverse;gap:34px;align-items:flex-start;margin:0;padding-bottom:40px;border-bottom:1px solid var(--line)}
  .chapter h2{writing-mode:vertical-rl;flex:none;margin:0;font-size:32px;line-height:1.35}
  .chapter h2 small{margin:0 0 0 10px;letter-spacing:.4em}
  .chapter .body{writing-mode:vertical-rl;height:27em;flex:1;overflow-x:auto;line-height:2}
  .chapter .body p{margin:0 0 0 1em;text-indent:1em}
  .chapter .body p.first{text-indent:0}
  .dropcap{margin:0 0 .12em .1em;padding:.14em .06em}
  .chapter figure.side{flex:none;width:280px;writing-mode:horizontal-tb}
}
figure.side img,figure.side video{width:100%;aspect-ratio:3/4;object-fit:cover}
figure.side figcaption{font-family:var(--gothic);font-size:12px;color:var(--sub);padding-top:6px;line-height:1.6}

/* 店主の言葉の抜き出し */
.voices{margin:24px 0 56px;display:grid;gap:18px}
@media (min-width:760px){.voices{grid-template-columns:repeat(3,1fr)}}
.voice{border-top:4px solid var(--acc);padding-top:14px}
.voice q{display:block;font-weight:800;font-size:clamp(20px,2.3vw,26px);line-height:1.55;quotes:"「" "」"}
.voice q::before{color:var(--acc)} .voice q::after{color:var(--acc)}
.voice cite{display:block;font-family:var(--gothic);font-style:normal;font-size:12px;color:var(--sub);margin-top:8px}
@media (min-width:980px){
  .voices.tate-voices{display:flex;flex-direction:row-reverse;justify-content:center;gap:56px}
  .voices.tate-voices .voice{writing-mode:vertical-rl;border-top:0;border-right:4px solid var(--acc);padding:0 14px 0 0;max-height:22em}
  .voices.tate-voices cite{margin:0 10px 0 0}
}

/* 撮影の日：小さな写真つきのメモ */
.dayline{display:grid;gap:14px;margin:8px 0 0}
@media (min-width:760px){.dayline{grid-template-columns:repeat(3,1fr)}}
.dayline figure img,.dayline figure video{width:100%;aspect-ratio:4/3;object-fit:cover}
.dayline figcaption{font-family:var(--gothic);font-size:13px;line-height:1.7;padding-top:8px}

/* 最後：この企画で作ったホームページと動画 */
.made{max-width:1180px;margin:24px auto 0;padding:0 clamp(16px,4vw,40px)}
.made-box{border:2px solid var(--ink);display:grid;gap:0}
@media (min-width:860px){.made-box{grid-template-columns:1.1fr 1fr}}
.made-box .txt{padding:24px}
.made-box .txt h3{font-size:22px;font-weight:800;margin-bottom:8px}
.made-box .txt p{font-family:var(--gothic);font-size:14px;line-height:1.85;margin-bottom:12px}
.btn{display:inline-block;background:var(--ink);color:#fff;text-decoration:none;font-family:var(--gothic);font-size:14px;font-weight:700;padding:12px 18px;letter-spacing:.06em}
.btn:hover{background:var(--acc)}
.movie{background:#111;color:#bbb;display:flex;align-items:center;justify-content:center;min-height:240px;font-family:var(--gothic);font-size:13px;text-align:center;line-height:1.8;padding:20px;position:relative}
.movie video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
.movie span{position:relative}
.disclose{margin-top:18px;font-family:var(--gothic);font-size:14px;color:var(--ink);line-height:1.9;border-left:4px solid var(--acc);padding:4px 0 4px 12px}

/* =========================================================
   トップ：雑誌の表紙
   ========================================================= */
.cover{position:relative;max-width:1320px;margin:0 auto;display:grid;grid-template-columns:1fr}
@media (min-width:980px){.cover{grid-template-columns:minmax(0,560px) 1fr;align-items:start;padding:28px clamp(16px,3vw,40px) 0;gap:28px}}
.cover-photo{position:relative;overflow:hidden;background:#111;aspect-ratio:210/297;container-type:inline-size;color:#fff;text-decoration:none;display:block}
.cover-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 50%}
.cover-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,0) 32%,rgba(0,0,0,0) 60%,rgba(0,0,0,.72));pointer-events:none}
.cover-photo>*:not(img){position:absolute;z-index:2}
@media (min-width:980px){.cover-photo{max-height:calc(100vh - 140px);justify-self:center;width:100%}}
/* 雑誌の表紙（STYLE.md 6）：上の帯 → 大きな英字の誌名＋カンバンの札 → 創刊号の印 → 縦書きの特集 → 左下の見出し → 下の帯。大きさは表紙の幅（cqw）に合わせる */
.cv-strip{left:4cqw;right:4cqw;top:3cqw;display:flex;justify-content:space-between;font-family:var(--gothic);font-size:max(10px,2cqw);font-weight:700;letter-spacing:.22em;border-bottom:1px solid rgba(255,255,255,.7);padding-bottom:1cqw}
.cv-strip i{font-family:var(--en);font-size:max(11px,2.4cqw);letter-spacing:.06em}
.cv-mast{left:2.6cqw;top:6.4cqw;font-family:var(--num);font-size:32.5cqw;line-height:.8;letter-spacing:.01em}
.cv-kana{right:3.4cqw;top:7.6cqw;writing-mode:vertical-rl;font-family:var(--mincho);font-weight:800;font-size:3.3cqw;letter-spacing:.35em;background:var(--brand);padding:1.4cqw .9cqw}
.cv-seal{right:5cqw;top:37cqw;width:17cqw;height:17cqw;border-radius:50%;background:#f2c230;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-12deg);font-family:var(--gothic);font-weight:900;line-height:1.1;box-shadow:0 3px 8px rgba(0,0,0,.4)}
.cv-seal span{font-size:2.7cqw;letter-spacing:.1em}
.cv-seal b{font-family:var(--num);font-weight:normal;font-size:5.8cqw;letter-spacing:.04em}
.cv-toku{right:4.6cqw;bottom:14cqw;writing-mode:vertical-rl;font-family:var(--fude);font-size:7.8cqw;letter-spacing:.12em;line-height:1.25;text-shadow:0 2px 10px rgba(0,0,0,.7)}
.cv-toku em{font-style:normal;display:inline-block;font-family:var(--gothic);font-weight:900;font-size:2.7cqw;background:#fff;color:var(--brand);padding:1cqw .5cqw;margin-bottom:1.8cqw;letter-spacing:.2em}
.cv-lines{left:4cqw;bottom:12.5cqw;display:flex;flex-direction:column;gap:2.2cqw;text-shadow:0 1px 6px rgba(0,0,0,.8)}
.cv-lines div{font-family:var(--mincho);font-weight:800;font-size:3.6cqw;line-height:1.35}
.cv-lines small{display:block;font-family:var(--gothic);font-weight:700;font-size:max(9px,2cqw);letter-spacing:.2em;color:#f2c230}
.cv-lines .red{background:var(--brand);padding:.3cqw 1.4cqw;font-size:4.1cqw;display:inline-block}
.cv-foot{left:4cqw;right:4cqw;bottom:3cqw;display:flex;justify-content:space-between;align-items:flex-end;gap:12px;font-family:var(--gothic);font-size:max(9px,1.8cqw);letter-spacing:.12em;border-top:1px solid rgba(255,255,255,.7);padding-top:1cqw}
.cv-foot b{font-family:var(--num);font-size:4.6cqw;font-weight:normal;letter-spacing:.08em;line-height:1}
.cover-side{padding:20px 16px;display:flex;flex-direction:column;gap:18px}
@media (min-width:980px){.cover-side{padding:0}}
.cover-side h2{font-family:var(--gothic);font-size:12px;letter-spacing:.3em;color:var(--brand);border-bottom:2px solid var(--brand);padding-bottom:4px}
.lead-card{display:grid;grid-template-columns:1fr;text-decoration:none;gap:10px}
.lead-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.lead-card .k{font-family:var(--gothic);font-size:12px;color:var(--brand);letter-spacing:.12em;font-weight:700}
.lead-card .h{font-weight:800;font-size:26px;line-height:1.4}
.lead-card .d{font-family:var(--gothic);font-size:13.5px;color:var(--sub);line-height:1.8}
.toc{list-style:none;display:grid;gap:10px}
.toc li{display:grid;grid-template-columns:90px 1fr;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:10px}
.toc .ph{aspect-ratio:1;background:repeating-linear-gradient(45deg,#f1eee9 0 8px,#e8e4dd 8px 16px);display:flex;align-items:center;justify-content:center;font-family:var(--gothic);font-size:11px;color:#8b857b}
.toc img{width:100%;aspect-ratio:1;object-fit:cover}
.toc .h{font-weight:800;font-size:17px;line-height:1.4}
.toc .k{font-family:var(--gothic);font-size:12px;color:var(--sub)}
.about{max-width:1180px;margin:56px auto 0;padding:0 clamp(16px,4vw,40px);display:grid;gap:24px}
@media (min-width:860px){.about{grid-template-columns:auto 1fr;gap:40px}}
.about h2{font-weight:800;font-size:28px;letter-spacing:.1em}
@media (min-width:860px){.about h2{writing-mode:vertical-rl}}
.about p{font-family:var(--gothic);font-size:15px;line-height:2;margin-bottom:12px}
.namebox{max-width:1180px;margin:56px auto 0;padding:0 clamp(16px,4vw,40px)}
.namebox .inner{border:2px dashed var(--brand);padding:20px 22px;font-family:var(--gothic);font-size:14px;line-height:1.9}
.namebox h3{font-size:15px;color:var(--brand);margin-bottom:8px}
.namebox .names{display:grid;gap:12px;margin-top:10px}
@media (min-width:760px){.namebox .names{grid-template-columns:repeat(3,1fr)}}
.namebox .n{border:1px solid var(--line);padding:12px}
.namebox .n b{display:block;font-family:var(--mincho);font-size:24px;letter-spacing:.08em}

/* ---- 書体の役割をそろえる（STYLE.md 3）：見出し・品名・最初の1文字は筆、値段は Bebas ---- */
.chapter h2{font-family:var(--fude);font-weight:normal;color:var(--acc)}
.chapter h2 small{color:var(--ink)}
.cap b,.dish-sub figcaption b{font-family:var(--fude);font-weight:normal}
.dropcap{font-family:var(--fude);font-weight:normal}
.made-box .txt h3{font-family:var(--fude);font-weight:normal;font-size:24px;color:var(--acc)}
.num{font-family:var(--num);font-size:1.25em;letter-spacing:.04em}
.spread-corner{max-width:1320px;margin:0 auto;padding:22px clamp(16px,3vw,40px) 0}
@media (max-width:979px){.spread-corner{padding:14px 16px 4px}}
