/* AND SEOUL — ミニマル・トレンド・色彩（モバイル優先） */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1c1b19;
  --ink-2: #6f6a62;
  --line: #e8e4dd;
  --accent: #1c1b19;
  /* 余白トークン */
  --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-72: 72px;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Jost", "Noto Sans JP", sans-serif;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-16);
  max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: var(--font-en);
  font-size: 20px; font-weight: 600; letter-spacing: .22em;
}
.logo span { font-weight: 400; color: var(--ink-2); margin-left: .3em; }
.header-icons { display: flex; gap: var(--s-16); }
.header-icons svg { width: 22px; height: 22px; }

.tab-nav {
  display: flex; gap: var(--s-24);
  overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--s-16) 12px;
  max-width: 1200px; margin: 0 auto;
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: .08em; white-space: nowrap;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav a { color: var(--ink-2); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.tab-nav a.active, .tab-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

main { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-16) var(--s-72); }

/* ---------- ① 2:1バナーカルーセル ---------- */
.hero { margin: var(--s-16) calc(-1 * var(--s-16)) 0; }
.hero-mid { margin-top: var(--s-48); }
.hero-track {
  display: flex;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 2 / 1;
  background: #f1eee9;
  overflow: hidden;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--posx, 50%) var(--pos, 50%);
}
.stamp {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  border-radius: 999px;
  padding: 4px 12px;
}
.hero-stamp {
  position: absolute; top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  border-radius: 999px; padding: 5px 14px;
}
.hero-stamp.left { left: 12px; }
.hero-stamp.right { right: 12px; }
.hero-text { position: absolute; left: var(--s-16); bottom: 12px; right: var(--s-16); }
.hero-text.white { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-text.dark { color: var(--ink); text-shadow: 0 1px 12px rgba(255, 255, 255, .5); }
.hero-title {
  font-family: var(--font-en);
  font-size: 30px; font-weight: 600; letter-spacing: .06em; line-height: 1.15;
}
.hero-sub { font-size: 13px; margin-top: 2px; }
/* バナー自動スライドのドット（スライドが2枚以上のときJSで生成） */
.hero-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.hero-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px;
  background: #d8d3ca; cursor: pointer; transition: width .2s, background .2s;
}
.hero-dots button.on { width: 18px; background: var(--ink); }

