:root {
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ink: #25231f;
  --paper: #eee9dc;
  --surface: #f8f5ed;
  --line: #777064;
  --muted: #6d675d;
  --accent: #785c26;
  --header-height: 70px;
  --footer-height: 54px;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body, button, input, select, textarea { font-family: var(--font); }
body { margin: 0; color: var(--ink); background: var(--paper); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.site-header { min-height: var(--header-height); padding: 0 clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.site-logo { font-size: 18px; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.global-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 12px; font-weight: 500; }
.global-nav a { padding: 7px 1px; text-decoration: none; border-bottom: 2px solid transparent; }
.global-nav a[aria-current="page"] { border-color: var(--ink); }
.catalog { min-height: calc(100svh - var(--header-height) - var(--footer-height)); padding: clamp(22px, 4vh, 42px) clamp(18px, 4vw, 56px); display: grid; grid-template-columns: minmax(220px, .7fr) minmax(600px, 2.3fr); align-items: stretch; gap: clamp(24px, 4vw, 62px); }
.catalog-heading { align-self: center; }
.label { margin: 0 0 14px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.catalog-heading h1 { margin: 0; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.4; font-weight: 600; letter-spacing: .04em; }
.catalog-heading > p:last-child { margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }
.tab-box { min-width: 0; display: flex; flex-direction: column; align-self: center; border: 1px solid var(--line); background: var(--surface); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.tab-list { display: flex; border-bottom: 1px solid var(--line); background: #ddd7ca; }
.tab-list button { flex: 1; min-height: 44px; padding: 9px 16px; border: 0; border-right: 1px solid var(--line); background: transparent; font-size: 12px; font-weight: 500; cursor: pointer; }
.tab-list button:last-child { border-right: 0; }
.tab-list button[aria-selected="true"] { position: relative; background: var(--surface); font-weight: 700; }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--surface); }
.tab-list button:focus-visible, .button-link:focus-visible, a:focus-visible { outline: 3px solid #3267b0; outline-offset: 2px; }
.tab-panel { min-height: 400px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr); }
.tab-panel[hidden] { display: none; }
.tab-panel > img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; border-right: 1px solid var(--line); }
.panel-copy { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.panel-copy h2 { margin: 0; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.55; font-weight: 600; letter-spacing: .025em; }
.panel-copy > p:not(.label) { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.button-link { display: flex; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 12px 14px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.panel-stars { background: #101a43; color: #f2f4ff; }
.panel-stars .panel-copy > p:not(.label) { color: #c9d0ec; }
.panel-stars .label { color: #9bb7ff; }
.panel-stars .button-link { border-color: #eef2ff; background: #eef2ff; color: #101a43; }
.site-footer { min-height: var(--footer-height); padding: 0 clamp(18px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.product-page { --accent: #785c26; }
.product-page.stars { --accent: #5476c9; }
.product-main { min-height: calc(100svh - var(--header-height) - var(--footer-height)); padding: clamp(18px, 3vh, 30px) clamp(18px, 4vw, 56px); display: grid; grid-template-columns: minmax(380px, 1.15fr) minmax(380px, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.product-visual { border: 1px solid var(--line); background: var(--surface); box-shadow: 5px 5px 0 rgba(69,62,51,.12); }
.product-visual img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; border-bottom: 1px solid var(--line); }
.visual-caption { display: flex; justify-content: space-between; gap: 20px; padding: 10px 14px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.product-info { min-width: 0; }
.product-info h1 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 52px); line-height: 1.45; font-weight: 600; letter-spacing: .035em; }
.product-lead { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.status { display: inline-block; margin-bottom: 24px; padding: 7px 10px; border: 1px solid var(--line); background: var(--surface); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.info-tabs { border: 1px solid var(--line); background: var(--surface); }
.info-tabs .tab-list button { font-size: 11px; }
.info-panel { min-height: 170px; padding: 23px 25px; }
.info-panel[hidden] { display: none; }
.info-panel h2 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.info-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 7px 0; border-bottom: 1px dotted #aaa398; color: var(--muted); font-size: 11px; line-height: 1.5; }
.feature-list li:last-child { border: 0; }
.feature-list strong { color: var(--ink); }
.store-note { display: inline-block; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 950px) {
  .catalog { grid-template-columns: 1fr; align-content: start; }
  .catalog-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; align-items: end; }
  .catalog-heading .label { grid-column: 1 / -1; margin-bottom: 0; }
  .catalog-heading > p:last-child { margin: 0; }
  .product-main { grid-template-columns: 1fr; align-content: start; }
  .product-visual { max-width: 760px; }
}
@media (max-width: 650px) {
  :root { --header-height: 62px; }
  .site-logo { font-size: 15px; }
  .global-nav { gap: 14px; font-size: 10px; }
  .catalog { padding-top: 22px; }
  .catalog-heading { display: block; }
  .catalog-heading h1 { font-size: 29px; }
  .catalog-heading > p:last-child { margin-top: 14px; }
  .tab-panel { min-height: 0; grid-template-columns: 1fr; }
  .tab-panel > img { min-height: 0; aspect-ratio: 1024 / 500; border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-copy { padding: 24px 20px; }
  .panel-copy h2 { font-size: 25px; }
  .site-footer { min-height: 74px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .product-main { padding-top: 22px; }
  .product-info h1 { font-size: 30px; }
  .info-panel { min-height: 196px; }
}
