:root {
  --navy: #0c2747;
  --blue: #155c97;
  --sky: #eaf4ff;
  --line: #d6e1ec;
  --text: #17212b;
  --muted: #5d6b78;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(12, 39, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  background: #f7fbff;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 39, 71, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 900;
}

.logo-text {
  font-size: 28px;
  letter-spacing: 0.03em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav a {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 90px;
  color: var(--white);
}

.hero-lead,
.section-kicker {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero-text {
  width: min(760px, 100%);
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 60px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2f8fe0, #1b65a4);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(21, 92, 151, 0.35);
}

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn.large {
  min-width: 280px;
  font-size: 28px;
  min-height: 76px;
}

.section {
  padding: 100px 0;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.25;
  color: var(--navy);
}

.section p {
  margin-top: 0;
}

.section-dark {
  background: linear-gradient(180deg, #0e2742 0%, #163c60 100%);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-kicker,
.section-dark p,
.section-dark li {
  color: var(--white);
}

.section-dark .service-card,
.section-dark .service-card p,
.section-dark .service-card li,
.section-dark .service-card ul {
  color: var(--text);
}

.section-accent {
  background: linear-gradient(180deg, #edf6ff 0%, #f7fbff 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}

.intro-points {
  display: grid;
  gap: 18px;
}

.point-card,
.service-card,
.company-table-wrap,
.contact-box {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.point-card {
  padding: 28px;
}

.point-card strong,
.service-card h3 {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  color: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}

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

.image-card {
  padding: 0;
}

.image-card img {
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.service-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.9;
}

.service-card ul {
  margin: 4px 0 0;
  padding-left: 22px;
  color: var(--text);
}

.service-card li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.service-card li:last-child {
  margin-bottom: 0;
}

.company-table-wrap {
  padding: 24px;
}

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

.company-table th,
.company-table td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 18px;
}

.company-table th {
  width: 220px;
  color: var(--navy);
  font-weight: 800;
  background: #f5f9fe;
}

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

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
}

.site-footer {
  padding: 28px 0 40px;
  background: #0a1f37;
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-name,
.footer-copy {
  margin: 0;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: #eef5fb;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  margin: 5px auto;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .service-grid,
  .intro-grid,
  .contact-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(12, 39, 71, 0.08);
    padding: 10px 20px 24px;
    display: none;
  }

  .global-nav.open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo-text {
    font-size: 23px;
  }

  .section,
  .hero-content {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo-text {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .btn,
  .btn.large {
    width: 100%;
    min-width: 0;
  }

  .service-card,
  .point-card,
  .contact-box,
  .company-table-wrap {
    border-radius: 20px;
  }
}
