/* 菓子司 卯波（架空の和菓子屋）— Web工房Pono 自主制作 */
:root {
  /* 色（テンプレートの色替えはここだけ） */
  --main: #6B2737;      /* 小豆 */
  --main-d: #4A1A26;
  --accent: #6E7B3A;    /* 抹茶 */
  --bg: #F5EDE7;        /* 桜鼠 */
  --paper: #FFFCF8;
  --ink: #2A1F22;
  --sub: #66575A;
  --mute: #9C8C8E;
  --line: #E2D3CB;
  --cool: #3E6A86;      /* クール便 */
  --gold: #B08A3E;
  /* 書体 */
  --brush: "Yuji Syuku", "Hiragino Mincho ProN", serif;
  --mn: "Kaisei Tokumin", "Hiragino Mincho ProN", serif;
  --jp: "Zen Kaku Gothic Antique", "Hiragino Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.7,.2,1);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M0 24a24 24 0 0 1 48 0M8 24a16 16 0 0 1 32 0M16 24a8 8 0 0 1 16 0M-24 12a24 24 0 0 1 48 0M-16 12a16 16 0 0 1 32 0M-8 12a8 8 0 0 1 16 0M24 12a24 24 0 0 1 48 0M32 12a16 16 0 0 1 32 0M40 12a8 8 0 0 1 16 0'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 16px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.5; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd, fieldset { margin: 0; padding: 0; list-style: none; border: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.narrow > p + p { margin-top: 1.3em; }
:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }

