:root {
  --ink: #213028;
  --muted: #607066;
  --leaf: #285f48;
  --leaf-dark: #1f4738;
  --moss: #6f915e;
  --sprout: #e6f4df;
  --paper: #fffdf8;
  --mist: #f5fbf2;
  --line: #d8e6d2;
  --water: #2f7480;
  --acorn: #8a683d;
  --sun: #f3d48a;
  --shadow: 0 18px 50px rgba(38, 78, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 212, 138, 0.22), transparent 30rem),
    linear-gradient(180deg, #fbfff8 0%, var(--paper) 48%, #edf7ea 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

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

a {
  color: var(--leaf);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--water);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--leaf-dark);
  color: #fff;
  padding: 0.6rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(40, 95, 72, 0.16);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: 14rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--leaf-dark);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #e8f4df;
  border: 1px solid rgba(40, 95, 72, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--leaf);
  border-bottom-color: var(--moss);
}

.site-nav .language-link {
  color: var(--water);
}

.container {
  width: min(100% - 2rem, 1040px);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 520px;
  padding: 6rem 0 4.5rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #17261f;
  background-image:
    linear-gradient(90deg, rgba(249, 255, 246, 0.96) 0%, rgba(249, 255, 246, 0.82) 44%, rgba(249, 255, 246, 0.34) 100%),
    url("/assets/images/forest-field.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(180deg, rgba(251, 255, 248, 0), rgba(251, 255, 248, 0.98));
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--water);
  font-size: 0.95rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--leaf-dark);
  font-size: 3rem;
}

h2 {
  margin: 0 0 1rem;
  color: var(--leaf-dark);
  font-size: 1.65rem;
}

h3 {
  margin: 1.5rem 0 0.45rem;
  font-size: 1.16rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  margin-top: 1rem;
  max-width: 42rem;
  color: #33473b;
  font-size: 1.2rem;
}

.contact-line {
  margin: 1.5rem 0 0;
  font-weight: 700;
}

.band {
  padding: 4rem 0;
}

.band-light {
  background: rgba(230, 244, 223, 0.42);
  border-top: 1px solid rgba(40, 95, 72, 0.1);
  border-bottom: 1px solid rgba(40, 95, 72, 0.1);
}

.page-masthead {
  padding: 4rem 0 2.75rem;
  background:
    linear-gradient(135deg, rgba(230, 244, 223, 0.92), rgba(255, 253, 248, 0.86)),
    url("/assets/images/forest-field.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(40, 95, 72, 0.12);
}

.page-masthead h1 {
  font-size: 2.35rem;
}

.page-masthead .lead {
  font-size: 1.08rem;
}

.content-section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.link-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.link-card,
.info-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.link-card {
  min-height: 9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
}

.link-card strong {
  color: var(--leaf-dark);
  font-size: 1.08rem;
}

.link-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.info-card {
  padding: 1.25rem;
}

.info-card h3 {
  margin-top: 0;
}

.companion-strip {
  margin-top: 2rem;
  display: flex;
  align-items: end;
  gap: 1rem;
}

.companion-strip img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.companion-strip img:nth-child(2) {
  width: 76px;
  height: 76px;
}

.list {
  margin: 0;
  padding-left: 1.35rem;
}

.list li {
  margin: 0.35rem 0;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 0.2rem 1rem;
}

.faq-item summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--leaf-dark);
  font-weight: 750;
}

.faq-item p {
  color: var(--muted);
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--moss);
  background: rgba(230, 244, 223, 0.55);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  width: 14rem;
  color: var(--leaf-dark);
  background: #f0f8ec;
  font-weight: 750;
}

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

.site-footer {
  padding: 2.5rem 0;
  color: #eaf4e7;
  background: var(--leaf-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: #fff7dc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 840px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 470px;
    padding: 4.5rem 0 3.5rem;
    background-position: 58% center;
  }

  h1 {
    font-size: 2.35rem;
  }

  .page-masthead h1 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1.08rem;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 1.25rem, 1040px);
  }

  .site-nav {
    gap: 0.1rem 0.65rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 430px;
  }

  h1 {
    font-size: 2rem;
  }

  .page-masthead h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .band {
    padding: 3rem 0;
  }

  .link-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 7.25rem;
  }

  th,
  td {
    padding: 0.85rem;
  }
}
