/* tsumu — 共通スタイル
 * 方針: 角丸なし・1px の罫線・文字の大小で組む。白い箱を並べない。
 * 色: 下地はオフホワイト、文字は墨に近い濃紺、産地ごとに1色、押すボタンだけ若葉色。
 */
:root {
  color-scheme: light;
  --bg: #F5F4EF;
  --bg-2: #ECEAE3;
  --paper: #FFFFFF;
  --ink: #172033;
  --ink-2: #4A5366;
  --ink-3: #5F6778;
  --line: #D3D1C8;
  --line-strong: #172033;
  --lime: #C8F250;
  --lime-hover: #B6E636;
  --error: #A8261B;

  --c-shizuoka: #2E6B4F;
  --c-kagoshima: #C9A227;
  --c-kyoto: #8E7CC3;
  --c-fukuoka: #D9603B;
  --c-saitama: #4A90B8;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 64px;
}
@media (max-width: 719px) {
  :root { --gutter: 16px; --header-h: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; letter-spacing: 0.01em; word-break: auto-phrase; text-wrap: pretty; }
.tno { font-family: var(--font-num); font-weight: 500; margin-right: 0.45em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--font-num); font-feature-settings: "zero" 0; letter-spacing: 0; }
.eyebrow { font-family: var(--font-num); font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; color: var(--ink-2); text-transform: uppercase; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.7; }
.xs { font-size: 12px; line-height: 1.6; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 16px; height: 16px; }

/* ---------- 見出しの型 ---------- */
.h-page { font-size: 40px; line-height: 1.3; letter-spacing: 0; }
.h-sec { font-size: 32px; line-height: 1.35; }
.h-sub { font-size: 20px; line-height: 1.5; }
@media (max-width: 719px) {
  .h-page { font-size: 30px; }
  .h-sec { font-size: 25px; }
  .h-sub { font-size: 18px; }
}
.sec { padding: var(--s9) 0; border-top: 1px solid var(--line); }
.sec--tight { padding: var(--s8) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s4); margin-bottom: var(--s6); }
.sec-head p { max-width: 36em; margin-top: var(--s2); color: var(--ink-2); }
@media (max-width: 719px) {
  .sec { padding: var(--s8) 0; }
  .sec--tight { padding: var(--s7) 0; }
  .sec-head { grid-template-columns: 1fr; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--lime-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--bg-2); color: var(--ink-3); border-color: var(--line); cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--bg-2); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #26324A; }
.btn--block { width: 100%; }
.btn--s { min-height: 40px; padding: 0 var(--s4); font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; line-height: 1.4; }
.link-arrow:hover { border-bottom-width: 2px; padding-bottom: 1px; }
.text-link { text-underline-offset: 3px; }

