/* Aya — Natural Stone Accessory — style (based on the Point.eye layout) */
:root {
  --bg: #f8f5ef;
  --paper: #fffdf9;
  --sand: #efe8dc;
  --ink: #2d2e29;
  --muted: #76736a;
  --line: #e4dccf;
  --accent: #b59a66;
  --accent-deep: #8a7246;
  --sage: #5f6b55;
  --sage-deep: #3e4838;
  --header-bg: rgba(248, 245, 239, .92);
  --glow-1: rgba(181, 154, 102, .12);
  --glow-2: rgba(95, 107, 85, .1);
  --light-accent: #d8c49a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --kanji: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: .02em;
  text-wrap: pretty;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
small { font-size: .84em; color: var(--muted); line-height: 1.7; display: inline-block; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 200; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 720px; }
.section { padding: 96px 0; }

/* ---------- Logo (recreates the shop banner mark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 18px; color: var(--sage-deep); }
.logo__mark {
  display: grid; place-items: center; flex: none;
  width: 86px; height: 86px; border: 1px solid var(--accent); border-radius: 50%;
  font-family: var(--kanji); font-weight: 500; font-size: 46px; line-height: 1; color: var(--sage-deep);
  position: relative;
}
.logo__mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(181, 154, 102, .35); border-radius: 50%; }
.logo__body { display: flex; flex-direction: column; align-items: flex-start; padding-left: 18px; border-left: 1px solid var(--accent); }
.logo__word { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: .14em; }
.logo__script { margin-top: 4px; font-family: var(--script); font-size: 22px; line-height: 1.2; color: var(--accent-deep); letter-spacing: 0; white-space: nowrap; }
.logo--sm .logo__mark { width: 60px; height: 60px; font-size: 32px; }
.logo--sm .logo__word { font-size: 34px; }
.logo--sm .logo__script { font-size: 16px; }

.mini-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .16em; color: var(--sage-deep); text-decoration: none; }
.mini-logo__mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--accent); border-radius: 50%; font-family: var(--kanji); font-size: 17px; letter-spacing: 0; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px; white-space: nowrap;
  font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--sage-deep); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--lg { min-height: 64px; padding: 0 40px; font-size: 14px; width: 100%; max-width: 380px; }

.link-arrow {
  display: inline-block; padding-bottom: 4px; text-decoration: none;
  border-bottom: 1px solid var(--accent); font-size: 14px;
  transition: color .3s, border-color .3s;
}
.link-arrow span { font-family: var(--serif); font-style: italic; font-size: 1.2em; margin-left: 6px; color: var(--accent-deep); }
.link-arrow:hover { color: var(--accent-deep); border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-open::before { opacity: 0; }
.header__logo { display: block; margin-right: auto; position: relative; z-index: 2; text-decoration: none; opacity: 0; transition: opacity .4s; }
.header.is-scrolled .header__logo, .header.is-open .header__logo { opacity: 1; }
.header__cta {
  position: relative; z-index: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 6px 16px; border: 1px solid var(--ink); border-radius: 999px; line-height: 1.6;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.header.is-scrolled .header__cta { opacity: 1; pointer-events: auto; }
.header.is-open .header__cta { opacity: 0; pointer-events: none; }

.burger { position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; display: none; }
.js .burger { display: block; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(30deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-30deg); }

.nav { display: none; }
.js .nav {
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  position: fixed; inset: 0; z-index: 1; padding: 80px 32px 40px;
  background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.js .nav.is-open { opacity: 1; visibility: visible; }
.nav__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-size: 12px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__list a span { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--ink); line-height: 1.2; min-width: 140px; }
.nav__cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: calc(var(--header-h) + 4px) var(--gutter) 72px;
  text-align: center;
  background: radial-gradient(ellipse at 80% 20%, var(--glow-1), transparent 55%), radial-gradient(ellipse at 10% 90%, var(--glow-2), transparent 50%);
}
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-deep); }
.hero__title { margin-top: 10px; font-weight: 400; }
.hero .logo { gap: 14px; }
.hero .logo__mark { width: clamp(64px, 18vw, 96px); height: clamp(64px, 18vw, 96px); font-size: clamp(34px, 9.5vw, 52px); }
.hero .logo__word { font-size: clamp(38px, 11vw, 64px); }
.hero .logo__script { font-size: clamp(16px, 4.6vw, 26px); }
.hero__copy { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 7.4vw, 40px); line-height: 1.25; letter-spacing: .01em; }
.hero__sub { margin-top: 14px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.hero__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hero__actions .btn { width: 100%; max-width: 340px; min-height: 52px; }
.hero__stats { margin-top: 26px; display: flex; justify-content: center; gap: 0; }
.hero__stats li { padding: 0 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; border-left: 1px solid var(--line); }
.hero__stats li:first-child { border-left: 0; }
.hero__stats b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink); }
.hero__visual { order: -1; width: min(56vw, 28vh, 280px); margin: 0 auto; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand); position: relative; }
.hero__visual::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: inherit; pointer-events: none; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__scroll { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 56px; text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.hero__scroll span { font-family: var(--serif); font-size: 12px; letter-spacing: .3em; color: var(--muted); line-height: 1; }
.hero__scroll::after { content: ""; flex: 1; width: 1px; margin-top: 8px; background: var(--accent); transform-origin: top; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------- Heading ---------- */
.heading { text-align: center; margin-bottom: 48px; }
.heading__en { font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1.1; color: var(--sage-deep); }
.heading__sub { margin-top: 14px; font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.heading__sub::before { content: "✦"; display: block; margin: 0 auto 10px; font-size: 10px; letter-spacing: 0; color: var(--accent); }
.heading--light .heading__en { color: #fff; }
.heading--light .heading__sub { color: rgba(255, 255, 255, .7); }
.heading--light .heading__sub::before { color: var(--light-accent); }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about__body { font-family: var(--serif); font-size: clamp(19px, 5vw, 23px); line-height: 1.75; text-align: center; }
.about__body p + p { margin-top: 1.2em; }
.about__body em { font-style: italic; color: var(--accent-deep); }
.about__kanji { font-family: var(--kanji); font-size: .95em; color: var(--sage-deep); }
.about__photo { margin: 56px auto 0; max-width: 560px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--sand); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.about__keys { margin-top: 56px; border-top: 1px solid var(--line); }
.about__keys li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.about__keys span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--sage-deep); line-height: 1.2; }

/* ---------- Collection ---------- */
.filters { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 32px; padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters__btn { flex: none; padding: 9px 18px; font-size: 13px; letter-spacing: .06em; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.filters__btn small { margin-left: 4px; font-size: 11px; display: inline; }
.filters__btn:hover { border-color: var(--ink); }
.filters__btn[aria-pressed="true"] { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.filters__btn[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.products li[hidden] { display: none; }
.products li { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.product { display: block; text-decoration: none; }
.product__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--sand); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__name { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.product__price { display: block; margin-top: 4px; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.3; }
.product__price::after { content: "Free shipping"; margin-left: 8px; padding: 1px 8px; font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: .06em; color: var(--sage); border: 1px solid rgba(95, 107, 85, .35); border-radius: 999px; vertical-align: 3px; white-space: nowrap; }
.more { margin-top: 40px; }
.more[hidden] { display: none; }
.collection__foot { margin: 48px 0 28px; font-size: 12.5px; line-height: 1.9; color: var(--muted); text-align: center; }

/* ---------- Features ---------- */
.features { background: var(--paper); }
.features__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.features__list li { padding: 32px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.features__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; color: var(--accent); }
.features__list h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.3; }
.features__list p { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- Reviews ---------- */
.rating { text-align: center; padding: 48px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 36px; }
.rating__score { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--sage-deep); }
.rating__stars { margin-top: 8px; font-size: 22px; letter-spacing: .18em; color: var(--accent); }
.rating__meta { margin-top: 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rating__facts { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.rating__facts li { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); }
.rating__facts li:first-child { border-left: 0; }
.rating__facts b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); line-height: 1.3; letter-spacing: 0; }

/* ---------- Shop info ---------- */
.info-sec { background: var(--paper); }
.info-grid { display: grid; gap: 40px; }
.info > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info > div:first-child { border-top: 1px solid var(--line); }
.info dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info dd { font-size: 15px; line-height: 1.75; min-width: 0; }
.info dd a { text-underline-offset: 4px; text-decoration-color: var(--accent); }
.notes { padding: 32px 26px; background: var(--sand); border-radius: 4px; }
.notes h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 14px; color: var(--sage-deep); }
.notes li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.notes li + li { margin-top: 12px; }
.notes li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: 10px; line-height: 2.5; color: var(--accent); }

/* ---------- Shop CTA ---------- */
.shop { background: var(--sage-deep); color: #fff; text-align: center; }
.shop__lead { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 5.6vw, 28px); line-height: 1.5; }
.steps { margin: 36px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 0 6px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .82); border-left: 1px solid rgba(255, 255, 255, .18); }
.steps li:first-child { border-left: 0; }
.steps span { display: block; margin-bottom: 6px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--light-accent); }
.shop__sub { margin-top: 20px; font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .65); }
.shop__sub a { color: rgba(255, 255, 255, .92); text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 120px; text-align: center; background: var(--bg); }
.footer__addr { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer__nav, .footer__sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 28px; }
.footer__nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; display: inline-block; }
.footer__sns a { font-family: var(--serif); font-style: italic; font-size: 19px; text-decoration: none; padding: 6px 0; display: inline-block; border-bottom: 1px solid var(--accent); line-height: 1.4; }
.footer a:hover { color: var(--accent-deep); }
.footer__copy { margin-top: 36px; letter-spacing: .12em; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px;
  background: var(--sage-deep); color: #fff; border-radius: 999px; text-decoration: none;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(45, 46, 41, .25);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.sticky-cta.is-visible { transform: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 76px; }
  body { font-size: 16px; }
  .section { padding: 136px 0; }
  .heading { margin-bottom: 64px; }
  .heading__en { font-size: 64px; }
  .hero__actions { flex-direction: row; justify-content: center; }
  .hero__actions .btn { width: auto; }
  .about__keys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0; margin-top: 72px; }
  .about__keys li { flex-direction: column; align-items: center; gap: 6px; border-bottom: 0; border-left: 1px solid var(--line); padding: 8px 12px; }
  .about__keys li:first-child { border-left: 0; }
  .filters { justify-content: center; flex-wrap: wrap; margin: 0 0 48px; padding: 0; overflow: visible; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 44px 24px; }
  .product__name { font-size: 14.5px; }
  .features__list { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .features__list li { padding: 40px 4px; }
  .notes { padding: 40px; }
  .steps li { font-size: 13.5px; }
  .footer { padding-bottom: 64px; }
  .sticky-cta { display: none; }
}