/* ---------- 割引価格 ---------- */
.price-was { color: var(--ink-2); text-decoration: line-through; font-weight: 400; margin-right: 5px; }
.price-now { color: #c0392b; font-weight: 600; }
/* 「7/13 18:00まで5%OFF」の期限表示（カード・商品ページ） */
.sale-until { font-size: 11px; color: #c0392b; margin-top: 2px; }
.sale-until-lg { font-size: 13px; margin: 2px 0 0; }

/* ---------- 営業カレンダー（/calendar・不定休の案内） ---------- */
.cal-note { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.cal-legend { display: flex; gap: 10px; margin-bottom: var(--s-16); flex-wrap: wrap; }
.cal-chip {
  font-size: 11.5px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.cal-open-chip { background: #eaf4ec; color: #2e7d43; border-color: #cfe6d4; }
.cal-wrap { display: flex; gap: var(--s-32); flex-wrap: wrap; }
.cal-month { }
.cal-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.cal-table { border-collapse: collapse; background: var(--surface); }
.cal-table th, .cal-table td {
  width: 42px; height: 40px; text-align: center; vertical-align: middle;
  border: 1px solid var(--line); font-size: 13px;
}
.cal-table th { font-size: 11px; color: var(--ink-2); background: #f6f4ef; font-weight: 500; }
.cal-table th.cal-sun { color: #b5564e; }
.cal-table th.cal-sat { color: #4a6f96; }
.cal-out { background: #fafaf8; }
td.cal-open { background: #eaf4ec; color: #2e7d43; font-weight: 600; }
td.cal-today { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal-hours-note { font-size: 13.5px; margin-bottom: 8px; }
.cal-hours {
  display: block; font-size: 8.5px; font-weight: 400; line-height: 1.1;
  color: #2e7d43; white-space: nowrap;
}
@media (max-width: 759px) {
  .cal-wrap { gap: var(--s-24); }
  .cal-table th, .cal-table td { width: calc((100vw - 34px) / 7); max-width: 46px; height: 38px; }
}

/* ---------- 販売時間バナー（カートのオープン/クローズ） ---------- */
.sale-window {
  text-align: center; padding: 9px var(--s-16); font-size: 14px; color: #fff;
}
.sale-window strong { font-weight: 600; }
.sale-window .sw-when { opacity: .85; margin-left: 6px; font-size: 13px; }
.sale-window .sw-count { font-variant-numeric: tabular-nums; font-weight: 700; }
.sale-window.sw-before, .sale-window.sw-open { background: #1f7a54; }
.sale-window.sw-closed { background: #6b6b6b; }

/* ---------- sections ---------- */
.section { margin-top: var(--s-48); }
.section-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: var(--s-16);
}
.section-head h2 {
  font-family: var(--font-en);
  font-size: 18px; font-weight: 600; letter-spacing: .14em;
}
.section-sub { font-size: 12px; color: var(--ink-2); }
.more {
  margin-left: auto;
  font-size: 12px; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.page-head { display: flex; align-items: baseline; gap: 12px; margin: var(--s-32) 0 var(--s-16); }
.page-head h1 { font-family: var(--font-en); font-size: 22px; font-weight: 600; letter-spacing: .14em; }
.count { font-size: 12px; color: var(--ink-2); }

/* ---------- news ---------- */
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-plain {
  display: flex; gap: var(--s-16); padding: 12px 2px; align-items: baseline;
}
.news-list time { font-family: var(--font-en); font-size: 12px; color: var(--ink-2); flex: 0 0 64px; }
.news-list span { font-size: 13px; }
.news-page li a, .news-page li .news-plain { padding: var(--s-16) 2px; }
/* トップのお知らせ: スマホは3件まで（PCは5件） */
.news-strip .news-list li:nth-child(n+4) { display: none; }
.news-body { font-size: 14px; margin-top: var(--s-16); line-height: 1.9; }

/* ---------- product grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-24) 12px;
}
.p-card .p-img, .brand-card .p-img {
  aspect-ratio: 3 / 4;
  background: #f1eee9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-card .p-img { position: relative; }
.line-badge {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--font-en);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px;
}
.line-badge.inline {
  position: static;
  vertical-align: 3px; margin-left: 6px;
}
.p-brand {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .1em; color: var(--ink-2);
  text-transform: uppercase;
}
.p-name {
  font-size: 13px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.p-price { font-family: var(--font-en); font-size: 14px; font-weight: 500; margin-top: 2px; }

/* コーデ見出し：スマホは短く1行「コーディネートアイテム」・PCは全文（既定=PCで短縮版を隠す） */
.coord-h-sp { display: none; }
/* コーデ「使われているアイテム」＝スマホだけ小さめ3列・正方形（PCは既定の4列縦長のまま） */
@media (max-width: 759px) {
  .coord-h-pc { display: none; }
  .coord-h-sp { display: inline; }
  .grid.coord-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-16) 8px; }
  .coord-grid .p-card .p-img { aspect-ratio: 1 / 1; }
  .coord-grid .p-brand { font-size: 10px; }
  .coord-grid .p-name { font-size: 11px; }
  .coord-grid .p-price { font-size: 12px; }
}

/* ---------- ブランド行カルーセル（トップ・1行×8点） ---------- */
.brand-row {
  display: flex; gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--s-16));
  padding: 0 var(--s-16);
}
.brand-row::-webkit-scrollbar { display: none; }
.brand-row .p-card { flex: 0 0 38%; }
.brand-row .p-img { aspect-ratio: 1 / 1; }

/* ---------- ABC索引（ブランド一覧） ---------- */
.letter-index {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--s-24);
}
.letter-index button {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  padding: 5px 12px; min-width: 36px;
}
.letter-index button.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* ---------- brand grid ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-24) 12px; }
.brand-name { font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.brand-meta { font-size: 12px; color: var(--ink-2); }

/* ---------- search / pager ---------- */
.search { margin-bottom: var(--s-24); }
.search input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}
.pager {
  display: flex; justify-content: center; align-items: center; gap: 4px;
  margin-top: var(--s-32); font-size: 13px;
}
.pager .pg-arrow { border-bottom: 1px solid var(--ink); margin: 0 10px; }
.pg-num {
  min-width: 32px; height: 32px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-family: var(--font-en); font-size: 13px;
}
.pg-cur { background: var(--ink); color: #fff; }
.pg-gap { color: var(--ink-2); padding: 0 2px; }
.pg-sp-hide { display: none; } /* スマホは番号4個（5個目はPCのみ） */

/* ---------- product page ---------- */
.product-layout { display: block; }
.main-carousel {
  display: flex;
  overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  background: #f1eee9;
  scrollbar-width: none;
  cursor: zoom-in;
}
.main-carousel::-webkit-scrollbar { display: none; }
.main-carousel img {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  object-fit: cover;
}
.thumb-row { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.thumb-row img {
  width: 64px; height: 80px; object-fit: cover; border-radius: 6px;
  flex: 0 0 auto; cursor: pointer;
  border: 2px solid transparent;
}
.thumb-row img.active { border-color: var(--ink); }

/* 全画面表示（ライトボックス） */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 19, 17, .96);
}
.lightbox[hidden] { display: none; }
.lb-track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  scroll-snap-align: center;
}
.lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 101;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
}
.lb-close svg { width: 20px; height: 20px; }
.product-info { margin-top: var(--s-24); }
.product-info h1 { font-size: 18px; font-weight: 700; margin-top: 2px; }
.product-price { font-family: var(--font-en); font-size: 22px; font-weight: 500; margin-top: 8px; }
.product-price .tax { font-size: 11px; color: var(--ink-2); font-family: var(--font-jp); }
.preorder-note {
  margin-top: var(--s-16);
  background: #f4f1ea;
  border-radius: var(--radius);
  padding: var(--s-16);
  font-size: 12px; color: var(--ink-2);
}
.preorder-note .stamp-line { color: var(--ink); margin-bottom: 6px; display: inline-block; }
.opt-block { margin-top: var(--s-16); }
.opt-label {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .14em; color: var(--ink-2);
  margin-bottom: 6px;
}
.opt-hint {
  font-family: var(--font-jp); letter-spacing: normal; text-transform: none;
  font-size: 10.5px; color: var(--ink-2); margin-left: 8px;
}
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* 素材/仕様（1行=1項目）。箇条書きはflex+::beforeでなく絶対配置の「・」で組む */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  position: relative; padding-left: 14px;
  font-size: 12px; color: var(--ink-2); line-height: 1.8;
}
.spec-list li::before { content: "・"; position: absolute; left: 0; }
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 14px; font-size: 12px;
}
.btn-primary {
  width: 100%; margin-top: var(--s-24);
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  padding: 14px; font-size: 14px; font-weight: 500; letter-spacing: .06em;
}
.flow-note { margin-top: var(--s-32); }
/* お届けまでの流れ（タイトルのみ・タップで説明） */
.flow-list { margin-top: 4px; }
.flow-item { border-bottom: 1px solid var(--line); }
.flow-item summary {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0; font-size: 13px;
  cursor: pointer; list-style: none;
}
.flow-item summary::-webkit-details-marker { display: none; }
.flow-no {
  font-family: var(--font-en); font-weight: 600; font-size: 14px;
  flex: 0 0 18px; text-align: center;
}
.flow-chev {
  width: 14px; height: 14px; flex: 0 0 14px;
  margin-left: auto; align-self: center;
  color: var(--ink-2); transition: transform .2s;
}
.flow-item[open] .flow-chev { transform: rotate(180deg); }
.flow-item p {
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
  padding: 0 0 12px 28px;
}
.related-head { margin-top: var(--s-48); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--s-72);
  padding: var(--s-48) var(--s-16);
  text-align: center;
}
.footer-note { font-size: 12px; color: var(--ink-2); margin-top: var(--s-16); }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-16); margin-top: var(--s-24);
  font-size: 12px; color: var(--ink-2);
}
.copyright {
  font-family: var(--font-en);
  font-size: 11px; color: var(--ink-2);
  margin-top: var(--s-24); letter-spacing: .08em;
}

