:root {
  --color-primary: #005bac;
  --color-primary-dark: #004582;
  --color-navy: #262a38;
  --color-navy-dark: #1f2436;
  --color-ink: #333333;
  --color-muted: #6f7c86;
  --color-paper: #ffffff;
  --color-soft-panel: #f5f7fa;
  --color-line: #d8dfe8;
  --color-accent: #f0a000;
  --shadow-card: 0 12px 30px rgba(25, 49, 76, .08);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-size: 15px;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-paper);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.header-band {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 86px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 240px;
  height: auto;
}

.header-contact {
  text-align: right;
  color: var(--color-muted);
  font-size: 13px;
}

.header-contact a {
  display: block;
  color: var(--color-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.global-nav {
  display: flex;
  justify-content: center;
  background: var(--color-primary);
  overflow-x: auto;
}

.global-nav a {
  color: #fff;
  min-height: 58px;
  padding: 18px 22px;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, .18);
  white-space: nowrap;
}

.global-nav a:hover {
  background: var(--color-primary-dark);
}

.home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
}

.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .82;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 44, 83, .9) 0%, rgba(0, 91, 172, .62) 42%, rgba(0, 0, 0, .18) 100%);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 88px 24px 72px;
  color: #fff;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 24px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.22;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  font-size: 17px;
}

.eyebrow,
.card-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #cfe7ff;
}

.hero-actions,
.button-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  color: var(--color-primary);
  background: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.button.primary {
  color: #fff;
  background: var(--color-primary);
}

.button.primary.light {
  color: var(--color-primary);
  background: #fff;
  border-color: #fff;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section.soft {
  max-width: none;
  background: var(--color-soft-panel);
}

.section.soft > .section-heading,
.section.soft > .service-grid,
.section.soft > .photo-grid,
.section.soft > .document-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,
.narrow-page h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
}

.section-lead {
  max-width: 760px;
  color: var(--color-muted);
}

.intro-grid,
.detail-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
}

.intro-grid img,
.service-card img,
.photo-grid img {
  border-radius: 5px;
  object-fit: cover;
}

.intro-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

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

.service-card,
.proof-card,
.step-card,
.fact-panel,
.form-panel,
.contact-side {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  box-shadow: var(--shadow-card);
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 220px;
  border-radius: 0;
}

.service-card > div {
  padding: 26px;
}

.service-card h3,
.proof-card h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-primary);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

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

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

.proof-card,
.step-card {
  padding: 28px;
}

.proof-card span,
.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.company-strip {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 48px;
}

.fact-list {
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.fact-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.fact-list dt {
  color: var(--color-primary);
  font-weight: 700;
}

.fact-list dd {
  margin: 0;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px 72px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.25;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 17px;
}

.detail-grid {
  align-items: start;
}

.detail-grid p {
  margin: 0 0 18px;
}

.fact-panel,
.form-panel,
.contact-side {
  padding: 32px;
}

.fact-panel h2,
.form-panel h2,
.contact-side h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.fact-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-panel li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--color-line);
  position: relative;
}

.fact-panel li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

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

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.workflow {
  max-width: none;
  background: linear-gradient(135deg, #002f56, #005bac);
  color: #fff;
}

.workflow > .section-heading,
.workflow > .step-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.workflow .eyebrow,
.workflow .section-lead {
  color: #cfe7ff;
}

.workflow .step-card {
  color: var(--color-ink);
}

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

.document-grid a {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
}

.contact-section {
  align-items: start;
}

.contact-side {
  background: var(--color-navy);
  color: #fff;
}

.contact-side .eyebrow {
  color: #cfe7ff;
}

.phone-link {
  display: inline-flex;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.phone-link.dark {
  color: var(--color-primary);
}

.contact-side .phone-link.dark {
  color: #fff;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
}

.required {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-help {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.narrow-page {
  max-width: 820px;
  min-height: 58vh;
}

.summary-list {
  margin: 32px 0;
  border-top: 1px solid var(--color-line);
}

.summary-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.summary-row dt {
  font-weight: 700;
  color: var(--color-primary);
}

.summary-row dd {
  margin: 0;
  word-break: break-word;
}

.empty-summary {
  margin: 28px 0;
  padding: 18px;
  background: var(--color-soft-panel);
  border: 1px solid var(--color-line);
  border-radius: 5px;
}

.centered {
  justify-content: center;
}

.cta-band {
  max-width: 1200px;
  margin: 0 auto 88px;
  padding: 44px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: 5px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
}

.site-footer {
  background: var(--color-navy);
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  gap: 42px;
}

.footer-logo {
  width: 42px;
  margin-bottom: 14px;
}

.footer-name {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.footer-links a {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.copyright {
  margin: 0;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .65);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .header-band,
  .global-nav,
  .hero-actions,
  .button-row,
  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .header-band {
    min-height: 0;
  }

  .brand img {
    width: 210px;
  }

  .header-contact {
    text-align: left;
  }

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

  .global-nav a {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 13px;
    white-space: normal;
  }

  .home-hero {
    min-height: 620px;
  }

  .home-hero-copy {
    padding: 64px 20px 56px;
  }

  .section {
    padding: 64px 20px;
  }

  .intro-grid,
  .detail-grid,
  .contact-section,
  .company-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-grid,
  .step-grid,
  .photo-grid,
  .document-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .fact-list div,
  .summary-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .phone-link {
    font-size: 24px;
  }

  .cta-band {
    margin: 0 20px 64px;
    padding: 28px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
