/* eG.trip — 旅を着る。
   玄武岩の黒・骨白・オリーブ・錆。写真を大きく、文字は少なく、英字は大きく締める。 */
:root {
  --bg: #f3f1ec;
  --paper: #fbfaf7;
  --stone: #e6e2d9;
  --ink: #16191b;
  --ink-2: #2a2f31;
  --ink-soft: #5c5f5c;
  --line: #d8d3c7;
  --line-dark: #33383a;
  --sand: #cdbb98;
  --olive: #4f5634;
  --rust: #b4532a;
  --radius: 0;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --header-h: 68px;
}

*, *::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(--font-ja); font-size: 15px; line-height: 1.85; letter-spacing: .03em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
html:not(:lang(ja)) body { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; }
html:lang(zh-CN) body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(zh-TW) body { font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
html:lang(ko) body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html:lang(th) body { font-family: "Inter", "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; line-height: 1.9; }
/* 明朝の見出しも、日本語以外は本文と同じ書体に */
html:not(:lang(ja)) .manifesto h2, html:not(:lang(ja)) .pillar .ja, html:not(:lang(ja)) .story h3, html:not(:lang(ja)) .spot .lead, html:not(:lang(ja)) .buy .lead { font-family: inherit; letter-spacing: .01em; font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
/* モデル写真は顔が上にあるので、枠で切り抜くときは上寄せが基本（中央だと頭が切れる） */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--olive); }
.dark .eyebrow, .banner .eyebrow, .features .eyebrow { color: var(--sand); }
.eyebrow.light { color: rgba(255,255,255,.9); }
.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }

/* ---------- header ---------- */
.notice {
  background: var(--ink); color: #d9d6cf; font-family: var(--font-en);
  font-size: 11px; text-align: center; padding: 7px 12px; letter-spacing: .2em;
}
.notice b { color: #fff; font-weight: 500; }
.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: block; }
.brand img { height: 34px; width: auto; }
.brand .w { display: none; }
.nav { display: flex; gap: 32px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .22em; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s; }
.nav a:hover::after { right: 0; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0;
  padding: 8px 4px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .22em;
}
.cart-btn .count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 0; transition: background .35s, color .35s;
}
/* language */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 6px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 35; list-style: none; margin: 0; padding: 6px 0; min-width: 190px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.12);
  max-height: min(70vh, 520px); overflow-y: auto;
}
.lang-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 18px; font-size: 14px; letter-spacing: .02em; font-family: system-ui, sans-serif; }
.lang-menu button:hover { background: var(--stone); }
.lang-menu button[aria-current="true"] { font-weight: 600; }
.lang-menu button[aria-current="true"]::after { content: " ✓"; color: var(--olive); }
.region-note { font-size: 11px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.6; }
html.i18n-pending main, html.i18n-pending .site-footer { visibility: hidden; }