/* ---------- flash ---------- */
.flash-area { margin-top: var(--s-16); }
.flash {
  background: #f4f1ea;
  border-radius: var(--radius);
  padding: 12px var(--s-16);
  font-size: 13px;
  margin-bottom: 8px;
}
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--ink); color: #fff;
  font-family: var(--font-en); font-size: 10px;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---------- forms ---------- */
.form { max-width: 480px; }
.form label { display: block; font-size: 13px; margin-top: var(--s-16); }
.form input, .form select {
  width: 100%; margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--surface);
}
.form .req {
  font-size: 10px; color: #a04832;
  border: 1px solid currentColor; border-radius: 4px;
  padding: 0 4px; margin-left: 6px;
}
.form-note { font-size: 12px; color: var(--ink-2); margin-top: var(--s-16); }
.auth-box { max-width: 480px; margin-left: auto; margin-right: auto; }
.benefit-box {
  background: #f4f1ea; border-radius: var(--radius);
  padding: var(--s-16); margin-bottom: var(--s-24); font-size: 13px;
}
.benefit-box p + p { margin-top: 8px; }
.auth-alt { font-size: 13px; margin-top: var(--s-24); }
.auth-alt a { border-bottom: 1px solid var(--ink); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-2); font-size: 12px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-line { display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #06C755; color: #fff; border-radius: 10px; padding: 13px;
  font-weight: 600; text-decoration: none; }