@media (min-width: 1024px) {
  .hero { flex-direction: row; align-items: center; justify-content: center; gap: clamp(48px, 6vw, 96px); text-align: left; padding-left: 48px; padding-right: 48px; }
  .hero__text { max-width: 540px; }
  .hero .logo__mark { width: 104px; height: 104px; font-size: 56px; }
  .hero .logo__word { font-size: 70px; }
  .hero .logo__script { font-size: 28px; }
  .hero__actions { justify-content: flex-start; }
  .hero__stats { justify-content: flex-start; }
  .hero__stats li:first-child { padding-left: 0; }
  .hero__visual { order: 0; width: clamp(320px, 32vw, 420px); aspect-ratio: 4 / 4.9; margin: 0; flex: none; }
  .products { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
}

@media (min-width: 1100px) {
  .burger, .js .burger { display: none; }
  .header__cta { display: none; }
  .header__logo { opacity: 1; }
  .nav, .js .nav {
    display: flex; flex-direction: row; align-items: center; gap: 32px;
    position: static; padding: 0; background: none; opacity: 1; visibility: visible; overflow: visible;
  }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a { display: block; white-space: nowrap; padding: 8px 0; border: 0; font-size: 0; color: var(--ink); }
  .nav__list a span { display: inline; min-width: 0; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; transition: color .3s; }
  .nav__list a:hover span { color: var(--accent-deep); }
  .nav__cta { width: auto; white-space: nowrap; min-height: 44px; padding: 0 24px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .sticky-cta, .hero__scroll { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .products li[hidden] { display: block; }
}

/* ---------- Language switcher (EN 🇺🇸 / JA 🇯🇵) ---------- */
.lang { position: relative; z-index: 2; display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .8); }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; font-size: 11px; letter-spacing: .1em; line-height: 1.4; text-decoration: none; color: var(--muted); transition: background .3s, color .3s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--sand); color: var(--ink); }
.lang img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.footer__lang { display: flex; justify-content: center; margin-top: 28px; }
.footer__lang .lang { display: inline-flex; }
@media (max-width: 400px) {
  .header .lang a { padding: 4px 6px; }
  .header .lang__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- Japanese page ---------- */
:root:lang(ja) {
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
:lang(ja) body { font-weight: 400; font-size: 15px; line-height: 2; letter-spacing: .06em; line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
.nb { white-space: nowrap; }
:lang(ja) .btn { text-transform: none; letter-spacing: .12em; font-weight: 500; }
:lang(ja) .hero__copy { font-family: var(--mincho); font-style: normal; font-size: clamp(21px, 5.8vw, 32px); line-height: 1.7; letter-spacing: .12em; }
:lang(ja) .hero__sub { font-size: 12.5px; line-height: 1.9; }
:lang(ja) .hero__stats li { letter-spacing: .08em; }
:lang(ja) .heading__sub { font-family: var(--mincho); font-size: 14px; letter-spacing: .24em; text-transform: none; }
:lang(ja) .about__body { font-family: var(--mincho); font-size: clamp(13px, 3.8vw, 16.5px); line-height: 2.4; letter-spacing: .08em; }
:lang(ja) .about__body p + p { margin-top: 1.8em; }
:lang(ja) .about__keys li { font-size: 12.5px; }
:lang(ja) .filters__btn { letter-spacing: .04em; }
:lang(ja) .product__name { font-size: 13px; line-height: 1.6; }
:lang(ja) .product__price::after { content: "送料無料"; letter-spacing: .04em; }
:lang(ja) .features__list h3 { font-family: var(--mincho); font-size: 17px; line-height: 1.7; letter-spacing: .08em; }
:lang(ja) .features__list p { font-size: 13.5px; line-height: 2; }
:lang(ja) .rating__meta, :lang(ja) .rating__facts li, :lang(ja) .info dt, :lang(ja) .footer__nav a { text-transform: none; letter-spacing: .1em; }
:lang(ja) .info dd { font-size: 14px; line-height: 1.9; }
:lang(ja) .notes h3 { font-family: var(--mincho); font-size: 17px; letter-spacing: .1em; }
:lang(ja) .notes li { font-size: 13.5px; line-height: 1.9; }
:lang(ja) .shop__lead { font-family: var(--mincho); font-style: normal; font-size: clamp(14px, 4vw, 19px); line-height: 2.1; letter-spacing: .08em; }
:lang(ja) .sticky-cta { text-transform: none; letter-spacing: .14em; }
:lang(ja) .nav__list a span { min-width: 150px; }
@media (min-width: 1100px) {
  :lang(ja) .nav__list a { font-size: 13px; letter-spacing: .08em; }
  :lang(ja) .nav__list a span { display: none; }
  :lang(ja) .nav__list a:hover { color: var(--accent-deep); }
}

/* ==========================================================
   背景パターン(管理画面で選ぶ。<html data-theme="…">。何もなければノーマル)
   ========================================================== */
:root[data-theme="emerald"] {
  --bg: #eef5f1; --paper: #f9fcfa; --sand: #dcebe3; --ink: #1d2b25; --muted: #5b6f66; --line: #cfe1d7;
  --accent: #b39559; --accent-deep: #876d3c; --sage: #1f7357; --sage-deep: #0f4d3a;
  --header-bg: rgba(238, 245, 241, .93); --glow-1: rgba(31, 115, 87, .12); --glow-2: rgba(179, 149, 89, .12); --light-accent: #e3cc94;
}
:root[data-theme="ivory"] {
  --bg: #fffdf7; --paper: #ffffff; --sand: #f6f0e0; --ink: #2e2b24; --muted: #7c7668; --line: #ede6d3;
  --accent: #c3a46a; --accent-deep: #94783f; --sage: #6f6a55; --sage-deep: #3f3b30;
  --header-bg: rgba(255, 253, 247, .94); --glow-1: rgba(195, 164, 106, .1); --glow-2: rgba(246, 240, 224, .7); --light-accent: #e6d3a6;
}
:root[data-theme="lavender"] {
  --bg: #f7f4f9; --paper: #fdfcfe; --sand: #eee7f3; --ink: #2f2935; --muted: #7b7284; --line: #e5dcec;
  --accent: #a28db8; --accent-deep: #715b8a; --sage: #7a6894; --sage-deep: #3d3348;
  --header-bg: rgba(247, 244, 249, .93); --glow-1: rgba(196, 176, 220, .25); --glow-2: rgba(214, 198, 232, .22); --light-accent: #d9c8ea;
}
:root[data-theme="beige"] {
  --bg: #f6f0e8; --paper: #fcf9f5; --sand: #ede3d6; --ink: #3b2f26; --muted: #7f6f61; --line: #e4d8c9;
  --accent: #a8875f; --accent-deep: #7d6041; --sage: #8a6a49; --sage-deep: #45362a;
  --header-bg: rgba(246, 240, 232, .93); --glow-1: rgba(168, 135, 95, .12); --glow-2: rgba(237, 227, 214, .6); --light-accent: #e3cdb1;
}
:root[data-theme="woody"] {
  --bg: #f1e6d6; --paper: #fbf6ee; --sand: #e8d9c3; --ink: #332218; --muted: #7d6a58; --line: #dac9b0;
  --accent: #a8713f; --accent-deep: #7a4e2a; --sage: #7a4e2a; --sage-deep: #3b281c;
  --header-bg: rgba(241, 230, 214, .93); --glow-1: transparent; --glow-2: transparent; --light-accent: #e2c29c;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='360'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.6' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.26 0 0 0 0 0.13 0.55 0 0 0 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='360'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.6' numOctaves='4' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.86 0 0 0 0 0.66 0 0 0 0 0.45 0.4 0 0 0 -0.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
:root[data-theme="woody"] body { background: var(--bg) var(--grain) 0 0 / 900px 360px; }
:root[data-theme="woody"].js .nav { background: var(--bg) var(--grain) 0 0 / 900px 360px; }
:root[data-theme="woody"] .about, :root[data-theme="woody"] .features, :root[data-theme="woody"] .info-sec { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
:root[data-theme="woody"] .product__img { border-radius: 3px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
:root[data-theme="woody"] .btn { border-radius: 6px; }
:root[data-theme="woody"] .btn--primary, :root[data-theme="woody"] .filters__btn[aria-pressed="true"] { background: var(--sage-deep) var(--grain-light) 0 0 / 600px 240px; border-color: var(--sage-deep); color: #fbf3e6; }
:root[data-theme="woody"] .btn--primary:hover { background-color: var(--accent-deep); border-color: var(--accent-deep); }
:root[data-theme="woody"] .btn--ghost { border-color: var(--accent); background: rgba(251, 246, 238, .6); }
:root[data-theme="woody"] .btn--light { background: #fbf3e6; border-color: #fbf3e6; color: var(--sage-deep); }
:root[data-theme="woody"] .filters__btn { border-radius: 6px; }
:root[data-theme="woody"] .sticky-cta { border-radius: 8px; background: var(--sage-deep) var(--grain-light) 0 0 / 600px 240px; color: #fbf3e6; box-shadow: 0 12px 30px rgba(59, 40, 28, .35); }
:root[data-theme="woody"] .rating, :root[data-theme="woody"] .notes { border-top: 3px solid var(--accent); border-radius: 3px; }
:root[data-theme="woody"] .notes { background: var(--sand) var(--grain) 0 0 / 700px 280px; }
:root[data-theme="woody"] .shop { background: var(--sage-deep) var(--grain-light) 0 0 / 900px 360px; }
:root[data-theme="woody"] .footer { border-top: 6px solid #b98a5c; }
