/* tempura empire — 色と寸法は design/build_figma.py と合わせる */
:root {
  --white: #FFFFFF; --off: #F6F2EA; --ink: #2B2420; --muted: #8C8378; --line: #E7E1D6;
  --en: "Nunito", system-ui, sans-serif; --jp: "BIZ UDPGothic", "Nunito", system-ui, sans-serif;
  --pad: 48px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.8 var(--jp); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pc { display: inline; }

.topbar { background: var(--ink); color: #fff; text-align: center; font: 700 12px/1 var(--en); letter-spacing: .04em; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .left { display: flex; align-items: center; gap: 48px; }
.brand img { width: 210px; }
.site-header nav { display: flex; gap: 28px; font: 700 15px var(--en); }
.site-header nav a:hover, .shop:hover { opacity: .6; }
.shop { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--en); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 15px 28px; font: 800 15px var(--en); transition: opacity .15s; }
.btn:hover { opacity: .8; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.wide { width: 100%; font-size: 16px; padding: 18px 28px; }
.btn.off { background: var(--line); border-color: var(--line); color: var(--muted); cursor: default; }

/* ヒーロー */
.hero { display: grid; grid-template-columns: 600px 1fr; }
.hero-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-copy { background: var(--off); padding: 0 88px; display: flex; flex-direction: column; justify-content: center; gap: 18px; align-items: flex-start; }
.season { font: 700 14px var(--en); color: var(--muted); }
.hero h1 { font: 700 36px/1.4 var(--jp); }

/* セクション */
.sec { padding: 80px 0; }
.sec.off { background: var(--off); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.sec-head h2, .page h1 { font: 800 32px/1.2 var(--en); letter-spacing: -.01em; }
.sec-head p { font-size: 13px; }
h2.jp { font: 700 24px/1.5 var(--jp); }

/* 商品カード */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid.three { grid-template-columns: repeat(3, 1fr); max-width: 888px; }
.card { display: grid; gap: 3px; }
.ph { position: relative; overflow: hidden; background: var(--off); margin-bottom: 7px; }
.ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .3s; }
.ph .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .ph .alt { opacity: 1; }
.name-en { font: 700 14px var(--en); color: var(--muted); }
.name { font-weight: 700; }
.price { font: 700 15px var(--en); }

.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.look { display: grid; gap: 4px; }
.look-no { font: 800 14px var(--en); }
.look .muted { font-size: 13px; }
.brand-sec { padding: 96px 0; }
.brand-sec .muted { line-height: 1.9; }

/* 商品ページ */
.crumbs { display: flex; gap: 8px; padding-top: 16px; padding-bottom: 16px; font: 700 12px var(--en); color: var(--muted); }
.item { display: grid; grid-template-columns: 640px 1fr; gap: 56px; padding-top: 8px; padding-bottom: 80px; align-items: start; }
.gallery .main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--off); }
.thumbs { display: flex; gap: 12px; margin-top: 16px; }
.thumbs button { padding: 0; border: 0; background: none; width: 100px; cursor: pointer; opacity: .55; outline-offset: 2px; }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.info { position: sticky; top: 100px; display: grid; gap: 20px; padding-top: 8px; }
.info h1 { font: 700 30px/1.4 var(--jp); margin-top: -14px; }
.big-price { font: 800 20px var(--en); margin-top: -14px; }
.big-price small { font-size: 15px; }
.lbl { font: 800 12px var(--en); color: var(--muted); letter-spacing: .08em; margin-bottom: 10px; }
.sws { display: flex; gap: 10px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.sizes { display: flex; gap: 8px; }
.sizes span { width: 52px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font: 700 14px var(--en); }
.desc { line-height: 1.9; font-size: 14px; }
.spec { margin: 0; border-top: 1px solid var(--line); font-size: 13px; }
.spec div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); line-height: 1.75; }

.page { padding-top: 64px; }
.page h1 { margin-bottom: 24px; }
.page h2.jp { margin: 40px 0 12px; font-size: 20px; }
.page p { margin-bottom: 1em; }
.page a { text-decoration: underline; }
.page .btn { text-decoration: none; }

/* フッター */
.site-footer { background: var(--off); padding: 48px 0 28px; }
.ft-top { display: flex; justify-content: space-between; gap: 28px; }
.ft-top img { width: 200px; margin-bottom: 12px; }
.ft-top .muted { font-size: 13px; }
.cols { display: flex; gap: 48px; }
.cols div { display: grid; gap: 8px; align-content: start; font: 700 14px var(--en); }
.cols .h { font: 800 12px var(--en); color: var(--muted); letter-spacing: .08em; }
.ft-notes { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; display: grid; gap: 4px; font-size: 12px; color: var(--muted); }

/* スマホ（デザインの SP 390 に合わせる） */
@media (max-width: 960px) {
  :root { --pad: 16px; }
  .site-header .wrap { height: 60px; }
  .brand img { width: 168px; }
  .site-header nav { display: none; }
  .shop { font-size: 13px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 16px 36px; background: var(--white); gap: 14px; }
  .hero h1 { font-size: 28px; }
  .hero-copy .btn { width: 100%; }
  .sec { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }
  .grid, .grid.three { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .name { font-size: 14px; }
  .looks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px; }
  .look { flex: 0 0 260px; scroll-snap-align: start; }
  .brand-sec { padding: 56px 0; }
  .item { grid-template-columns: 1fr; gap: 24px; padding: 0 0 48px; }
  .gallery .thumbs { padding: 0 16px; }
  .thumbs button { width: 64px; }
  .info { position: static; padding: 0 16px; }
  .info h1 { font-size: 26px; }
  .crumbs { overflow-x: auto; white-space: nowrap; }
  .ft-top { flex-direction: column; }
  .pc { display: none; }
}
@media (max-width: 960px) { .item.wrap { padding-left: 0; padding-right: 0; } }
