:root {
  --ink: #17231f;
  --muted: #65746d;
  --paper: #f4f1ea;
  --card: #fffdf8;
  --line: #d9ded6;
  --accent: #d96848;
  --accent-dark: #a94b35;
  --green: #315b4c;
  --shadow: 0 24px 60px rgb(35 56 47 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.brand,
.header-link,
.primary-button,
.location-card a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  place-items: center;
  font-size: 17px;
}

.header-link {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero,
.map-section,
.steps {
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 80px;
  align-items: end;
  min-height: 600px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  letter-spacing: -0.04em;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1rem;
}

.primary-button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding: 14px 20px;
  color: var(--card);
  background: var(--green);
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-aside {
  padding: 28px 0 0 34px;
  border-left: 1px solid var(--line);
}

.aside-label,
.card-number {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.aside-title {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.aside-copy,
.aside-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.aside-line {
  width: 52px;
  height: 1px;
  margin: 30px 0 18px;
  background: var(--accent);
}

.aside-meta {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

.map-section {
  padding-top: 80px;
  padding-bottom: 112px;
}

.section-heading,
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
}

.section-intro {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.4fr);
  gap: 18px;
  margin-top: 44px;
}

.map-card {
  min-height: 480px;
  padding: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.geolonia {
  width: 100%;
  height: 456px;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--card);
  background: var(--green);
}

.location-card .card-number {
  color: #b7c9bd;
}

.location-card h3 {
  margin-bottom: 12px;
  font-size: 2.1rem;
}

.location-card p:not(.card-number) {
  color: #d6e0d9;
  font-size: 0.9rem;
}

.location-card a {
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps {
  padding-top: 88px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
}

.step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-list li > span {
  grid-row: span 2;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.step-list strong {
  font-size: 0.95rem;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .map-section,
  .steps {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero,
  .section-heading,
  .steps,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 56px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-aside {
    padding-top: 24px;
    padding-left: 20px;
  }

  .section-heading {
    gap: 20px;
  }

  .map-card {
    min-height: 360px;
  }

  .geolonia {
    height: 336px;
  }

  .location-card {
    min-height: 290px;
  }

  .site-footer {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}