.menu-btn { display: none; background: none; border: 0; padding: 8px 4px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

/* トップだけ、ヒーローに重ねて透明。スクロールしたら地に戻る */
body[data-page="home"] .site-header { position: fixed; left: 0; right: 0; top: 30px; background: transparent; border-color: transparent; color: #fff; }
body[data-page="home"] .site-header .brand .w { display: block; }
body[data-page="home"] .site-header .brand .b { display: none; }
body[data-page="home"] .site-header .cart-btn .count { background: #fff; color: var(--ink); }
body[data-page="home"].scrolled .site-header { top: 0; background: var(--paper); border-color: var(--line); color: var(--ink); }
body[data-page="home"].scrolled .site-header .brand .w { display: none; }
body[data-page="home"].scrolled .site-header .brand .b { display: block; }
body[data-page="home"].scrolled .site-header .cart-btn .count { background: var(--ink); color: var(--paper); }

@media (max-width: 860px) {
  :root { --header-h: 58px; }
  .site-header .wrap { gap: 8px; }
  .brand img { height: 28px; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .cart-btn .label { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 36px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.btn::after { content: "→"; font-size: 14px; letter-spacing: 0; transition: transform .25s; }
.btn:hover::after { transform: translateX(4px); }
.btn.noarrow::after { display: none; }
.btn:hover { background: var(--olive); border-color: var(--olive); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--sand); border-color: var(--sand); }
.btn.outline { background: transparent; color: inherit; border-color: currentColor; }
.btn.outline:hover { background: rgba(255,255,255,.1); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link {
  display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-en); font-size: 12px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link::after { content: "→"; letter-spacing: 0; }

/* ---------- hero ---------- */
.hero { padding: 0; position: relative; height: 100svh; min-height: 640px; max-height: 1000px; color: #fff; overflow: hidden; background: var(--ink); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img { object-position: 50% 30%; animation: heroZoom 20s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 45%, rgba(0,0,0,.6) 100%), linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.42) 32%, rgba(0,0,0,0) 62%); }
.hero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(48px, 9vh, 104px); }
.hero h1 { margin: 14px 0 18px; font-size: clamp(56px, min(9vw, 15vh), 136px); }
/* 枠だけのボタンは写真が透けて、写り込んだロゴなどと重なるので下地を敷く */
.hero .btn.outline { background: rgba(16,18,19,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn.outline:hover { background: rgba(16,18,19,.6); }
.hero .ja { font-family: var(--font-mincho); font-size: clamp(18px, 2vw, 24px); letter-spacing: .3em; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 104px); z-index: 1; text-align: right; font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; line-height: 2; opacity: .85; }
@media (max-width: 760px) { .hero .meta { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- sections ---------- */
section { padding: clamp(72px, 11vw, 144px) 0; }
.dark { background: var(--ink); color: #ecebe6; }
.stone { background: var(--stone); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4.5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { margin: 10px 0 0; font-size: clamp(40px, 5.6vw, 80px); }
.sec-head p { margin: 12px 0 0; max-width: 34em; color: var(--ink-soft); }
.dark .sec-head p { color: #a9a8a2; }

/* manifesto */
.manifesto { text-align: center; }
.manifesto .wrap { max-width: 920px; }
.manifesto h2 { font-family: var(--font-mincho); font-weight: 500; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: .14em; line-height: 1.75; margin: 22px 0 28px; }
.manifesto p { color: var(--ink-soft); margin: 0 auto 1.2em; max-width: 40em; }

/* lines */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.line-card { position: relative; aspect-ratio: 3/4.4; overflow: hidden; color: #fff; display: block; background: var(--ink-2); }
.line-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .5s; opacity: .92; }
.line-card:hover img { transform: scale(1.06); opacity: 1; }
.line-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 50%, rgba(0,0,0,.7)); }
.line-card .top { position: absolute; top: 20px; left: 22px; z-index: 1; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; }
.line-card .txt { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.line-card h3 { margin: 0 0 6px; font-size: clamp(30px, 3vw, 44px); }
.line-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.85); }
.line-card .go { font-family: var(--font-en); font-size: 11px; letter-spacing: .26em; border-bottom: 1px solid; padding-bottom: 3px; }
@media (max-width: 1000px) { .lines { grid-template-columns: repeat(2, 1fr); } }
/* スマホでは2列だと小さく文字が顔にかぶるので、横にスワイプするカードにする */
@media (max-width: 640px) {
  .lines { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scrollbar-width: none; }
  .lines::-webkit-scrollbar { display: none; }
  .line-card { flex: 0 0 80%; scroll-snap-align: center; }
}

/* spotlight */
.spot { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 720px; }
.spot .ph { position: relative; overflow: hidden; }
.spot .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.spot .body { padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.spot h2 { font-size: clamp(44px, 5.6vw, 84px); margin: 14px 0 6px; }
.spot .ja-name { font-size: 14px; color: #a9a8a2; margin-bottom: 24px; }
.spot .lead { font-family: var(--font-mincho); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; margin: 0 0 32px; }
.spec-list { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line-dark); }
.spec-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.spec-list .no { font-family: var(--font-display); font-size: 26px; color: var(--sand); line-height: 1; }
.spec-list b { display: block; font-family: var(--font-en); font-weight: 500; font-size: 12px; letter-spacing: .24em; margin-bottom: 2px; }
.spec-list span { font-size: 13px; color: #b5b3ad; }
.spot .buyrow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.spot .price { font-size: 20px; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot .ph { aspect-ratio: 4/5; } }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { display: block; }
.card .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: opacity .6s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card .ph img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card:hover .ph img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); color: var(--ink); font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: .2em; padding: 4px 9px; }
.badge.rust { background: var(--rust); color: #fff; }
.card .meta { padding-top: 14px; }
.card .line-name { font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: .26em; color: var(--olive); }
.card .name { font-size: 14px; font-weight: 500; margin: 4px 0 2px; line-height: 1.6; }
.card .feat { font-size: 12px; color: var(--ink-soft); margin: 0 0 6px; line-height: 1.6; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--font-en); letter-spacing: .06em; font-weight: 400; }
.price small { font-family: var(--font-ja); font-size: 11px; color: var(--ink-soft); margin-left: 3px; }
.dark .price small { color: #a9a8a2; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }

/* commitment */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.pillar { border-top: 1px solid var(--ink); padding-top: 24px; }
.pillar .no { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--olive); }
.pillar h3 { font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: .26em; margin: 18px 0 4px; }
.pillar .ja { font-family: var(--font-mincho); font-size: 20px; margin: 0 0 12px; letter-spacing: .1em; }
.pillar p { margin: 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* journal */
.journal { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.story { display: block; }
.story .ph { overflow: hidden; aspect-ratio: 4/5; }
.story:first-child .ph { aspect-ratio: auto; height: 100%; max-height: 760px; }
.story img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story:hover img { transform: scale(1.04); }
.story:first-child { display: grid; grid-template-rows: 1fr auto; }
.story .cap { padding-top: 16px; }
.story .cap .eyebrow { color: var(--sand); }
.story h3 { font-family: var(--font-mincho); font-weight: 500; font-size: 19px; letter-spacing: .08em; line-height: 1.6; margin: 6px 0 4px; }
.story p { margin: 0; font-size: 13px; color: #a9a8a2; }
@media (max-width: 900px) { .journal { grid-template-columns: 1fr 1fr; } .story:first-child { grid-column: 1 / -1; } .story:first-child .ph { aspect-ratio: 4/5; max-height: none; } .story:first-child img { object-position: 50% 30%; } }

/* banner：左に文字、右に写真 */
.banner { padding: 0; display: grid; grid-template-columns: 1fr 1.5fr; background: var(--ink); color: #fff; }
.banner .ph { position: relative; min-height: clamp(440px, 52vw, 760px); overflow: hidden; }
.banner .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.banner .txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.banner h2 { font-size: clamp(48px, 6vw, 96px); margin: 14px 0 16px; }
.banner p { margin: 0 0 32px; max-width: 26em; color: rgba(255,255,255,.8); }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } .banner .ph { order: -1; min-height: 0; aspect-ratio: 4/5; } }

/* service */
.service { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.service .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.service div.item { padding: 28px 24px; border-left: 1px solid var(--line); }
.service div.item:first-child { border-left: 0; }
.service b { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .24em; margin-bottom: 4px; }
.service span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 860px) { .service .wrap { grid-template-columns: 1fr 1fr; padding: 0; } .service div.item:nth-child(3) { border-left: 0; } .service div.item:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- shop page ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 28px; }
.page-head h1 { margin: 10px 0 0; font-size: clamp(48px, 7vw, 104px); }
.page-head p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; max-width: 40em; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 7px 16px; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .2em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toolbar .count { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--ink-soft); }
.shop-section { padding-top: 0; }
.alert { background: var(--paper); border-left: 3px solid var(--rust); padding: 12px 16px; margin-bottom: 24px; font-size: 14px; }

/* ---------- product page ---------- */
.pdp { padding-top: 28px; padding-bottom: 72px; }
.pdp > .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
@media (max-width: 900px) { .pdp > .wrap { grid-template-columns: 1fr; } }
.crumbs { font-size: 11px; color: var(--ink-soft); margin-bottom: 16px; font-family: var(--font-en); letter-spacing: .16em; }
.crumbs a:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gallery figure { margin: 0; background: var(--stone); aspect-ratio: 4/5; overflow: hidden; }
.gallery figure:first-child, .gallery figure:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
@media (max-width: 900px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; margin: 0 calc(-1 * var(--gutter)); }
  .gallery figure { flex: 0 0 88%; scroll-snap-align: start; }
  .gallery figure:only-child { flex-basis: 100%; }
}
.buy { position: sticky; top: calc(var(--header-h) + 24px); }
.buy .line-name { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .28em; color: var(--olive); }
.buy h1 { margin: 6px 0 2px; font-size: clamp(40px, 4.4vw, 64px); }
.buy .ja-name { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.buy .price { font-size: 22px; }
.buy .lead { font-family: var(--font-mincho); font-size: 18px; margin: 24px 0 8px; letter-spacing: .06em; }
.buy .desc { color: var(--ink-soft); font-size: 14px; margin: 0; }
.opt { margin: 26px 0 0; border: 0; padding: 0; }
.opt legend { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .24em; margin-bottom: 10px; padding: 0; width: 100%; display: flex; justify-content: space-between; }
.opt legend span { font-family: var(--font-ja); letter-spacing: .06em; color: var(--ink-soft); font-weight: 400; }
.opt legend a { font-family: var(--font-ja); font-weight: 400; letter-spacing: .04em; text-decoration: underline; color: var(--ink-soft); }
.opt .choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label.size { min-width: 60px; height: 46px; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-en); font-size: 13px; letter-spacing: .08em; cursor: pointer; }
.opt label.size:hover { border-color: var(--ink); }
.opt input:checked + label.size { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt label.color { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); cursor: pointer; box-shadow: 0 0 0 3px var(--bg); }
.opt input:checked + label.color { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.opt input:focus-visible + label { outline: 2px solid var(--olive); outline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 16px; }
.qty output { min-width: 30px; text-align: center; font-family: var(--font-en); }
.buy .actions { margin-top: 28px; display: grid; gap: 10px; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; font-size: 12px; }
.assure div { background: var(--paper); padding: 12px 14px; color: var(--ink-soft); line-height: 1.6; }
.assure b { display: block; color: var(--ink); font-family: var(--font-en); font-weight: 500; font-size: 10px; letter-spacing: .22em; }
.rating { margin-top: 28px; display: grid; gap: 10px; }
.rating .r { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .22em; }
.rating .bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.rating .bars i { height: 4px; background: var(--line); }
.rating .bars i.on { background: var(--olive); }
.details { margin-top: 28px; border-top: 1px solid var(--ink); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .24em; display: flex; justify-content: space-between; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 16px; font-weight: 300; }
.details details[open] summary::after { content: "−"; }
.details ul { margin: 0 0 18px; padding-left: 1.2em; font-size: 14px; color: var(--ink-soft); }
.details p { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); }

.features { background: var(--ink); color: #ecebe6; }
.features .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.features .f { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.features .f .no { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--sand); }
.features .f b { display: block; font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: .24em; margin: 16px 0 6px; }
.features .f p { margin: 0; color: #b5b3ad; font-size: 14px; }
@media (max-width: 760px) { .features .grid3 { grid-template-columns: 1fr; } }

.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .3s;
  }
  .sticky-buy.show { transform: none; }
  .sticky-buy .nm { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
  .sticky-buy .nm b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { min-height: 46px; padding: 0 20px; }
}

/* ---------- cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(16,18,19,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 50;
  background: var(--paper); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-en); font-weight: 500; letter-spacing: .26em; font-size: 12px; }
.drawer header button { background: none; border: 0; font-size: 22px; line-height: 1; padding: 4px 8px; }
.drawer .items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer .empty { text-align: center; color: var(--ink-soft); padding: 72px 0; font-size: 14px; }
.cline { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline img { width: 84px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 8%; }
.cline .nm { font-size: 14px; font-weight: 500; line-height: 1.5; }
.cline .var { font-size: 12px; color: var(--ink-soft); }
.cline .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cline .qty button { width: 32px; height: 32px; }
.cline .rm { background: none; border: 0; font-size: 11px; color: var(--ink-soft); text-decoration: underline; padding: 6px 0 0; }
.drawer footer { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.sum.total { font-size: 16px; font-weight: 500; margin: 10px 0 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.ship-note { font-size: 12px; color: var(--olive); margin: 0 0 12px; }
.bar { height: 2px; background: var(--line); margin-bottom: 10px; }
.bar i { display: block; height: 100%; background: var(--olive); transition: width .4s; }
.checkout-msg { font-size: 12px; color: var(--rust); margin: 10px 0 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 22px; font-size: 13px; z-index: 60; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- text pages ---------- */
.doc { max-width: 860px; }
.doc h2 { font-size: 18px; font-weight: 500; margin: 48px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); letter-spacing: .08em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.doc th { width: 30%; font-weight: 500; background: var(--paper); }
.todo { background: #fff3c4; padding: 0 4px; }
@media (max-width: 640px) { .doc th, .doc td { display: block; width: 100%; } .doc th { border-bottom: 0; padding-bottom: 4px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c7c0; padding: 80px 0 36px; font-size: 13px; }
.site-footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer .tag { font-family: var(--font-mincho); font-size: 18px; color: #fff; letter-spacing: .2em; margin: 0 0 8px; }
.site-footer h3 { font-family: var(--font-en); font-weight: 500; font-size: 11px; letter-spacing: .26em; margin: 0 0 16px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: #8d8b85; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

.fade { opacity: 0; transform: translateY(20px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.fade.in { opacity: 1; transform: none; }
