:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5e6a7d;
  --line: #dce3ed;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --accent: #0f6f8f;
  --accent-dark: #0a536b;
  --warm: #f2a33a;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--accent-dark);
  background: #eaf6fa;
}

.site-nav .nav-contact {
  color: #ffffff;
  background: var(--accent);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] {
  color: #ffffff;
  background: var(--accent-dark);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--accent-dark);
  background: #ffffff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 22, 31, 0.78), rgba(5, 22, 31, 0.28), rgba(5, 22, 31, 0.08));
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px clamp(20px, 6vw, 72px);
  color: #ffffff;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.12;
}

.hero p {
  max-width: 640px;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warm);
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(15, 111, 143, 0.26);
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.section,
.page-hero {
  padding: 76px clamp(20px, 6vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
}

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

.feature-card,
.price-card,
.info-grid > div,
.safety-panel,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #ffffff;
}

.feature-card span,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-weight: 900;
}

.muted {
  background: var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 16px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.cta {
  text-align: center;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #0c516a, #1885a8);
}

.page-hero p {
  max-width: 780px;
  font-size: 18px;
}

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

.price-card {
  position: relative;
}

.price-card.best {
  border-color: var(--warm);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--warm);
  font-size: 13px;
  font-weight: 900;
}

.price {
  margin: 10px 0 14px;
  color: var(--accent-dark);
  font-size: 32px;
  font-weight: 900;
}

.price-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

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

.safety-panel {
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--accent-dark);
  border: 0;
}

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

.form-section {
  background: var(--soft);
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d3df;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 72px);
  color: #ffffff;
  background: #172033;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .feature-grid,
  .price-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(5, 22, 31, 0.86), rgba(5, 22, 31, 0.2));
  }

  .hero-text {
    padding-top: 140px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .feature-grid,
  .price-grid,
  .info-grid,
  .timeline,
  .two-column {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
