@font-face {
  font-family: "Baloo 2 Local";
  src: url("../assets/fonts/Baloo2-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Local";
  src: url("../assets/fonts/ZenMaruGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP Local";
  src: url("../assets/fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP Local";
  src: url("../assets/fonts/NotoSansJP-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #faf6ec;
  --paper-soft: #fffdf7;
  --ink: #3e3a34;
  --muted: #625b50;
  --heading: #315c25;
  --deep-green: #2f5f25;
  --leaf: #5e9e3a;
  --fresh: #8dc63f;
  --soft-green: #dcefc4;
  --young-green: #93ca76;
  --sun: #ffc83d;
  --sky: #dceff4;
  --soil: #8a5d38;
  --line: rgba(62, 58, 52, 0.14);
  --shadow: 0 24px 60px rgba(62, 58, 52, 0.12);
  --radius: 20px;
  --radius-sm: 8px;
  --font-body: "Noto Sans JP Local", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Zen Maru Local", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-en: "Baloo 2 Local", "Baloo 2", sans-serif;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--deep-green);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 9.4vw, 4.7rem);
  line-height: 1.24;
}

h2 {
  font-size: clamp(1.5rem, 5.8vw, 2.4rem);
  line-height: 1.42;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.55;
}

p + p {
  margin-top: 1rem;
}

.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: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(62, 58, 52, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(62, 58, 52, 0.08);
  border-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 178px;
  height: auto;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(49, 92, 37, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.global-nav {
  position: fixed;
  inset: 72px 16px auto;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.global-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.global-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.global-nav a:hover {
  background: rgba(141, 198, 63, 0.14);
}

.global-nav .nav-contact {
  justify-content: center;
  margin-top: 6px;
  color: #fff;
  background: var(--deep-green);
}

.section {
  position: relative;
  padding: 82px 0;
}

.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 44px 0 86px;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 200, 61, 0.23), transparent 22%),
    linear-gradient(142deg, var(--paper) 0 58%, var(--soft-green) 58% 100%);
}

.hero::before {
  width: 250px;
  height: 160px;
  left: -70px;
  bottom: 28px;
  border-radius: 52% 48% 60% 40%;
  background: rgba(147, 202, 118, 0.24);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
}

.hero-visual {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 42px;
  width: min(40vw, 430px);
  min-width: 210px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 52%, rgba(255, 253, 247, 0.9) 0%, rgba(255, 253, 247, 0.48) 42%, rgba(255, 253, 247, 0) 72%);
  opacity: 0.96;
}

.hero-visual img,
.facility-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--deep-green);
  box-shadow: 0 10px 24px rgba(47, 95, 37, 0.2);
}

.button.primary:hover {
  background: #254f1e;
}

.button.secondary {
  color: #fff;
  background: var(--soil);
}

.button.secondary:hover {
  background: #724b2d;
}

.scroll-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--deep-green);
  font-weight: 700;
  text-decoration: none;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--deep-green);
  font-family: var(--font-en);
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.section-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.section-heading {
  max-width: 480px;
}

.text-panel,
.name-content,
.company-table-wrap {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.about {
  background: var(--paper);
}

.thought {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(141, 198, 63, 0.16), transparent 28%),
    var(--sky);
}

.thought::before {
  right: -52px;
  bottom: -22px;
  width: 260px;
  height: 260px;
  background: url("../assets/logo/symbol_vector.svg") center / contain no-repeat;
  opacity: 0.1;
}

.thought-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.thought-copy {
  max-width: 800px;
  margin-top: 26px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.name-story {
  background: linear-gradient(180deg, var(--paper) 0%, #fffaf1 100%);
}

.word-combo {
  display: grid;
  grid-template-columns: 1fr auto minmax(0, 0.7fr) auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.word-combo span,
.word-combo strong {
  min-height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 4vw, 1.7rem);
  line-height: 1.2;
}

.word-combo span {
  padding: 14px;
  color: var(--heading);
  background: rgba(220, 239, 196, 0.72);
}

.word-combo strong {
  color: var(--soil);
}

.values {
  width: var(--container);
  margin: 0 auto;
}

.value-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.value-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(49, 92, 37, 0.14);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 200, 61, 0.27);
}

.value-icon img {
  width: 34px;
  height: 34px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.facility {
  background: var(--soft-green);
}

.facility-box {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  background: var(--paper-soft);
  box-shadow: 0 18px 44px rgba(62, 58, 52, 0.08);
}

.facility-box h3 {
  margin: 18px 0 12px;
}

.facility-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.facility-visual {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(250, 246, 236, 0.96), rgba(220, 239, 196, 0.46));
}

.facility-facts {
  display: grid;
  gap: 14px;
  align-content: start;
}

.facility-facts p {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(250, 246, 236, 0.9);
}

.facility-facts span {
  display: block;
  color: var(--heading);
  font-weight: 700;
}

.company {
  background: var(--paper);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 112px;
  padding-right: 18px;
  color: var(--heading);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.contact {
  background:
    linear-gradient(180deg, var(--paper) 0 52%, var(--soft-green) 52% 100%);
}

.contact-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 30px;
  align-items: center;
  padding: 34px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-inner img {
  width: min(230px, 66vw);
  margin: 0 auto;
}

address {
  margin: 18px 0 24px;
  font-style: normal;
}

address a {
  font-weight: 700;
}

.site-footer {
  padding: 28px 20px 32px;
  background: var(--soft-green);
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

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

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

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

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

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

@media (min-width: 768px) {
  .menu-button {
    display: none;
  }

  .global-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .global-nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.87rem;
  }

  .global-nav .nav-contact {
    margin: 0 0 0 6px;
    padding-inline: 16px;
    border-radius: 999px;
  }

  .section {
    padding: 104px 0;
  }

  .section-grid {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 64px;
    align-items: start;
  }

  .value-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-card {
    min-height: 310px;
  }

  .facility-box {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    padding: 44px;
  }

  .contact-inner {
    grid-template-columns: 280px 1fr;
    padding: 46px;
  }

  .site-footer {
    padding-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .brand img {
    width: 206px;
  }

  .global-nav a {
    padding-inline: 13px;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    width: min(38vw, 460px);
  }

  .thought-copy {
    padding: 34px;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .brand img {
    width: 156px;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-copy,
  .hero-lead {
    overflow-wrap: anywhere;
  }

  .hero-visual {
    right: -8px;
    bottom: 30px;
    width: 150px;
    min-width: 0;
  }

  .word-combo {
    grid-template-columns: 1fr;
  }

  .word-combo strong {
    min-height: 28px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .company-table th {
    border-bottom: 0;
  }
}
