:root {
  --brand: #005a9c;
  --brand-dark: #003b69;
  --ink: #233444;
  --muted: #5d6c79;
  --surface: #f3f7fa;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  padding-top: var(--nav-height);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

a {
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2b544;
  outline-offset: 4px;
}

/* 固定ナビゲーション */
.site-header {
  background: #fff;
  box-shadow: 0 2px 16px rgb(0 0 0 / 8%);
}

.navbar {
  min-height: 80px;
}

.navbar-brand {
  color: var(--brand);
  line-height: 1.3;
  white-space: normal;
}

.brand-main {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .03em;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
}

.navbar .nav-link {
  padding: .65rem 1rem;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--brand);
}

.nav-contact {
  background: var(--brand);
  color: #fff !important;
  border-radius: 4px;
}

.nav-contact:hover,
.nav-contact:focus {
  background: var(--brand-dark);
}

/* 本文へのスキップリンク */
.visually-hidden-focusable.position-fixed {
  z-index: 1100;
}

/* ヒーロー */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  min-height: min(720px, 78svh);
  padding: 90px 0;
  background:
    linear-gradient(
      90deg,
      rgb(0 26 52 / 82%),
      rgb(0 42 76 / 30%)
    ),
    url("../img/bg_07.jpg") center / cover no-repeat;
  background-color: var(--brand-dark);
  color: #fff;
}

.hero-eyebrow {
  margin-bottom: 24px;
  color: #b9dff6;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* 共通 */
.section {
  padding: 88px 0;
}

.section-light {
  background: var(--surface);
}

.section-label {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.section-title {
  margin-bottom: 24px;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.5;
}

.section-title::after {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 18px;
  background: var(--brand);
  content: "";
}

.text-center .section-title::after {
  margin-right: auto;
  margin-left: auto;
}

.section-lead {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);

  padding: .85rem 1.75rem;
  font-weight: 700;
}

/* トップの3事業 */
.feature-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.feature-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e9eff4;
}

.feature-image-equipment {
  object-fit: contain;
  padding: 20px;
  background: #fff;
}

.feature-body {
  padding: 28px;
}

.feature-number {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.feature-title {
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 800;
}

.feature-description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* 業務内容 */
.business-intro {
  padding: 28px;
  border-left: 4px solid var(--brand);
  background: #fff;
}

.business-card {
  height: 100%;
  padding: 32px;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.business-card h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e4eef5;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 800;
}

.business-list {
  margin-bottom: 0;
  padding-left: 1.3rem;
}

.business-list li + li {
  margin-top: 7px;
}

.standards {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.standards h3 {
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 800;
}

.standard-item {
  height: 100%;
  padding: 20px;
  background: var(--surface);
  border-radius: 4px;
}

.standard-item h4 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

.standard-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

/* 会社概要 */
.company-table {
  width: 100%;
  border-top: 2px solid var(--brand);
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 22px 24px;
  border-bottom: 1px solid #dfe7ee;
  vertical-align: top;
}

.company-table th {
  width: 24%;
  background: var(--surface);
  font-weight: 700;
}

.company-table td {
  background: #fff;
}

.company-table a {
  color: var(--brand);
}

/* お問い合わせ */
.contact-section {
  background: var(--brand-dark);
  color: #fff;
}

.contact-section .section-label {
  color: #b9dff6;
}

.contact-section .section-title::after {
  background: #b9dff6;
}

.contact-phone {
  display: inline-block;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .04em;
  text-decoration: none;
}

.contact-phone:hover {
  color: #b9dff6;
}

.contact-button {
  min-width: 260px;
  padding: 16px 30px;
  color: var(--brand-dark);
  font-weight: 800;
}

/* フッター */
.site-footer {
  padding: 28px 0;
  background: #102a40;
  color: #c4d0da;
  font-size: .8rem;
}

.site-footer a {
  color: #fff;
}

/* タブレット・スマートフォン */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 12px 0 16px;
    max-height: calc(100svh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-contact {
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 500px;
    padding: 72px 0;
  }

  .feature-image {
    height: 210px;
  }

  .business-card,
  .business-intro,
  .standards {
    padding: 24px;
  }

  .company-table th,
  .company-table td {
    padding: 18px 14px;
    font-size: .9rem;
  }

  .company-table th {
    width: 30%;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}