.btn-line svg { flex: 0 0 auto; }
.sub-head { font-size: 14px; font-weight: 700; margin-top: var(--s-32); }
.empty-note { color: var(--ink-2); margin: var(--s-24) 0; }

.chip-select { position: relative; cursor: pointer; }
.chip-select input { position: absolute; opacity: 0; }
.chip-select:has(input:checked) {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
/* 完売の色・サイズ: 打ち消し線＋淡色で選べないと分かるように */
.chip-select.sold {
  color: var(--ink-2); background: var(--bg);
  text-decoration: line-through; border-color: var(--line);
  cursor: not-allowed;
}
.chip-select.sold:has(input:checked) {
  background: var(--bg); color: var(--ink-2);
}
.btn-primary:disabled {
  background: var(--line); color: var(--ink-2);
  cursor: not-allowed; letter-spacing: normal;
}
.qty-select {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}

/* ---------- cart / checkout / order ---------- */
.cart-line {
  display: flex; gap: var(--s-16);
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--line);
}
.cl-img { flex: 0 0 88px; }
.cl-img img { border-radius: 8px; aspect-ratio: 3/4; object-fit: cover; }
.cl-body { flex: 1; }
.cl-opt { font-size: 12px; color: var(--ink-2); }
.cl-row { display: flex; align-items: center; gap: var(--s-16); margin-top: 8px; }
.cl-qty select {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}
.cl-remove {
  background: none; border: none; color: var(--ink-2);
  margin-left: auto;
}
.cl-remove svg { width: 16px; height: 16px; }
.summary {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16);
  margin-top: var(--s-24);
  font-size: 13px;
}
.sum-row { display: flex; justify-content: space-between; gap: var(--s-16); padding: 4px 0; }
/* 金額列だけnowrap（直下spanに限定＝入れ子のsum-nameは折り返し可のまま） */
.sum-row > span:last-child { white-space: nowrap; }
/* 注文内容の明細（画像つき） */
.sum-line { align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-item { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sum-thumb {
  flex: 0 0 44px; width: 44px; height: 52px;
  border-radius: 6px; object-fit: cover; background: #f1eee9;
}
.sum-name { white-space: normal; line-height: 1.5; }
.sum-price { flex: 0 0 auto; white-space: nowrap; font-family: var(--font-en); }
/* クーポン入力（ポイントと同じ位置に統合） */
.coupon-row { display: flex; gap: 8px; margin-top: 4px; }
.coupon-row input {
  flex: 1; min-width: 0;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}
.coupon-row .btn-ghost { width: auto; flex: 0 0 auto; padding: 10px 20px; margin-top: 0; }
/* チェックアウト上部の「ログイン」導線（会員が入力する前に気づけるよう上に置く） */
.checkout-login {
  background: #f4f1ea; border-radius: var(--radius);
  padding: 12px var(--s-16); margin-bottom: var(--s-16);
  font-size: 13px; color: var(--ink-2);
}
.checkout-login a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }
.sum-total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.btn-link { display: block; text-align: center; margin-top: var(--s-24); }
.btn-ghost {
  width: 100%;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px; font-size: 13px; color: var(--ink-2);
}
.logout-form { margin-top: var(--s-48); max-width: 480px; }
.delivery-choice { margin-top: 8px; }

.point-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16);
}
.point-value { font-family: var(--font-en); font-size: 26px; font-weight: 600; }
.point-value span { font-size: 12px; font-family: var(--font-jp); color: var(--ink-2); }

