:root {
  --bg: #eef3f6;
  --bg-soft: #f7fafc;
  --surface: #ffffff;
  --surface-muted: #f4f7f9;
  --text: #16202b;
  --text-muted: #5f6d7e;
  --line: #d5dee6;
  --line-strong: #b7c4d1;
  --primary: #17385d;
  --primary-soft: #2f5c88;
  --accent: #cb7d45;
  --accent-soft: #f3e1d2;
  --shadow: 0 24px 60px rgba(17, 30, 43, 0.08);
  --shadow-soft: 0 14px 32px rgba(17, 30, 43, 0.05);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 28%, #edf2f5 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

main section[id] {
  scroll-margin-top: 88px;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(244, 247, 249, 0.88)),
    var(--bg-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 253, 0.9);
  border-bottom: 1px solid rgba(23, 56, 93, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.site-brand {
  min-width: 0;
}

.site-brand__label {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-brand__name {
  display: inline-block;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
}

.menu-toggle__line {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.menu-toggle__text {
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav {
  display: none;
}

.js .site-header[data-open="true"] .site-nav {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
}

.site-nav__list {
  display: grid;
  gap: 6px;
  padding: 12px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-muted);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 56, 93, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 56, 93, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-copy__lead {
  max-width: 37rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #244a75);
  box-shadow: 0 14px 26px rgba(23, 56, 93, 0.18);
}

.button--secondary {
  border-color: rgba(23, 56, 93, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.button--large {
  min-height: 58px;
  padding-inline: 26px;
  font-size: 1.1rem;
}

.hero-points li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-figure,
.hero-card,
.info-card,
.table-card,
.access-card,
.contact-band {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 56, 93, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-figure {
  position: relative;
  min-height: 320px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-card {
  padding: 22px 18px;
}

.hero-card__eyebrow,
.access-card__label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card__details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-card__details dt {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-card__details dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
}

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

.card-grid--services {
  counter-reset: service-item;
}

.info-card {
  position: relative;
  min-height: 100%;
  padding: 20px 18px 18px;
  counter-increment: service-item;
}

.card-grid--services .info-card::before {
  content: counter(service-item, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.5;
}

.info-card p,
.contact-note {
  margin: 0;
  color: var(--text-muted);
}

.company-layout,
.access-layout {
  display: grid;
  gap: 24px;
}

.table-card {
  padding: 8px 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  padding-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.company-table td {
  padding-top: 4px;
  color: var(--text);
  font-weight: 700;
}

.access-card {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
}

.access-card address {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.contact-section {
  padding-top: 84px;
}

.contact-band {
  display: grid;
  gap: 24px;
  padding: 28px 22px;
  background:
    linear-gradient(135deg, #12304e 0%, #17385d 64%, #31597c 100%);
  color: #fff;
}

.contact-band .section-kicker,
.contact-band h2,
.contact-band p,
.contact-note {
  color: inherit;
}

.contact-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
  line-height: 1.2;
}

.contact-band p {
  margin: 0;
  max-width: 34rem;
}

.contact-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-band .button--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(23, 56, 93, 0.08);
  background: rgba(248, 251, 253, 0.78);
}

.footer-inner {
  display: grid;
  gap: 14px;
}

.site-footer__name {
  margin: 0 0 4px;
  color: var(--primary);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
}

.site-footer__meta a {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 800;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions {
    margin-top: 32px;
  }

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

  .company-table th,
  .company-table td {
    display: table-cell;
    padding: 16px 20px;
    vertical-align: top;
  }

  .company-table th {
    width: 26%;
    padding-bottom: 16px;
  }

  .company-table td {
    padding-top: 16px;
  }

  .contact-band {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
    align-items: center;
    padding: 36px 32px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .site-footer__meta {
    text-align: right;
  }
}

@media (min-width: 940px) {
  .header-inner {
    gap: 24px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    margin-left: auto;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    position: relative;
    padding: 6px 0;
    background: transparent;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: transparent;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: start;
    gap: 40px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .company-layout,
  .access-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 40px;
  }
}