/* ---------- 産地の色 ---------- */
.sw { display: inline-block; width: 10px; height: 10px; flex: none; background: var(--c); }
.sw--l { width: 14px; height: 14px; }
.origin-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border: 1px solid var(--line); font-size: 13px; line-height: 1.4; color: var(--ink); background: transparent; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- お知らせ帯・ヘッダー ---------- */
.announce { background: var(--ink); color: #F5F4EF; font-size: 13px; line-height: 1.5; text-align: center; padding: 8px var(--gutter); }
.announce strong { font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo b { font-family: var(--font-num); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.logo span { font-size: 12px; color: var(--ink-2); line-height: 1; }
.gnav { display: flex; gap: var(--s5); margin-right: auto; }
.gnav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnav a:hover { border-bottom-color: var(--line); }
.gnav a[aria-current="page"] { border-bottom-color: var(--ink); }
.hbtn { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center; padding: 0 8px; background: none; border: 0; text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.hbtn:hover { background: var(--bg-2); }
.cart-count { font-family: var(--font-num); font-size: 12px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; background: var(--ink); color: var(--bg); padding: 0 5px; }
.cart-count[data-n="0"] { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.menu-btn { display: none; }
@media (max-width: 1023px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { gap: var(--s2); justify-content: space-between; }
  .logo { margin-right: auto; }
}
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__bg { position: absolute; inset: 0; background: rgba(23, 32, 51, .35); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); border-left: 1px solid var(--ink); padding: var(--s4) var(--s5) var(--s6); overflow-y: auto; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* ---------- 缶とラベル ----------
 * 写真の白いラベルの位置（%）に HTML を重ねる。位置は data.js の origin.label（実測値）。
 */
.can { position: relative; container-type: inline-size; background: #E9E8E6; overflow: hidden; margin: 0; }
.can img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.can-label {
  position: absolute; display: grid; grid-template-rows: auto 1fr auto; color: var(--ink);
  padding: 2.2cqw 2.6cqw 2cqw; line-height: 1.2; pointer-events: none;
}
.can-label__no { font-family: var(--font-num); font-weight: 500; font-size: 6.4cqw; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: baseline; }
.can-label__no small { font-size: 2.2cqw; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-2); }
.can-label__name { align-self: center; font-size: 3.5cqw; font-weight: 700; letter-spacing: 0.02em; }
.can-label__name span { display: block; font-size: 2.4cqw; font-weight: 400; color: var(--ink-2); margin-top: 0.6cqw; }
.can-label__foot { display: flex; justify-content: space-between; font-family: var(--font-num); font-size: 2.1cqw; color: var(--ink-2); border-top: 0.25cqw solid var(--ink); padding-top: 0.9cqw; }
/* 缶の大きさでラベルの中身を減らす。文字が読めない大きさでは重ねない
 *  〜279px: 番号だけ ／ 280〜479px: 番号と名前 ／ 480px〜: すべて */
@container (max-width: 479px) {
  .can-label { grid-template-rows: auto auto; align-content: center; gap: 1.2cqw; }
  .can-label__no { font-size: 7.6cqw; }
  .can-label__name { align-self: start; font-size: 4.4cqw; }
  .can-label__no small, .can-label__name span, .can-label__foot { display: none; }
}
@container (max-width: 279px) {
  .can-label { grid-template-rows: 1fr; align-items: center; justify-items: center; }
  .can-label__no { font-size: 12cqw; }
  .can-label__name { display: none; }
}

/* ---------- 商品カード ---------- */
.grid-teas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
@media (max-width: 1023px) { .grid-teas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s4); } }
.tcard { display: grid; gap: var(--s3); text-decoration: none; align-content: start; }
.tcard:hover .can img { transform: scale(1.02); }
.tcard .can img { transition: transform .3s ease; }
.tcard__meta { display: flex; justify-content: space-between; gap: var(--s2); align-items: center; }
.tcard__title { font-size: 18px; line-height: 1.45; font-weight: 700; }
.tcard__type { font-size: 14px; color: var(--ink-2); font-weight: 400; margin-left: 4px; }
.tcard__price { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s2); font-size: 14px; }
.tcard__price .num { font-size: 15px; }
.percup { font-family: var(--font-num); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 719px) {
  .tcard__title { font-size: 16px; }
  .tcard__type { display: block; margin-left: 0; font-size: 13px; }
  .tcard__price { flex-direction: column; gap: 0; }
  .tcard .chips .chip:nth-child(3) { display: none; }
}

/* ---------- 一覧表（番号順） ---------- */
.lineup { border-top: 1px solid var(--ink); }
.lineup__row {
  display: grid; grid-template-columns: 6px 72px 1.3fr 1fr 1.6fr 110px 110px 24px; gap: var(--s4); align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.lineup__row:hover { background: var(--bg-2); }
.lineup__bar { align-self: stretch; background: var(--c); }
.lineup__no { font-family: var(--font-num); font-size: 22px; font-weight: 500; }
.lineup__name b { display: block; font-size: 17px; line-height: 1.4; }
.lineup__name span { font-size: 13px; color: var(--ink-2); }
.lineup__head { font-family: var(--font-num); font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; }
.lineup__head:hover { background: transparent; }
.lineup__r { text-align: right; font-family: var(--font-num); font-size: 15px; }
@media (max-width: 1023px) {
  .lineup__row { grid-template-columns: 6px 56px 1fr 96px 20px; gap: var(--s3); }
  .lineup__row > :nth-child(4), .lineup__row > :nth-child(5), .lineup__row > :nth-child(7) { display: none; }
  .lineup__no { font-size: 18px; }
}

/* ---------- 味の段階 ---------- */
.taste { display: grid; gap: 10px; }
.taste__row { display: grid; grid-template-columns: 3.5em 1fr 2.2em; gap: var(--s3); align-items: center; font-size: 14px; }
.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; height: 10px; }
.meter i { background: var(--bg-2); border: 1px solid var(--line); }
.meter i.on { background: var(--ink); border-color: var(--ink); }
.taste__val { font-family: var(--font-num); font-size: 13px; color: var(--ink-2); text-align: right; }

/* ---------- 淹れ方の4つの数字 ---------- */
.brew { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.brew > div { padding: var(--s4) var(--s4) var(--s4) 0; border-right: 1px solid var(--line); }
.brew > div + div { padding-left: var(--s4); }
.brew > div:last-child { border-right: 0; }
.brew dt { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.brew dd { margin: 4px 0 0; font-family: var(--font-num); font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.brew dd small { font-size: 15px; font-weight: 400; margin-left: 2px; letter-spacing: 0; }
@media (max-width: 719px) {
  .brew { grid-template-columns: repeat(2, 1fr); }
  .brew > div:nth-child(2) { border-right: 0; }
  .brew > div:nth-child(3) { padding-left: 0; }
  .brew > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .brew dd { font-size: 28px; }
}
.tabs { display: flex; gap: 0; border: 1px solid var(--ink); width: max-content; max-width: 100%; }
.tabs button { min-height: 40px; padding: 0 var(--s5); background: transparent; border: 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.tabs button + button { border-left: 1px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabs button:hover:not([aria-selected="true"]) { background: var(--bg-2); }

/* ---------- 表（産地・会社概要など） ---------- */
.spec { border-top: 1px solid var(--ink); }
.spec tr { border-bottom: 1px solid var(--line); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 0; font-size: 15px; line-height: 1.7; }
.spec th { width: 8.5em; font-weight: 500; color: var(--ink-2); padding-right: var(--s4); font-size: 14px; }
.spec td a { text-underline-offset: 3px; }

/* ---------- フォーム部品 ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field-label { font-size: 14px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ink-3); border-radius: 0; background: var(--paper); font-size: 16px;
}
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23172033' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--bg-2); color: var(--ink-3); cursor: not-allowed; }
.counter { font-family: var(--font-num); font-size: 12px; color: var(--ink-2); text-align: right; }
.counter.is-over { color: var(--error); }

/* サイズの札 */
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); }
.size { position: relative; display: grid; gap: 2px; padding: 12px; cursor: pointer; border-right: 1px solid var(--ink); }
.size:last-child { border-right: 0; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size b { font-size: 15px; }
.size .num { font-size: 16px; }
.size .xs { color: var(--ink-2); }
.size:hover { background: var(--bg-2); }
.size:has(input:checked) { background: var(--ink); color: var(--bg); }
.size:has(input:checked) .xs { color: #C9CDD6; }
.size:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 購入方法（いつもの購入／定期便／ギフト） */
.ptype { border-top: 1px solid var(--ink); }
.popt { border-bottom: 1px solid var(--line); }
.popt__head { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s3); align-items: start; padding: 14px 0; cursor: pointer; }
.popt__head input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); cursor: pointer; }
.popt__title { font-weight: 700; line-height: 1.5; }
.popt__title .tag { display: inline-block; font-size: 12px; font-weight: 700; background: var(--lime); border: 1px solid var(--ink); padding: 0 6px; margin-left: 6px; line-height: 1.6; vertical-align: 2px; }
.popt__sub { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; line-height: 1.6; }
.popt__price { font-family: var(--font-num); font-size: 16px; text-align: right; white-space: nowrap; }
.popt__price s { display: block; font-size: 12px; color: var(--ink-2); }
.popt__body { display: none; padding: 0 0 var(--s4) 34px; gap: var(--s4); }
.popt.is-on .popt__body { display: grid; }
.popt.is-disabled .popt__head { cursor: not-allowed; color: var(--ink-3); }
.popt.is-disabled .popt__title .tag { background: var(--bg-2); border-color: var(--line); color: var(--ink-3); }
.seg { display: flex; flex-wrap: wrap; gap: 0; }
.seg label { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); margin: 0 -1px -1px 0; cursor: pointer; font-size: 14px; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:hover { background: var(--bg-2); }
.seg label:has(input:checked) { background: var(--ink); color: var(--bg); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; z-index: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }

/* 数量 */
.qty { display: inline-grid; grid-template-columns: 44px 48px 44px; border: 1px solid var(--ink); height: 48px; }
.qty button { background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-2); }
.qty button:disabled { color: var(--ink-3); cursor: not-allowed; background: transparent; }
.qty input { width: 100%; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; font-family: var(--font-num); font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--s { grid-template-columns: 36px 40px 36px; height: 40px; }

/* ---------- 送料無料までのバー ---------- */
.ship-bar { display: grid; gap: 6px; }
.ship-bar__track { height: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.ship-bar__fill { height: 100%; background: var(--ink); width: 0; transition: width .3s ease; }

/* ---------- トースト ---------- */
.toast { position: fixed; z-index: 70; right: var(--gutter); top: calc(var(--header-h) + 52px); width: min(380px, calc(100vw - 2 * var(--gutter))); background: var(--bg); border: 1px solid var(--ink); padding: var(--s4); display: none; gap: var(--s3); box-shadow: 0 8px 24px rgba(23, 32, 51, .12); }
.toast.is-on { display: grid; }
.toast__row { display: grid; grid-template-columns: 64px 1fr 28px; gap: var(--s3); align-items: center; }
.toast__x { background: none; border: 0; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; }
.toast__x:hover { background: var(--bg-2); }
.toast__btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }

/* ---------- スマホの固定購入バー ---------- */
.buybar { display: none; }
@media (max-width: 719px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: var(--s3); align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--ink); }
  .buybar .btn { flex: 1; }
  .buybar__info { font-size: 13px; line-height: 1.4; }
  .buybar__info .num { font-size: 16px; display: block; }
  body.has-buybar { padding-bottom: 76px; }
  body.has-buybar .toast { top: auto; bottom: 88px; }
}

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--ink); margin-top: var(--s9); padding: var(--s8) 0 var(--s6); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.site-footer h3 { font-size: 12px; font-family: var(--font-num); font-weight: 400; color: var(--ink-2); letter-spacing: 0.06em; margin-bottom: var(--s3); }
.site-footer li { list-style: none; margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .origins-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: var(--s4); }
.site-footer .note { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; color: var(--ink-2); font-size: 13px; }
@media (max-width: 719px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
}

/* ---------- パンくず ---------- */
.crumbs { font-size: 13px; color: var(--ink-2); padding: var(--s4) 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-underline-offset: 3px; }

/* ---------- ページの頭 ---------- */
.page-head { padding: var(--s7) 0 var(--s7); }
.page-head p { margin-top: var(--s3); color: var(--ink-2); max-width: 40em; }
@media (max-width: 719px) { .page-head { padding: var(--s5) 0 var(--s6); } }

/* ---------- 写真と文章を並べる帯 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.split--wide-img { grid-template-columns: 1.25fr 1fr; }
.split img { width: 100%; }
@media (max-width: 1023px) { .split, .split--wide-img { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- 罫線で区切る数字のリスト ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.facts > div { padding: var(--s4) var(--s5) var(--s4) 0; border-right: 1px solid var(--line); }
.facts > div + div { padding-left: var(--s5); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: 12px; color: var(--ink-2); }
.facts dd { margin: 6px 0 0; }
.facts .big { font-family: var(--font-num); font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.facts .big small { font-size: 16px; font-family: var(--font-ja); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
@media (max-width: 719px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: var(--s4) 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts .big { font-size: 32px; }
}

/* ---------- 地図 ---------- */
.jmap { width: 100%; height: auto; display: block; }
.jmap .land { fill: #E3E1D8; stroke: #B9B6AA; stroke-width: 1.5; stroke-linejoin: round; }
.jmap .dot { stroke: var(--bg); stroke-width: 4; }
.jmap .ring { fill: none; stroke-width: 2; }
.jmap text { font-family: var(--font-ja); font-size: 26px; font-weight: 700; fill: var(--ink); }
.jmap text.no { font-family: var(--font-num); font-size: 20px; font-weight: 500; fill: var(--ink-2); }
.jmap .leader { stroke: var(--ink); stroke-width: 1.2; }
.jmap a:hover text, .jmap a:focus text { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.can--set { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: center; aspect-ratio: 1 / 1; padding: 0 4%; gap: 0; }
.can--set .can { background: transparent; }
.can--set { background: #E7E7E7; }
.can--set .can img { transform: scale(1.18); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%); }
.tcard:hover .can--set .can img { transform: scale(1.2); }
@media (max-width: 719px) { .cart-label { display: none; } }

/* =========================================================
   ページごとの組み
   ========================================================= */

/* ---------- トップ: ヒーロー ---------- */
.hero { position: relative; background: #F3F2EE; border-bottom: 1px solid var(--line); }
.hero__img img { width: 100%; height: min(640px, 46vw); min-height: 460px; object-fit: cover; object-position: left center; }
.hero__text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hero__text .wrap { display: flex; justify-content: flex-end; }
.hero__box { width: min(460px, 36%); pointer-events: auto; display: grid; gap: var(--s4); }
.hero__box h1 { font-size: 44px; line-height: 1.35; letter-spacing: 0; }
.hero__box p { color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; margin-top: var(--s2); }
@media (max-width: 1023px) {
  .hero__img img { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: 20% center; }
  .hero__text { position: static; display: block; padding: var(--s6) 0 var(--s7); }
  .hero__text .wrap { display: block; }
  .hero__box { width: 100%; max-width: 560px; }
  .hero__box h1 { font-size: 32px; }
}

/* 産地の凡例の帯 */
.legend-band { border-bottom: 1px solid var(--line); }
.legend-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); padding-top: var(--s4); padding-bottom: var(--s4); }
.legend-band .origin-tag { font-size: 14px; color: var(--ink); }

/* 風味から探す */
.flavor-pick { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s7); align-items: start; }
.flavor-pick .chips { gap: var(--s2); }
.flavor-pick .chip { font-size: 17px; min-height: 48px; padding: 0 var(--s4); text-decoration: none; gap: 10px; border-color: var(--ink); }
.flavor-pick .chip .num { font-size: 13px; color: var(--ink-2); }
.flavor-pick .chip:hover { background: var(--ink); color: var(--bg); }
.flavor-pick .chip:hover .num { color: #C9CDD6; }
.sort-links { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
@media (max-width: 1023px) { .flavor-pick { grid-template-columns: 1fr; gap: var(--s5); } .flavor-pick .chip { font-size: 15px; min-height: 44px; } }

/* 産地の行 */
.origin-strip { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: center; }
.origin-rows { border-top: 1px solid var(--ink); }
.origin-row { display: grid; grid-template-columns: 14px 6em 1fr auto; gap: var(--s4); align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.origin-row:hover { background: var(--bg-2); }
.origin-row .sw { width: 14px; height: 36px; }
.origin-row b { font-size: 18px; }
.origin-row .num { font-size: 14px; color: var(--ink-2); text-align: right; }
@media (max-width: 1023px) {
  .origin-strip { grid-template-columns: 1fr; }
  .origin-strip .jmap { max-width: 420px; margin: 0 auto; }
  .origin-row { grid-template-columns: 10px 4.5em 1fr; }
  .origin-row .num { grid-column: 3; text-align: left; margin-top: -10px; }
}

/* ---------- お茶を探す ---------- */
.shop { display: grid; grid-template-columns: 248px 1fr; gap: var(--s7); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--s5); }
.filters fieldset { border: 0; padding: 0; margin: 0; border-top: 1px solid var(--ink); padding-top: var(--s3); }
.filters legend { font-size: 12px; font-family: var(--font-num); color: var(--ink-2); letter-spacing: 0.06em; padding: 0; margin-bottom: var(--s2); float: left; width: 100%; }
.filters legend + * { clear: both; }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.fopt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; cursor: pointer; }
.fopt .num { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.fopt.is-zero { color: var(--ink-3); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.fchip span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); font-size: 14px; }
.fchip:hover span { border-color: var(--ink); }
.fchip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.results-bar .count .num { font-size: 22px; font-weight: 500; }
.results-bar .select { width: auto; min-width: 210px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s5); }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--ink); background: transparent; font-size: 13px; cursor: pointer; }
.active-filters button:hover { background: var(--bg-2); }
.filter-toggle { display: none; }
.empty { border-top: 1px solid var(--ink); padding: var(--s7) 0; display: grid; gap: var(--s4); justify-items: start; }
@media (max-width: 1023px) {
  .shop { grid-template-columns: 1fr; gap: var(--s4); }
  .filter-toggle { display: inline-flex; }
  .filters { position: static; display: none; padding: var(--s4) 0 var(--s5); border-bottom: 1px solid var(--ink); }
  .filters.is-open { display: grid; }
  .results-bar .select { min-width: 0; width: 100%; }
  .results-bar { gap: var(--s3); }
  .results-bar > label { width: 100%; }
}
.sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 719px) { .sets { grid-template-columns: 1fr; } }