.order-card {
  display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: var(--s-16);
  margin-top: var(--s-16);
}
.order-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.order-no { font-family: var(--font-en); font-weight: 600; }
.order-total { margin-left: auto; font-family: var(--font-en); font-weight: 600; }
.badge {
  font-size: 11px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 10px; color: var(--ink-2); background: var(--bg);
  white-space: nowrap;
}
.badge-stage { color: var(--ink); }
.order-lines { margin-top: 8px; }
.order-lines li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 12px; padding: 6px 0;
  border-top: 1px solid var(--line);
}
.ol-name { color: var(--ink); }
.order-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: var(--s-16); margin-top: var(--s-16);
}
.oi-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.stage-track { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stage-track li {
  font-size: 11px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px;
}
.stage-track li.done {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* ---------- LINE FAB（全ページ右下） ---------- */
.line-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #06c755; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.line-fab svg { width: 22px; height: 22px; }
.line-fab span {
  font-family: var(--font-en);
  font-size: 9px; font-weight: 600; letter-spacing: .06em;
  margin-top: 1px;
}

/* ---------- レビュー絞り込み ---------- */
.review-filters { margin-bottom: var(--s-24); }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-top: 8px;
}
.filter-row .opt-label { margin: 0; flex: 0 0 64px; }
.filter-row .chip { font-size: 12px; }
.chip-on {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.badge-speed {
  color: #44573a; background: #dde6d5; border-color: #dde6d5;
  font-weight: 700;
}

/* ---------- レビュー ---------- */
.review-target {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--s-16);
}
.review-target img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.form textarea {
  width: 100%; margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--surface);
}
.form-row2 { display: flex; gap: 12px; }
.form-row2 label { flex: 1; }
.review-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f6efe2;
  border-radius: var(--radius);
  padding: var(--s-16);
  font-size: 13px;
  margin-bottom: var(--s-24);
}
.review-banner span { font-size: 12px; color: var(--ink-2); }
.review-banner svg { width: 18px; height: 18px; flex: 0 0 18px; }
.review-grid { display: grid; gap: 12px; margin-top: var(--s-16); }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16);
  font-size: 13px;
}
.review-product {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  margin-bottom: 8px;
}
.review-product img { width: 36px; height: 44px; object-fit: cover; border-radius: 6px; }
.review-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.review-spec { font-weight: 700; font-size: 13px; }
.review-body { margin-top: 8px; line-height: 1.8; }
/* 長文は4行で折りたたみ（あふれた時だけJSが「続きを読む」を付ける） */
.review-body.rv-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
/* 写真はユーザー投稿で縦横バラバラ→正方形サムネイル4枚で1行に統一（タップで全画面） */
.review-photos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 10px;
}
.review-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
}
.review-photo[hidden] { display: none; } /* img{display:block}がUAの[hidden]に勝つため明示 */
.rv-more {
  display: inline-flex; align-items: center;
  margin-top: 8px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px; color: var(--ink-2);
}
.review-foot { margin-top: 8px; font-size: 11px; color: var(--ink-2); }
.ol-right { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.review-cta {
  font-size: 11px; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- 注文詳細の問い合わせ・お気に入りの掲載終了間近 ---------- */
.order-contact {
  background: #f4f1ea;
  border-radius: var(--radius);
  padding: var(--s-16);
  margin-top: var(--s-24);
  font-size: 13px;
}
.order-contact p { margin-bottom: 10px; }
.order-contact-row { display: flex; gap: 8px; }
.order-contact-row .btn-ghost { flex: 1; margin-top: 0; text-align: center; }
.fav-ending {
  margin-top: 6px;
  font-size: 11px; color: #8a5a2c;
}

/* ---------- おすすめブランド（トップ・正方形カード） ---------- */
.reco-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-16);
  margin-top: var(--s-16);
}
.reco-card { display: block; }
.reco-img {
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; background: #f1eee9;
}
.reco-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reco-card:hover .reco-img img { transform: scale(1.04); }
.reco-name {
  margin-top: 8px; text-align: center;
  font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- ヨミモノ（コラム） ---------- */
.article-date { font-size: 12px; color: var(--ink-2); margin-bottom: var(--s-16); }
.article-banner { border-radius: var(--radius); margin: var(--s-16) 0; }
.article-h {
  font-size: 16px; font-weight: 700;
  margin: var(--s-48) 0 var(--s-16);
  background: #f4f1ea;
  border-radius: var(--radius);
  padding: 10px var(--s-16);
}
.article-text { font-size: 14px; line-height: 2; white-space: pre-line; margin-bottom: var(--s-16); }
.article-fig { margin: var(--s-24) 0; }
.article-fig img { border-radius: var(--radius); width: 100%; }
.article-fig figcaption { font-size: 11px; color: var(--ink-2); margin-top: 6px; }
.article-products { margin: var(--s-24) 0; }
.article-spec { margin: var(--s-16) 0; }
.column-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-24); }
.column-card { display: block; }
.column-img {
  aspect-ratio: 2 / 1; border-radius: var(--radius);
  overflow: hidden; background: #f1eee9;
}
.column-img img { width: 100%; height: 100%; object-fit: cover; }
.column-title { font-size: 15px; font-weight: 700; margin-top: 8px; }
.column-meta { font-size: 12px; color: var(--ink-2); }

