:root {
  --ink: #14212b;
  --muted: #526474;
  --line: #d8e0e6;
  --paper: #fbfbf8;
  --white: #ffffff;
  --blue: #0f5f8f;
  --blue-dark: #0b3c5c;
  --gold: #b98122;
  --green: #317567;
  --shadow: 0 20px 55px rgba(18, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 251, 248, 0.86);
  border-bottom: 1px solid rgba(216, 224, 230, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  padding: 9px 15px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 104px clamp(20px, 5vw, 76px) 68px;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 30, 43, 0.92) 0%, rgba(13, 30, 43, 0.78) 42%, rgba(13, 30, 43, 0.12) 100%),
    url("assets/hero-consulting.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(0deg, var(--paper), rgba(251, 251, 248, 0));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.trust-list div {
  padding: 15px 16px;
  background: rgba(8, 22, 33, 0.38);
}

.trust-list dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.trust-list dd {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 76px);
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section h2,
.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.service {
  background: var(--white);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.service-item h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.service-item p,
.flow-list p,
.contact-copy p,
.contact-notes {
  color: var(--muted);
}

.flow {
  background: #edf4f1;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 117, 103, 0.22);
  border-radius: 8px;
}

.flow-list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
  font-weight: 900;
}

.flow-list h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.contact-section {
  padding: clamp(74px, 9vw, 116px) clamp(20px, 5vw, 76px);
  background: var(--blue-dark);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 68px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
  color: var(--white);
}

.contact-copy p,
.contact-notes {
  color: rgba(255, 255, 255, 0.78);
}

.contact-notes {
  margin: 28px 0 0;
  padding-left: 1.2em;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

legend {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 900;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 95, 143, 0.2);
  border-color: var(--blue);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.check-grid label,
.privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfcfd;
  font-size: 14px;
  font-weight: 700;
}

.check-grid input,
.privacy input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.privacy {
  align-items: flex-start;
}

.submit-button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.submit-button:hover {
  background: #0b537e;
  transform: translateY(-1px);
}

.form-error {
  min-height: 1.5em;
  margin: 0;
  color: #b3261e;
  font-size: 14px;
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.75);
  background: #071e30;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(13, 30, 43, 0.95), rgba(13, 30, 43, 0.52)),
      url("assets/hero-consulting.png") center / cover no-repeat;
  }

  .two-column,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .service-grid,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .nav {
    gap: 10px;
    font-size: 12px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 38px;
  }

  .lead,
  .intro-copy {
    font-size: 16px;
  }

  .trust-list,
  .form-grid,
  .service-grid,
  .flow-list,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

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