:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --paper: #ffffff;
  --paper-soft: #f4f0e8;
  --ink: #20201d;
  --muted: #69645c;
  --quiet: #8a8378;
  --line: #e4ded2;
  --gold: #a97a2c;
  --gold-soft: #d9bd82;
  --jade: #2f7566;
  --shadow: 0 26px 70px rgba(56, 43, 24, 0.11);
  --max: 1160px;
  --side: clamp(20px, 4vw, 48px);
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP",
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 250, 247, 0.95)),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px var(--side);
  border-bottom: 1px solid rgba(228, 222, 210, 0.8);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 17px;
  letter-spacing: -0.08em;
  line-height: 1;
  background: rgba(255, 255, 255, 0.58);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.brand-roman {
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  transition: color 160ms ease;
}

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

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.language-switcher button {
  min-width: 58px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--ink);
  color: #fffdf8;
}

main {
  overflow: hidden;
}

.section-frame,
.intro-grid,
.content-band,
.showcase,
.products,
.company-section {
  width: min(var(--max), calc(100% - var(--side) * 2));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  padding: clamp(52px, 6vw, 84px) 0 clamp(54px, 6vw, 74px);
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.quiet-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.16;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero-note {
  margin: 24px 0 0;
  color: var(--quiet);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
}

.hero-tags span {
  min-height: 34px;
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  color: #74551f;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 189, 130, 0.34), transparent 28%),
    linear-gradient(140deg, #f1eadf 0%, #ffffff 48%, #e6d8bf 100%);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(251, 250, 247, 0.86), transparent);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 52% 64%;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 86px);
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.section-heading p:not(.quiet-label),
.section-body {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 2;
}

.section-body {
  align-self: end;
  max-width: 720px;
  font-size: 16px;
}

.showcase {
  padding: 18px 0 92px;
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  margin-bottom: 34px;
}

.showcase-heading p:not(.quiet-label) {
  max-width: 640px;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.showcase-item {
  display: grid;
  min-height: 100%;
  background: var(--paper);
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-soft);
}

.showcase-caption {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 160px;
  padding: 24px;
}

.showcase-caption h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.showcase-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding: clamp(48px, 7vw, 78px);
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(50, 40, 28, 0.07);
}

.line-list,
.category-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.line-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}

.line-list li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.products {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 6vw, 76px);
  padding: 96px 0;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  background: var(--line);
  border: 1px solid var(--line);
}

.category-list li {
  min-height: 76px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 15px;
}

.category-list li:nth-child(3n + 1) {
  background: rgba(244, 240, 232, 0.62);
}

.company-section {
  padding: 72px 0 92px;
  border-top: 1px solid var(--line);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}

.company-card {
  display: grid;
  align-content: start;
  min-height: 132px;
  padding: 28px;
  background: var(--paper);
}

.company-card.subtle {
  color: var(--muted);
}

.company-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-card strong {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--side);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}

.site-footer div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-footer strong {
  color: var(--ink);
  letter-spacing: 0.05em;
}

.site-footer p {
  display: flex;
  gap: 10px;
  margin: 0;
}

.site-footer a {
  color: var(--quiet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    justify-self: start;
  }

  .hero,
  .intro-grid,
  .showcase-heading,
  .content-band,
  .products {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .content-band {
    padding: 42px 30px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --side: 18px;
  }

  .section-frame,
  .intro-grid,
  .showcase,
  .products,
  .company-section {
    width: min(354px, calc(100% - var(--side) * 2));
  }

  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 354px;
  }

  .language-switcher button {
    min-width: 0;
    font-size: 10px;
  }

  .site-nav {
    gap: 18px;
    font-size: 12px;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.22;
    word-break: break-all;
  }

  .hero-lead,
  .section-heading p:not(.quiet-label),
  .section-body {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-tags {
    gap: 8px 14px;
  }

  .hero-tags span {
    font-size: 11px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .hero-visual img {
    object-position: 76% 52%;
  }

  .hero-note {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .intro-grid,
  .showcase,
  .products {
    padding: 64px 0;
  }

  .showcase-gallery {
    grid-template-columns: 1fr;
  }

  .showcase-caption {
    min-height: auto;
    padding: 22px;
  }

  .content-band {
    width: 100%;
    padding: 48px var(--side);
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .category-list li {
    min-height: 64px;
  }

  .site-footer,
  .site-footer div,
  .site-footer p {
    display: grid;
  }
}