/* ---------- 商品ページ ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: start; padding-bottom: var(--s8); }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--s3); }
.gallery__main .can img, .gallery__main > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 88px); gap: var(--s2); }
.gallery__thumbs button { padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-pressed="true"] { border: 2px solid var(--ink); }
.gallery__thumbs button:hover { border-color: var(--ink); }
.buy { display: grid; gap: var(--s5); }
.pnum { display: flex; align-items: stretch; gap: var(--s4); }
.pnum__bar { width: 8px; background: var(--c); }
.pnum__no { font-family: var(--font-num); font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.pnum__no small { font-size: 20px; letter-spacing: 0; margin-right: 2px; }
.pnum__meta { align-self: end; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.buy h1 { font-size: 32px; line-height: 1.35; }
.buy h1 span { font-size: 18px; font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.buy__lead { color: var(--ink-2); font-size: 15px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s4); border-top: 1px solid var(--line); padding-top: var(--s4); }
.price-row .price { font-family: var(--font-num); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.price-row .price small { font-family: var(--font-ja); font-size: 16px; font-weight: 500; }
.price-row .tax { font-size: 13px; color: var(--ink-2); }
.price-row .percup { margin-left: auto; font-size: 14px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); }
.buy-notes { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.buy-notes li { list-style: none; display: flex; gap: 8px; align-items: flex-start; }
.buy-notes .icon { margin-top: 3px; width: 16px; height: 16px; }
.field-error { color: var(--error); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.note-box { border-left: 3px solid var(--ink); padding: 8px 12px; background: var(--bg-2); font-size: 14px; line-height: 1.7; }
.pdp-sec { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s7); padding: var(--s8) 0; border-top: 1px solid var(--line); }
.pdp-sec > h2 { font-size: 25px; }
.pdp-sec > h2 small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 6px; line-height: 1.7; }
.brew-step { margin-top: var(--s4); font-size: 15px; }
.producer { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: end; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.contents-list { border-top: 1px solid var(--ink); }
.contents-list a { display: grid; grid-template-columns: 6px 64px 1fr auto; gap: var(--s3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contents-list a:hover { background: var(--bg-2); }
.contents-list .bar { align-self: stretch; background: var(--c); }
@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; gap: var(--s5); }
  .gallery { position: static; }
  .pdp-sec { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s7) 0; }
}
@media (max-width: 719px) {
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pnum__no { font-size: 52px; }
  .buy h1 { font-size: 26px; }
  .buy h1 span { display: block; margin: 4px 0 0; font-size: 15px; }
  .price-row .price { font-size: 28px; }
  .price-row .percup { margin-left: 0; width: 100%; }
  .sizes { grid-template-columns: 1fr; }
  .size { border-right: 0; border-bottom: 1px solid var(--ink); grid-template-columns: 1fr auto auto; gap: var(--s3); align-items: baseline; }
  .size:last-child { border-bottom: 0; }
  .popt__body { padding-left: 0; }
}

/* ---------- 産地 ---------- */
.origins { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: start; }
.origins__map { position: sticky; top: calc(var(--header-h) + 16px); }
.origin-sec { padding: var(--s7) 0; border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.origin-sec:first-child { padding-top: 0; border-top: 0; }
.origin-sec__head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.origin-sec__head .sw { width: 18px; height: 48px; }
.origin-sec__head h2 { font-size: 32px; }
.origin-sec__head p { font-size: 14px; color: var(--ink-2); }
.origin-sec .origin-summary { margin-bottom: var(--s5); max-width: 36em; }
.producers { border-top: 1px solid var(--line); margin-top: var(--s5); }
.producers li { list-style: none; display: grid; grid-template-columns: 9em 1fr auto; gap: var(--s4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.producers b { display: block; }
.producers .xs { color: var(--ink-2); }
.producers a.num { white-space: nowrap; text-underline-offset: 3px; }
.origin-teas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.origin-teas a { text-decoration: none; display: grid; gap: 6px; font-size: 14px; }
@media (max-width: 1023px) {
  .origins { grid-template-columns: 1fr; gap: var(--s5); }
  .origins__map { position: static; max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 719px) {
  .producers li { grid-template-columns: 1fr; gap: 4px; }
  .origin-teas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 定期便 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.plan { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s4); padding: var(--s6) var(--s5); border-right: 1px solid var(--line); }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan h3 { font-size: 25px; }
.plan .price { font-family: var(--font-num); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.plan .price small { font-family: var(--font-ja); font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.plan dl { display: grid; grid-template-columns: 6em 1fr; gap: 6px var(--s3); font-size: 14px; margin: 0; border-top: 1px solid var(--line); padding-top: var(--s3); }
.plan dt { color: var(--ink-2); }
.plan dd { margin: 0; }
.plan img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 1023px) {
  .plans { grid-template-columns: 1fr; border-bottom: 0; }
  .plan, .plan:first-child, .plan:last-child { padding: var(--s6) 0; border-right: 0; border-bottom: 1px solid var(--ink); }
}
.sched { border-top: 1px solid var(--ink); }
.sched__row { display: grid; grid-template-columns: 9em 1fr; gap: var(--s4); padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sched__row .teas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.sched__row .teas a { display: flex; gap: 8px; align-items: flex-start; text-decoration: none; font-size: 14px; line-height: 1.5; }
.sched__row .teas a:hover b { text-decoration: underline; }
.sched__row .teas .sw { margin-top: 5px; }
@media (max-width: 719px) {
  .sched__row { grid-template-columns: 1fr; gap: 6px; }
  .sched__row .teas { grid-template-columns: 1fr; gap: 6px; }
}
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.howto > div { padding: var(--s5) var(--s5) var(--s5) 0; border-right: 1px solid var(--line); }
.howto > div + div { padding-left: var(--s5); }
.howto > div:last-child { border-right: 0; }
.howto h3 { font-size: 20px; margin-bottom: var(--s3); }
.howto ol { padding-left: 1.4em; font-size: 15px; display: grid; gap: 6px; }
@media (max-width: 1023px) {
  .howto { grid-template-columns: 1fr; }
  .howto > div, .howto > div + div { padding: var(--s5) 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-num); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 var(--s4); color: var(--ink-2); max-width: 44em; }
.faq { border-top: 1px solid var(--ink); }

/* ---------- ギフト ---------- */
.gmatrix th, .gmatrix td { border-bottom: 1px solid var(--line); padding: var(--s4) var(--s4) var(--s4) 0; vertical-align: top; text-align: left; }
.gmatrix thead th { border-bottom: 1px solid var(--ink); font-family: var(--font-num); font-size: 13px; font-weight: 500; color: var(--ink-2); padding-top: 0; }
.gmatrix tbody th { width: 13em; font-size: 17px; }
.gmatrix tbody th small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.gmatrix td + td, .gmatrix th + td { border-left: 1px solid var(--line); padding-left: var(--s4); }
.gpick { display: grid; grid-template-columns: 8px 1fr; gap: 10px; text-decoration: none; padding: 6px 0; font-size: 15px; line-height: 1.5; }
.gpick + .gpick { border-top: 1px dashed var(--line); }
.gpick .bar { background: var(--c, var(--ink)); }
.gpick:hover b { text-decoration: underline; text-underline-offset: 3px; }
.gpick .num { font-size: 14px; color: var(--ink-2); }
@media (max-width: 719px) {
  .gmatrix thead { display: none; }
  .gmatrix, .gmatrix tbody, .gmatrix tr, .gmatrix th, .gmatrix td { display: block; width: 100%; }
  .gmatrix tr { border-top: 1px solid var(--ink); padding-top: var(--s3); margin-bottom: var(--s5); }
  .gmatrix tbody th { border: 0; padding: 0 0 var(--s2); width: 100%; }
  .gmatrix td, .gmatrix td + td, .gmatrix th + td { border-left: 0; padding: var(--s3) 0; }
  .gmatrix td::before { content: attr(data-band); display: block; font-family: var(--font-num); font-size: 12px; color: var(--ink-2); }
}
.steps { counter-reset: st; border-top: 1px solid var(--ink); }
.steps li { list-style: none; counter-increment: st; display: grid; grid-template-columns: 48px 1fr; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--font-num); font-size: 20px; font-weight: 500; line-height: 1.4; }

/* ---------- 淹れ方 ---------- */
.btable { min-width: 760px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.btable th, .btable td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; white-space: nowrap; }
.btable thead th { border-bottom: 1px solid var(--ink); font-size: 12px; font-family: var(--font-num); color: var(--ink-2); font-weight: 400; }
.btable td.num { font-size: 16px; }
.btable .grp { border-left: 1px solid var(--line); padding-left: 12px; }
.btable a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.btable a:hover b { text-decoration: underline; }

/* ---------- カート ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: var(--s8); align-items: start; }
.cart-group h2 { font-size: 14px; font-family: var(--font-num); font-weight: 400; color: var(--ink-2); letter-spacing: 0.04em; padding-bottom: var(--s2); border-bottom: 1px solid var(--ink); }
.cart-group + .cart-group { margin-top: var(--s7); }
.cline { display: grid; grid-template-columns: 112px 1fr auto; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.cline__title { font-weight: 700; text-decoration: none; }
.cline__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.cline__kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; border: 1px solid var(--ink); padding: 1px 8px; margin-top: 6px; }
.cline__kind.is-sub { background: var(--lime); }
.cline__attrs { margin-top: 8px; font-size: 13px; color: var(--ink-2); display: grid; gap: 2px; }
.cline__tools { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s3); flex-wrap: wrap; }
.cline__price { text-align: right; font-family: var(--font-num); white-space: nowrap; }
.cline__price s { display: block; color: var(--ink-2); font-size: 13px; }
.cline__price b { font-size: 17px; font-weight: 500; }
.linkbtn { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; gap: 4px; align-items: center; min-height: 32px; }
.linkbtn:hover { color: var(--error); }
.gift-edit { margin-top: var(--s3); border: 1px solid var(--line); padding: var(--s4); display: grid; gap: var(--s4); background: var(--bg); }
.summary { position: sticky; top: calc(var(--header-h) + 16px); border-top: 1px solid var(--ink); padding-top: var(--s4); display: grid; gap: var(--s4); }
.summary table td { padding: 6px 0; font-size: 15px; }
.summary table td:last-child { text-align: right; font-family: var(--font-num); }
.summary .total td { border-top: 1px solid var(--ink); padding-top: 12px; font-weight: 700; font-size: 17px; }
.summary .total td:last-child { font-size: 24px; font-weight: 500; }
.recurring { font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: var(--s3); display: grid; gap: 4px; }
.mixed-note { margin-bottom: var(--s6); }
.trial-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.trial-picks > div { display: grid; gap: var(--s2); }
.handoff { max-width: 720px; padding: var(--s8) 0; }
.handoff h1 { font-size: 32px; margin: var(--s3) 0 var(--s4); }
.handoff__panel { border-top: 1px solid var(--ink); margin-top: var(--s6); }
.handoff__panel li { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.handoff pre { background: var(--ink); color: #E8EAF0; padding: var(--s4); overflow-x: auto; font-size: 12px; line-height: 1.6; margin-top: var(--s3); }
.handoff details summary { cursor: pointer; font-size: 14px; padding: var(--s3) 0; }
.handoff .shopify-box { display: flex; gap: var(--s4); align-items: center; padding: var(--s5); border: 1px dashed var(--ink); margin-top: var(--s5); }
@media (max-width: 1023px) {
  .cart-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .summary { position: static; }
}
@media (max-width: 719px) {
  .cline { grid-template-columns: 80px 1fr; }
  .cline__price { grid-column: 2; text-align: left; }
  .cline__price s { display: inline; margin-right: 6px; }
  .trial-picks { grid-template-columns: 1fr 1fr; }
  .trial-picks > div:nth-child(3) { display: none; }
}

/* ---------- tsumuについて ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s7); }
.about-grid + .about-grid { margin-top: var(--s8); }
.about-grid h2 { font-size: 25px; }
.prose { display: grid; gap: var(--s4); max-width: 40em; }
.prose p { font-size: 16px; }
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* ギフトの価格帯（トップ） */
.band-rows { border-top: 1px solid var(--ink); }
.band-row { display: grid; grid-template-columns: 9em 1fr auto; gap: var(--s4); align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.band-row:hover { background: var(--bg-2); }
.band-row .num { font-size: 14px; color: var(--ink-2); }
.band-row .num:last-child { color: var(--ink); font-size: 15px; }
@media (max-width: 719px) { .band-row { grid-template-columns: 1fr auto; gap: 2px var(--s3); } .band-row > :first-child { grid-column: 1 / -1; font-size: 12px; } }
b, strong, .tcard__title, .cline__title { word-break: auto-phrase; }
/* 品種名は語の途中で折らない（「ゆた／かみどり」になるのを防ぐ）。折るなら産地名との間の空白で */
.lineup__name b { word-break: keep-all; overflow-wrap: anywhere; }
/* 押せるチップは枠を濃く（背景との差 3:1 以上） */
a.chip, .fchip span { border-color: var(--ink-3); }
.plan > img, .plan > .can { width: 100%; height: 240px; aspect-ratio: auto !important; object-fit: cover; }
@media (max-width: 1023px) { .plan > img, .plan > .can { height: auto; aspect-ratio: 3 / 2 !important; } }