/* ---------- 店頭受け取りの案内 ---------- */
.pickup-warning {
  background: #f6efe2;
  border-radius: var(--radius);
  padding: var(--s-16);
  font-size: 13px;
  margin-top: var(--s-16);
}
.pickup-warning p + p { margin-top: 8px; }
.ack-label {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; font-weight: 700; font-size: 13px;
}
.ack-label input { width: 18px; height: 18px; }

/* ---------- 完売・遅延注意 ---------- */
.delay-note { margin-top: 8px; color: #8a5a2c; }
.soldout-note { margin-top: var(--s-16); }
.chip-soldout {
  color: var(--ink-2);
  background: var(--bg);
  text-decoration: line-through;
}

/* ---------- お気に入り・並び替え・法務ページ ---------- */
.search-row { display: flex; gap: 8px; }
.search-row input[type="search"] { flex: 1; }
.sort-select {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface); font-size: 12px;
}
.fav-form { margin-top: 12px; }
.btn-fav {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px; font-size: 13px; color: var(--ink-2);
}
.btn-fav svg { width: 18px; height: 18px; }
.btn-fav.active { color: #b0526a; border-color: #e3c3cb; background: #faf3f5; }
.mypage-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; margin-top: var(--s-16);
  background: var(--surface);
}
.mypage-link svg { width: 16px; height: 16px; }

.legal-page { max-width: 720px; }
.legal-page p { font-size: 13px; margin-top: 8px; }
.legal-list { font-size: 13px; }
.legal-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: var(--s-16); }
.legal-table th, .legal-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal-table th { width: 34%; color: var(--ink-2); font-weight: 500; }

