:root {
  --blue-950: #10263f;
  --blue-800: #174d7d;
  --blue-650: #2078a8;
  --blue-100: #e8f5fb;
  --mint: #66c6bc;
  --ink: #1c2733;
  --muted: #697887;
  --line: #dbe7ef;
  --paper: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(21, 67, 103, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(20, 52, 77, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-650), var(--mint));
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.92;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--mint);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--blue-650);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 88px) 86px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 31, 53, 0.9), rgba(16, 67, 102, 0.56) 52%, rgba(9, 31, 53, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--blue-950);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-950);
  line-height: 1.35;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--blue-650);
  box-shadow: 0 14px 34px rgba(32, 120, 168, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 6vw, 88px);
  color: var(--white);
  background: var(--blue-950);
}

.notice-band p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.notice-band a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--blue-950);
  background: var(--white);
  font-weight: 800;
}

.section {
  padding: 92px clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
}

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

.feature-card,
.plan-card,
.voice-grid article,
.equipment-grid article,
.side-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 66, 98, 0.08);
  overflow: hidden;
}

.feature-card img,
.equipment-grid img {
  width: 100%;
  height: 220px;
}

.feature-card div,
.plan-card,
.voice-grid article,
.equipment-grid article,
.side-panel {
  padding: 24px;
}

.feature-card span,
.flow-list span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-650);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.split-copy p {
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--mint);
  content: "✓";
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.split-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.split-gallery img {
  width: 100%;
  height: 230px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-gallery .gallery-large {
  grid-column: 1 / -1;
  height: 330px;
}

.plans {
  background: linear-gradient(180deg, #eef8fc, var(--paper));
}

.plan-card {
  min-height: 248px;
}

.plan-card.featured {
  border-color: var(--blue-650);
  transform: translateY(-10px);
}

.price {
  margin: 8px 0 14px;
  color: var(--blue-650);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.flow-list div {
  padding: 30px;
  background: var(--paper);
}

.voice-grid article {
  padding: 28px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: start;
  padding: 90px clamp(20px, 6vw, 88px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 6vw, 88px);
  color: var(--white);
  background: #071a2c;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: 136px clamp(20px, 6vw, 88px) 74px;
  background: linear-gradient(180deg, #edf8fc, var(--paper));
}

.page-hero h1 {
  color: var(--blue-950);
  font-size: clamp(44px, 7vw, 78px);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.page-hero img {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-layout,
.map-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.info-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.info-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  background: var(--white);
}

.info-table dt,
.info-table dd {
  margin: 0;
  padding: 18px;
}

.info-table dt {
  color: var(--blue-950);
  font-weight: 900;
  background: #eef8fc;
}

.info-table small {
  color: var(--muted);
}

.side-panel {
  position: sticky;
  top: 96px;
}

.equipment {
  background: var(--white);
}

.equipment-grid article {
  padding: 0 0 22px;
}

.equipment-grid h3,
.equipment-grid p {
  padding: 0 22px;
}

.map-section {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  background: #eef8fc;
}

.map-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-950);
  background:
    linear-gradient(90deg, rgba(32,120,168,0.14) 1px, transparent 1px),
    linear-gradient(rgba(32,120,168,0.14) 1px, transparent 1px),
    #ffffff;
  background-size: 36px 36px;
  text-align: center;
}

.map-placeholder span {
  display: block;
  font-size: 64px;
  font-weight: 900;
}

.map-placeholder p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue-950);
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .feature-grid,
  .plan-grid,
  .voice-grid,
  .equipment-grid,
  .flow-list,
  .split,
  .cta-section,
  .page-hero,
  .info-layout,
  .map-section {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 58px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 31, 53, 0.7), rgba(9, 31, 53, 0.92));
  }

  .button {
    width: 100%;
  }

  .notice-band,
  .site-footer {
    display: grid;
  }

  .section,
  .cta-section {
    padding: 64px 20px;
  }

  .split-gallery {
    grid-template-columns: 1fr;
  }

  .split-gallery .gallery-large,
  .split-gallery img,
  .page-hero img {
    height: 260px;
  }

  .page-hero {
    padding: 104px 20px 56px;
  }

  .info-table div {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }
}
