:root {
  --blue-950: #071b3d;
  --blue-850: #0a2a5e;
  --blue-700: #0d4c9c;
  --blue-550: #1670d8;
  --blue-100: #eaf4ff;
  --cyan-400: #1bb8d4;
  --ink: #152033;
  --muted: #68768a;
  --line: #dce6f2;
  --paper: #ffffff;
  --soft: #f5f9fd;
  --shadow: 0 18px 50px rgba(7, 27, 61, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 230, 242, .85);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-850), var(--blue-550));
  box-shadow: 0 10px 24px rgba(13, 76, 156, .26);
}

.brand-text {
  display: grid;
  line-height: 1.2;
  font-size: 17px;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: #314259;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-700);
  background: var(--blue-100);
}

.site-nav .nav-contact {
  color: #fff;
  background: var(--blue-700);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact.is-active {
  color: #fff;
  background: var(--blue-850);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-950);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 61, .92), rgba(7, 27, 61, .55) 48%, rgba(7, 27, 61, .12));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 108px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 14px 32px rgba(22, 112, 216, .26);
}

.button.primary:hover {
  background: var(--blue-850);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .08);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

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

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.two-column,
.section-head,
.feature-band,
.company-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.section-title,
.page-title h1,
.page-hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.text-link {
  justify-self: end;
  align-self: end;
  color: var(--blue-700);
  font-weight: 900;
  border-bottom: 2px solid var(--cyan-400);
}

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

.service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card span,
.detail-number,
.process-grid span,
.info-box span {
  color: var(--blue-550);
  font-size: 12px;
  font-weight: 900;
}

.service-card h3,
.detail-card h2,
.process-grid h3,
.contact-info h2 {
  margin: 4px 0 8px;
  color: var(--blue-950);
  line-height: 1.35;
}

.service-card p,
.detail-card p,
.process-grid p,
.contact-info p,
.company-message p,
.page-title p,
.page-hero p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  border-radius: 8px;
}

.feature-band h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.feature-band p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
}

.feature-band .button {
  justify-self: end;
  background: #fff;
  color: var(--blue-850);
  box-shadow: none;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--blue-950);
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 61, .86), rgba(7, 27, 61, .3));
}

.page-hero div {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0;
}

.page-hero h1,
.page-hero p {
  color: #fff;
  max-width: 720px;
}

.page-title {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0 24px;
}

.page-title p:last-child {
  max-width: 720px;
  margin-top: 14px;
}

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

.detail-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.process-grid > div {
  min-height: 190px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.company-message {
  align-self: center;
}

.company-message h2 {
  margin: 0 0 16px;
  color: var(--blue-950);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

.company-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

.company-table th {
  width: 210px;
  color: var(--blue-850);
  background: #f0f7ff;
}

.company-table a {
  color: var(--blue-700);
  font-weight: 800;
}

.map-head {
  align-items: end;
  margin-bottom: 24px;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 30px;
}

.phone-link {
  display: inline-block;
  margin: 4px 0 14px;
  color: var(--blue-700);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
}

.info-box {
  margin-top: 24px;
  padding: 18px;
  background: var(--blue-100);
  border-radius: 8px;
}

.contact-form {
  padding: 30px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  color: var(--blue-950);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c8d5e5;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 112, 216, .18);
  border-color: var(--blue-550);
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--blue-700);
  font-weight: 800;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .82);
  background: var(--blue-950);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.site-footer strong {
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 650px;
  }

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

  .hero-media::after {
    background: linear-gradient(180deg, rgba(7, 27, 61, .35), rgba(7, 27, 61, .94));
  }

  .two-column,
  .section-head,
  .feature-band,
  .company-layout,
  .contact-layout,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .text-link,
  .feature-band .button {
    justify-self: start;
  }

  .detail-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

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

  .footer-inner {
    flex-direction: column;
  }
}

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .service-card div,
  .detail-card,
  .contact-info,
  .contact-form {
    padding: 20px;
  }
}