/* ---------- PC（メディアクエリは基本定義より後ろ） ---------- */
@media (min-width: 760px) {
  body { font-size: 15px; }
  .news-strip .news-list li:nth-child(n+4) { display: block; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .pg-sp-hide { display: inline-flex; }
  .reco-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { margin-left: 0; margin-right: 0; }
  .hero-slide { border-radius: var(--radius); aspect-ratio: 2.4 / 1; }
  .hero-track { gap: 12px; }
  .hero-title { font-size: 44px; }
  .brand-row .p-card { flex: 0 0 15%; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-32) var(--s-16); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .product-layout {
    display: grid;
    /* minmax(0,1fr): カルーセル画像の固有幅で列が膨張するのを防ぐ */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-48);
  }
  .product-imgs, .product-info { min-width: 0; }
  .product-info { margin-top: 0; }
  .search input { max-width: 420px; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- マイページ拡張（通知・紹介・履歴・注文カード） ---------- */
.unread-count {
  font-size: 11px; font-weight: 400; color: #8a4a32;
  background: #f0d9cf; border-radius: 999px;
  padding: 2px 10px; margin-left: 8px; vertical-align: 2px;
}
.msg-list { display: grid; gap: 8px; margin-top: var(--s-16); }
.msg-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px var(--s-16);
  font-size: 13px;
}
.msg-card.msg-unread { background: #f6efe2; }
.msg-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ink-2);
}
.msg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #b0526a; flex: 0 0 8px;
}
.msg-body { margin-top: 4px; line-height: 1.8; }

.ref-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16); margin-top: var(--s-16);
  font-size: 13px;
}
.ref-code {
  font-family: var(--font-en); font-size: 18px; font-weight: 600;
  letter-spacing: .12em; margin-left: 4px;
}
.ref-copy {
  font-size: 11px; color: var(--ink-2);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 12px; margin-left: 8px;
}

