:root {
  --green: #00432c;
  --green-2: #073f2a;
  --ivory: #f7f3ea;
  --warm: #fbfaf5;
  --soft: #efe8dc;
  --line: #ded8cc;
  --ink: #203229;
  --muted: #746d63;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--warm);
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--warm);
  line-height: 1.78;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid rgba(222, 216, 204, 0.78);
  backdrop-filter: blur(18px);
}

.logo {
  display: grid;
  line-height: 1.05;
  color: var(--green);
  letter-spacing: 0;
}

.logo strong { font-size: 19px; font-weight: 800; }
.logo span { color: var(--muted); font-size: 11px; }

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 34px);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover { color: var(--green); }

.lang-switch {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.lang-switch button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.lang-switch button.active {
  background: var(--green);
  color: var(--warm);
}

.page {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
}

.hero,
.page-hero,
.section,
.next,
.article {
  padding-left: clamp(22px, 5vw, 72px);
  padding-right: clamp(22px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding-top: 80px;
  padding-bottom: 90px;
  background: linear-gradient(90deg, #fbfaf5 0%, #fbfaf5 54%, #f3f0e7 100%);
}

.project-hero { min-height: 680px; }

.hero-copy { max-width: 650px; }

.kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
.brand-phrase h2 {
  color: var(--green);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 6.1vw, 86px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.36;
}

.hero-line {
  color: var(--green);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.45;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
}

p { color: var(--muted); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: var(--warm);
}

.hero-img {
  height: min(62vw, 650px);
  min-height: 520px;
  box-shadow: 0 34px 80px rgba(0, 67, 44, 0.08);
}

.hero-img.contain {
  display: grid;
  place-items: center;
  background: #f8f6ef;
  padding: 46px;
}

.hero-img.contain img {
  object-fit: contain;
}

.section {
  padding-top: clamp(86px, 10vw, 150px);
  padding-bottom: clamp(86px, 10vw, 150px);
}

.section.tight {
  padding-top: clamp(76px, 8vw, 120px);
  padding-bottom: clamp(76px, 8vw, 120px);
}

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

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.photo-tall,
.photo-square,
.photo-wide,
.article-visual {
  overflow: hidden;
  background: #f2eee4;
  box-shadow: 0 28px 72px rgba(0, 67, 44, 0.07);
}

.photo-tall { aspect-ratio: 4 / 5; }
.photo-square { aspect-ratio: 1 / 1; }
.photo-wide { aspect-ratio: 16 / 10; }

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

.short-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
}

.quote-band {
  padding-top: clamp(82px, 9vw, 130px);
  padding-bottom: clamp(82px, 9vw, 130px);
  background: var(--soft);
}

.quote-band .inner {
  max-width: var(--max);
}

.soft-band { background: var(--soft); }

.green-band {
  background: var(--green);
}

.green-band h2,
.green-band h3,
.green-band .kicker,
.green-band .lead,
.green-band p,
.green-band .short-list div {
  color: var(--warm);
}

.green-band .short-list,
.green-band .short-list div {
  border-color: rgba(247, 243, 234, 0.22);
}

.cards-2,
.cards-3,
.cards-4,
.spec-grid,
.journal-grid {
  display: grid;
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card,
.spec-grid article,
.journal-card {
  min-height: 210px;
  padding: 30px;
  background: rgba(251, 250, 245, 0.92);
}

.card span,
.spec-grid span,
.journal-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.card p,
.spec-grid p,
.journal-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.touch-card {
  display: grid;
  align-content: start;
}

.touch-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-grid article {
  min-height: 178px;
}

.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(112px, 13vw, 190px);
  padding-bottom: clamp(86px, 10vw, 135px);
}

.page-hero h1 {
  max-width: 940px;
}

.journal-lab-visual {
  max-width: var(--max);
  margin: clamp(-46px, -4vw, -26px) auto clamp(40px, 5vw, 72px);
  padding: 0 clamp(22px, 5vw, 72px);
}

.journal-lab-visual img {
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0, 67, 44, 0.07);
}

.brand-phrase {
  padding: clamp(90px, 10vw, 140px) clamp(22px, 5vw, 72px);
  text-align: center;
  background: var(--green);
}

.brand-phrase h2 {
  margin: 0;
  color: var(--warm);
}

.channel-note {
  margin-top: 32px;
  color: var(--green);
}

.faq {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
}

details p {
  max-width: 880px;
  margin: 16px 0 0;
}

.journal-card {
  display: grid;
  color: inherit;
  min-height: 0;
}

.journal-card .thumb {
  aspect-ratio: 16 / 10;
  margin: -30px -30px 26px;
  overflow: hidden;
}

.journal-card b {
  align-self: end;
  margin-top: 20px;
  color: var(--green);
  font-size: 13px;
}

.muted-card { opacity: 0.88; }

.question-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.question-list span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 245, 0.86);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lab-card {
  min-height: 320px;
  padding: clamp(24px, 3.2vw, 38px);
  background: rgba(251, 250, 245, 0.94);
}

.lab-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.lab-card h3 {
  margin-bottom: 16px;
}

.lab-card p {
  font-size: 14px;
}

.lab-sub {
  color: var(--green);
  font-weight: 700;
}

.featured-lab-card {
  grid-column: span 2;
}

.lab-entry .inner {
  max-width: 920px;
}

.next {
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--soft);
}

.next .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.next h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
}

.article {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: clamp(105px, 12vw, 170px);
  padding-bottom: clamp(90px, 11vw, 150px);
}

.article-head {
  margin-bottom: 56px;
}

.article-visual {
  aspect-ratio: 16 / 8.5;
  margin-bottom: 64px;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body section {
  margin-bottom: 54px;
}

.article-body h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.article-note {
  margin-top: 40px;
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  color: var(--green);
}

.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(44px, 7vw, 90px);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 28px 72px rgba(0, 67, 44, 0.06);
}

label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.side-list {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}

.side-list strong {
  color: var(--green);
}

.side-list p { margin: 4px 0 0; }

.contact-email {
  display: grid;
  gap: 6px;
  margin: 26px 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.contact-email span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-email a {
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  background: #023522;
  color: var(--warm);
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px 18px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-top: 8px;
    display: flex;
  }

  .lang-switch {
    justify-self: end;
  }

  .hero,
  .project-hero,
  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 520px;
  }

  .cards-4,
  .spec-grid,
  .journal-grid,
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-lab-card {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .lang-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-bottom: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    gap: 12px 20px;
    padding-top: 4px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 52px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hero,
  .page-hero,
  .section,
  .next,
  .article {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 42px;
    padding-bottom: 66px;
  }

  .button {
    width: 100%;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .spec-grid,
  .journal-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .featured-lab-card {
    grid-column: span 1;
  }

  .card,
  .spec-grid article,
  .journal-card,
  .lab-card {
    min-height: 0;
    padding: 24px;
  }

  .journal-card .thumb {
    margin: -24px -24px 22px;
  }

  .next .inner,
  .footer {
    display: grid;
  }

  .article-visual {
    aspect-ratio: 4 / 3;
  }
}