.demo-bar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; }
.demo-bar a { color: #fff; text-decoration: underline; margin-left: 6px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--main); background: transparent; color: var(--main); font-family: var(--mn); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--main { background: var(--main); color: #fff; }
.btn--main:hover { background: var(--main-d); }
.btn--line:hover { background: var(--main); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--main); }
.btn--full { width: 100%; }
.btn--big { min-height: 60px; font-size: 16px; }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mn); font-weight: 700; font-size: 14.5px; letter-spacing: .1em; text-decoration: none; color: var(--main); padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.link svg { width: 22px; height: 12px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* 見出し：朱肉の印＋筆文字 */
.sh { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 36px; }
.sh__k { flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin-top: 4px; background: var(--main); color: #fff; font-family: var(--brush); font-size: 26px; line-height: 1; border-radius: 4px; box-shadow: inset 0 0 0 3px var(--main), inset 0 0 0 4px rgba(255,255,255,.5); }
.sh h2 { font-family: var(--brush); font-size: clamp(26px, 3vw, 36px); letter-spacing: .1em; }
.sh__l { margin-top: 6px; color: var(--sub); font-size: 15px; }
.row-t { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.row-t .link { margin-bottom: 40px; }
.h2s { font-family: var(--mn); font-weight: 700; font-size: 19px; letter-spacing: .1em; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.note { margin-top: 18px; font-size: 13px; color: var(--mute); }
.dots li { position: relative; padding-left: 1.2em; }
.dots li + li { margin-top: 6px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.seal { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--main); color: #fff; font-family: var(--brush); font-size: 19px; border-radius: 3px; line-height: 1; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(255,252,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; height: 76px; width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.mark { width: 42px; height: 42px; color: var(--main); flex: none; }
.logo small { display: block; font-size: 10.5px; letter-spacing: .18em; color: var(--mute); line-height: 1.4; }
.logo b { display: block; font-family: var(--brush); font-weight: 400; font-size: 23px; letter-spacing: .14em; line-height: 1.25; }
.hd__nav { display: flex; gap: 30px; margin-left: auto; }
.hd__nav a { font-family: var(--mn); font-weight: 700; font-size: 14.5px; letter-spacing: .1em; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.hd__nav a:hover, .hd__nav a[aria-current] { border-color: var(--main); color: var(--main); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border: 1px solid var(--main); color: var(--main); text-decoration: none; font-family: var(--mn); font-weight: 700; font-size: 14px; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn i { position: absolute; right: -8px; top: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px/20px var(--jp); font-style: normal; text-align: center; letter-spacing: 0; transform: scale(0); transition: transform .3s var(--ease); }
.cart-btn i.is-on { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.menu-btn { display: none; }
.drawer { display: none; }

/* ヒーロー */
.hero { position: relative; }
.hero__img { height: min(80svh, 780px); min-height: 520px; overflow: hidden; background: #d9c9bf; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: hz 16s ease-out both; }
@keyframes hz { from { transform: scale(1.07); } to { transform: none; } }
.hero__tz { position: absolute; top: 48px; right: clamp(16px, 7vw, 110px); display: flex; gap: 26px; writing-mode: vertical-rl; padding: 40px 30px; background: var(--paper); box-shadow: 0 24px 50px -30px rgba(42,31,34,.6); animation: up 1.2s .2s var(--ease) both; }
.hero__tz::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.hero__t { font-family: var(--brush); font-size: clamp(36px, 4vw, 52px); letter-spacing: .16em; line-height: 1.45; color: var(--main); }
.hero__d { font-family: var(--mn); font-size: 14.5px; line-height: 2.2; letter-spacing: .14em; color: var(--sub); }
.hero__now { position: absolute; left: clamp(16px, 5vw, 80px); bottom: -34px; display: flex; align-items: center; gap: 18px; padding: 18px 24px; background: var(--main); color: #fff; text-decoration: none; box-shadow: 0 20px 40px -24px rgba(42,31,34,.7); max-width: calc(100% - 32px); animation: up 1.2s .5s var(--ease) both; }
.hero__now-m { white-space: nowrap; font-family: var(--brush); font-size: 30px; line-height: 1; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.35); }
.hero__now-t { font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.75); line-height: 1.6; }
.hero__now-t b { display: block; font-family: var(--mn); font-size: 16px; color: #fff; letter-spacing: .08em; }
.hero__now svg { width: 22px; height: 12px; flex: none; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* セクション */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec--tight { padding-top: 32px; }
.sec--paper { background: var(--paper); }
.sec--intro { padding-top: clamp(96px, 11vw, 140px); }
.intro { text-align: center; }
.intro__t { font-family: var(--brush); font-size: clamp(25px, 3vw, 34px); letter-spacing: .12em; line-height: 1.7; color: var(--main); }
.intro__d { margin-top: 18px; color: var(--sub); font-size: 15px; }

/* 種類のタイル */
.cts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.ct { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--bg); text-decoration: none; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.ct:hover { border-color: var(--main); background: var(--paper); }
.ct__s { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--main); color: var(--main); font-family: var(--brush); font-size: 24px; line-height: 1; }
.ct__n { font-family: var(--mn); font-weight: 700; font-size: 15px; line-height: 1.5; }
.ct__c { margin-left: auto; font-size: 12px; color: var(--mute); }

/* 商品カード */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.pc { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.sec--paper .pc { background: #fff; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(42,31,34,.5); }
.pc__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; }
.pc__out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,31,34,.5); color: #fff; font-family: var(--mn); font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.pc__b { display: flex; flex-direction: column; flex: 1; padding: 12px 16px 16px; }
.pc__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pc h3 { margin-top: 8px; font-family: var(--brush); font-size: 19px; letter-spacing: .06em; line-height: 1.45; }
.pc h3 small { display: block; font-family: var(--jp); font-size: 12.5px; color: var(--sub); letter-spacing: .04em; }
.pc__keep { margin-top: 6px; font-size: 12px; color: var(--mute); }
.pc__price { margin-top: auto; padding-top: 6px; font-family: var(--mn); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.pc__price span { font-family: var(--jp); font-weight: 400; font-size: 11.5px; color: var(--sub); margin-left: 2px; }
.pc.is-hide { display: none; }
.mb { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 6px; font-size: 11.5px; letter-spacing: .04em; line-height: 1.7; border: 1px solid; white-space: nowrap; }
.mb svg { width: 14px; height: 14px; }
.mb--store { color: #fff; background: var(--main); border-color: var(--main); }
.mb--cool { color: var(--cool); border-color: var(--cool); }
.mb--normal { color: var(--accent); border-color: var(--accent); }
.tag { display: inline-block; padding: 1px 8px; font-size: 11.5px; line-height: 1.7; background: var(--bg); color: var(--sub); }
.tag--sea { background: #F6E3C8; color: #7A4A12; }

/* 届け方 */
.hws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hw { padding: 28px 26px; background: var(--paper); border-top: 4px solid var(--accent); }
.hw--store { border-color: var(--main); }
.hw--cool { border-color: var(--cool); }
.hw__ic { width: 44px; height: 44px; color: var(--accent); }
.hw--store .hw__ic { color: var(--main); }
.hw--cool .hw__ic { color: var(--cool); }
.hw__ic svg { width: 100%; height: 100%; }
.hw h3 { margin-top: 10px; font-family: var(--brush); font-size: 22px; letter-spacing: .08em; }
.hw > p { margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.85; }
.hw ul { margin-top: 14px; border-top: 1px dashed var(--line); }
.hw li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hw li a { text-decoration: none; }
.hw li a:hover { color: var(--main); text-decoration: underline; }
.hw li span { flex: none; font-size: 12px; color: var(--mute); }
.hw li span::before { content: "日持ち "; }
.hws__note { margin-top: 20px; font-size: 13.5px; color: var(--sub); }

/* 今月のこよみ（帯） */
.koy { background: var(--main-d) var(--wave); color: #F4E8E4; padding: clamp(64px, 8vw, 100px) 0; }
.koy__in { display: grid; grid-template-columns: 300px 1fr auto; gap: 48px; align-items: center; }
.koy__lbl { font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.65); }
.koy__name { margin-top: 4px; font-family: var(--brush); font-size: 64px; line-height: 1.2; letter-spacing: .1em; }
.koy__num { font-family: var(--mn); font-size: 15px; }
.koy__sekki { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.koy__col { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; }
.koy__col li { display: flex; align-items: center; gap: 7px; }
.koy__col i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.koy__list { display: grid; gap: 2px; }
.koy__list li { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.koy__list b { font-family: var(--brush); font-weight: 400; font-size: 21px; letter-spacing: .06em; line-height: 1.5; }
.koy__list span { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.8; padding-top: 2px; }

/* 掛け紙 */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.gift .dots { margin: 4px 0 30px; font-size: 15px; }
.noshi__paper { position: relative; aspect-ratio: 16 / 10; background: #FFFEFA; background-image: radial-gradient(rgba(176,138,62,.06) 1px, transparent 1.4px), radial-gradient(rgba(107,39,55,.04) 1px, transparent 1.4px); background-size: 7px 9px, 11px 13px; box-shadow: 0 1px 0 var(--line), 0 26px 50px -30px rgba(42,31,34,.55); border: 1px solid var(--line); overflow: hidden; }
.noshi__mz { position: absolute; inset: 0; width: 100%; height: 100%; }
.noshi__noshi { display: none; }
.noshi__top, .noshi__name { position: absolute; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; font-family: var(--brush); color: #1d1617; white-space: nowrap; }
.noshi__top { top: 6%; font-size: clamp(20px, 3.4vw, 32px); letter-spacing: .3em; }
.noshi__name { bottom: 6%; font-size: clamp(14px, 2.2vw, 20px); letter-spacing: .2em; }
.noshi__name.is-plate { padding: 8px 4px; background: #FFFEFA; border: 1px solid var(--line); }
.noshi__cap { margin-top: 12px; font-size: 13px; color: var(--sub); text-align: center; }

/* 店の入口 */
.story-t { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; background: var(--bg); }
.story-t__img { height: 100%; max-height: 760px; overflow: hidden; }
.story-t__img img { width: 100%; height: 100%; object-fit: cover; }
.story-t__txt { padding: 72px clamp(24px, 6vw, 100px); }
.story-t__txt > p { margin-top: 16px; color: var(--sub); }
.story-t__txt .link { margin-top: 30px; }
.story-t .sh { margin-bottom: 10px; }

.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.promise li { padding: 28px 24px; text-align: center; }
.promise li + li { border-left: 1px solid var(--line); }
.promise b { display: block; font-family: var(--mn); font-size: 30px; color: var(--main); line-height: 1.4; }
.promise span { display: block; font-family: var(--mn); font-weight: 700; font-size: 15px; }
.promise small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mute); }

/* 下層ページの見出し */
.ph { padding: 56px 0 8px; }
.ph--s { padding-bottom: 0; }
.ph .sh { margin-bottom: 0; }
.sh--ph h2 { font-size: clamp(30px, 3.6vw, 42px); }
.ph--img { position: relative; padding: 0; height: 300px; overflow: hidden; display: flex; align-items: flex-end; }
.ph--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ph--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(42,31,34,.55)); }
.ph--img .wrap { position: relative; z-index: 1; padding-bottom: 34px; color: #fff; }

/* 一覧の絞り込み */
.filter { display: grid; gap: 14px; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: var(--mn); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.tabs button.is-on { background: var(--main); border-color: var(--main); color: #fff; }
.fl { background: var(--paper); border: 1px solid var(--line); }
.fl summary { cursor: pointer; padding: 12px 18px; font-family: var(--mn); font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; }
.fl summary::-webkit-details-marker { display: none; }
.fl summary::after { content: "＋"; color: var(--main); }
.fl[open] summary::after { content: "－"; }
.fl__in { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 36px; justify-content: start; padding: 4px 18px 16px; }
.fl fieldset { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.fl legend { width: 100%; font-size: 12.5px; color: var(--mute); margin-bottom: 4px; }
.fl label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; cursor: pointer; }
.fl input { width: 18px; height: 18px; accent-color: var(--main); margin: 0; }
.fl__note { grid-column: 1 / -1; font-size: 12.5px; color: var(--mute); }
.list-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.count { font-size: 14px; color: var(--sub); }
.count b { font-family: var(--mn); font-size: 22px; color: var(--ink); margin-right: 2px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); }
.sort select, .fld select, .fld input, .fld textarea { min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); background: #fff; font-size: 16px; border-radius: 0; width: 100%; }
.sort select { width: auto; min-height: 42px; font-size: 14px; }
.nohit { padding: 40px 0; text-align: center; color: var(--sub); }

/* 商品ページ */
.crumb { padding: 22px 0; font-size: 12.5px; color: var(--mute); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--main); }
.crumb span { margin: 0 6px; }
.crumb b { font-weight: 400; color: var(--ink); }
.item__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.g { position: sticky; top: 96px; }
.g__main { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.g__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.g__ths { display: flex; gap: 10px; margin-top: 10px; }
.g__ths button { width: 96px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden; }
.g__ths button.is-on { border-color: var(--main); }
.g__ths img { width: 100%; height: 100%; object-fit: cover; }
.buy__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.buy h1 { margin-top: 12px; font-family: var(--brush); font-size: clamp(28px, 3vw, 38px); letter-spacing: .08em; line-height: 1.4; }
.buy h1 small { display: block; font-family: var(--jp); font-size: 14px; color: var(--sub); letter-spacing: .06em; }
.buy__lead { margin-top: 12px; color: var(--sub); }
.buy__price { margin-top: 14px; font-family: var(--mn); font-size: 15px; }
.buy__price b { font-size: 34px; letter-spacing: .02em; margin-right: 2px; }
.buy__price > span { font-family: var(--jp); font-size: 12.5px; color: var(--sub); margin-left: 4px; }
.season { margin-top: 12px; padding: 10px 14px; background: #F6E3C8; color: #6A3F0E; font-size: 14px; }
.season span { display: block; }
.var { margin-top: 20px; }
.var legend, .qty > span, .fld__l, .fld { font-size: 13px; color: var(--sub); }
.var legend { margin-bottom: 8px; }
.var label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 15px; color: var(--ink); }
.var label + label { margin-top: -1px; }
.var label:has(input:checked) { border-color: var(--main); position: relative; box-shadow: inset 0 0 0 1px var(--main); }
.var input { width: 18px; height: 18px; accent-color: var(--main); margin: 0; flex: none; }
.var label b { margin-left: auto; font-family: var(--mn); }
.qty { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.qty__box { display: flex; border: 1px solid var(--line); background: #fff; }
.qty__box button { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty__box button svg { width: 18px; height: 18px; }
.qty__box input { width: 52px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: var(--mn); font-size: 18px; background: none; -moz-appearance: textfield; }
.qty__box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.howto { margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--paper); font-size: 13.5px; color: var(--sub); line-height: 1.8; }
.howto b { color: var(--ink); }
.when { margin-top: 16px; padding: 16px; background: var(--paper); border: 1px dashed var(--line); }
.when__t { display: flex; align-items: center; gap: 8px; font-family: var(--mn); font-weight: 700; font-size: 14.5px; }
.when__t svg { width: 20px; height: 20px; color: var(--main); }
.when select { margin-top: 10px; width: 100%; min-height: 46px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; font-size: 16px; }
.when__r { margin-top: 10px; font-size: 14px; line-height: 1.8; }
.when__r b { font-family: var(--mn); color: var(--main); font-size: 17px; }
.when__r.is-ng { color: #9B2C2C; }
.item__body { display: grid; gap: 56px; max-width: 860px; margin: 72px auto 0; }
.item__txt { line-height: 2.1; }
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec dt { color: var(--sub); }
.spec__note { margin-top: 10px; font-size: 13px; color: var(--mute); }
.spec--s > div { grid-template-columns: 6em 1fr; font-size: 14px; padding: 9px 2px; }
.alg { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.alg li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; text-align: center; line-height: 1.4; }
.alg li b { font-family: var(--mn); font-size: 14px; color: var(--mute); }
.alg li.is-in { border-color: var(--main); background: #F7E6E6; }
.alg li.is-in b { color: var(--main); }
.alg__rec, .alg__note { margin-top: 10px; font-size: 13px; color: var(--sub); }
.rel { padding-bottom: 40px; }
.sp-buy { display: none; }

/* カート・注文 */
.steps { display: flex; gap: 6px; margin: 22px 0 0; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--paper); border-bottom: 3px solid var(--line); font-size: 13px; color: var(--mute); line-height: 1.4; }
.steps b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: #fff; font-family: var(--mn); font-size: 13px; }
.steps .is-on { border-color: var(--main); color: var(--ink); font-weight: 700; }
.steps .is-on b, .steps .is-done b { background: var(--main); }
.cartp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.box { background: var(--paper); border: 1px solid var(--line); padding: 24px clamp(16px, 3vw, 28px); }
.box + .box { margin-top: 16px; }
.box__t { display: flex; align-items: center; gap: 12px; font-family: var(--brush); font-size: 22px; letter-spacing: .08em; margin-bottom: 18px; }
.box__t b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--main); color: var(--main); font-weight: 400; font-size: 17px; line-height: 1; }
.lines li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.lines li:first-child { border-top: 0; padding-top: 0; }
.lines img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.lines h3 { font-family: var(--brush); font-size: 18px; line-height: 1.4; letter-spacing: .04em; }
.lines h3 a { text-decoration: none; }
.lines small { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.6; }
.lines .mb { margin-top: 4px; }
.lines .qty__box { margin-top: 8px; width: max-content; }
.lines .qty__box button { width: 40px; height: 40px; }
.lines .qty__box span { display: grid; place-items: center; width: 40px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-family: var(--mn); }
.ln__p { text-align: right; font-family: var(--mn); font-weight: 700; font-size: 17px; white-space: nowrap; }
.ln__rm { margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--mute); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.empty { padding: 20px 0; color: var(--sub); }
.empty a { color: var(--main); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; font-family: var(--mn); font-weight: 700; font-size: 14.5px; text-align: center; line-height: 1.4; transition: background .2s, color .2s; }
.seg span svg { width: 20px; height: 20px; flex: none; }
.seg input:checked + span { background: var(--main); border-color: var(--main); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--main); outline-offset: 2px; }
.seg--sm span { min-height: 46px; font-size: 13px; font-family: var(--jp); font-weight: 500; }
.fld { display: block; margin-top: 16px; }
.fld > input, .fld > select, .fld > textarea { margin-top: 6px; color: var(--ink); }
.fld em { margin-left: 8px; padding: 0 6px; font-style: normal; font-size: 11px; background: var(--main); color: #fff; }
.fld__l { margin-bottom: 8px; }
.fld__l small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--accent); }
.fld__h { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mute); line-height: 1.7; }
.fld__h a { color: var(--main); }
.zone { margin-top: 8px; font-size: 13.5px; color: var(--sub); }
.zone b { color: var(--ink); }
.warn { margin-top: 14px; padding: 14px 16px; border: 1px solid #C98B8B; background: #FBEDED; color: #7A2121; font-size: 14px; line-height: 1.8; }
.warn p + p { margin-top: 6px; }
.warn button { margin-top: 10px; min-height: 42px; padding: 0 14px; border: 1px solid #7A2121; background: #fff; color: #7A2121; font-size: 13.5px; cursor: pointer; }
.warn button + button { margin-left: 6px; }
.dgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dgrid .dh { text-align: center; font-size: 12px; color: var(--mute); }
.dgrid .dh:first-child { color: #B04040; }
.dgrid .dh:last-child { color: #3E6A86; }
.dgrid .dm { grid-column: 1 / -1; margin-top: 6px; font-family: var(--mn); font-weight: 700; font-size: 13px; color: var(--sub); }
.dgrid button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 2px 0; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: var(--mn); font-size: 15px; line-height: 1.2; }
.dgrid button i { font-style: normal; font-family: var(--jp); font-size: 10px; color: var(--accent); }
.dgrid button:disabled { background: transparent; border-color: transparent; color: #C4B6B6; cursor: default; }
.dgrid button:disabled i { color: #C4B6B6; }
.dgrid button.is-on { background: var(--main); border-color: var(--main); color: #fff; }
.dgrid button.is-on i { color: #fff; }
.dgrid.is-off { opacity: .4; pointer-events: none; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; font-size: 14px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--main); margin: 0; }
.pick-info { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg); font-size: 13.5px; line-height: 1.7; margin-top: 16px; }
.pick-info svg { width: 26px; height: 26px; color: var(--main); flex: none; }
.pick-info b { display: block; font-family: var(--mn); font-size: 15px; }
.wrapw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 4px; }
.wrapw__p { padding-top: 16px; }
.bagrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bagrow p { font-size: 14.5px; }
.bagrow small { display: block; font-size: 12.5px; color: var(--mute); }
.sum { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.sum h2 { font-family: var(--brush); font-size: 22px; letter-spacing: .1em; margin-bottom: 14px; }
.free { padding: 12px 14px; background: var(--bg); font-size: 13.5px; line-height: 1.7; }
.free b { color: var(--main); font-family: var(--mn); }
.free i { display: block; height: 4px; margin-top: 8px; background: linear-gradient(90deg, var(--accent) calc(var(--p, 0) * 100%), #fff 0); }
.sum__dl { margin-top: 14px; }
.sum__dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.sum__dl dd { font-family: var(--mn); white-space: nowrap; }
.sum__dl .is-total { border-bottom: 0; padding-top: 12px; align-items: baseline; }
.sum__dl .is-total dt { font-weight: 700; }
.sum__dl .is-total dd { font-size: 26px; font-weight: 700; color: var(--main); }
.sum__dl .is-tax { border-bottom: 0; padding: 0; font-size: 12px; color: var(--mute); }
.sum__when { margin: 12px 0 16px; padding: 10px 12px; border-left: 3px solid var(--main); background: var(--bg); font-size: 13.5px; line-height: 1.7; }
.sum__when:empty { display: none; }
.sum__err { margin-top: 10px; font-size: 13px; color: #9B2C2C; line-height: 1.7; }
.sum__err:empty { display: none; }
.sum__back { display: block; margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--sub); }
.sum__note { margin-top: 10px; font-size: 12.5px; color: var(--mute); text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pays { display: grid; gap: 8px; }
.pays label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.pays label:has(input:checked) { border-color: var(--main); box-shadow: inset 0 0 0 1px var(--main); }
.pays input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--main); flex: none; }
.pays b { display: block; font-family: var(--mn); font-size: 15px; }
.pays small { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.o-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.o-btns .btn--main { flex: 1; max-width: 420px; }
.oform .fld input:invalid:not(:placeholder-shown) { border-color: #C98B8B; }
.oform .is-err { border-color: #B04040 !important; background: #FFF6F6 !important; }
.confirm:focus { outline: none; }
.confirm__t { font-family: var(--brush); font-size: 28px; letter-spacing: .1em; }
.confirm__lead { margin: 8px 0 22px; padding: 12px 16px; background: #FBF1DE; font-size: 14px; color: #6A3F0E; }
.cf { background: var(--paper); border: 1px solid var(--line); padding: 20px clamp(16px, 3vw, 26px); }
.cf + .cf { margin-top: 14px; }
.cf h3 { font-family: var(--mn); font-weight: 700; font-size: 16px; letter-spacing: .08em; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cf h3 small { font-family: var(--jp); font-weight: 400; font-size: 11.5px; color: var(--mute); letter-spacing: 0; }
.cf__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.cf__items li:first-child { border-top: 0; padding-top: 0; }
.cf__items small { grid-column: 1 / -1; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.cf__items b { font-weight: 500; }
.cf__items .p { font-family: var(--mn); white-space: nowrap; }
.cf dl > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.cf dl > div:first-child { border-top: 0; }
.cf dt { color: var(--sub); }
.cf dd { overflow-wrap: anywhere; }
.cf .tot dd { font-family: var(--mn); font-weight: 700; font-size: 22px; color: var(--main); }
.cf p { font-size: 14px; line-height: 1.85; }
.cf p + p { margin-top: 6px; }

/* 和菓子ごよみ */
.strip { display: flex; height: 10px; margin-bottom: 20px; }
.strip i { flex: 1; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.months button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 2px 10px; border: 1px solid var(--line); border-top: 5px solid var(--c); background: var(--paper); cursor: pointer; line-height: 1.3; }
.months b { font-family: var(--mn); font-size: 20px; }
.months span { font-size: 11.5px; color: var(--sub); letter-spacing: .04em; }
.months button.is-on { background: var(--main); border-color: var(--main); border-top-color: var(--c); color: #fff; }
.months button.is-on span { color: rgba(255,255,255,.8); }
.months button.is-now::after { content: "今月"; font-size: 10px; color: var(--accent); }
.months button.is-now.is-on::after { color: #fff; }
.kp { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 0; margin-top: 22px; background: var(--paper); border: 1px solid var(--line); }
.kp__side { padding: 34px 30px; background: var(--main-d) var(--wave); color: #F4E8E4; }
.kp__now { display: inline-block; padding: 0 10px; font-size: 12px; background: var(--accent); color: #fff; }
.kp__name { margin-top: 10px; font-family: var(--brush); font-size: 64px; line-height: 1.2; letter-spacing: .08em; }
.kp__num { font-family: var(--mn); font-size: 16px; }
.kp__dl { margin-top: 20px; }
.kp__dl div { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.kp__dl dt { width: 6em; color: rgba(255,255,255,.6); flex: none; }
.kp__col { display: grid; gap: 10px; margin-top: 20px; }
.kp__col li { display: flex; align-items: center; gap: 12px; font-family: var(--mn); font-size: 16px; }
.kp__col i { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.3); flex: none; }
.kp__col small { font-family: var(--jp); font-size: 11px; color: rgba(255,255,255,.55); margin-left: auto; }
.kp__main { padding: 34px clamp(18px, 3vw, 40px); }
.kp__list { counter-reset: k; margin-bottom: 36px; }
.kp__list li { position: relative; padding: 14px 0 14px 56px; border-bottom: 1px dashed var(--line); }
.kp__list li::before { counter-increment: k; content: counter(k); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--main); color: var(--main); font-family: var(--mn); }
.kp__list b { display: block; font-family: var(--brush); font-weight: 400; font-size: 22px; letter-spacing: .06em; line-height: 1.5; }
.kp__list span { font-size: 14.5px; color: var(--sub); }
.kp__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kp__items a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.kp__items a:hover { border-color: var(--main); }
.kp__items img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.kp__items b { display: block; font-family: var(--brush); font-weight: 400; font-size: 16px; line-height: 1.4; }
.kp__items small { font-size: 12px; color: var(--sub); }

/* 店のこと */
.lead-t { font-family: var(--brush); font-size: clamp(25px, 3vw, 34px); letter-spacing: .1em; line-height: 1.7; color: var(--main); margin-bottom: 26px; }
.hist { position: relative; max-width: 860px; }
.hist::before { content: ""; position: absolute; left: 7.4em; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.hist li { position: relative; display: grid; grid-template-columns: 6.6em 1fr; gap: 2.2em; padding: 18px 0; }
.hist li::before { content: ""; position: absolute; left: calc(7.4em - 6px); top: 30px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--main); }
.hi__y { font-family: var(--mn); font-weight: 700; font-size: 26px; line-height: 1.3; color: var(--main); }
.hi__y small { display: block; font-family: var(--jp); font-weight: 400; font-size: 12px; color: var(--mute); letter-spacing: .1em; }
.hi__t { padding-top: 4px; }
.proc-w { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.proc-w__img { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; position: sticky; top: 96px; }
.proc-w__img img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.proc li { position: relative; padding-top: 14px; border-top: 1px solid var(--ink); }
.pr__n { display: grid; place-items: center; width: 38px; height: 38px; background: var(--main); color: #fff; font-family: var(--brush); font-size: 20px; line-height: 1; border-radius: 3px; }
.proc h3 { margin-top: 10px; font-family: var(--brush); font-size: 26px; letter-spacing: .1em; }
.proc rt { font-family: var(--jp); font-size: 10px; color: var(--mute); letter-spacing: .1em; }
.proc p { margin-top: 4px; font-size: 14.5px; color: var(--sub); line-height: 1.85; }
.pk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pk__img img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; }
.flow { display: grid; gap: 14px; margin-bottom: 22px; }
.flow li { display: flex; gap: 14px; }
.flow > li > b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mn); }
.flow h3 { font-family: var(--mn); font-weight: 700; font-size: 16px; }
.flow p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.pk .spec { margin-bottom: 24px; }

/* ガイド */
.guide { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { padding: 6px 0 6px 16px; font-size: 14px; text-decoration: none; color: var(--sub); }
.toc a:hover { color: var(--main); }
.guide__b { display: grid; gap: 56px; min-width: 0; }
.guide__b section { scroll-margin-top: 96px; }
.guide__b p + p, .guide__b .tbl-w + p, .guide__b p + .tbl-w, .guide__b .tbl-w + .dots { margin-top: 14px; }
.tbl-w { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
.tbl th, .tbl td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.tbl thead th { background: var(--bg); font-weight: 700; font-size: 13px; }
.tbl tbody th { font-weight: 500; white-space: nowrap; }
.tbl .r { text-align: right; white-space: nowrap; font-family: var(--mn); }
.tbl .nw { white-space: nowrap; }
.wraps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.wraps li { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); }
.wraps b { display: block; font-family: var(--brush); font-weight: 400; font-size: 20px; }
.wraps span { display: block; font-size: 12.5px; color: var(--main); }
.wraps small { display: block; font-size: 12px; color: var(--mute); line-height: 1.6; }

/* フッター */
.ft { background: var(--main-d) var(--wave); color: rgba(255,255,255,.82); padding: 60px 0 26px; font-size: 13.5px; }
.ft__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logo--w { color: #fff; }
.logo--w .mark { color: #fff; }
.logo--w small { color: rgba(255,255,255,.6); }
.ft__shop p { margin-top: 16px; line-height: 1.9; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; align-content: start; }
.ft__nav a { text-decoration: none; padding: 4px 0; }
.ft__nav a:hover { color: #fff; text-decoration: underline; }
.ft__bt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: rgba(255,255,255,.6); }

/* カートに入れました */
.added { position: fixed; z-index: 80; left: 50%; bottom: 20px; width: min(440px, calc(100% - 24px)); padding: 18px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--main); box-shadow: 0 24px 50px -20px rgba(42,31,34,.55); transform: translate(-50%, 140%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.added.is-on { transform: translate(-50%, 0); visibility: visible; }
.added__t { font-family: var(--mn); font-weight: 700; font-size: 15px; }
.added__t small { display: block; font-family: var(--jp); font-weight: 400; font-size: 12.5px; color: var(--sub); }
.added__b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.added__b .btn { min-height: 46px; padding: 0 10px; font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(42,31,34,.55); }
.modal__box { position: relative; width: min(460px, 100%); padding: 36px 28px 28px; background: var(--paper); text-align: center; }
.modal__seal { position: absolute; top: -22px; left: 50%; transform: translateX(-50%) rotate(-6deg); display: grid; place-items: center; width: 52px; height: 52px; background: var(--main); color: #fff; font-family: var(--brush); font-size: 18px; border-radius: 4px; }
.modal__t { font-family: var(--mn); font-weight: 700; font-size: 18px; }
.modal__d { margin: 12px 0 22px; font-size: 14px; color: var(--sub); text-align: left; }

/* ===== 900px 以下 ===== */
@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__in { height: 62px; gap: 10px; width: calc(100% - 28px); }
  .mark { width: 36px; height: 36px; }
  .logo b { font-size: 20px; }
  .logo small { font-size: 9.5px; }
  .cart-btn { margin-left: auto; padding: 0 12px; height: 44px; }
  .cart-btn span { display: none; }
  .menu-btn { display: grid; align-content: center; gap: 6px; width: 46px; height: 46px; padding: 0 11px; border: 0; background: none; cursor: pointer; }
  .menu-btn i { display: block; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .is-open .menu-btn i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .is-open .menu-btn i:nth-child(2) { opacity: 0; }
  .is-open .menu-btn i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .drawer { display: block; position: fixed; z-index: 55; inset: 62px 0 0; padding: 24px 24px 40px; background: var(--paper) ; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .is-open .drawer { opacity: 1; visibility: visible; }
  .drawer nav a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--mn); font-weight: 700; font-size: 17px; text-decoration: none; }
  .drawer p { margin-top: 24px; font-size: 13px; color: var(--sub); }

  .cts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 32px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hws { grid-template-columns: 1fr; }
  .koy__in { grid-template-columns: 1fr; gap: 28px; }
  .koy__in .btn { justify-self: start; }
  .gift { grid-template-columns: 1fr; }
  .story-t { grid-template-columns: 1fr; }
  .story-t__img { height: auto; aspect-ratio: 4 / 3; max-height: none; }
  .story-t__img img { object-position: center 30%; }
  .story-t__txt { padding: 48px 24px 60px; }
  .promise { grid-template-columns: 1fr; }
  .promise li + li { border-left: 0; border-top: 1px solid var(--line); }
  .fl__in { grid-template-columns: 1fr; }
  .item__grid { grid-template-columns: 1fr; }
  .g { position: static; }
  .alg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cartp__grid { grid-template-columns: 1fr; }
  .sum { position: static; }
  .wrapw { grid-template-columns: 1fr; }
  .kp { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .proc-w { grid-template-columns: 1fr; }
  .proc-w__img { position: static; }
  .proc-w__img img { max-height: 280px; }
  .pk { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
  .wraps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== スマホ ===== */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  .sh { gap: 12px; margin-bottom: 26px; }
  .sh__k { width: 40px; height: 40px; font-size: 22px; }
  .sh h2 { font-size: 25px; }
  .sh__l { font-size: 14px; }
  .row-t { display: block; }
  .row-t .link { margin: -10px 0 26px; }
  .hero__img { height: 76svh; min-height: 520px; max-height: 680px; }
  .hero__img img { object-position: 30% center; }
  .hero__tz { top: 20px; right: 14px; gap: 14px; padding: 24px 16px; }
  .hero__t { font-size: 32px; }
  .hero__d { font-size: 12.5px; line-height: 2; }
  .hero__now { left: 14px; right: 14px; bottom: -40px; max-width: none; padding: 14px 16px; gap: 12px; }
  .hero__now-m { font-size: 24px; padding-right: 12px; }
  .hero__now-t b { font-size: 14px; }
  .intro__d { font-size: 14px; text-align: left; }
  .intro__d br { display: none; }
  .ct { padding: 12px; gap: 10px; }
  .ct__s { width: 40px; height: 40px; font-size: 20px; }
  .ct__n { font-size: 13.5px; }
  .ct__c { display: none; }
  .pc__b { padding: 10px 10px 12px; }
  .pc h3 { font-size: 16.5px; }
  .pc h3 small { font-size: 11.5px; }
  .pc__price { font-size: 17px; }
  .mb, .tag { font-size: 10.5px; padding: 0 5px; }
  .mb svg { width: 12px; height: 12px; }
  .hw { padding: 22px 18px; }
  .koy__name { font-size: 52px; }
  .koy__list li { grid-template-columns: 1fr; gap: 0; }
  .noshi__top { font-size: 22px; }
  .noshi__name { font-size: 14px; }
  .ph { padding-top: 36px; }
  .ph--img { height: 220px; }
  .tabs button { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .buy__price b { font-size: 30px; }
  .spec > div { grid-template-columns: 5.5em 1fr; gap: 10px; font-size: 14px; }
  .item__body { margin-top: 48px; gap: 44px; }
  .sp-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,252,248,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sp-buy.is-on { transform: none; }
  .sp-buy p { font-family: var(--mn); }
  .sp-buy b { font-size: 22px; }
  .sp-buy small { margin-left: 4px; font-size: 11px; color: var(--sub); }
  .sp-buy .btn { min-height: 50px; padding: 0 18px; }
  .steps li { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: 11px; text-align: center; }
  .lines li { grid-template-columns: 76px minmax(0, 1fr); }
  .lines li > div:last-child { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
  .ln__rm { margin-top: 0; }
  .seg--3 span { font-size: 13px; padding: 6px 4px; }
  .dgrid button { min-height: 46px; font-size: 14px; }
  .bagrow { flex-direction: column; align-items: flex-start; }
  .two { grid-template-columns: 1fr; }
  .o-btns { flex-direction: column-reverse; }
  .o-btns .btn { width: 100%; max-width: none; }
  .cf dl > div { grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; }
  .months button { padding: 10px 2px 8px; }
  .months b { font-size: 17px; }
  .months span { font-size: 10.5px; letter-spacing: 0; }
  .kp__side { padding: 26px 20px; }
  .kp__name { font-size: 50px; }
  .kp__items { grid-template-columns: 1fr; }
  .hist::before { left: 6px; }
  .hist li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0 14px 30px; }
  .hist li::before { left: 0; top: 24px; }
  .hi__y { font-size: 22px; }
  .hi__y small { display: inline; margin-left: 8px; }
  .proc { grid-template-columns: 1fr; gap: 22px; }
  .wraps li { padding: 10px; }
  .wraps b { font-size: 18px; }
  .tbl { font-size: 13px; }
  .tbl tbody th { white-space: normal; }
  .tbl th, .tbl td { padding: 8px; }
  .ft__nav { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .added__b { grid-template-columns: 1fr; }
  .alg li { font-size: 12px; }
}

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