/* 下地食品 v2
   設定: 納品伝票。毎朝、店に届く伝票の語彙で全体をそろえる。
   配色: 藍黒・白・海の3色 + 強調は麺の黄1色。 */
:root {
  --ink: #101c2b;
  --paper: #f4f5f0;
  --sea: #0f6a74;
  --noodle: #f4c430;
  --ink-2: #3a4756;
  --rule: #c9cfc4;
  --grid: #e3e7de;
  --f-display: "Dela Gothic One", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }

.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; gap: 4px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 1.25rem; line-height: 1; letter-spacing: 0.02em; }
.logo small { font-family: var(--f-body); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--noodle); }
.menu-btn { display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 2px solid var(--ink); background: var(--paper); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; padding: 0 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  background: var(--noodle); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--f-body); font-weight: 900; font-size: 1rem; letter-spacing: 0.06em; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--line { background: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--on-dark { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.btn--on-dark:hover { box-shadow: 2px 2px 0 var(--paper); }

/* ---------- 共通 ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--noodle); }
.h-xl { font-size: clamp(1.75rem, 4.6vw, 4rem); font-weight: 900; line-height: 1.35; letter-spacing: 0.01em; font-feature-settings: "palt"; text-wrap: balance; margin-bottom: 32px; }
.h-lg { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 900; line-height: 1.4; letter-spacing: 0.02em; font-feature-settings: "palt"; text-wrap: balance; margin-bottom: 24px; }
.h-light { color: var(--paper); }
.mark { background: linear-gradient(transparent 58%, var(--noodle) 58%); }
.lead { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; max-width: 34em; }

/* ---------- ヒーロー ---------- */
.hero { padding-top: clamp(40px, 7vw, 88px); overflow: hidden; }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 8.4vw, 7.2rem); line-height: 1.32; letter-spacing: 0; font-feature-settings: "palt"; margin-bottom: clamp(24px, 4vw, 48px); }
.hero__title--long { font-size: clamp(1.8rem, 6.2vw, 5.2rem); }
.line { display: block; }
.line + .line { margin-top: 0; margin-left: clamp(12px, 5vw, 88px); }
.band { background: var(--ink); color: var(--paper); padding: 0.04em 0.28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.band--noodle { background: var(--noodle); color: var(--ink); }
.hero__lead { max-width: 34em; margin-bottom: 32px; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; }
.doors { display: flex; flex-wrap: wrap; gap: 20px 24px; }
.hero__art { height: clamp(120px, 20vw, 240px); margin-top: clamp(32px, 6vw, 72px); }
.hero__art svg { display: block; width: 100%; height: 100%; }
.noodle { fill: none; stroke: var(--noodle); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.noodle--ink { stroke: var(--ink); stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .noodle { animation: draw 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* ---------- 宣言 ---------- */
.manifesto h2 { max-width: 14em; font-size: clamp(2rem, 6vw, 5rem); }
.manifesto p:not(.eyebrow) { max-width: 30em; margin-left: clamp(0px, 12vw, 160px); font-size: clamp(1rem, 1.4vw, 1.125rem); }

/* ---------- 数字(伝票) ---------- */
.numbers { background: var(--ink); color: var(--paper); }
.tickets { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 900px) {
  .tickets--lead { grid-template-columns: 1fr 1fr; }
  .tickets--lead .ticket--lead { grid-column: 1 / -1; }
  .tickets--three { grid-template-columns: repeat(3, 1fr); }
}
.ticket { position: relative; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); container-type: inline-size; }
.ticket__top { position: relative; padding: 28px 24px 20px; }
.ticket__label { display: inline; font-size: 0.9375rem; font-weight: 900; letter-spacing: 0.08em; }
.ticket__label span { background: var(--ink); color: var(--paper); padding: 0.12em 0.7em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ticket__num { display: flex; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; gap: 0 0.12em; margin-top: 20px; font-family: var(--f-display); font-size: clamp(1.5rem, 8.6cqi, 7rem); line-height: 1.1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ticket__num--short { font-size: clamp(3rem, 19cqi, 7rem); }
.ticket__num small { font-family: var(--f-body); font-size: max(0.26em, 0.9375rem); font-weight: 900; letter-spacing: 0.06em; }
.ticket__bottom { position: relative; flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 24px; border-top: 2px dashed var(--ink); background-color: #fbfcf8; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; }
.ticket__bottom::before, .ticket__bottom::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.ticket__bottom::before { left: -11px; }
.ticket__bottom::after { right: -11px; }
.bubble { position: relative; align-self: flex-start; max-width: 100%; padding: 10px 20px; background: #fff; border: 2px solid var(--ink); border-radius: 28px; font-weight: 700; line-height: 1.7; }
.bubble::after { content: ""; position: absolute; left: 28px; bottom: -11px; width: 18px; height: 18px; background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.note { font-size: 0.8125rem; line-height: 1.8; color: var(--ink-2); margin-top: 8px; }
.stamp { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 84px; height: 84px; border: 3px double var(--sea); border-radius: 50%; color: var(--sea); font-family: var(--f-display); font-size: 1rem; line-height: 1.2; text-align: center; transform: rotate(-10deg); letter-spacing: 0; }

/* ---------- 継承と進化 ---------- */
.duo { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 32px; } }
.panel { position: relative; padding: clamp(24px, 4vw, 48px); border: 2px solid var(--ink); background: var(--paper); }
.panel--sea { background: var(--sea); border-color: var(--sea); color: var(--paper); }
.panel h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 900; line-height: 1.45; margin: 20px 0 20px; font-feature-settings: "palt"; }
.badge { display: inline-grid; place-items: center; width: 76px; height: 76px; border: 3px double currentColor; border-radius: 50%; font-family: var(--f-display); font-size: 1.25rem; transform: rotate(-8deg); letter-spacing: 0; }
.plain li { position: relative; padding-left: 1.4em; margin-top: 12px; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.7em; height: 2px; background: currentColor; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 48px; font-family: var(--f-display); font-size: clamp(1.1rem, 2.6vw, 1.75rem); letter-spacing: 0.02em; }
.route i { font-style: normal; color: var(--ink-2); }
.route span:first-child { background: var(--noodle); padding: 0 0.4em; }

/* ---------- 入口 ---------- */
.gates { display: grid; }
@media (min-width: 800px) { .gates { grid-template-columns: 1fr 1fr; } }
.gate { display: flex; flex-direction: column; gap: 12px; padding: clamp(32px, 5vw, 64px) var(--gutter); text-decoration: none; min-height: 320px; transition: background 0.2s; }
.gate--a { background: var(--noodle); color: var(--ink); }
.gate--b { background: var(--ink); color: var(--paper); }
.gate .eyebrow { margin-bottom: 8px; color: inherit; }
.gate h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.3; font-feature-settings: "palt"; }
.gate p { max-width: 24em; }
.gate__go { margin-top: auto; font-family: var(--f-display); font-size: 2.25rem; line-height: 1; }
.gate--a:hover { background: #ffd24d; }
@media (min-width: 800px) { .gate--a { padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); } }
.gate--b:hover { background: #17283d; }

/* ---------- 職人・本文 ---------- */
.artisan .h-xl { max-width: 12em; }
.artisan p { max-width: 34em; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 900; }

/* ---------- 明細(ご家庭) ---------- */
.rows > li { display: grid; gap: 8px 32px; padding-block: 28px; border-top: 2px solid var(--ink); }
.rows > li:last-child { border-bottom: 2px solid var(--ink); }
@media (min-width: 800px) { .rows > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; } }
.rows h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.35; letter-spacing: 0; font-feature-settings: "palt"; }
.ledger > li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 12px 0; border-bottom: 2px solid var(--ink); font-weight: 900; font-size: clamp(1rem, 2vw, 1.25rem); text-decoration: none; }
.ledger > li:first-child a { border-top: 2px solid var(--ink); }
.ledger a:hover { background: var(--noodle); }
.ledger a span:last-child { font-family: var(--f-display); }

/* ---------- 流れ(お店向け) ---------- */
.steps { display: grid; margin-top: 48px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 24px 24px 32px 0; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .steps li { padding-right: 32px; } }
.steps .n { display: block; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }

.kinds { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 800px) { .kinds { grid-template-columns: 1fr 1fr; } }
.kind { padding: 28px; border: 2px solid var(--ink); background: var(--paper); }
.kind h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; font-feature-settings: "palt"; }
.kind--ink { background: var(--ink); color: var(--paper); }

/* ---------- お問い合わせ ---------- */
.access { background: var(--sea); color: var(--paper); }
.access__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .access__grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.access .eyebrow { color: var(--paper); }
.info > div { display: grid; align-items: center; gap: 0 24px; padding-block: 16px; border-top: 2px solid rgba(244, 245, 240, 0.5); }
.info > div:last-child { border-bottom: 2px solid rgba(244, 245, 240, 0.5); }
@media (min-width: 600px) { .info > div { grid-template-columns: 8em 1fr; } }
.info dt { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; }
.info a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 900; font-size: 1.125rem; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 48px 40px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 32px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; font-size: 0.9375rem; }
.site-footer small { display: block; font-size: 0.75rem; color: #c3cad2; letter-spacing: 0.06em; }

/* ---------- 出現 ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 899px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { min-height: 52px; padding: 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 480px) {
  .btn { width: 100%; }
  .stamp { width: 68px; height: 68px; font-size: 0.8125rem; top: 16px; right: 16px; }
}

/* ===== v2.1: 下層ページ・写真・カート ===== */
.cart-slot { margin-left: auto; min-width: 44px; min-height: 44px; display: flex; align-items: center; }
.menu-btn { margin-left: 0; }
@media (min-width: 900px) { .cart-slot { margin-left: 8px; order: 3; } }
.cart-slot .shopify-buy__cart-toggle { position: static !important; transform: none !important; }

/* 伝票に添えた写真 */
.photo { margin: 0; background: #fff; border: 2px solid var(--ink); padding: 10px 10px 12px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(var(--tilt, -1.2deg)); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--grid); }
.photo figcaption { margin-top: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-2); }
.photo--b { --tilt: 1.1deg; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } .split--rev { grid-template-columns: 0.9fr 1.1fr; } .split--rev > :first-child { order: 2; } }
.split .h-xl { max-width: 12em; }

/* 下層ページの見出し */
.pagehead { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 2px solid var(--ink); }
.pagehead .hero__title { font-size: clamp(2rem, 7.2vw, 5.6rem); margin-bottom: 24px; }
.pagehead p.lead { max-width: 34em; }
.crumbs { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 24px; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.prose { max-width: 40em; }
.prose p + p { margin-top: 1.2em; }

/* 商品 */
.items { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 800px) { .items { grid-template-columns: 1fr 1fr; } }
.item { background: #fff; border: 2px solid var(--ink); display: flex; flex-direction: column; position: relative; }
.item__photo { border-bottom: 2px dashed var(--ink); }
.item__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.item__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.item__cat { align-self: flex-start; background: var(--ink); color: var(--paper); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.12em; padding: 2px 12px; }
.item h3 { font-size: 1.25rem; font-weight: 900; line-height: 1.5; font-feature-settings: "palt"; }
.item p { font-size: 0.9375rem; }
.item__buy { margin-top: auto; padding-top: 16px; border-top: 2px solid var(--rule); min-height: 96px; }
.items--compact { margin-top: 32px; }
.items--compact .item__body { padding: 20px 24px; }
.ship { margin-top: 48px; display: grid; gap: 16px; padding: 24px; border: 2px solid var(--ink); background: var(--paper); }
.ship h3 { font-size: 1.125rem; font-weight: 900; }
.ship ul { display: grid; gap: 4px; }
.ship li::before { content: "■ "; color: var(--noodle); -webkit-text-stroke: 1px var(--ink); }

/* こだわり */
.crafts { display: grid; gap: 56px; margin-top: 48px; }
.craft { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .craft { grid-template-columns: 1fr 1fr; gap: 64px; } .craft:nth-child(even) .photo { order: 2; } }
.craft .n { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; display: block; margin-bottom: 8px; }
.craft h3 { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 900; line-height: 1.45; margin-bottom: 12px; font-feature-settings: "palt"; }
.process { display: grid; gap: 0; margin-top: 40px; counter-reset: p; }
.process li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-block: 20px; border-top: 2px solid var(--paper); align-items: start; }
.process li:last-child { border-bottom: 2px solid var(--paper); }
.process .n { font-family: var(--f-display); font-size: 2rem; line-height: 1.2; color: var(--noodle); white-space: nowrap; }
.process h3 { font-size: 1.25rem; font-weight: 900; }
.process p { color: #c3cad2; font-size: 0.9375rem; }
.gallery { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .photo:nth-child(even) { --tilt: 1.2deg; }

/* よくある質問 */
.qa { margin-top: 40px; border-top: 2px solid var(--ink); }
.qa details { border-bottom: 2px solid var(--ink); }
.qa summary { display: grid; grid-template-columns: 48px 1fr 32px; gap: 8px; align-items: center; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font-weight: 900; font-size: 1.0625rem; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--f-display); font-size: 1.5rem; text-align: center; }
.qa details[open] summary::after { content: "−"; }
.qa .q, .qa .a { font-family: var(--f-display); font-size: 1.5rem; }
.qa .a { color: var(--sea); }
.qa .ans { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding-bottom: 24px; }
.qa .ans p { max-width: 40em; }

/* 表(特商法) */
.spec { margin-top: 40px; border-top: 2px solid var(--ink); }
.spec > div { display: grid; gap: 4px 24px; padding-block: 20px; border-bottom: 2px solid var(--rule); }
@media (min-width: 800px) { .spec > div { grid-template-columns: 14em 1fr; } }
.spec dt { font-weight: 900; }
.spec dd { max-width: 40em; }
.spec--ink { }
.doc h2 { font-size: 1.375rem; font-weight: 900; margin-top: 40px; margin-bottom: 8px; }
.doc ul { list-style: disc; padding-left: 1.4em; }
.doc a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* お知らせ・404 */
.empty { margin-top: 40px; padding: 32px; border: 2px dashed var(--ink); max-width: 36em; }
.lost { text-align: left; }
.lost .num { font-family: var(--f-display); font-size: clamp(5rem, 22vw, 12rem); line-height: 1; }

/* 営業時間の行 */
.hours-note { margin-top: 12px; font-size: 0.875rem; }
.kind__img { display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 20px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 2px solid var(--ink); }
.items--compact { margin-top: 32px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 生麺ラインナップ(納品伝票の見本帳) */
.mgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 800px) { .mgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mcard { background: #fff; border: 2px solid var(--ink); display: flex; flex-direction: column; }
.mcard__photo { border-bottom: 2px dashed var(--ink); background-color: #fbfcf8; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; }
.mcard__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.mcard__body { padding: 12px 16px 16px; display: grid; gap: 4px; }
.mcard__no { font-family: var(--f-display); font-size: 1.125rem; line-height: 1.2; }
.mcard h3 { font-size: 1rem; font-weight: 900; line-height: 1.5; font-feature-settings: "palt"; }
.mcard p:not(.mcard__no) { font-size: 0.875rem; }
@media (min-width: 800px) { .mcard__body { padding: 16px 20px 20px; } .mcard h3 { font-size: 1.125rem; } .mcard__no { font-size: 1.375rem; } }

/* 定番の5つ */
.mcard__photo { position: relative; }
.mcard__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--noodle); color: var(--ink); border: 2px solid var(--ink); font-family: var(--f-display); font-size: 0.875rem; line-height: 1; padding: 6px 10px; box-shadow: 3px 3px 0 var(--ink); }
.mgrid--std { grid-template-columns: repeat(2, 1fr); }
.mgrid--std .mcard:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) {
  .mgrid--std { grid-template-columns: repeat(6, 1fr); }
  .mgrid--std .mcard:first-child { grid-column: span 2; }
  .mgrid--std .mcard { grid-column: span 2; }
  .mgrid--std .mcard:nth-child(n+4) { grid-column: span 3; }
}
.mcard--std h3 { font-size: 1.125rem; }
@media (min-width: 800px) { .mcard--std h3 { font-size: 1.375rem; } .mcard--std .mcard__no { font-size: 1.5rem; } }
.mgrid-title { margin-top: 64px; font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 900; font-feature-settings: "palt"; }
.mgrid-title + .prose { margin-top: 8px; }
.mgrid--more { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .mgrid--more { grid-template-columns: repeat(4, 1fr); } }

/* 相談の呼びかけ帯 */
.cta-band { background: var(--noodle); color: var(--ink); border-block: 2px solid var(--ink); padding-block: clamp(48px, 8vw, 88px); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 34em; margin-bottom: 24px; }
.btn--on-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }
.btn--on-ink:hover { box-shadow: 2px 2px 0 var(--paper); }

/* ---------- お店の商品に(OEM)・見積もり伝票 ---------- */
.ob-steps { display: grid; margin-top: 32px; counter-reset: ob; max-width: 36em; }
.ob-steps li { counter-increment: ob; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px 0; border-top: 2px solid var(--ink); }
.ob-steps li::before { content: counter(ob); grid-row: 1 / span 2; font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; }
.ob-steps h3 { font-size: 1.125rem; font-weight: 900; margin-bottom: 4px; }
.ob-steps p { min-width: 0; }
.slip { position: relative; min-width: 0; background-color: #fbfcf8; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.slip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.slip__head h3 { font-size: 0.9375rem; font-weight: 900; letter-spacing: 0.08em; }
.slip__head span { color: var(--noodle); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; }
.slip__rows { padding: 8px 20px 0; }
.slip__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 2px dotted var(--ink-2); }
.slip__rows dt { flex: none; font-size: 0.9375rem; font-weight: 700; }
.slip__rows dd { min-width: 0; text-align: right; font-weight: 900; }
.slip__rows .is-total { margin-inline: -20px; padding-inline: 20px; background: var(--noodle); border-block: 2px solid var(--ink); }
.slip__rows .is-total dd { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.slip__rows .is-total small { font-family: var(--f-body); font-size: 0.9375rem; font-weight: 900; margin-left: 0.15em; }
.slip__note { padding: 16px 20px 20px; margin-top: 0; }

/* ---------- 年越しそば特集 ---------- */
.toshi { background: var(--noodle); color: var(--ink); border-block: 2px solid var(--ink); padding-block: clamp(56px, 9vw, 104px); }
.toshi .h-xl { max-width: 14em; }
.toshi .eyebrow { color: var(--ink); }
.toshi .prose { max-width: 36em; }
.toshi__grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 800px) { .toshi__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.toshi__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; padding: 28px 24px 32px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.toshi__size { font-family: var(--f-display); font-size: clamp(3.25rem, 9vw, 5rem); line-height: 1; }
.toshi__size small { font-family: var(--f-body); font-size: 1.125rem; font-weight: 900; margin-left: 0.2em; letter-spacing: 0.06em; }
.toshi__plus { background: var(--ink); color: var(--paper); font-size: 0.9375rem; font-weight: 900; letter-spacing: 0.06em; padding: 0.2em 0.9em; }
.toshi .doors { margin-top: 40px; }
.toshi .note { color: var(--ink); margin-top: 20px; }
.item__alt { font-weight: 700; line-height: 1.8; }
