:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #64748b;
  --line: #d8e1ea;
  --paper: #f7f4ea;
  --white: #ffffff;
  --green: #087f6f;
  --green-soft: #dff6ee;
  --blue: #2457a6;
  --blue-soft: #e5eefc;
  --rose: #b8405e;
  --rose-soft: #ffe4eb;
  --gold: #b77713;
  --gold-soft: #fff1ce;
  --charcoal: #21303c;
  --shadow: 0 20px 48px rgba(30, 45, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 33, 43, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f8fafc 0%, #edf5f1 46%, #fff7df 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.page {
  overflow: hidden;
}

.hero,
.north-star,
.roadmap-section,
.site-map-section,
.feature-section,
.member-section,
.action-section {
  padding: 76px 24px;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  background:
    linear-gradient(135deg, rgba(8, 127, 111, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f1f7f5 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__content,
.section-heading,
.purpose-grid,
.roadmap,
.site-map,
.feature-layout,
.member-board,
.action-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.hero__content {
  justify-self: end;
  margin-right: 0;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h1 span:nth-child(2) {
  color: var(--green);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.34;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  margin-top: 28px;
  max-width: 660px;
  color: #334155;
  font-size: 19px;
}

.hero__facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero__facts div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(30, 45, 63, 0.08);
}

.hero__facts b,
.hero__facts span {
  display: block;
}

.hero__facts b {
  font-size: 25px;
  line-height: 1.1;
}

.hero__facts span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 560px;
  border-left: 1px solid rgba(23, 33, 43, 0.1);
  overflow: hidden;
}

.map-card {
  position: absolute;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(23, 33, 43, 0.14);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card--main {
  left: 12%;
  top: 20%;
  width: min(420px, 78%);
  padding: 30px;
  z-index: 3;
}

.map-card span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.map-card strong {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
}

.map-card small {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.route {
  position: absolute;
  border: 3px solid transparent;
  border-top-color: rgba(8, 127, 111, 0.36);
  border-right-color: rgba(36, 87, 166, 0.28);
  border-radius: 50%;
}

.route--one {
  inset: 9% 10% 16% 2%;
  transform: rotate(-12deg);
}

.route--two {
  inset: 20% 2% 5% 18%;
  transform: rotate(16deg);
}

.pin {
  position: absolute;
  z-index: 4;
  min-width: 78px;
  padding: 11px 14px;
  border: 3px solid #fff;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 26px rgba(30, 45, 63, 0.22);
  font-weight: 900;
  text-align: center;
}

.pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 16px;
  height: 16px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.pin--sapporo { left: 52%; top: 14%; background: var(--green); }
.pin--airport { right: 8%; bottom: 22%; background: var(--blue); }
.pin--escon { right: 14%; top: 36%; background: var(--rose); }
.pin--obihiro { left: 18%; bottom: 10%; background: var(--gold); }

.section-heading {
  margin-bottom: 30px;
}

.section-heading--dark .eyebrow,
.section-heading--dark h2 {
  color: #fff;
}

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

.purpose-card,
.roadmap__item,
.branch-card,
.feature-card,
.member-board article,
.action-grid article {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(30, 45, 63, 0.09);
}

.purpose-card {
  min-height: 290px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.purpose-card--green { border-top: 8px solid var(--green); background: linear-gradient(180deg, var(--green-soft), #fff 56%); }
.purpose-card--blue { border-top: 8px solid var(--blue); background: linear-gradient(180deg, var(--blue-soft), #fff 56%); }
.purpose-card--rose { border-top: 8px solid var(--rose); background: linear-gradient(180deg, var(--rose-soft), #fff 56%); }

.card-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.roadmap-section,
.member-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #17212b 0%, #203848 55%, #0b6e65 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 47px;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--rose), var(--gold));
  border-radius: 99px;
}

.roadmap__item {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 84px 22px 22px;
}

.roadmap__item span {
  position: absolute;
  left: 22px;
  top: 22px;
  min-width: 80px;
  padding: 9px 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  text-align: center;
}

.site-map {
  display: grid;
  gap: 18px;
}

.home-node {
  position: relative;
  width: min(560px, 100%);
  margin-inline: auto;
  padding: 26px;
  border: 2px solid var(--green);
  background: linear-gradient(135deg, #fff, var(--green-soft));
  box-shadow: var(--shadow);
  text-align: center;
}

.home-node::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -46px;
  width: 2px;
  height: 46px;
  background: var(--green);
}

.home-node p {
  color: var(--green);
  font-weight: 900;
}

.home-node h3 {
  margin-top: 8px;
  font-size: clamp(29px, 4vw, 44px);
}

.home-node span {
  display: block;
  margin-top: 12px;
  color: #334155;
  line-height: 1.7;
}

.branch-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.branch-card {
  min-height: 270px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.branch-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.branch-card:nth-child(2) .branch-icon { background: var(--blue); }
.branch-card:nth-child(3) .branch-icon { background: var(--rose); }
.branch-card:nth-child(4) .branch-icon { background: var(--gold); }

.feature-section {
  background: rgba(255, 255, 255, 0.5);
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-card--alert {
  border-top: 8px solid var(--rose);
  background: linear-gradient(180deg, var(--rose-soft), #fff);
}

.feature-card header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-card header span {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.feature-card p {
  margin-top: 8px;
}

.tag-cloud {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-cloud span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.member-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.member-board article {
  min-height: 230px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-grid article {
  min-height: 238px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.action-grid span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  color: var(--green);
  background: var(--green-soft);
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__content {
    justify-self: stretch;
    max-width: none;
  }

  .hero__visual {
    width: min(760px, 100%);
    margin-inline: auto;
    border-left: 0;
  }

  .purpose-grid,
  .feature-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap,
  .branch-grid,
  .member-board,
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .hero,
  .north-star,
  .roadmap-section,
  .site-map-section,
  .feature-section,
  .member-section,
  .action-section {
    padding: 54px 18px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(36px, 11vw, 58px);
  }

  h1 span {
    white-space: normal;
  }

  .lead {
    font-size: 17px;
  }

  .hero__facts,
  .purpose-grid,
  .roadmap,
  .branch-grid,
  .feature-layout,
  .member-board,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 450px;
  }

  .map-card--main {
    left: 0;
    top: 22%;
    width: 86%;
  }

  .pin--sapporo { left: 56%; top: 6%; }
  .pin--airport { right: 1%; bottom: 16%; }
  .pin--escon { right: 4%; top: 43%; }
  .pin--obihiro { left: 5%; bottom: 5%; }

  .feature-card--wide {
    grid-column: auto;
  }

  .home-node::after {
    display: none;
  }

  .branch-grid {
    margin-top: 18px;
  }
}
