/* =========================================================
   BuzzShop — 白・黒・深緑のミニマルデザイン
   ========================================================= */
:root {
  --ink: #0b0d0c;
  --ink-2: #2a2e2c;
  --muted: #6b716e;
  --muted-2: #9aa09d;
  --line: #e6e8e7;
  --line-2: #d5d9d7;
  --soft: #f5f6f5;
  --paper: #ffffff;
  --green: #0f3d2e;
  --green-2: #16533f;
  --green-3: #1f6b51;
  --green-tint: #e9f1ed;
  --warn: #8a5a00;
  --warn-tint: #fbf3e2;
  --danger: #9b2c2c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 13, 12, .04), 0 8px 24px rgba(11, 13, 12, .06);
  --shadow-lg: 0 24px 64px rgba(11, 13, 12, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "YuGothic", "Meiryo", system-ui, -apple-system, sans-serif;
  --num: "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; letter-spacing: .04em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green-3); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.num { font-family: var(--num); font-feature-settings: "tnum"; letter-spacing: .01em; }

/* ---------- 上部帯 ---------- */
.dev-banner {
  background: var(--warn-tint); color: var(--warn);
  font-size: 12px; text-align: center; padding: 6px 16px; border-bottom: 1px solid #efdcb4;
}
.announce {
  background: var(--green); color: #dfeee7;
  font-size: 12px; text-align: center; padding: 8px 16px; letter-spacing: .08em;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .02em; font-family: var(--num); }
.logo__mark { width: 22px; height: 22px; border-radius: 7px; background: var(--green); position: relative; flex: none; }
.logo__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.header__nav { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nav-link { font-size: 13px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s var(--ease); white-space: nowrap; }
.nav-link:hover { background: var(--soft); }
.nav-btn {
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 13px; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-btn:hover { background: var(--green); border-color: var(--green); }
.nav-btn--ghost { background: transparent; color: var(--ink); }
.nav-btn--ghost:hover { background: var(--soft); border-color: var(--ink); }
.balance {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 14px;
  transition: border-color .2s var(--ease);
}
.balance:hover { border-color: var(--green-3); }
.balance__label { font-size: 11px; color: var(--muted); }
.balance__value { font-weight: 700; font-size: 14px; font-family: var(--num); }
.balance.is-updated { animation: pulse 1.2s var(--ease); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 107, 81, .45); } 100% { box-shadow: 0 0 0 14px rgba(31, 107, 81, 0); } }
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s var(--ease); flex: none; }
.cart-btn:hover { background: var(--soft); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn__count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-family: var(--num);
}

.subnav { display: none; }

/* ---------- レイアウト ---------- */
.main { max-width: var(--max); margin: 0 auto; padding: 40px 24px 96px; min-height: 60vh; outline: none; }
.page-enter { animation: enter .45s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.section { margin-top: 96px; scroll-margin-top: 90px; }
.section-head { margin-bottom: 32px; }
.eyebrow { display: block; font-size: 12px; color: var(--green-3); letter-spacing: .2em; font-weight: 700; margin-bottom: 10px; }
.section-title { font-size: 26px; letter-spacing: .06em; }
.section-lead { color: var(--muted); margin-top: 10px; font-size: 14px; }
.page-title { font-size: 30px; letter-spacing: .06em; }
.page-head { margin-bottom: 36px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- ショップ上部（タブ・検索） ---------- */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 1px solid transparent; background: transparent; color: var(--muted);
  font-size: 14px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.search { position: relative; width: 300px; max-width: 100%; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.input {
  width: 100%; border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 10px 16px; font-size: 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus { outline: none; border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(31, 107, 81, .12); }
.input--square { border-radius: var(--radius-sm); }
.search .input { padding-left: 40px; }
.result-count { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

/* ---------- 商品グリッド ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); overflow: hidden; min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card.is-soon { opacity: .78; }
.card.is-soon:hover { opacity: 1; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__name { font-size: 15px; letter-spacing: .03em; line-height: 1.55; }
.card__summary { font-size: 12.5px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 20px; font-family: var(--num); letter-spacing: .01em; }
.price small { font-family: var(--font); font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price .per { font-family: var(--font); font-size: 11px; color: var(--muted); font-weight: 500; }
.stock { font-size: 12px; color: var(--muted); white-space: nowrap; }
.stock--low { color: var(--warn); }
.empty { padding: 64px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- サムネイル（文字は焼き込まずHTMLで重ねる） ---------- */
.thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.thumb::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .8s var(--ease); }
.card:hover .thumb::before { transform: scale(1.05); }
.thumb::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%); }
.thumb--x::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 28L28 0' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(140deg, #0b0d0c 0%, #13241d 55%, #0f3d2e 100%);
}
.thumb--instagram::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='18' cy='18' r='10' fill='none' stroke='%23ffffff' stroke-opacity='.09'/%3E%3C/svg%3E"),
    linear-gradient(150deg, #0f3d2e 0%, #1f6b51 60%, #3d8a6c 100%);
}
.thumb--mail::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M24 0H0V24' fill='none' stroke='%230b0d0c' stroke-opacity='.07'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #f4f6f5 0%, #e3ebe7 100%);
}
.thumb--boost::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M6 34V24M16 34V16M26 34V20M36 34V8' stroke='%23ffffff' stroke-opacity='.10' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(150deg, #16533f 0%, #0b0d0c 100%);
}

