:root {
  --bg: #f8f6f1;
  --bg-sub: #eeeae1;
  --green: #18382f;
  --gold: #b59a64;
  --text: #242824;
  --white: #ffffff;
  --muted: #3c443e;
  --line: rgba(24, 56, 47, 0.16);
  --header-h: 72px;
  --gutter: 20px;
  --content: 1120px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.45;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: 0.06em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

button,
input,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.skip {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 80;
  padding: 8px 14px;
  background: var(--white);
  color: var(--green);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: rgba(24, 56, 47, 0.9);
  color: var(--bg);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.header.is-scrolled,
.header.is-open {
  background: rgba(248, 246, 241, 0.97);
  color: var(--green);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.logo-en {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.logo-ja {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

.header.is-open .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(40deg);
}

.header.is-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.header.is-open .nav-toggle-box span:nth-child(3) {
  top: 6px;
  transform: rotate(-40deg);
}

.nav ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: inherit;
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  background: var(--green);
}

.hero-photo,
.hero-zoom {
  position: absolute;
  inset: 0;
}

.hero-photo {
  overflow: hidden;
}

.hero-zoom {
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}

.hero.is-ready .hero-zoom {
  transform: scale(1);
}

.hero-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero.is-ready .hero-zoom img {
  opacity: 1;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 24, 0.28) 0%, rgba(16, 28, 24, 0.05) 32%, rgba(12, 24, 20, 0.28) 58%, rgba(10, 20, 17, 0.72) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: calc(var(--header-h) + 24px) 0 64px;
}

.hero-rule {
  width: 42px;
  height: 1px;
  margin: 0 0 22px;
  background: var(--gold);
}

.hero h1 {
  margin: 0;
}

.hero-en,
.hero-ja,
.hero-catch,
.hero-sub {
  display: block;
}

.hero-en {
  font-family: var(--display);
  font-size: clamp(4.4rem, 16vw, 8.4rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.08em;
}

.hero-ja {
  margin-top: 14px;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.48em;
}

.hero-catch {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  letter-spacing: 0.08em;
}

.hero-sub {
  margin: 8px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.12em;
}

.rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.hero-rule.rise { transition-delay: 0.35s; }
.hero-en.rise { transition-delay: 0.5s; }
.hero-ja.rise { transition-delay: 0.72s; }
.hero-catch.rise { transition-delay: 1.05s; }
.hero-sub.rise { transition-delay: 1.28s; }

.hero.is-ready .rise {
  opacity: 1;
  transform: none;
}

.section {
  padding: 84px 0;
}

.section-wash {
  background: var(--bg-sub);
}

.section-intro,
.story-grid,
.commit-grid,
.product-grid,
.gift-grid,
.gallery-grid,
.contact-grid,
.footer-inner {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section-intro {
  margin-bottom: 40px;
}

.section-lead,
.gift-note {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--green);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  line-height: 1;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.story-grid,
.gift-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.story-copy p:last-child,
.gift-copy p:last-child,
.commit-card p:last-child,
.product-body p:last-of-type {
  margin-bottom: 0;
}

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-sub);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tall,
.media-card {
  aspect-ratio: 4 / 5;
}

.media-tall img,
.media-card img,
.media-wide img {
  position: absolute;
  inset: 0;
}

.media-wide {
  aspect-ratio: 4 / 3;
}

.commit-table,
.media-card img {
  object-position: center;
}

.commit-card:nth-child(3) img {
  object-position: center 72%;
}

.media img[data-parallax] {
  top: -9%;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 118%;
}

.commit-grid,
.product-grid {
  display: grid;
  gap: 36px;
}

.index {
  margin: 18px 0 4px;
  color: var(--green);
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.commit-card h3,
.product-body h3 {
  margin-bottom: 8px;
}

.commit-card p,
.product-body > p {
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 18px;
}

.product-en {
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.product-body .button {
  margin-top: auto;
  align-self: flex-start;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 16px 0 18px;
  color: var(--text);
}

.price-label,
.price-unit {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.price-num {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 12px 22px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.button:hover {
  background: var(--green);
  color: var(--bg);
}

.button-fill {
  background: var(--green);
  color: var(--bg);
}

.button-fill:hover {
  background: transparent;
  color: var(--green);
}

.occasions {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.occasions li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.occasions li:last-child {
  border-bottom: 1px solid var(--line);
}

.occasions span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

.g-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #e4dfd4;
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g1 { aspect-ratio: 3 / 4; }
.g2 { aspect-ratio: 16 / 10; }
.g3 { aspect-ratio: 4 / 5; }
.g4 { aspect-ratio: 3 / 4; }
.g5 { aspect-ratio: 4 / 5; }
.g6 { aspect-ratio: 16 / 10; }

.g4 img { object-position: center 70%; }

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 56, 47, 0.28);
  border-radius: 0;
  background: var(--white);
  color: var(--text);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.sample-note,
.form-status,
.disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.form-status:empty {
  display: none;
}

.form-status {
  min-height: 1.8em;
  margin: 0;
  color: var(--green);
}

.footer {
  background: var(--green);
  color: var(--bg);
  padding: 64px 0 48px;
}

.footer-en {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.14em;
  line-height: 1;
}

.footer-ja {
  margin: 8px 0 0;
  font-family: var(--serif);
  letter-spacing: 0.42em;
}

.footer-line {
  margin: 10px 0 0;
  font-family: var(--display);
  font-style: italic;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
}

.footer-nav a {
  color: var(--bg);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold);
}

.copyright {
  margin: 28px 0 10px;
  font-family: var(--display);
  letter-spacing: 0.08em;
}

.disclaimer {
  max-width: 40rem;
  margin: 0;
  color: #f3efe6;
}

.detail-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-dialog::backdrop {
  background: rgba(16, 28, 24, 0.48);
}

.dialog-panel {
  padding: 36px 28px 32px;
  background: var(--bg);
}

.dialog-panel h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.dialog-panel .sample-note {
  margin-bottom: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .product-card .media img,
  .commit-card .media img {
    transition: transform 1.15s var(--ease);
  }

  .product-card:hover .media img,
  .commit-card:hover .media img {
    transform: scale(1.045);
  }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.header:not(.is-scrolled):not(.is-open) :focus-visible {
  outline-color: var(--bg);
}

.footer :focus-visible {
  outline-color: var(--bg);
}

@media (max-width: 1023px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--green);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  .header.is-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .nav a {
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 767px) {
  .product-body .button,
  .contact-form .button {
    width: 100%;
  }

  .media img[data-parallax] {
    height: 100%;
    top: 0;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --header-h: 78px;
  }

  .section {
    padding: 120px 0;
  }

  .section-intro {
    margin-bottom: 56px;
  }

  .story-grid,
  .gift-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
    align-items: center;
  }

  .gift-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .commit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .gallery-grid {
    grid-template-columns: 1.15fr 0.95fr 1fr;
    grid-template-rows: 210px 250px 230px 190px;
    gap: 14px;
  }

  .g1 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .g2 { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: auto; }
  .g3 { grid-column: 2; grid-row: 2 / span 2; aspect-ratio: auto; }
  .g4 { grid-column: 3; grid-row: 2 / span 2; aspect-ratio: auto; }
  .g5 { grid-column: 1; grid-row: 3 / span 2; aspect-ratio: auto; }
  .g6 { grid-column: 2 / span 2; grid-row: 4; aspect-ratio: auto; }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 40px;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-end;
    max-width: 420px;
    margin-top: 8px;
  }

  .copyright,
  .disclaimer {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .hero-copy {
    padding-bottom: 88px;
  }
}

@media (min-width: 1440px) {
  :root {
    --content: 1200px;
  }

  .gallery-grid {
    grid-template-rows: 240px 280px 260px 210px;
  }
}

@media (scripting: none) {
  .hero-zoom,
  .hero-zoom img,
  .rise,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-zoom,
  .hero-zoom img,
  .rise,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .media img[data-parallax] {
    height: 100%;
    top: 0;
  }
}
