:root {
  --navy: #081a59;
  --blue: #063eb4;
  --teal: #007a7c;
  --teal-bright: #00a49d;
  --orange: #f47709;
  --orange-dark: #e85d00;
  --ink: #101c3e;
  --muted: #546174;
  --line: #dce5f1;
  --bg: #f5f9fc;
  --white: #fff;
  --shadow: 0 18px 46px rgba(8, 26, 89, .1);
  --container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }
.sp-only { display: none; }

.header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  transition: background .25s, box-shadow .25s, height .25s;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 24px rgba(8, 26, 89, .09);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.brand__name {
  color: var(--blue);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
}
.brand__name span { color: var(--teal); margin-left: 4px; }
.nav { margin-left: auto; display: flex; gap: 38px; font-weight: 700; color: #273353; }
.nav a { position: relative; }
.nav a::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--teal);
  transition: width .2s;
}
.nav a:hover::after { width: 100%; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.button:hover { transform: translateY(-2px); }
.button--small {
  min-height: 50px;
  padding: 0 28px;
  background: var(--orange);
  box-shadow: 0 7px 16px rgba(244, 119, 9, .25);
}

.hero {
  position: relative;
  min-height: 930px;
  padding-top: 124px;
  overflow: hidden;
  background: #fff;
}
.hero__photo {
  position: absolute;
  inset: 0 0 89px 32%;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 14%, rgba(255,255,255,.3) 36%, rgba(255,255,255,0) 62%),
    url("assets/hero-office-team.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero__award {
  position: absolute;
  right: 50px;
  bottom: 160px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.hero__award img {
  width: 180px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}
.hero__award p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
}
.hero__inner { position: relative; }
.hero__content { width: min(600px, 100%); }
.eyebrow {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
  padding: 11px 25px 11px 18px;
  border: 3px solid var(--teal);
  border-radius: 50px;
  color: var(--teal);
  background: rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 800;
}
.people-icon { height: 33px; display: flex; align-items: flex-end; gap: 3px; }
.people-icon i {
  position: relative;
  display: block;
  width: 14px;
  height: 18px;
  border-radius: 8px 8px 2px 2px;
  background: var(--teal);
}
.people-icon i:nth-child(2) { height: 22px; width: 17px; }
.people-icon i::before {
  position: absolute;
  content: "";
  width: 11px; height: 11px;
  top: -12px; left: 2px;
  border-radius: 50%;
  background: var(--teal);
}
.people-icon i:nth-child(2)::before { width: 13px; height: 13px; top: -14px; }
h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(48px, 5vw, 66px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .02em;
}
h1 strong { color: var(--teal); }
.hero__lead {
  margin: 0 0 25px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.8;
}
.hero__lead strong { color: var(--teal); }
.service-card {
  width: max-content;
  margin-bottom: 28px;
}
.service-card img {
  height: 140px;
  width: auto;
}
.hero__actions { display: flex; gap: 25px; align-items: center; }
.button--cta {
  gap: 34px;
  min-width: 295px;
  min-height: 66px;
  padding: 0 25px 0 48px;
  font-size: 22px;
  background: linear-gradient(90deg, #f58a00, var(--orange));
  box-shadow: 0 11px 25px rgba(232, 93, 0, .27);
}
.button--cta span { font-size: 42px; font-weight: 400; line-height: 0; }
.text-link { color: var(--blue); font-weight: 700; border-bottom: 1px solid var(--blue); }
.trust-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(105deg, #062a90, #004cb7);
  color: white;
}
.trust-bar__inner {
  min-height: 89px;
  display: flex;
  gap: 58px;
  align-items: center;
}
.trust-bar p { margin: 0; font-size: 18px; font-weight: 700; }
.trust-items { display: flex; flex: 1; justify-content: flex-end; }
.trust-items span { padding: 0 39px; border-left: 1px solid rgba(255,255,255,.38); font-weight: 500; }
.trust-items strong { display: inline-block; margin-left: 8px; font-size: 24px; }

.section { padding: 92px 0; }
section[id] { scroll-margin-top: 72px; }
.section-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
}
.section h2 {
  margin: 0 0 47px;
  color: var(--navy);
  font-size: clamp(31px, 3.3vw, 43px);
  line-height: 1.45;
  font-weight: 900;
}
.problems { text-align: center; background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem {
  min-height: 265px;
  padding: 31px 29px 28px;
  border-radius: 16px;
  background: white;
  text-align: left;
  box-shadow: 0 2px 9px rgba(20, 48, 91, .05);
}
.problem__no {
  display: block;
  margin-bottom: 13px;
  color: var(--teal-bright);
  font-weight: 800;
  font-size: 15px;
}
.problem h3 { margin: 0 0 12px; color: var(--navy); line-height: 1.55; font-size: 23px; }
.problem p { margin: 0; color: var(--muted); }

.support { background: white; }
.support__layout {
  display: block;
}
.support__heading {
  max-width: 790px;
  margin: 0 auto 43px;
  text-align: center;
}
.support__heading h2 { margin-bottom: 20px; }
.support__heading > p:last-child { color: var(--muted); font-size: 17px; }
.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-item {
  display: flex;
  gap: 18px;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.support-item > span {
  flex-shrink: 0;
  color: var(--teal-bright);
  font-size: 22px;
  font-weight: 900;
}
.support-item h3 { margin: 0 0 6px; color: var(--navy); font-size: 22px; }
.support-item p { margin: 0; color: var(--muted); }

.results {
  position: relative;
  text-align: center;
  color: white;
  background: linear-gradient(110deg, #061e70, #054db1);
  overflow: hidden;
}
.results::after {
  position: absolute;
  content: "";
  width: 520px; height: 520px;
  top: -250px; right: -90px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,.055);
}
.section-label--light { color: #63dad5; }
.results h2 { position: relative; color: white; margin-bottom: 53px; }
.metrics { position: relative; display: flex; justify-content: center; }
.metrics article { width: 30%; border-left: 1px solid rgba(255,255,255,.32); }
.metrics article:last-child { border-right: 1px solid rgba(255,255,255,.32); }
.metrics p { margin: 0 0 5px; font-weight: 700; font-size: 18px; }
.metrics strong { color: white; font-size: 70px; line-height: 1.25; font-weight: 900; }
.metrics small { font-size: 29px; margin-left: 7px; }
.results__note { margin: 42px 0 0; color: rgba(255,255,255,.68); font-size: 13px; }

.flow { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step {
  position: relative;
  padding: 29px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.step:not(:last-child)::after {
  position: absolute;
  content: "›";
  z-index: 1;
  top: calc(50% - 16px);
  right: -22px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: var(--teal);
  text-align: center;
  font-size: 28px;
}
.step span { color: var(--teal); font-size: 14px; font-weight: 800; }
.step h3 { margin: 10px 0 7px; color: var(--navy); font-size: 23px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { background: var(--bg); }
.faq__layout { display: grid; grid-template-columns: 285px 1fr; gap: 60px; }
.faq__layout h2 { margin: 0; font-size: 56px; }
.faq-list details {
  padding: 22px 27px;
  border-bottom: 1px solid #ccd8e8;
  background: white;
}
.faq-list details:first-child { border-radius: 12px 12px 0 0; }
.faq-list details:last-child { border-radius: 0 0 12px 12px; }
.faq-list summary {
  position: relative;
  padding: 0 44px 0 38px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { position: absolute; left: 0; content: "Q"; color: var(--teal); font-weight: 900; }
.faq-list summary::after { position: absolute; right: 0; content: "+"; color: var(--teal); font-size: 26px; line-height: 1; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { margin: 19px 0 0; padding-left: 38px; color: var(--muted); }

.closing {
  text-align: center;
  padding: 78px 0 83px;
  background: white;
}
.closing img { margin: 0 auto 14px; }
.closing p:first-of-type { margin: 0 0 8px; color: var(--teal); font-size: 19px; font-weight: 700; }
.closing h2 { margin: 0 0 29px; color: var(--navy); font-size: clamp(32px, 3vw, 43px); line-height: 1.45; }
.closing__reply {
  margin: 0 0 24px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
#hubspot-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.closing__tel { margin: 27px 0 0 !important; color: var(--ink) !important; font-size: 16px !important; }
.closing__tel a { margin: 0 16px; color: var(--blue); font-size: 24px; font-weight: 800; }
.closing__tel small { color: var(--muted); }

.footer { padding: 34px 0; color: white; background: var(--navy); }
.footer__inner { display: flex; align-items: center; gap: 37px; }
.brand--footer .brand__name { color: white; font-size: 23px; }
.brand--footer .brand__name span { color: #49d0cc; }
.footer p { margin: 0; font-weight: 700; }
.footer__links { display: flex; gap: 25px; margin-left: auto; font-size: 14px; }
.footer__links a:hover { text-decoration: underline; }
.footer small { color: rgba(255,255,255,.62); }
.mobile-cta { display: none; }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .header { background: rgba(255,255,255,.96); height: 56px; }
  .nav { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 56px; }
  .hero__photo {
    order: 1;
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(250px, 52vw, 400px);
    margin-top: 0;
    margin-bottom: -20px;
    background-image: linear-gradient(0deg, #fff 0%, transparent 20%), url("assets/hero-office-team.png");
    background-position: 70% center;
  }
  .hero__inner { order: 2; display: flex; flex-direction: column; }
  .hero__award { display: none; }
  .trust-bar { order: 3; position: relative; }
  .trust-bar__inner { flex-direction: column; padding: 21px 0; gap: 12px; }
  .trust-items { justify-content: center; }
  .faq__layout { grid-template-columns: 1fr; gap: 40px; }
  .support-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --container: calc(100% - 32px); }
  body { padding-bottom: 70px; }
  .sp-only { display: inline; }
  .header__inner { gap: 10px; }
  .header .button { display: none; }
  .brand img { height: 38px; width: auto; }
  .hero { padding-top: 56px; }
  h1 { font-size: clamp(35px, 10vw, 45px); line-height: 1.4; margin-bottom: 17px; }
  .hero__lead { font-size: 16px; line-height: 1.7; margin-bottom: 19px; }
  .service-card { width: 100%; margin-bottom: 18px; display: flex; justify-content: center; }
  .service-card img { height: 90px; width: auto; }
  .hero__actions { margin-bottom: 32px; }
  .hero__actions .button--cta { width: 100%; min-width: 0; }
  .hero__actions .text-link { display: none; }
  .hero__photo { height: min(75vw, 330px); margin-top: 19px; background-position: 66% center; }
  .button--cta { min-height: 59px; font-size: 19px; padding-left: 44px; }
  .trust-bar__inner { align-items: flex-start; padding: 18px 0; }
  .trust-bar p { font-size: 14px; }
  .trust-items { width: 100%; gap: 0; flex-wrap: wrap; }
  .trust-items span { padding: 0 11px; font-size: 11px; line-height: 1.6; }
  .trust-items span:first-child { padding-left: 0; border-left: 0; }
  .trust-items strong { display: block; margin: 0; font-size: 18px; }
  .section { padding: 61px 0; }
  .section-label { font-size: 14px; }
  .section h2 { font-size: 22px; margin-bottom: 30px; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .problem { min-height: 0; padding: 24px 23px; }
  .problem h3 { font-size: 20px; }
  .support__heading { margin-bottom: 30px; text-align: left; }
  .support__heading > p:last-child { font-size: 15px; }
  .support-list { gap: 10px; }
  .support-item { gap: 18px; padding: 20px 18px; }
  .support-item h3 { font-size: 20px; }
  .metrics { gap: 0; }
  .metrics article { width: 33.33%; }
  .metrics p { font-size: 12px; }
  .metrics strong { font-size: 36px; }
  .metrics small { font-size: 15px; margin-left: 2px; }
  .results__note { margin-top: 28px; }
  .step:not(:last-child)::after { display: none; }
  .faq__layout { gap: 5px; }
  .faq__layout h2 { display: none; }
  .faq-list details { padding: 19px 16px; }
  .faq-list summary { padding-left: 27px; padding-right: 27px; font-size: 16px; }
  .faq-list p { padding-left: 27px; font-size: 14px; }
  .closing { padding: 52px 0 58px; }
  .closing img { width: 67px; }
  .closing__tel a { display: block; margin: 4px 0; }
  .footer { padding: 29px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 17px; }
  .footer__links { margin: 0; flex-wrap: wrap; gap: 11px 23px; }
  .mobile-cta {
    position: fixed;
    display: flex;
    z-index: 30;
    left: 12px; right: 12px; bottom: 10px;
    height: 56px;
    justify-content: center;
    align-items: center;
    gap: 27px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 7px 24px rgba(232, 93, 0, .35);
    color: white;
    font-size: 18px;
    font-weight: 800;
  }
  .mobile-cta span { font-size: 32px; font-weight: 400; line-height: 0; }
}
