:root {
  color-scheme: light;
  --ink: #171514;
  --muted: #66615b;
  --subtle: #928b83;
  --line: #e8e3dc;
  --paper: #fffdf9;
  --soft: #f5f1ea;
  --soft-2: #ece8df;
  --accent: #667766;
  --accent-dark: #465746;
  --shadow: 0 18px 50px rgba(38, 34, 28, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(255, 253, 249, 0.76);
  border-bottom: 1px solid rgba(232, 227, 220, 0.45);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 10px 30px rgba(34, 30, 24, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  width: 162px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav a {
  padding: 10px 0;
}

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

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(22px, 5vw, 72px) 54px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-lifestyle.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.92) 0%, rgba(255, 253, 249, 0.72) 38%, rgba(255, 253, 249, 0.15) 76%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.1) 0%, rgba(255, 253, 249, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

.lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: #4e4944;
  font-size: clamp(16px, 2vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.72);
  border-color: rgba(70, 87, 70, 0.25);
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro > p,
.section-heading p,
.about-copy p {
  color: var(--muted);
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

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

.product-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(52, 47, 40, 0.06);
}

.product-card.is-muted {
  background: var(--soft);
}

.product-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--accent-dark);
  background: var(--soft-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
}

.product-card a {
  width: fit-content;
  margin-top: 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.business {
  border-top: 1px solid var(--line);
}

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

.business-list article {
  min-height: 244px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.business-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.business-list p,
.company-table dd,
.policy-body p,
.form-note {
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-logo {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: var(--soft);
  border-radius: 8px;
}

.about-logo img {
  width: min(230px, 58%);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.company,
.contact,
.privacy {
  border-top: 1px solid var(--line);
}

.company-table {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 22px;
}

.company-table dt {
  color: var(--ink);
  background: var(--soft);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(52, 47, 40, 0.05);
}

.contact-form label,
.contact-form .full,
.form-note {
  display: grid;
  gap: 8px;
}

.contact-form .full,
.form-note,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form span {
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 2px 0 0;
  font-size: 13px;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.policy-body {
  max-width: 880px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: currentColor;
}

.detail-page {
  padding-top: 76px;
}

.detail-hero {
  width: min(var(--max), calc(100% - 44px));
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.detail-copy h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.detail-image {
  margin: 0;
}

.detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-image figcaption {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 12px;
}

.detail-section {
  border-top: 1px solid var(--line);
}

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

.feature-grid article {
  min-height: 222px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.feature-grid p,
.detail-cta p {
  color: var(--muted);
}

.detail-cta {
  display: grid;
  justify-items: start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(34px, 5vw, 54px);
  margin-bottom: clamp(60px, 8vw, 96px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  color: var(--subtle);
  background: #f7f4ee;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer img {
  width: 130px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  .brand {
    width: 132px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    gap: 5px;
    place-content: center;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .menu-button span {
    width: 20px;
    height: 1px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(35deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-35deg);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .static-nav {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero {
    min-height: 86svh;
    padding: 98px 22px 42px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 253, 249, 0.94) 0%, rgba(255, 253, 249, 0.75) 58%, rgba(255, 253, 249, 0.34) 100%),
      linear-gradient(180deg, rgba(255, 253, 249, 0.1) 0%, rgba(255, 253, 249, 0.76) 100%);
  }

  .intro,
  .section-heading.split,
  .about {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .business-list {
    grid-template-columns: 1fr;
  }

  .company-table div,
  .contact-form,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding: 14px 16px;
  }

  .company-table dt {
    padding-bottom: 4px;
  }

  .company-table dd {
    padding-top: 4px;
  }

  .about-logo {
    min-height: 240px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
