:root {
  --bg: #f8f5ee;
  --surface: #ffffff;
  --text: #2b2b2b;
  --muted: #6f6a5f;
  --line: #d8d2c4;
  --green: #556b2f;
  --honey: #c69214;
  --max-width: 1120px;
  --content-width: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(
      90deg,
      rgba(85, 107, 47, 0.02) 0,
      rgba(85, 107, 47, 0.02) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(198, 146, 20, 0.015) 0,
      rgba(198, 146, 20, 0.015) 1px,
      transparent 1px,
      transparent 18px
    );
  background-size: auto, 18px 18px, 18px 18px;
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.02em;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

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

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

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.business-item.reveal-item:nth-child(2),
.initiative-item.reveal-item:nth-child(2),
.product-item.reveal-item:nth-child(2) {
  transition-delay: 0.08s;
}

.business-item.reveal-item:nth-child(3),
.initiative-item.reveal-item:nth-child(3),
.product-item.reveal-item:nth-child(3) {
  transition-delay: 0.16s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 210, 196, 0.65);
}

.site-header__inner,
.hero__inner,
.section,
.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-header__brand {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-header__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--text);
}

.site-header__links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.site-nav a {
  position: relative;
  padding-bottom: 3px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 84px 0 56px;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9% auto auto 0;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      135deg,
      rgba(85, 107, 47, 0.035) 0,
      rgba(85, 107, 47, 0.035) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  width: min(calc(100% - 48px), 1120px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 96px;
  align-items: center;
}

.eyebrow,
.section-label,
.product-item__category {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.business-item h3,
.initiative-item h3,
.product-item h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
  width: fit-content;
}

.hero__content {
  min-width: 0;
}

.hero__lead {
  width: min(100%, 680px);
  margin: 36px 0 0;
  font-size: 1.05rem;
  color: rgba(43, 43, 43, 0.88);
}

.hero__figure,
.section-photo,
.product-item__figure {
  margin: 0;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.hero__link::after {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero__link--accent {
  border-color: rgba(85, 107, 47, 0.35);
  color: var(--green);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__scroll::after {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--line);
}

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

.section--compact {
  padding-bottom: 72px;
}

.section--featured {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, rgba(85, 107, 47, 0.025), transparent 24%);
}

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

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

.section__lead {
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  color: rgba(43, 43, 43, 0.78);
  text-wrap: pretty;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.5;
}

.section__content--wide,
.vision-panel,
.contact-panel {
  width: 100%;
  margin: 0;
}

.feature-block {
  position: relative;
  padding: 32px 28px 10px 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(216, 210, 196, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.feature-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 132px;
  height: 2px;
  background: linear-gradient(90deg, rgba(85, 107, 47, 0.62), rgba(85, 107, 47, 0.12));
}

.feature-block::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 84px;
  height: 84px;
  border-top: 1px solid rgba(216, 210, 196, 0.9);
  border-right: 1px solid rgba(216, 210, 196, 0.9);
  pointer-events: none;
}

.feature-block .statement {
  position: relative;
}

.feature-block .statement::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: -24px;
  width: 6px;
  height: 1.5em;
  background: linear-gradient(180deg, rgba(85, 107, 47, 0.66), rgba(85, 107, 47, 0.18));
}

.statement {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 2;
  text-wrap: pretty;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  color: rgba(43, 43, 43, 0.86);
}

.text-columns p,
.vision-panel p,
.business-item p,
.initiative-item p,
.product-item p,
.contact-panel p {
  margin: 0;
  text-wrap: pretty;
}

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

.activity-block {
  padding-top: 8px;
}

.business-item,
.initiative-item,
.product-item {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.business-item,
.initiative-item {
  padding-right: 20px;
}

.business-item h3,
.initiative-item h3,
.product-item h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.item-index {
  margin: 0 0 18px;
  color: rgba(85, 107, 47, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.thought-block {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 210, 196, 0.9);
}

.section-photo {
  width: min(100%, 860px);
  margin-bottom: 36px;
}

.section-photo img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.initiative-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.products-grid {
  align-items: start;
}

.product-item__figure {
  margin-bottom: 14px;
}

.product-item__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-item__category {
  margin-bottom: 10px;
  color: var(--honey);
}

.table-wrap {
  width: 100%;
  border-top: 1px solid var(--line);
}

.company-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
}

.company-contact__block {
  min-width: 0;
}

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

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

.company-table th {
  width: 180px;
  font-weight: 500;
  color: var(--muted);
}

.contact {
  padding-bottom: 0;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-subline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-subline::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--line);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 500;
}

.contact-link::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--green);
}

.site-footer {
  padding: 0 0 48px;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .section--featured {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .text-columns,
  .business-grid,
  .initiative-list,
  .products-grid,
  .vision-panel,
  .company-contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

@media (max-width: 640px) {
  .site-header__inner,
  .hero__inner,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

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

  .site-header__links {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__link {
    min-width: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__figure {
    order: -1;
  }

  .feature-block {
    padding: 18px 0 0 14px;
  }

  .feature-block::after {
    display: none;
  }

  .feature-block .statement::before {
    left: -14px;
    width: 4px;
  }

  .statement {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
