:root {
  --bg: #fbfaf6;
  --paper: #fffefa;
  --ink: #26231f;
  --muted: #756f67;
  --line: rgba(38, 35, 31, 0.13);
  --gold: #a78655;
  --pink: #ead5dc;
  --green: #d9e0c9;
  --blue: #d8e2e5;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --shadow: 0 18px 60px rgba(73, 62, 51, 0.08);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--line); }
.brand { display: inline-flex; width: fit-content; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  letter-spacing: .035em;
}
.brand-sub {
  margin-top: 7px;
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 28px; font-size: .84rem; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 5px;
  height: 1px; background: currentColor;
  transition: right .2s ease;
}
.nav a:hover::after { right: 0; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .04em;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 28px 96px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  min-height: calc(100vh - 84px);
}
.hero-copy { padding: 30px 0; }
.kicker {
  margin: 0 0 16px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: #897969;
}
.hero h1,
.section h2,
.color-story h2,
.shop-cta h2,
.dialog-copy h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.28;
}
.hero h1 { font-size: clamp(3rem, 5vw, 5.6rem); }
.hero h1 span { color: #715f4f; }
.hero-lede { margin: 30px 0 0; font-size: 1rem; color: #625c55; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 28px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 12px 32px rgba(38,35,31,.14); }
.button-dark { background: var(--ink); color: #fff; }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-size: .86rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 40px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .76rem; }
.hero-notes li::before { content: "•"; margin-right: 8px; color: var(--gold); }

.hero-visual { position: relative; min-height: 690px; }
.hero-main-photo {
  position: absolute;
  inset: 0 7% 7% 10%;
  margin: 0;
  overflow: hidden;
  border-radius: 45% 45% 28px 28px / 20% 20% 28px 28px;
  box-shadow: var(--shadow);
  background: #eee;
}
.hero-main-photo img { object-position: 50% 52%; }
.hero-sub-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--bg);
  box-shadow: 0 18px 50px rgba(73,62,51,.14);
}
.hero-sub-photo-a { width: 32%; aspect-ratio: .88; left: 0; bottom: 1%; border-radius: 45% 45% 20px 20px / 28% 28% 20px 20px; }
.hero-sub-photo-b { width: 28%; aspect-ratio: 1; right: 0; top: 8%; border-radius: 50%; }
.hero-stamp {
  position: absolute;
  right: 1%; bottom: 0;
  width: 136px; height: 136px;
  border: 1px solid rgba(113,95,79,.35);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(251,250,246,.92);
  backdrop-filter: blur(6px);
}
.hero-stamp span { font: italic .68rem Georgia, serif; color: #8f7e6e; }
.hero-stamp strong { margin-top: 6px; font: 500 1rem Georgia, serif; }

.intro-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px max(28px, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #6d665e;
  font-size: .78rem;
  letter-spacing: .06em;
}
.intro-strip p { margin: 0; }

.section { max-width: var(--max); margin: 0 auto; padding: 130px 28px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .about-section h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: .88rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 22px; }
.product-card { min-width: 0; }
.product-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.product-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #efede8;
  border-radius: var(--radius-sm);
}
.product-image img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-open:hover .product-image img { transform: scale(1.025); }
.product-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 17px; }
.product-meta > span:first-child { display: flex; flex-direction: column; }
.product-meta strong { font-family: Georgia, serif; font-size: 1rem; font-weight: 500; }
.product-meta small { margin-top: 3px; color: var(--muted); font-size: .71rem; }
.price { font-family: Georgia, serif; font-size: .92rem; white-space: nowrap; }
.detail-link { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #6d665e; font-size: .74rem; }
.detail-link span { transition: transform .2s ease; }
.product-open:hover .detail-link span { transform: translateX(4px); }

.color-story {
  max-width: 1460px;
  margin: 40px auto 0;
  background: #ece8de;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
}
.color-story-image { overflow: hidden; min-height: 610px; }
.color-story-image img { object-position: center; }
.color-story-copy { padding: clamp(60px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.color-story-copy h2 { font-size: clamp(2.5rem, 4.5vw, 4.8rem); }
.color-story-copy > p:not(.kicker) { margin: 28px 0 0; color: #665f57; max-width: 500px; }
.swatches { display: flex; gap: 10px; margin: 32px 0; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(38,35,31,.08); }
.swatch-pink { background: #d98aa5; }
.swatch-orange { background: #eaa04b; }
.swatch-green { background: #85a94d; }
.swatch-blue { background: #6f9fb2; }
.swatch-clear { background: rgba(255,255,255,.74); }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.about-copy > p:not(.kicker) { max-width: 480px; margin: 25px 0 0; color: var(--muted); }
.about-gallery { min-height: 630px; position: relative; }
.about-photo { position: absolute; margin: 0; overflow: hidden; background: #eee; box-shadow: var(--shadow); }
.about-photo-large { left: 13%; top: 0; width: 58%; height: 78%; border-radius: 48% 48% 20px 20px / 25% 25% 20px 20px; }
.about-photo:not(.about-photo-large):nth-child(2) { right: 0; top: 12%; width: 34%; aspect-ratio: .83; border-radius: 50% 50% 18px 18px / 26% 26% 18px 18px; border: 7px solid var(--bg); }
.about-photo:not(.about-photo-large):nth-child(3) { left: 0; bottom: 0; width: 39%; aspect-ratio: 1; border-radius: 50%; border: 7px solid var(--bg); }

.compact-heading { margin-bottom: 34px; }
.guide-section { border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-card { padding: 34px 34px 38px 0; min-height: 240px; }
.guide-card + .guide-card { border-left: 1px solid var(--line); padding-left: 34px; }
.guide-number { color: #9a8874; font: .72rem Georgia, serif; }
.guide-card h3 { margin: 36px 0 12px; font-family: "Yu Mincho", Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.guide-card p { margin: 0; color: var(--muted); font-size: .84rem; }

.shop-cta {
  margin: 20px auto 0;
  max-width: calc(var(--max) - 56px);
  padding: 100px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(234,213,220,.65), transparent 26%),
    radial-gradient(circle at 85% 70%, rgba(217,224,201,.75), transparent 24%),
    #f1eee7;
  border-radius: var(--radius-lg);
}
.shop-cta h2 { font-size: clamp(2.1rem, 4.2vw, 4.4rem); }
.shop-cta > p:not(.kicker) { color: var(--muted); margin: 18px 0 28px; }
.shop-cta small { display: block; margin-top: 16px; color: #8a8178; font-size: .69rem; }

.footer { max-width: var(--max); margin: 0 auto; padding: 90px 28px 36px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 30px; color: var(--muted); }
.footer p { margin: 0; font-size: .76rem; }
.footer-brand .brand-name { color: var(--ink); }
.copyright { text-align: right; }

.product-dialog {
  width: min(980px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(22,18,14,.25);
}
.product-dialog::backdrop { background: rgba(28,24,20,.52); backdrop-filter: blur(5px); }
.dialog-close {
  position: absolute;
  right: 18px; top: 16px;
  z-index: 2;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(251,250,246,.9);
  cursor: pointer;
  font-size: 1.4rem;
}
.dialog-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; }
.dialog-image-wrap { min-height: 600px; background: #eee; }
.dialog-copy { padding: 72px 58px; display: flex; flex-direction: column; justify-content: center; }
.dialog-copy h2 { font-size: clamp(2rem, 3.2vw, 3.6rem); }
.dialog-price { margin: 18px 0 28px; font: 1.15rem Georgia, serif; }
.dialog-copy > p:not(.kicker):not(.dialog-price):not(.dialog-note) { color: var(--muted); }
.detail-list { margin: 30px 0; border-top: 1px solid var(--line); }
.detail-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; }
.dialog-note { color: #8a8178; font-size: .68rem; margin: 14px 0 0; }
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  z-index: 60;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 20px;
  border-radius: 999px;
  background: #24211e;
  color: #fff;
  font-size: .78rem;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .hero-visual { min-height: 590px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .color-story { margin-inline: 20px; }
  .about-section { gap: 45px; }
  .about-gallery { min-height: 540px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 11px 18px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .5rem; }
  .header-cta { min-height: 38px; padding: 0 14px; font-size: .7rem; }

  .hero {
    padding: 46px 18px 76px;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4.5rem); }
  .hero-lede { font-size: .9rem; margin-top: 22px; }
  .hero-actions { gap: 20px; margin-top: 28px; }
  .hero-notes { margin-top: 28px; gap: 7px 14px; }
  .hero-visual { min-height: 520px; }
  .hero-main-photo { inset: 0 4% 6% 9%; border-radius: 42% 42% 20px 20px / 18% 18% 20px 20px; }
  .hero-sub-photo-a { width: 35%; left: 0; bottom: 1%; border-width: 5px; }
  .hero-sub-photo-b { width: 30%; top: 7%; border-width: 5px; }
  .hero-stamp { width: 104px; height: 104px; right: 0; }
  .hero-stamp strong { font-size: .82rem; }
  .hero-stamp span { font-size: .55rem; }

  .intro-strip { padding: 17px 18px; flex-direction: column; gap: 5px; font-size: .7rem; }
  .section { padding: 94px 18px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-heading > p { margin-top: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .product-meta { display: block; }
  .price { display: block; margin-top: 8px; }
  .product-meta strong { font-size: .88rem; }
  .detail-link { font-size: .69rem; }

  .color-story { margin: 0; grid-template-columns: 1fr; }
  .color-story-image { min-height: 480px; }
  .color-story-copy { padding: 68px 22px 76px; }

  .about-section { grid-template-columns: 1fr; }
  .about-copy { order: 1; }
  .about-gallery { order: 2; min-height: 510px; }
  .about-photo-large { width: 64%; left: 13%; }

  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; padding: 28px 0 32px; }
  .guide-card + .guide-card { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .guide-card h3 { margin-top: 20px; }

  .shop-cta { margin: 0 18px; padding: 76px 20px; border-radius: 28px; }
  .footer { grid-template-columns: 1fr; padding: 70px 18px 30px; }
  .copyright { text-align: left; }

  .product-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); border-radius: 20px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-image-wrap { min-height: 0; aspect-ratio: 1 / 1; }
  .dialog-copy { padding: 42px 24px 34px; }
  .dialog-close { right: 12px; top: 12px; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .button { min-height: 50px; }
  .hero-visual { min-height: 470px; }
  .hero-stamp { width: 92px; height: 92px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1 / 1.15; }
  .toast { width: calc(100vw - 32px); text-align: center; }
}

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