:root {
  --ink: #1f332f;
  --muted: #596760;
  --paper: #fffdf7;
  --cream: #fff7e8;
  --mint: #dff4e7;
  --sky: #dcefff;
  --coral: #ffd9cf;
  --lavender: #e7e0ff;
  --gold: #eba72a;
  --line: rgba(31, 51, 47, 0.14);
  --shadow: rgba(43, 58, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body::selection {
  background: var(--gold);
  color: #fff;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 76px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 253, 247, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 900;
  font-size: 1.28rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-accent {
  color: #c47a4d;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.park-hero {
  position: relative;
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 52px;
  background-color: var(--cream);
  background-image: url("../images/park-hero-v2.png");
  background-position: center;
  background-size: cover;
}

@supports (background-image: url("../images/park-hero-v2.webp")) {
  .park-hero {
    background-image: url("../images/park-hero-v2.webp");
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.92) 34%, rgba(255, 253, 247, 0.38) 68%, rgba(255, 253, 247, 0.12) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  margin: 0;
  color: #c47a4d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 8px 0 0;
  font-size: 4.7rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-catch {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.45;
}

.hero-catch span + span {
  margin-left: 0.35em;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 51, 47, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #29443e;
}

.button.secondary {
  border: 1px solid rgba(31, 51, 47, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.section {
  padding: 84px 0;
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(220, 239, 255, 0.82) 0%, rgba(255, 247, 232, 0.92) 46%, rgba(223, 244, 231, 0.8) 100%);
  border-top: 1px solid rgba(31, 51, 47, 0.08);
  border-bottom: 1px solid rgba(31, 51, 47, 0.08);
}

.about-section::before {
  content: "";
  position: absolute;
  top: 28px;
  right: max(24px, calc((100% - 1120px) / 2));
  width: 180px;
  height: 180px;
  border: 1px solid rgba(235, 167, 42, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.about-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 34px;
  align-items: stretch;
}

.about-copy {
  max-width: 720px;
}

.about-copy h2 {
  margin: 8px 0 0;
  font-size: 2.65rem;
  line-height: 1.22;
  font-weight: 950;
  letter-spacing: 0;
}

.about-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-panel {
  align-self: stretch;
  border: 1px solid rgba(31, 51, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 18px 42px rgba(43, 58, 53, 0.1);
  padding: 24px;
}

.about-panel-label {
  margin: 0;
  color: #c47a4d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.about-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about-panel a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 3px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.45;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.about-panel a:hover,
.about-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.64);
  outline: none;
  transform: translateX(2px);
}

.about-panel a span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #355047;
  font-size: 1.14rem;
  font-weight: 950;
}

.about-panel a span img {
  width: 31px;
  height: 31px;
  display: block;
}

.about-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.about-card {
  border: 1px solid rgba(31, 51, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
  box-shadow: 0 14px 32px rgba(43, 58, 53, 0.08);
}

.about-card:nth-child(1) {
  background: rgba(255, 255, 255, 0.76);
}

.about-card:nth-child(2) {
  background: rgba(255, 246, 233, 0.78);
}

.about-card:nth-child(3) {
  background: rgba(247, 248, 255, 0.78);
}

.about-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(31, 51, 47, 0.06);
  color: #c47a4d;
  font-size: 0.78rem;
  font-weight: 950;
}

.about-card h3 {
  margin: 14px 0 0;
  font-size: 1.16rem;
  line-height: 1.35;
  font-weight: 950;
}

.about-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.final-copy h2 {
  margin: 8px 0 0;
  font-size: 2.5rem;
  line-height: 1.24;
  font-weight: 950;
  letter-spacing: 0;
}

.section-head p:last-child,
.final-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.content-section {
  background: linear-gradient(180deg, var(--paper) 0%, #f8fff9 100%);
}

.content-groups {
  display: grid;
  gap: 30px;
}

.content-group {
  display: grid;
  gap: 14px;
}

.content-group-head {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.content-group-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: 0;
}

.content-group-label {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.content-group.is-origin .content-grid {
  grid-template-columns: 1fr;
}

.content-group.is-life-series .content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-group.is-apps-games .content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.park-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px var(--shadow);
}

.park-card::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--card-color, var(--mint));
}

.park-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.content-group.is-origin .park-card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(160px, 220px);
  gap: 22px;
  align-items: center;
  padding: 20px 22px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.content-group.is-origin .card-top {
  justify-content: flex-start;
  margin-bottom: 0;
}

.card-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  border: 1px solid rgba(31, 51, 47, 0.1);
  border-radius: 8px;
  background: var(--card-soft, var(--mint));
  color: var(--ink);
  font-size: 1.38rem;
  line-height: 1;
  font-weight: 950;
}

.card-mark img {
  width: 34px;
  height: 34px;
  display: block;
}

.type-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(31, 51, 47, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-copy {
  min-width: 0;
}

.park-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: 0;
}

.park-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-action-row {
  margin-top: auto;
  padding-top: 22px;
}

.content-group.is-origin .card-action-row {
  margin-top: 0;
  padding-top: 0;
}

.card-action {
  min-height: 42px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.card-action:hover,
.card-action:focus-visible {
  background: #29443e;
  outline: none;
}

.card-action.is-disabled {
  background: #eef1ec;
  color: #7a837d;
  cursor: not-allowed;
}

.card-secondary-links {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.card-detail-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.card-detail-link:hover,
.card-detail-link:focus-visible {
  background: rgba(31, 51, 47, 0.06);
  color: var(--ink);
  outline: none;
}

.final-section {
  background: #fff1e6;
}

.final-copy {
  max-width: 760px;
}

.final-copy .button {
  margin-top: 24px;
}

.site-footer {
  background: var(--ink);
  color: #f7f0dc;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  font-weight: 950;
  font-size: 1.12rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: #f7f0dc;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffd782;
  outline: none;
}

@media (max-width: 920px) {
  .park-hero {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 48%, rgba(255, 253, 247, 0.34) 100%);
  }

  .hero-copy h1 {
    font-size: 3.6rem;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 620px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 60px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .park-hero {
    min-height: calc(100svh - 92px);
    padding: 84px 0 44px;
    background-position: 68% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 48%, rgba(255, 253, 247, 0.3) 100%);
  }

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

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-catch {
    font-size: 1.25rem;
  }

  .hero-catch span {
    display: block;
  }

  .hero-catch span + span {
    margin-left: 0;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  .about-copy h2,
  .section-head h2,
  .final-copy h2 {
    font-size: 2rem;
  }

  .about-section::before {
    width: 130px;
    height: 130px;
    top: 18px;
    right: -34px;
  }
}

@media (max-width: 560px) {
  .container,
  .site-nav {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    font-size: 1.08rem;
  }

  .nav-links a:nth-child(n+2) {
    display: none;
  }

  .park-hero {
    min-height: calc(100svh - 86px);
    padding-top: 78px;
  }

  .hero-copy h1 {
    font-size: 2.58rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-group.is-origin .park-card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .content-group.is-origin .card-top {
    justify-content: space-between;
  }

  .content-group.is-life-series .content-grid,
  .content-group.is-apps-games .content-grid {
    grid-template-columns: 1fr;
  }

  .about-panel,
  .about-card {
    padding: 20px;
  }

  .about-panel a {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .about-panel a span {
    width: 38px;
    height: 38px;
  }

  .park-card-body {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 340px) {
  .nav-links a {
    font-size: 0.78rem;
    padding: 0 6px;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .hero-catch {
    font-size: 1.12rem;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .about-copy h2,
  .section-head h2,
  .final-copy h2 {
    font-size: 1.75rem;
  }
}
