:root {
  --navy: #0b1f3a;
  --navy-2: #123a63;
  --blue: #1b78d0;
  --cyan: #2cc7d9;
  --coral: #f28d75;
  --ink: #162033;
  --muted: #657289;
  --line: #dce6f3;
  --paper: #ffffff;
  --soft: #f4f8fc;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

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

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

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

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(27, 120, 208, 0.24);
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #31425d;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: #edf6ff;
}

.nav-cta {
  color: #fff !important;
  background: var(--navy) !important;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero.home-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.74) 45%, rgba(11, 31, 58, 0.1) 78%),
    url("../images/hero-consulting.png") center right / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 112px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #dff8ff;
  font-size: 14px;
  font-weight: 800;
}

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

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

.hero h1 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.18;
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #e8f3ff;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  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.35;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(27, 120, 208, 0.28);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: #fff;
  background: var(--navy);
}

.section {
  padding: 88px 0;
}

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

.section.navy {
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.88)),
    url("../images/abstract-navy.png") center / cover no-repeat;
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

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

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 36px;
}

.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section.navy .section-head p {
  color: #d9e8f8;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.skill-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.07);
}

.card h3,
.skill-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.skill-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  border-color: #bfd8f3;
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.1);
}

.skill-tag {
  width: fit-content;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  border-radius: 999px;
  background: #edf6ff;
}

.skill-card h3 {
  margin-bottom: 0;
}

.skill-tools {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.skill-tools + p {
  font-size: 14px;
  line-height: 1.7;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
  border: 1px solid #cfe3fa;
  border-radius: 8px;
  background: #eef7ff;
}

.icon-box svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

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

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.notice {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.notice time,
.notice-status {
  color: var(--blue);
  font-weight: 900;
}

.notice-status {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf6ff;
  font-size: 13px;
  line-height: 1.5;
}

.notice strong {
  display: block;
  color: var(--navy);
}

.notice p {
  margin: 4px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.9), rgba(18, 58, 99, 0.78)),
    url("../images/abstract-navy.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #d9e8f8;
  font-size: 18px;
}

.split-copy p,
.message p {
  margin: 0 0 16px;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-image {
  width: 100%;
  height: 190px;
  margin: -26px -26px 22px;
  max-width: calc(100% + 52px);
  object-fit: cover;
}

.service-card {
  overflow: hidden;
  padding-top: 0;
}

.service-card ul,
.company-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.company-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li::before,
.company-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.info-table th {
  width: 28%;
  color: var(--navy);
  background: #f7fbff;
}

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

.area-strip {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.area-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.area-icon svg {
  width: 34px;
  height: 34px;
}

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

.contact-form .hp-field {
  display: none !important;
}

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

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

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

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

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(44, 199, 217, 0.24);
  border-color: var(--cyan);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#form-status {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  color: #d8e5f3;
  background: var(--navy);
}

.footer-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell strong {
  color: #fff;
}

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

.footer-links a {
  color: #d8e5f3;
}

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-card {
    min-height: 230px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.1);
  }

  .main-nav.is-open {
    display: grid;
  }

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

  .grid.two,
  .grid.three,
  .form-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero.home-hero::before {
    background:
      linear-gradient(180deg, rgba(11, 31, 58, 0.78), rgba(11, 31, 58, 0.86)),
      url("../images/hero-consulting.png") center right / cover no-repeat;
  }

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

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .notice {
    grid-template-columns: 1fr;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }

  .area-strip {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    display: grid;
  }

  .footer-links {
    row-gap: 8px;
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skill-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .container,
  .hero-content,
  .footer-shell {
    width: min(100% - 24px, 1120px);
  }

  .brand-text {
    max-width: calc(100vw - 96px);
  }

  .brand-text small {
    display: none;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .button,
  .section.navy .button,
  .contact-form .button {
    width: 100%;
  }

  .section-head {
    margin-bottom: 28px;
  }

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

  .notice {
    padding: 18px;
  }

  .footer-shell {
    gap: 18px;
    padding: 30px 0;
  }

  .service-image {
    margin: -22px -22px 20px;
    max-width: calc(100% + 44px);
  }
}
