/* ふぉんでゅ亭のコラム — 共通の見た目（A案 スイス・グリッド・DESIGN.md が正本の説明）
 * トップ（Astro・Base.astro が読む）と記事・一覧ページ（worker/view.js が読む）で共通。ここを直せば両方に効く。
 * トップだけの見た目は src/styles/home.css、記事・一覧だけの見た目は public/ft-article.css */

/* ===== Lenis（慣性スクロール） ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ===== 変数 ===== */
:root {
  --white: #FFFFFF; --paper: #F4F2EE; --ink: #111111; --red: #D52B1E; --red-deep: #B42317;
  --mute: #555350; --rule: rgba(17,17,17,.14); --hair: rgba(17,17,17,.07); --hair-w: rgba(255,255,255,.16);
  --ease: cubic-bezier(.2,.7,.2,1); --ease-io: cubic-bezier(.7,0,.3,1);
  --max: 1440px; --gut: 40px; --gap: 24px; --cols: 12; --hh: 68px;
  --lat: "Inter", "Helvetica Neue", Arial, sans-serif;
  --jp: var(--site-font-body, "Noto Sans JP"), "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: light;
}
/* 英語のページは本文も Inter（日本語の字は Noto Sans JP で補う） */
:root:lang(en) { --jp: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif; }
@media (max-width: 767px) { :root { --gut: 16px; --gap: 12px; --cols: 6; --hh: 56px; } }

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--jp); font-weight: 500; font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
html:lang(ja) body { word-break: auto-phrase; }
p, li, dd, dt, h1, h2, h3, h4 { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: 900; line-height: 1.35; font-feature-settings: "palt" 1; }
p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
button:not(:disabled), summary, [role="button"] { cursor: pointer; }
.lat { font-family: var(--lat); font-feature-settings: "tnum" 1; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.tel-big span, .hd-tel span, .mb .n, .hero-word, .band-row { white-space: nowrap; }

.wrap { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.g { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }

/* グリッドの細い線（JS が [data-gl] の先頭に差し込む） */
.gl { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gl-in { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
.gl i { border-left: 1px solid var(--hair); }
.gl i:nth-child(12) { border-right: 1px solid var(--hair); }
@media (max-width: 767px) { .gl i:nth-child(n+7) { display: none; } .gl i:nth-child(6) { border-right: 1px solid var(--hair); } }
[data-gl] { position: relative; }
[data-gl] > .wrap { z-index: 1; }

/* スイスの十字（赤い正方形に白い十字） */
.mark { display: inline-block; width: 28px; height: 28px; flex: 0 0 auto; }
.mark rect.bg { fill: var(--red); } .mark rect.x { fill: #fff; }

/* 文字＋線のリンク（ボタンの箱は使わない） */
.ul-link { position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .2em 0 .35em; font-weight: 700; text-decoration: none; cursor: pointer; }
.ul-link::before, .ul-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; }
.ul-link::after { background: var(--red); clip-path: inset(0 100% 0 0); transition: clip-path .2s var(--ease); }
.ul-link:hover::after { clip-path: inset(0 0 0 0); }
.ul-link svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; transition: transform .2s var(--ease); }
.ul-link:hover svg { transform: translateX(4px); }
.ul-link.back svg { transform: scaleX(-1); }
.ul-link.back:hover svg { transform: scaleX(-1) translateX(4px); }
.on-red .ul-link::after, .on-ink .ul-link::after { background: #fff; }

/* 札（タグ） */
.tag { display: inline-flex; align-items: center; padding: .1em .6em; font-size: .74rem; font-weight: 700; line-height: 1.6; border: 1px solid currentColor; white-space: nowrap; text-decoration: none; }
.tag-s { background: var(--red); border-color: var(--red); color: #fff; }
a.tag { transition: color .18s var(--ease); }
a.tag:hover { color: var(--red); }

/* 電話は大きな番号の文字 */
.tel-big { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.tel-big small { font-size: .78rem; font-weight: 700; margin-bottom: .45rem; }
.tel-big span { font-family: var(--lat); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 2.7vw, 42px); transition: color .18s var(--ease); }
.tel-big:hover span { color: var(--red); }
.is-red .tel-big:hover span { color: #fff; }

/* ===== 出現（JS があり、動きを止めていないときだけ隠してから出す） ===== */
.js:not(.is-static) .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js:not(.is-static) .rv.in { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; }
.js:not(.is-static) .mask > span { transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js:not(.is-static) .mask.in > span { transform: none; }
/* 赤い板が横切って写真が出る */
.wp { position: relative; overflow: hidden; background: var(--paper); margin: 0; }
.wp img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.wp::after { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: inset(0 100% 0 0); z-index: 2; pointer-events: none; }
.js:not(.is-static) .wp img { opacity: 0; }
.js:not(.is-static) .wp.in::after { animation: wpPanel 1.2s forwards; animation-delay: var(--d, 0s); }
.js:not(.is-static) .wp.in img { animation: wpImg 1.2s forwards; animation-delay: var(--d, 0s); }
@keyframes wpPanel {
  0% { clip-path: inset(0 100% 0 0); animation-timing-function: var(--ease-io); }
  46% { clip-path: inset(0 0 0 0); animation-timing-function: var(--ease-io); }
  100% { clip-path: inset(0 0 0 100%); }
}
@keyframes wpImg {
  0%, 45% { opacity: 0; transform: scale(1.14); }
  46% { opacity: 1; transform: scale(1.14); animation-timing-function: var(--ease); }
  100% { opacity: 1; transform: scale(1); }
}
/* 写真のない記事の枠 */
.wp.is-empty { display: grid; place-items: center; }
.wp.is-empty .mark { width: 22%; height: auto; aspect-ratio: 1; max-width: 96px; }
.rule-top { position: relative; }
.rule-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); }
.js:not(.is-static) .rule-top::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-io); }
.js:not(.is-static) .rule-top.in::before { clip-path: inset(0); }

/* ===== 文字の強調 ===== */
/* 赤い箱の言葉：箱が左から引かれ、文字は白で立つ */
.bx { position: relative; isolation: isolate; font-style: normal; color: #fff; padding: 0 .12em; margin: 0 .03em; }
.bx::before { content: ""; position: absolute; inset: .14em 0 .06em 0; z-index: -1; background: var(--red); transform-origin: left center; }
.js:not(.is-static) .bx::before { transform: scaleX(0); transition: transform .85s var(--ease-io); transition-delay: var(--bd, .25s); }
.js:not(.is-static) .hero.is-ready .bx::before, .js:not(.is-static) .mask.in .bx::before { transform: none; }
.on-red .bx, .is-red .bx { color: var(--red); }
.on-red .bx::before, .is-red .bx::before { background: #fff; }
/* 赤い太線を引く言葉 */
.u { position: relative; font-style: normal; }
.u::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .04em; height: .13em; background: var(--red); transform-origin: left center; }
.js:not(.is-static) .u::after { transform: scaleX(0); transition: transform .8s var(--ease-io); transition-delay: var(--ud, .9s); }
.js:not(.is-static) .hero.is-ready .u::after { transform: none; }
.is-red .u::after { background: var(--ink); }
.pu { font-style: normal; color: var(--red); }
.is-red .pu { color: var(--ink); }

/* ===== 節の見出し：赤い番号＋英字ラベル＋大きな見出し＋赤い棒 ===== */
.sec { padding: clamp(88px, 11vw, 168px) 0; }
.sec-paper { background: var(--paper); }
.sh { align-items: start; padding-top: 22px; margin-bottom: clamp(40px, 5.5vw, 80px); }
.sh-no { grid-column: 1 / span 2; font-family: var(--lat); font-weight: 800; font-size: clamp(64px, 8.6vw, 132px); line-height: .76; letter-spacing: -.065em; color: var(--red); margin-left: -.04em; font-feature-settings: "tnum" 1; }
.sh-t { grid-column: 3 / span 6; }
.sh-en { display: flex; align-items: center; gap: .7em; margin-bottom: .9rem; font-family: var(--lat); font-weight: 800; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }
.sh-en::before { content: ""; width: .7em; height: .7em; background: var(--red); flex: 0 0 auto; }
.sh-en b { font-weight: 800; color: var(--mute); letter-spacing: .06em; }
.sh-h { font-size: clamp(34px, 4.7vw, 74px); line-height: 1.1; letter-spacing: -.035em; }
.sh-t::after { content: ""; display: block; width: 76px; height: 6px; margin-top: 20px; background: var(--red); transform-origin: left center; }
.js:not(.is-static) .sh-t::after { transform: scaleX(0); transition: transform .9s var(--ease-io) .4s; }
.js:not(.is-static) .sh.in .sh-t::after, .js:not(.is-static) .faq-side.in .sh-t::after { transform: none; }
.sh-lead { margin-top: 1rem; color: var(--mute); max-width: 34em; line-height: 1.95; }
.sh-more { grid-column: 9 / span 4; justify-self: end; align-self: end; }
@media (max-width: 767px) {
  .sh { row-gap: 14px; }
  .sh-no { grid-column: 1 / span 2; grid-row: 1 / span 2; align-self: start; }
  .sh-en { grid-column: 3 / -1; margin: 4px 0 0; font-size: .66rem; }
  .sh-t::after { display: none; }
  .sh-t { display: contents; }
  .sh-h { grid-column: 3 / -1; align-self: center; }
  .sh-lead { grid-column: 1 / -1; font-size: .92rem; }
  .sh-more { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}

/* ===== ヘッダー（常に固定・隠れない。スクロールで下に線が付くだけ） ===== */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hh); background: #fff; transition: box-shadow .2s var(--ease); }
.hd.is-scrolled { box-shadow: 0 1px 0 var(--ink); }
.hd-sp { height: var(--hh); }
.hd-in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.hd-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 900; font-size: 1.02rem; letter-spacing: .02em; white-space: nowrap; }
.hd-brand small { display: block; font-family: var(--lat); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); line-height: 1.2; }
.hd-brand b { display: block; line-height: 1.3; font-weight: 900; }
.hd-nav { margin-left: auto; display: flex; gap: 1.6rem; font-size: .86rem; font-weight: 700; }
.hd-nav a { position: relative; text-decoration: none; padding: .3em 0; white-space: nowrap; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); clip-path: inset(0 100% 0 0); transition: clip-path .18s var(--ease); }
.hd-nav a:hover::after, .hd-nav a[aria-current="page"]::after { clip-path: inset(0); }
/* Instagram（ヘッダー）：線のアイコン＋文字。幅が狭いときはアイコンだけ */
.hd-ig { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-size: .8rem; font-weight: 700; white-space: nowrap; padding-left: 1.6rem; border-left: 1px solid var(--rule); transition: color .18s var(--ease); }
.hd-ig svg { width: 22px; height: 22px; flex: 0 0 auto; }
.hd-ig:hover { color: var(--red); }
.hd-tel { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; padding-left: 1.6rem; border-left: 1px solid var(--rule); white-space: nowrap; }
.hd-tel small { font-size: .72rem; font-weight: 700; color: var(--mute); }
.hd-tel span { font-family: var(--lat); font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; transition: color .18s var(--ease); }
.hd-tel:hover span { color: var(--red); }
/* 言語の切り替え（JP / EN） */
.ls { display: flex; align-items: center; margin-left: -.8rem; font-family: var(--lat); font-weight: 800; font-size: .74rem; letter-spacing: .08em; }
.ls a { position: relative; padding: .35em .5em; text-decoration: none; color: var(--mute); transition: color .18s var(--ease); }
.ls a:hover { color: var(--ink); }
.ls a[aria-current="page"] { color: var(--ink); }
.ls a[aria-current="page"]::after { content: ""; position: absolute; left: .5em; right: .5em; bottom: .1em; height: 2px; background: var(--red); }
.ls a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: .9em; margin-top: -.45em; background: var(--rule); }
@media (max-width: 1080px) { .hd-nav { display: none; } .hd-ig { margin-left: auto; } }
@media (max-width: 767px) { .hd-ig { margin-left: auto; padding: .4rem; border-left: 0; } .hd-ig span { display: none; } .hd-ig svg { width: 24px; height: 24px; } }
@media (max-width: 767px) {
  .hd-tel { display: none; }
  .ls { margin-left: auto; }
  .hd-brand { font-size: .95rem; }
  .hd .mark { width: 24px; height: 24px; }
}