.ol-item { flex-wrap: wrap; }
.ol-thumb {
  flex: 0 0 44px; width: 44px; height: 52px;
  border-radius: 6px; overflow: hidden; background: #f1eee9;
}
.ol-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ol-thumb-none { display: inline-block; }
.order-lines .ol-name { flex: 1; min-width: 0; }
.order-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.order-act {
  font-size: 12px; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px;
}
.withdraw-link { margin-top: var(--s-16); font-size: 11px; }
.withdraw-link a { color: var(--ink-2); text-decoration: underline; }
.withdraw-notes { font-size: 13px; margin-top: var(--s-16); }
.withdraw-notes li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.oi-head { align-items: center; }
.oi-head .ol-name { flex: 1; min-width: 0; }
.stage-desc { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.track-no { font-size: 13px; margin-top: 8px; }
.track-no strong { font-family: var(--font-en); letter-spacing: .04em; }

/* ---------- マイページ 見た目仕上げ（2026-07-07） ---------- */
/* 未読お知らせのアラート（注文関連なので上部で目立たせる） */
.notice-alert {
  display: flex; align-items: center; gap: 8px;
  background: #f6efe2; border-radius: var(--radius);
  padding: 12px var(--s-16); margin-bottom: var(--s-16);
  font-size: 13px; color: var(--ink);
}
/* お届け状況ボード（注文番号でなく入荷ステータスごと） */
.status-board { margin-top: var(--s-16); }
/* 進行状況ステッパー（6段階・番号＋アイコン＋点数。スマホ3×2/PC横1列） */
.sb-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px; margin: 10px 0 var(--s-16);
}
.sb-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 13px 4px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink-2); cursor: pointer;
}
.sb-step[disabled] { opacity: .4; cursor: default; }
.sb-step.on { border-color: var(--ink); color: var(--ink); background: #f6f4ef; }
.sb-step-no {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 999px;
  background: #d8d3ca; color: #fff; font-family: var(--font-en);
  font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
}
.sb-step.on .sb-step-no { background: var(--ink); }
.sb-step-ico svg { width: 21px; height: 21px; display: block; }
.sb-step-label { font-size: 10.5px; line-height: 1.25; text-align: center; }
.sb-step-count { font-family: var(--font-en); font-size: 17px; font-weight: 600; line-height: 1; }
@media (min-width: 760px) {
  .sb-steps { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .sb-step::after {
    content: ""; position: absolute; top: 50%; right: -14px;
    width: 14px; height: 1px; background: var(--line);
  }
  .sb-step:last-child::after { display: none; }
  .sb-step-label { font-size: 11.5px; }
}
/* 不良交換の対応中バッジ（穏やかなアンバー・強い警告色は使わない） */
.exch-badge {
  display: inline-block; background: #fdf1e2; color: #96621d;
  border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 600;
}
.exch-note { font-size: 12.5px; color: var(--ink-2); margin: 8px 0 0; }
.sb-exch { font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.status-group {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16); margin-bottom: 12px;
}
.sb-stage { font-size: 14px; font-weight: 700; }
.sb-desc { font-size: 12px; color: var(--ink-2); line-height: 1.7; margin: 6px 0 12px; }
.sb-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.sb-thumb {
  flex: 0 0 48px; width: 48px; height: 58px;
  border-radius: 6px; overflow: hidden; background: #f1eee9;
}
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-body { flex: 1; min-width: 0; }
.sb-name { font-size: 13px; line-height: 1.5; }
.sb-meta { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.sb-meta a { color: var(--ink-2); text-decoration: underline; }
.sb-review { color: var(--ink) !important; font-weight: 600; }
/* ご注文の履歴（領収書・再注文）= 折りたたみの副次リスト */
.order-history { margin-top: var(--s-16); font-size: 13px; }
.order-history > summary {
  cursor: pointer; color: var(--ink-2); padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.oh-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.oh-main { display: flex; align-items: center; gap: 8px; font-size: 12px; flex: 1; min-width: 0; }
.oh-total { margin-left: auto; font-family: var(--font-en); font-weight: 600; }
.oh-acts { display: flex; gap: 6px; }
/* SaaS風の設定メニュー行（散らばったピルを1列の行に） */
.mypage-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px var(--s-16); margin-top: 8px;
  font-size: 14px;
}
.mypage-row > svg:first-child { width: 20px; height: 20px; flex: 0 0 20px; color: var(--ink-2); }
.mypage-row span { flex: 1; min-width: 0; }
.mypage-row .chev { width: 16px; height: 16px; flex: 0 0 16px; color: var(--ink-2); }
.row-hint {
  display: inline-block; margin-left: 8px; font-size: 11px;
  color: #8a5a2c; background: #f4ece0; border-radius: 999px; padding: 1px 8px;
}

.ledger-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; margin-top: var(--s-16);
  overflow: hidden;
}
.ledger-table th, .ledger-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.ledger-table th { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.ledger-table .num { text-align: right; font-family: var(--font-en); white-space: nowrap; }
.ledger-table .plus { color: #44573a; font-weight: 600; }
.ledger-table .minus { color: var(--ink-2); }

.myreview-card {
  display: flex; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-16); margin-top: var(--s-16);
  font-size: 13px;
}
.myreview-card .ol-thumb { flex: 0 0 56px; width: 56px; height: 68px; }
.myreview-body { flex: 1; min-width: 0; }
.myreview-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.myreview-text {
  margin-top: 6px; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }
.faq-flow { counter-reset: step; margin-top: var(--s-16); }
.faq-flow li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.faq-flow li::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-en); font-weight: 600; font-size: 14px;
  flex: 0 0 18px; text-align: center;
}
.faq-flow li strong { flex: 0 0 90px; }
.faq-flow li span { color: var(--ink-2); flex: 1; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 var(--s-16);
  margin-top: 8px;
  font-size: 13px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700;
  padding: 14px 0;
  list-style: none; position: relative; padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { color: var(--ink-2); line-height: 1.9; padding-bottom: 14px; }
.faq-item p + p { margin-top: -6px; }

/* ---------- カートのクーポン・確認ダイアログ ---------- */
.coupon-form { margin-top: var(--s-24); }
.coupon-form input {
  width: 100%; margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--surface);
}
.confirm-dialog {
  margin: auto; /* リセット(margin:0)で失われる<dialog>の中央配置を戻す */
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-24);
  max-width: 420px; width: calc(100% - 48px);
  font-size: 13px;
}
.confirm-dialog::backdrop { background: rgba(28, 27, 25, .4); }
.confirm-dialog .form-note { margin-top: 8px; }
.dialog-actions {
  display: flex; gap: 8px; margin-top: var(--s-16); align-items: stretch;
}
.dialog-actions .btn-ghost, .dialog-actions .btn-primary {
  flex: 1; min-width: 0; white-space: nowrap;
  margin-top: 0;              /* btn-primaryの上マージンでボタンがずれる崩れを解消 */
  padding: 12px 8px;          /* 左右のボタンで高さを揃える */
  font-size: 13px;
}
