:root {
  --paper: #fffaf6;
  --mist: #f5eee9;
  --blush: #ead7dc;
  --mauve: #98727f;
  --rose: #a85d70;
  --sage: #6f8271;
  --leaf: #3f5d4f;
  --ink: #332724;
  --muted: #6d5c57;
  --line: rgba(75, 61, 55, 0.16);
  --white: #ffffff;
  --shadow: 0 20px 52px rgba(92, 70, 61, 0.12);
  --content: min(1120px, calc(100% - 32px));
  --header-height: 76px;
  --radius-card: 8px;
  --speed: 220ms ease;
}

@font-face {
  font-family: "Harenosora";
  src: url("fonts/Harenosora.otf") format("opentype");
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.84), rgba(246, 239, 232, 0.92)),
    url("images/background.png") center top / cover fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 14px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(255, 250, 246, 0.9);
  border-bottom: 1px solid rgba(75, 61, 55, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name,
h1,
h2,
h3 {
  font-family: "Harenosora", "Yu Mincho", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-name {
  font-size: 1.2rem;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  transition: background-color var(--speed), color var(--speed);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--leaf);
  background: rgba(111, 130, 113, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

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

.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 42px);
  display: grid;
  align-items: end;
  padding: 34px 0 42px;
  color: var(--white);
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(35, 31, 28, 0.58), rgba(35, 31, 28, 0.18) 56%, rgba(35, 31, 28, 0.06));
}

.hero-image-stack,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-image {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  width: min(240px, 24vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid rgba(255, 250, 246, 0.86);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.hero-content {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 4.6rem, 4.6rem);
  line-height: 1.02;
}

.home-hero p {
  max-width: min(560px, 100%);
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 10px;
  margin-top: 12px;
}

.hero-links a,
.button,
.text-link {
  transition: transform var(--speed), background-color var(--speed), color var(--speed), border-color var(--speed);
}

.hero-links a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  background: rgba(255, 250, 246, 0.14);
  backdrop-filter: blur(10px);
}

.hero-links a:hover,
.hero-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 250, 246, 0.26);
}

.hero-links span {
  font-size: 1.1rem;
}

.hero-links small {
  color: rgba(255, 255, 255, 0.76);
}

.intro-section,
.route-section,
.preview-section,
.social-section,
.gallery-section,
.sales-section,
.contact-section {
  padding: 72px 0;
  background: rgba(255, 250, 246, 0.74);
}

.route-section,
.sales-section {
  background: rgba(245, 238, 233, 0.84);
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.section-title {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.35;
}

h3 {
  margin: 0;
}

.text-flow {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 2;
}

.text-flow p {
  margin: 0;
}

.visit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink);
  line-height: 1.8;
}

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

.route-card,
.product-card,
.social-slot {
  border-radius: var(--radius-card);
  border: 1px solid rgba(75, 61, 55, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(90, 68, 58, 0.08);
}

.route-card {
  display: grid;
  gap: 14px;
  padding: 12px;
  transition: transform var(--speed), box-shadow var(--speed);
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.route-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.route-card span {
  color: var(--leaf);
  font-size: 1.3rem;
}

.route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-strip,
.gallery-grid,
.product-grid {
  display: grid;
  gap: 10px;
}

.photo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-strip figure,
.gallery-grid figure {
  margin: 0;
}

.photo-strip img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.social-slot {
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  border-style: dashed;
}

.social-slot span {
  color: var(--leaf);
  font-size: 1.24rem;
}

.social-slot p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 70px 0 42px;
  color: var(--white);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(33, 29, 26, 0.58), rgba(33, 29, 26, 0.12));
}

.page-hero-gallery::before {
  background: url("images/mv5.jpg") center / cover;
}

.page-hero-sales::before {
  background: url("images/comingsoon.png") center / cover;
}

.page-hero-contact::before {
  background: url("images/mv4.jpg") center / cover;
}

.page-hero-content {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.2;
}

.page-hero p {
  max-width: 620px;
  margin: 0;
  line-height: 1.85;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-image {
  position: relative;
  background: var(--mist);
}

.product-image::after {
  content: "準備中";
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(63, 93, 79, 0.82);
  border-radius: 4px;
  font-size: 0.78rem;
}

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

.product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-status {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--sage);
  background: rgba(111, 130, 113, 0.12);
  font-size: 0.75rem;
}

.product-body h3 {
  font-size: 1.04rem;
}

.product-body p {
  min-height: 4.8em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-body strong {
  color: var(--rose);
  font-size: 1.12rem;
  font-weight: 400;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.contact-note {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-note p,
.privacy-note p,
.form-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(63, 93, 79, 0.36);
}

.button-fill {
  color: var(--white);
  border-color: var(--leaf);
  background: var(--leaf);
}

.privacy-note {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(75, 61, 55, 0.12);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.76);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(75, 61, 55, 0.18);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(111, 130, 113, 0.24);
  border-color: rgba(63, 93, 79, 0.5);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-preview {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(245, 238, 233, 0.7);
  white-space: pre-wrap;
  line-height: 1.75;
}

.text-link {
  width: fit-content;
  color: var(--leaf);
  border-bottom: 1px solid rgba(63, 93, 79, 0.35);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-family: "Harenosora", "Yu Mincho", serif;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer a {
  color: var(--leaf);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.68);
  }

  .home-hero h1 {
    font-size: 3rem;
  }

  .hero-links,
  .route-grid,
  .two-column,
  .contact-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero-float-image {
    display: none;
  }

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

@media (max-width: 600px) {
  :root {
    --content: min(100% - 20px, 1120px);
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.66rem;
  }

  .home-hero {
    min-height: calc(100svh - var(--header-height) - 28px);
    padding-bottom: 28px;
  }

  .home-hero h1 {
    font-size: 2.28rem;
  }

  .home-hero p {
    font-size: 1rem;
  }

  .intro-section,
  .route-section,
  .preview-section,
  .social-section,
  .gallery-section,
  .sales-section,
  .contact-section {
    padding: 48px 0;
  }

  h2 {
    font-size: 1.62rem;
  }

  .page-hero {
    min-height: 300px;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .photo-strip,
  .gallery-grid,
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .product-card {
    display: grid;
    grid-column: span 2;
  }

  .product-body {
    padding: 10px;
  }

  .product-body p {
    min-height: 5.2em;
    font-size: 0.84rem;
  }

  .contact-form {
    padding: 16px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal,
  .hero-links a,
  .route-card,
  .button,
  .text-link {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