/* ===== 新しいコラム：大きな 1 本（feat）と番号の一覧（idx） ===== */
.feat { align-items: stretch; text-decoration: none; }
.feat-ph { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.feat:hover .feat-ph img { scale: 1.03; }
.feat-b { grid-column: 8 / span 5; display: flex; flex-direction: column; padding-top: 4px; }
.feat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--ink); padding-top: 14px; }
.feat-no { font-family: var(--lat); font-weight: 800; font-size: .9rem; letter-spacing: .04em; }
.feat-date { display: block; font-family: var(--lat); font-weight: 800; font-size: clamp(64px, 7.4vw, 112px); line-height: .8; letter-spacing: -.06em; margin-top: 18px; }
.feat-date small { display: block; font-size: .8rem; letter-spacing: .06em; font-weight: 700; margin-bottom: 10px; color: var(--mute); }
.feat-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 28px; }
.feat-title { margin-top: 18px; font-size: clamp(22px, 2.05vw, 31px); line-height: 1.5; transition: color .18s var(--ease); }
.feat:hover .feat-title { color: var(--red); }
.feat-ex { margin-top: 16px; color: var(--mute); line-height: 1.95; }
.feat-b .ul-link { margin-top: auto; align-self: flex-start; }
.feat-b .feat-ex + .ul-link { margin-top: 28px; }

