:root {
  --navy: #0b1f3a;
  --navy-2: #12345c;
  --blue: #1d6fae;
  --cyan: #4cc9d8;
  --coral: #ff8f70;
  --ink: #102033;
  --muted: #5d6b7c;
  --line: #d9e5ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  line-height: 1.75;
  background: var(--white);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 229, 239, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 14px;
}

.brand-text {
  font-size: 15px;
  line-height: 1.35;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 39, 0.9) 0%, rgba(11, 31, 58, 0.72) 44%, rgba(11, 31, 58, 0.18) 100%);
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 86px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.2;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(29, 111, 174, 0.28);
}

.btn-primary:hover {
  background: #175f97;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-head p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-items: center;
}

.card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.card h3 {
  font-size: 21px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: #e9f8fb;
  font-size: 24px;
}

.feature-image,
.banner-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-date {
  color: var(--blue);
  font-weight: 800;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef9fb;
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  padding: 92px 0;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.58));
  z-index: 1;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(32px, 4.8vw, 54px);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.message-box {
  padding: 34px;
  border-left: 5px solid var(--coral);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.service-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  height: 100%;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.service-card .icon {
  margin: 0;
}

.service-card ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

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

.company-table th {
  width: 180px;
  color: var(--navy);
  background: #f7fbfd;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area-item {
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.area-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(76, 201, 216, 0.28);
  border-color: var(--cyan);
}

.cta-band {
  padding: 56px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
}

.cta-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #061527;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(11, 31, 58, 0.12);
  }

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

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 640px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 20, 39, 0.92), rgba(11, 31, 58, 0.64));
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-3,
  .grid-2,
  .area-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-image img {
    height: 320px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .cta-band .container,
  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-text {
    max-width: 210px;
    font-size: 13px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card,
  .message-box,
  .contact-form {
    padding: 22px;
  }

  .page-hero {
    padding: 72px 0;
  }
}
