:root {
  --ink: #1a2218;
  --ink-soft: #4a5546;
  --paper: #f2f4ef;
  --paper-deep: #e4e8dc;
  --sesame: #6b4f2a;
  --sesame-deep: #3f2e18;
  --leaf: #3d6b45;
  --leaf-deep: #2a4a30;
  --accent: #c45c26;
  --line: rgba(26, 34, 24, 0.12);
  --radius: 2px;
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(107, 79, 42, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(61, 107, 69, 0.1), transparent 45%),
    var(--paper);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sesame);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(26, 34, 24, 0.55), transparent);
  color: #fff;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(242, 244, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  font-size: 0.88rem;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 0.35rem 0.85rem;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 34, 24, 0.25) 0%, rgba(26, 34, 24, 0.55) 55%, rgba(26, 34, 24, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 3.5rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  margin-bottom: 1.5rem;
  max-width: 22em;
  font-weight: 500;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--leaf);
  color: #fff;
  border-color: var(--leaf);
}

.btn-primary:hover {
  background: var(--leaf-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.hero .btn-ghost {
  color: #fff;
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36em;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--ink-soft);
}

.stock-banner {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.stock-panel {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, var(--paper-deep) 100%);
  text-align: center;
  animation: rise 0.7s ease both;
}

.stock-panel.is-open {
  border-color: rgba(61, 107, 69, 0.35);
  background: linear-gradient(135deg, #f7fbf6 0%, #e8f0e4 100%);
}

.stock-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

.stock-message {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.stock-remain {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.stock-remain strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
}

.stock-of {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.stock-place,
.stock-hint,
.muted {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}

.photo-mosaic .media-figure {
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.photo-mosaic .media-figure.is-in {
  opacity: 1;
  transform: none;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.mosaic-hero {
  grid-column: 1 / -1;
}

.mosaic-hero img {
  aspect-ratio: 16 / 9;
  max-height: 420px;
  width: 100%;
}

.mosaic-a,
.mosaic-b {
  grid-column: span 3;
}

.mosaic-c,
.mosaic-d,
.mosaic-e,
.mosaic-f {
  grid-column: span 3;
}

@media (min-width: 720px) {
  .mosaic-a { grid-column: span 4; }
  .mosaic-b { grid-column: span 2; }
  .mosaic-c,
  .mosaic-d,
  .mosaic-e {
    grid-column: span 2;
  }
  .mosaic-f {
    grid-column: span 6;
  }
  .mosaic-f img {
    aspect-ratio: 21 / 7;
    max-height: 260px;
  }
}

.media-figure figcaption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.media-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  padding: 1rem;
}

.media-placeholder small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.story-inline-photo {
  margin: 1.25rem 0;
}

.story-inline-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list {
  margin: 1.25rem 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.feature-list li {
  margin: 0.35rem 0;
}

.flow-steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.flow-steps li {
  padding: 1.25rem 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.flow-steps li.is-in {
  opacity: 1;
  transform: none;
}

.flow-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sesame);
  margin-bottom: 0.4rem;
}

.flow-steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.flow-steps p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.order-section {
  background: linear-gradient(180deg, transparent, rgba(107, 79, 42, 0.06));
}

.order-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product {
  display: grid;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product.is-in {
  opacity: 1;
  transform: none;
}

.product-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-badge {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--leaf);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-price small {
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
  margin-left: 0.25rem;
}

.order-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.order-closed {
  text-align: center;
  padding: 1rem 0.5rem;
}

.order-form .field {
  margin-bottom: 1rem;
}

.order-form label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
}

.order-form textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.check-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.estimate {
  margin: 1rem 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.estimate strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.form-actions {
  margin-top: 1rem;
}

.form-actions .btn {
  width: 100%;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.65rem;
  line-height: 1.6;
}

.form-error {
  color: #a1281c;
  background: #fce8e6;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.ok-msg {
  background: #e8f5e9;
  padding: 0.85rem 1rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(242, 244, 239, 0.75);
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.82rem;
}

.site-footer .section-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  color: #f2f4ef;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a,
.site-footer p a {
  color: rgba(242, 244, 239, 0.85);
}

.footer-copy {
  opacity: 0.55;
  margin-top: 0.5rem;
}

.site-footer p a {
  text-decoration: underline;
}

.legal-page {
  padding: 5.5rem 1.25rem 3rem;
}

.legal-page .section-inner {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.legal-block {
  margin: 1rem 0 1.25rem;
}

.legal-block h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 1.5rem;
}

.updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(61, 107, 69, 0.12), transparent 50%),
    var(--paper);
}

.thanks-card {
  max-width: 480px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
}

.thanks-card h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.thanks-id {
  font-family: var(--font-display);
  margin: 1rem 0;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
  .hero-inner {
    padding-bottom: 2.5rem;
  }
}