.idx { margin-top: clamp(48px, 6vw, 88px); border-top: 2px solid var(--ink); }
.idx-row { position: relative; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; isolation: isolate; transition: color .18s var(--ease); }
.idx-row::before { content: ""; position: absolute; inset: 0 calc(var(--gap) * -.5); background: var(--red); z-index: -1; clip-path: inset(0 100% 0 0); transition: clip-path .2s var(--ease); }
.idx-row:hover { color: #fff; }
.idx-row:hover::before { clip-path: inset(0); }
.idx-no { grid-column: 1; font-family: var(--lat); font-weight: 800; font-size: 1.9rem; letter-spacing: -.04em; line-height: 1; }
.idx-date { grid-column: 2 / span 2; font-family: var(--lat); font-weight: 700; font-size: .95rem; }
.idx-cat { grid-column: 4 / span 2; font-size: .86rem; font-weight: 700; }
.idx-title { grid-column: 6 / span 6; font-size: 1.14rem; font-weight: 700; line-height: 1.6; }
.idx-end { grid-column: 12; justify-self: end; display: flex; align-items: center; gap: .8rem; }
.idx-end svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.idx-row:hover .idx-end svg { transform: translateX(4px); }
.idx-row:hover .tag-s { background: #fff; color: var(--red); border-color: #fff; }
.idx-th { display: none; }
.follow { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transition: opacity .2s var(--ease); will-change: transform; }
.follow img { width: 100%; height: 100%; object-fit: cover; }
.follow.on { opacity: 1; }
.latest-empty { padding: 3rem 0; color: var(--mute); border-top: 2px solid var(--ink); }
@media (max-width: 1080px) and (min-width: 768px) {
  .idx-cat { display: none; } .idx-date { grid-column: 2 / span 2; } .idx-title { grid-column: 4 / span 8; }
}
@media (max-width: 767px) {
  .feat-ph { grid-column: 1 / -1; }
  .feat-b { grid-column: 1 / -1; margin-top: 22px; }
  .feat-date { font-size: 64px; }
  .feat-tags { margin-top: 18px; }
  .feat-title { font-size: 1.32rem; }
  .feat-ex { font-size: .92rem; }
  .idx-row { padding: 18px 0; row-gap: 6px; align-items: start; }
  .idx-th { display: block; grid-column: 1 / span 2; grid-row: 1 / span 3; aspect-ratio: 1; background: var(--paper); }
  .idx-th img { width: 100%; height: 100%; object-fit: cover; }
  .idx-th.is-empty { display: grid; place-items: center; }
  .idx-th.is-empty .mark { width: 34%; height: auto; aspect-ratio: 1; }
  .idx-no { grid-column: 3; grid-row: 1; font-size: 1.1rem; }
  .idx-date { grid-column: 4 / -1; grid-row: 1; font-size: .8rem; justify-self: end; }
  .idx-cat { display: none; }
  .idx-title { grid-column: 3 / -1; grid-row: 2; font-size: .98rem; }
  .idx-end { grid-column: 3 / -1; grid-row: 3; justify-self: start; }
  .idx-end svg { display: none; }
  .follow { display: none; }
}

/* ===== 店の事実の表（トップ・記事ページ共通） ===== */
.info-dl { display: grid; grid-template-columns: 7.5em 1fr; margin: 0; border-top: 2px solid var(--ink); }
.info-dl dt, .info-dl dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.75; }
.info-dl dt { font-size: .86rem; font-weight: 700; color: var(--mute); padding-top: 16px; }
.info-dl a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 767px) { .info-dl { grid-template-columns: 5.6em 1fr; font-size: .92rem; } }