.thumb--img { background: #fff; }
.thumb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__icon { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -55%); opacity: .92; }
.thumb__icon svg { width: 100%; height: auto; fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.thumb--mail .thumb__icon svg { stroke: var(--green); }
.thumb__cat {
  position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .12em;
  color: rgba(255, 255, 255, .86); font-weight: 600;
}
.thumb--mail .thumb__cat { color: var(--green); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; white-space: nowrap;
}
.badge--soon { background: #fff; color: var(--ink); }
.badge--main { background: var(--green-tint); color: var(--green); }
.badge--ok { background: var(--green-tint); color: var(--green); }
.badge--warn { background: var(--warn-tint); color: var(--warn); }
.thumb .badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), opacity .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--green); border-color: var(--green); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .35; cursor: not-allowed; background: var(--ink); border-color: var(--ink); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-2); border-color: var(--green-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--soft); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 12.5px; }
.btn--google { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--google:hover { background: var(--soft); border-color: var(--ink); }
.btn--google svg { width: 18px; height: 18px; }
.btn--paypal { background: #0b0d0c; }
.link-btn { border: 0; background: none; padding: 0; color: inherit; font-size: inherit; text-align: left; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 商品詳細 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.detail__thumb { border-radius: var(--radius); }
.detail__thumb .thumb__icon { width: 20%; }
.detail__title { font-size: 28px; margin: 28px 0 10px; letter-spacing: .05em; line-height: 1.5; }
.detail__summary { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 6px; border-left: 1.6px solid var(--green-3); border-bottom: 1.6px solid var(--green-3); transform: rotate(-45deg); }
.notes { margin-top: 28px; padding: 18px 20px; background: var(--soft); border-radius: var(--radius-sm); font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.notes strong { color: var(--ink-2); }

.buy-card { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.buy-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.buy-card__row:first-child { padding-top: 0; }
.buy-card__label { color: var(--muted); font-size: 13px; }
.buy-card__total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 22px; }
.buy-card__total .price { font-size: 28px; }
.buy-card__actions { display: grid; gap: 10px; }
.buy-card__hint { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.8; }
.field { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field label, .field__label { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.field__error { font-size: 12px; color: var(--danger); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: #fff; font-size: 18px; line-height: 1; transition: background .2s; }
.stepper button:hover:not([disabled]) { background: var(--soft); }
.stepper button[disabled] { color: var(--muted-2); cursor: not-allowed; }
.stepper input { width: 52px; height: 36px; border: 0; text-align: center; font-family: var(--num); font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.range { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: linear-gradient(to right, var(--green) var(--p, 0%), var(--line-2) var(--p, 0%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); cursor: pointer; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--green); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-2); font-family: var(--num); }
.range-value { font-family: var(--num); font-weight: 700; color: var(--ink); font-size: 15px; }

/* ---------- 個別アカウントピッカー ---------- */
.picker { margin-top: 72px; }
.picker__tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.picker__tools .search { flex: 1; min-width: 200px; width: auto; }
.select {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 38px 10px 16px; font-size: 14px; background: #fff;
  -webkit-appearance: none; appearance: none; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b716e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.select:focus { outline: none; border-color: var(--green-3); }
.picker__status { font-size: 13px; color: var(--muted); margin-left: auto; }
.picker__status strong { color: var(--ink); font-family: var(--num); }
.picker__list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.picker__head, .pick-row { display: grid; grid-template-columns: 44px minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1fr); align-items: center; gap: 8px; padding: 12px 18px; }
.picker__head { background: var(--soft); font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.pick-row { border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: background .15s; }
.pick-row:last-child { border-bottom: 0; }
.pick-row:hover { background: #fafbfa; }
.pick-row.is-selected { background: var(--green-tint); }
.pick-row .r { text-align: right; font-family: var(--num); }
.pick-row__handle { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-row__id { display: block; font-size: 11px; color: var(--muted); font-weight: 400; font-family: var(--num); }
.check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .15s; background: #fff; }
.pick-row.is-selected .check { background: var(--green); border-color: var(--green); }
.pick-row.is-selected .check::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.pick-row__stats { display: contents; }
.picker__more { display: flex; justify-content: center; margin-top: 16px; }
.lbl-m { display: none; }

/* ---------- カート ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item .thumb { border-radius: var(--radius-sm); aspect-ratio: 1; }
.cart-item .thumb__icon { width: 40%; transform: translate(-50%, -50%); }
.cart-item__name { font-size: 15px; }
.cart-item__sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; word-break: break-all; }
.cart-item__controls { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.cart-item__price { text-align: right; font-weight: 700; font-family: var(--num); font-size: 17px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--soft); font-family: var(--num); }
.chip button { border: 0; background: transparent; width: 20px; height: 20px; border-radius: 50%; color: var(--muted); line-height: 1; }
.chip button:hover { background: var(--line-2); color: var(--ink); }
.remove { border: 0; background: none; font-size: 12.5px; color: var(--muted); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.remove:hover { color: var(--danger); }
.summary { position: sticky; top: 88px; background: var(--soft); border-radius: var(--radius); padding: 28px; }
.summary h2 { font-size: 16px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; gap: 12px; }
.summary__row span:last-child { font-family: var(--num); }
.summary__total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.summary__total .price { font-size: 26px; }
.short { color: var(--warn); font-size: 12.5px; margin: -8px 0 16px; }

/* ---------- 購入の流れ ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.step { padding: 28px 22px 8px 0; position: relative; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step__no { font-family: var(--num); font-size: 12px; color: var(--green-3); letter-spacing: .2em; font-weight: 700; }
.step__title { font-size: 16px; margin: 10px 0 8px; }
.step__text { font-size: 13px; color: var(--muted); line-height: 1.85; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 15px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-3); }
.faq summary::before { content: "Q"; font-family: var(--num); color: var(--green-3); margin-right: 14px; font-weight: 700; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { padding: 0 48px 24px 30px; color: var(--ink-2); font-size: 14px; line-height: 1.95; animation: enter .35s var(--ease); }

/* ---------- お知らせ ---------- */
.news { border-top: 1px solid var(--line); }
.news__item { display: grid; grid-template-columns: 120px 130px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 14px; }
.news__date { font-family: var(--num); color: var(--muted); font-size: 13px; }
.news__tag { font-size: 11px; justify-self: start; }
.more-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; margin-top: 20px; color: var(--ink-2); border-bottom: 1px solid var(--ink-2); padding-bottom: 2px; }
.more-link:hover { color: var(--green-3); border-color: var(--green-3); }

/* ---------- シャドウバン ---------- */
.narrow { max-width: 720px; }
.sb-form { display: flex; gap: 10px; margin-top: 8px; }
.sb-form .input-wrap { position: relative; flex: 1; min-width: 0; }
.sb-form .input-wrap span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--num); }
.sb-form .input { padding-left: 34px; }
.sb-meta { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.sb-result { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; animation: enter .4s var(--ease); }
.sb-result__head { padding: 18px 22px; background: var(--soft); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.sb-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.sb-row p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- マイページ・注文 ---------- */
.mypage { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.profile { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.profile__name { font-weight: 700; }
.profile__mail { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.profile__balance { margin: 20px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--soft); }
.profile__balance .price { font-size: 24px; display: block; }
.profile .btn + .btn { margin-top: 8px; }
.order { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.order__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; background: var(--soft); font-size: 13px; }
.order__head strong { font-family: var(--num); }
.order__item { padding: 20px 22px; border-top: 1px solid var(--line); }
.order__item:first-of-type { border-top: 0; }
.order__item-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 12px; }
.cred { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 16px; margin-top: 10px; background: #fff; }
.cred__title { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; font-size: 12.5px; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.cred__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.cred__row dt { color: var(--muted); font-size: 12.5px; }
.cred__row dd { margin: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.copy { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; font-size: 11.5px; padding: 3px 10px; color: var(--ink-2); transition: all .15s; white-space: nowrap; }
.copy:hover { border-color: var(--ink); }
.copy.is-done { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- 完了画面 ---------- */
.complete { text-align: center; max-width: 560px; margin: 24px auto 0; }
.complete__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); margin: 0 auto 24px; display: grid; place-items: center; animation: pop .5s var(--ease); }
.complete__icon::after { content: ""; width: 26px; height: 13px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-3px) rotate(-45deg); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.complete h1 { font-size: 26px; margin-bottom: 12px; }
.complete p { color: var(--muted); }
.complete__box { text-align: left; margin: 32px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.complete__box .summary__row { border-bottom: 1px solid var(--line); padding: 14px 0; }
.complete__box .summary__row:last-child { border-bottom: 0; }
.complete__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 文章ページ（法務など） ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 17px; margin: 40px 0 12px; padding-top: 4px; }
.doc p, .doc li { font-size: 14px; color: var(--ink-2); line-height: 2; }
.doc ol, .doc ul { padding-left: 1.4em; margin: 8px 0; }
.doc .updated { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 1px solid var(--ink); }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); line-height: 1.9; }
.table th { width: 30%; font-weight: 600; color: var(--ink-2); background: var(--soft); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-top: 24px; }
.contact-card .btn { margin-top: 20px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #c9cfcc; padding: 72px 24px 28px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.logo--footer { color: #fff; margin-bottom: 14px; }
.logo--footer .logo__mark { background: #fff; }
.logo--footer .logo__mark::after { background: var(--ink); }
.footer__brand p { font-size: 13px; line-height: 1.9; color: #9ea6a2; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols h4 { color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: .1em; }
.footer__cols a, .footer__cols .link-btn { display: block; font-size: 13px; padding: 5px 0; color: #9ea6a2; transition: color .2s; }
.footer__cols a:hover, .footer__cols .link-btn:hover { color: #fff; }
.footer__copy { max-width: var(--max); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid #262b29; font-size: 12px; color: #6f7773; font-family: var(--num); }

/* ---------- モーダル ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 13, 12, .52); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.modal__panel {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 40px 36px 32px; box-shadow: var(--shadow-lg);
  animation: rise .35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; font-size: 22px; color: var(--muted); line-height: 1; }
.modal__close:hover { background: var(--soft); color: var(--ink); }
.m-title { font-size: 21px; text-align: center; letter-spacing: .06em; }
.m-lead { font-size: 13.5px; color: var(--muted); text-align: center; margin: 10px 0 24px; line-height: 1.9; }
.m-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.8; }
.m-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green); margin: 0 auto 20px; display: grid; place-items: center; animation: pop .45s var(--ease); }
.m-icon::after { content: ""; width: 20px; height: 10px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.m-actions { display: grid; gap: 10px; }
.reg-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.reg-steps li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; font-size: 13.5px; border-top: 1px solid var(--line); }
.reg-steps li:first-child { border-top: 0; }
.reg-steps li.is-active { background: var(--green-tint); }
.reg-steps li.is-done { color: var(--muted); }
.reg-steps__no { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-family: var(--num); flex: none; background: #fff; }
.reg-steps li.is-active .reg-steps__no { background: var(--green); border-color: var(--green); color: #fff; }
.reg-steps li.is-done .reg-steps__no { background: var(--ink); border-color: var(--ink); color: #fff; }
.reg-steps small { display: block; color: var(--muted); font-size: 11.5px; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.amount { border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius-sm); padding: 14px 6px; font-family: var(--num); font-weight: 700; font-size: 15px; transition: all .15s; }
.amount small { font-family: var(--font); font-weight: 500; font-size: 11px; }
.amount:hover { border-color: var(--ink); }
.amount[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.charge-custom { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.charge-custom .input { flex: 1; }
.charge-summary { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); margin-bottom: 16px; font-size: 13.5px; }
.charge-summary .price { font-size: 22px; }
.m-callout { background: var(--warn-tint); color: var(--warn); border-radius: var(--radius-sm); font-size: 12.5px; padding: 10px 14px; margin-bottom: 16px; text-align: center; }

/* ---------- トースト ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .detail, .cart, .mypage { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .buy-card, .summary, .profile { position: static; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .nav-link--sb { display: none; }
  .subnav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 10px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { padding: 2px 0; border-bottom: 1px solid transparent; }
  .subnav a:hover { border-color: var(--ink); }
  .buy-card, .summary, .profile { top: auto; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .header__inner { padding: 0 16px; height: 58px; gap: 8px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo__mark { width: 20px; height: 20px; }
  .header__nav { gap: 4px; }
  .balance { padding: 5px 10px; gap: 4px; }
  .balance__label { display: none; }
  .balance__value { font-size: 13px; }
  .nav-btn { padding: 7px 12px; font-size: 12px; }
  .main { padding: 24px 16px 72px; }
  .section { margin-top: 72px; }
  .section-title { font-size: 21px; }
  .page-title { font-size: 23px; }
  .shop-head { gap: 14px; }
  .search { width: 100%; }
  .grid { gap: 12px; }
  .card__body { padding: 12px 12px 14px; gap: 6px; }
  .card__name { font-size: 13px; }
  .card__summary { display: none; }
  .card__meta { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 4px; }
  .price { font-size: 17px; }
  .thumb__cat { left: 10px; bottom: 8px; font-size: 10px; }
  .thumb .badge { top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; }
  .detail__title { font-size: 22px; margin-top: 20px; }
  .buy-card { padding: 22px; }
  .picker { margin-top: 48px; }
  .picker__head { display: none; }
  .pick-row { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "c h p" "c s s"; row-gap: 4px; padding: 14px; }
  .pick-row > .check { grid-area: c; }
  .pick-row > .pick-row__handle { grid-area: h; }
  .pick-row > .pick-row__price { grid-area: p; }
  .pick-row > .pick-row__stats { grid-area: s; display: flex; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
  .pick-row > .pick-row__stats > span { text-align: left; }
  .lbl-m { display: inline; }
  .picker__status { margin-left: 0; width: 100%; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .cart-item__price { grid-column: 2; text-align: left; }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step + .step { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 1px solid var(--ink); }
  .news__item { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .news__item .news__title { grid-column: 1 / -1; }
  .faq__a { padding: 0 8px 22px 30px; }
  .sb-form { flex-direction: column; }
  .cred__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .cred__row dt { grid-column: 1 / -1; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding-bottom: 6px; }
  .table td { padding-top: 6px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 20px 20px 0 0; padding: 36px 22px 28px; max-height: 92vh; max-width: none; }
  .footer { padding: 56px 16px 24px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .header__inner { padding: 0 12px; }
  .logo { font-size: 16px; }
  .logo__mark { display: none; }
  .nav-btn { padding: 7px 10px; }
  .cart-btn { width: 36px; height: 36px; }
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* --- mudostore要素の追加分（2026-11-11） --- */
.m-divider { display:flex; align-items:center; gap:12px; margin:18px 0 6px; color:var(--muted); font-size:12px; }
.m-divider::before, .m-divider::after { content:""; flex:1; height:1px; background:#e3e6e3; }
.field { display:block; margin-top:12px; }
.field__label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.field__hint { display:block; font-size:12px; color:var(--muted); margin-top:5px; }
.field .input { width:100%; }
.agree { display:flex; gap:8px; align-items:flex-start; margin-top:14px; font-size:13px; line-height:1.5; cursor:pointer; }
.agree input { margin-top:3px; }
.warn-box { margin-top:16px; border:1.5px solid #d64545; background:#fdf1f1; color:#8f2424; border-radius:10px; padding:10px 12px; font-size:12.5px; line-height:1.6; }
.detail .warn-box { margin-top:14px; }
.bonus-box { margin-top:16px; border:1px solid #e3e6e3; border-radius:12px; padding:12px 14px; }
.bonus-box__title { font-weight:700; font-size:13.5px; margin:0 0 8px; }
.bonus-table { width:100%; border-collapse:collapse; font-size:13px; }
.bonus-table td { padding:5px 4px; border-top:1px solid #eef0ee; text-align:right; font-family:var(--num); }
.bonus-table td:first-child { text-align:left; font-family:inherit; }
.bonus-box__note { font-size:12px; color:var(--muted); margin:8px 0 0; }
.stock-total { color:var(--green); font-weight:700; font-size:13.5px; margin:2px 0 10px; }
.premium-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.plan-card { border:1px solid #e3e6e3; border-radius:16px; padding:22px; background:#fff; }
.plan-card--elite { border-color:var(--green); box-shadow:0 6px 24px rgba(10,80,50,.08); }
.plan-card h3 { margin:0 0 6px; font-size:18px; }
.plan-price { font-size:26px; font-weight:800; font-family:var(--num); margin:0 0 12px; }
.plan-price small { font-size:12px; color:var(--muted); font-weight:400; }
.plan-card ul { margin:0; padding-left:18px; line-height:1.9; font-size:14px; }
.plan-note { color:var(--muted); font-size:12.5px; margin:12px 0 0; }
.selfcheck { border:1px solid #e3e6e3; border-radius:16px; padding:20px 22px; margin-bottom:20px; background:#fbfcfb; }
.selfcheck h2 { font-size:16px; margin:0 0 10px; }
.selfcheck ul { margin:0 0 10px; padding-left:18px; line-height:1.9; font-size:14px; }
.selfcheck p { font-size:13.5px; color:var(--muted); margin:0; line-height:1.7; }
