:root {
  --color-text: #1f2937;
  --color-muted: #5d6b82;
  --color-main: #004b9f;
  --color-main-dark: #003b7d;
  --color-main-soft: #d7e6f6;
  --color-accent: #f6d500;
  --color-bg: #e5edf5;
  --color-surface: #ffffff;
  --color-line: #c8d8ea;
  --shadow: 0 16px 40px rgba(0, 75, 159, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.8;
  background: var(--color-bg);
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 75, 159, 0.12);
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: min(100%, 320px);
  max-height: 58px;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.96rem;
  font-weight: 700;
}

.global-nav a {
  color: #244368;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--color-main);
}

.global-nav .nav-cta {
  padding: 11px 18px;
  color: #ffffff;
  background: var(--color-main);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 75, 159, 0.18);
}

.global-nav .nav-cta:hover {
  color: #ffffff;
  background: var(--color-main-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-main);
  border-radius: 999px;
}

.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(229, 237, 245, 0.55) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-main);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--color-main);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 18px;
  color: var(--color-main);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.35;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.45;
}

.hero-lead,
.section-lead {
  color: #334155;
  font-size: 1.05rem;
}

.hero-note {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero-actions,
.cta-box .button {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--color-main);
  box-shadow: 0 12px 24px rgba(0, 75, 159, 0.22);
}

.button-primary:hover {
  background: var(--color-main-dark);
}

.button-secondary {
  color: var(--color-main);
  background: #ffffff;
  border: 1px solid var(--color-line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  color: var(--color-main);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-card {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-header {
  margin-bottom: 18px;
  color: var(--color-main);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.support-box {
  padding: 18px;
  margin-bottom: 14px;
  background: #f8fbff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.support-box p {
  margin-bottom: 0;
  color: #475467;
}

.support-box-new {
  background: #eef5ff;
  border-color: rgba(0, 75, 159, 0.22);
}

.support-box-accent {
  background: #fffdf0;
  border-color: rgba(246, 213, 0, 0.55);
}

.support-term {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.support-box strong {
  display: block;
  font-size: 1.18rem;
  color: var(--color-main);
}

.support-note {
  margin: 18px 0 0;
  color: #334155;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.38);
}

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

.section-heading.narrow {
  max-width: 760px;
}

.image-showcase .container {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 24px;
}

.service-image-pc,
.service-image-sp img {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 75, 159, 0.08);
  background: #ffffff;
}

.service-image-sp {
  display: none;
  gap: 16px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card,
.feature-item,
.timeline-item,
.flow-list li,
details,
.area-panel,
.cta-box {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.mini-card {
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0, 75, 159, 0.05);
}

.mini-card p,
.feature-item p,
.timeline-item p,
.flow-list p,
details p,
.cta-box p {
  margin-bottom: 0;
  color: #475467;
}

.mini-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-main);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-grid,
.area-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-main);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
}

.feature-item.highlight {
  border-color: rgba(0, 75, 159, 0.32);
  box-shadow: 0 12px 28px rgba(0, 75, 159, 0.12);
}

.feature-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--color-main);
  border-radius: 14px;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.timeline-item {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--color-main);
}

.timeline-item.accent::before {
  background: var(--color-accent);
}

.timeline-label {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 14px;
  color: var(--color-main);
  background: var(--color-main-soft);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
}

.area-panel {
  padding: 26px;
  box-shadow: var(--shadow);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  padding: 14px 16px;
  background: #f8fbff;
  border-radius: 12px;
  font-weight: 800;
}

.area-list li:first-child {
  grid-column: 1 / -1;
}

.area-list span {
  display: block;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  padding: 22px;
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-main);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  padding-top: 12px;
}

.cta-section {
  padding: 84px 0;
}

.cta-box {
  max-width: 880px;
  padding: 42px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 75, 159, 0.18);
}

.site-footer {
  padding: 24px 0;
  color: #d8e4f2;
  background: var(--color-main);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner a {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

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

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

  .global-nav a {
    padding: 10px 12px;
  }

  .global-nav .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .service-grid,
  .area-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .timeline,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    max-height: 46px;
  }

  .global-nav {
    top: 68px;
  }

  .hero,
  .section,
  .cta-section {
    padding: 56px 0;
  }

  .image-showcase .container,
  .hero-card,
  .cta-box {
    padding: 24px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 18px;
  }

  .service-image-pc {
    display: none;
  }

  .service-image-sp {
    display: grid;
  }

  .card-grid.three,
  .timeline,
  .flow-list,
  .area-list {
    grid-template-columns: 1fr;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
