:root {
  --primary: #0a2342;
  --primary-2: #004e92;
  --accent: #c5a059;
  --text: #263645;
  --muted: #637081;
  --bg: #f7f9fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6ebf0;
  backdrop-filter: blur(10px);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 0.88rem;
  font-weight: 700;
}

.topnav a {
  text-decoration: none;
  color: #52606d;
}

.topnav a:hover {
  color: var(--primary);
}

.hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "EARTHWARD";
  position: absolute;
  right: -7vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cinzel', serif;
  font-size: 12vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 76px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
  margin: 0 0 22px;
  max-width: 900px;
}

.hero-lead {
  max-width: 760px;
  font-size: 1.08rem;
  opacity: 0.96;
  margin: 0 0 28px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.35);
}

.btn.line {
  background: #06c755;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.28);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  color: var(--primary);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.35;
  margin: 0 0 14px;
}

.section-lead {
  max-width: 780px;
  margin: 0 0 36px;
  color: var(--muted);
}

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

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

.card {
  background: var(--white);
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.06);
}

.card h2,
.card h3 {
  font-family: 'Noto Serif JP', serif;
  color: var(--primary);
  margin: 0 0 12px;
  line-height: 1.45;
}

.card p {
  margin: 0;
}

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

.fact {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 17px 18px;
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(10, 35, 66, 0.05);
}

.fact span {
  display: block;
  color: #7b8794;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.fact strong {
  color: var(--primary);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.06);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid #e6ebf0;
  vertical-align: top;
}

.price-table th {
  background: var(--primary);
  color: var(--white);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.related {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.related a {
  background: var(--white);
  border: 1px solid #e6ebf0;
  border-radius: 6px;
  padding: 15px;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

.related a:hover {
  border-color: var(--accent);
}

.cta {
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 38px;
  text-align: center;
}

.cta h2 {
  font-family: 'Noto Serif JP', serif;
  margin: 0 0 12px;
}

.cta p {
  margin: 0 0 24px;
  opacity: 0.94;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-weight: 700;
}

.contact-links a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

.footer {
  border-top: 1px solid #e6ebf0;
  text-align: center;
  color: #7b8794;
  padding: 28px 24px;
  font-size: 0.84rem;
}

@media (max-width: 840px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 70px 20px 60px;
  }

  .wrap {
    padding: 56px 20px;
  }

  .grid,
  .grid.two,
  .fact-list,
  .related {
    grid-template-columns: 1fr;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    border-bottom: 1px solid #e6ebf0;
  }

  .price-table td {
    border-bottom: none;
    padding: 14px 18px;
  }

  .cta {
    padding: 30px 22px;
  }
}