/* ===== フッター（黒） ===== */
.ft { background: var(--ink); color: #fff; padding: 72px 0 40px; }
.ft-g { row-gap: 40px; }
.ft-brand { grid-column: 1 / span 5; }
.ft-brand .b { display: flex; align-items: center; gap: .7rem; font-weight: 900; font-size: 1.15rem; }
.ft-brand p:not(.b) { margin-top: 16px; font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.9; }
.ft-nav { grid-column: 7 / span 3; display: grid; gap: .5rem; align-content: start; font-size: .9rem; font-weight: 700; }
.ft-nav a, .ft-sns a, .ft-bot a, .ft-note a { text-decoration: none; }
.ft-nav a:hover, .ft-sns a:hover, .ft-bot a:hover, .ft-note a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ft-sns { grid-column: 10 / span 3; font-size: .9rem; font-weight: 700; display: grid; gap: .5rem; align-content: start; }
.ft-sns .lat { font-size: 1.3rem; font-weight: 800; }
/* Instagram（フッター）：アイコン＋アカウント名 */
.ft-ig { display: inline-flex; align-items: center; gap: .7rem; margin-top: .4rem; }
.ft-ig svg { width: 30px; height: 30px; flex: 0 0 auto; color: #fff; transition: color .18s var(--ease); }
.ft-ig span { display: grid; line-height: 1.35; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.72); }
.ft-ig b { font-family: var(--lat); font-size: 1rem; font-weight: 800; color: #fff; }
.ft-ig:hover svg { color: var(--red); }
.ft-note { grid-column: 1 / -1; font-size: .8rem; color: rgba(255,255,255,.62); line-height: 1.8; }
.ft-note a { margin-left: .4em; color: #fff; white-space: nowrap; }
.ft-bot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .76rem; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.ft-bot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.ft-bot .by { font-family: var(--lat); letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
@media (max-width: 767px) {
  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .ft-brand, .ft-nav, .ft-sns { grid-column: 1 / -1; }
}

/* ===== スマホ下の帯（1 本を線で 2 つに分ける） ===== */
.mb { display: none; }
@media (max-width: 767px) {
  .mb { display: grid; grid-template-columns: 1fr 1px 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mb a { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 16px; text-decoration: none; line-height: 1.25; min-width: 0; }
  .mb a:active { background: var(--red); }
  .mb small { font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.7); }
  .mb .n { font-family: var(--lat); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
  .mb .n.sm { font-size: .96rem; }
  .mb .l { font-weight: 900; font-size: 1rem; }
  .mb .div { background: rgba(255,255,255,.28); margin: 12px 0; }
  .mb a:first-child { position: relative; padding-left: 28px; }
  .mb a:first-child::before { content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 22px; margin-top: -11px; background: var(--red); }
}

/* ===== 読みもののページ（プライバシー・規約・404） ===== */
.doc { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(80px, 9vw, 140px); }
.doc-in { grid-column: 3 / span 8; }
.doc-in > h1 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -.03em; padding-top: 22px; border-top: 2px solid var(--ink); }
.doc-in > h1::after { content: ""; display: block; width: 76px; height: 6px; margin-top: 20px; background: var(--red); }
.doc-in .updated { margin-top: 1.2rem; font-family: var(--lat); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.doc-in h2 { display: flex; align-items: baseline; gap: .6em; margin: 2.6rem 0 .9rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1.2rem; }
.doc-in h2::before { content: ""; flex: 0 0 auto; width: .6em; height: .6em; background: var(--red); transform: translateY(-.05em); }
.doc-in p, .doc-in li { line-height: 2; }
.doc-in p + p { margin-top: 1em; }
.doc-in .updated + p, .doc-in h1 + p { margin-top: 2rem; }
.doc-in ul { padding-left: 1.2em; list-style: square; }
.doc-in ul li::marker { color: var(--red); }
.doc-in > .ul-link { margin-top: 2.6rem; }
@media (max-width: 1080px) { .doc-in { grid-column: 1 / -1; } }

/* ===== 動きを止める ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 文節改行が効かないブラウザ（Safari など）では、記事の題名に入れた <wbr>（blog-core の phraseHtml）でだけ折り返す */
@supports not (word-break: auto-phrase) {
  .feat-title, .idx-title, .art-title { word-break: keep-all; overflow-wrap: anywhere; }
}
