:root {
  --navy: #0088cc;
  --blue: #0088cc;
  --ink: #1c2430;
  --muted: #747c86;
  --line: #dfe4e8;
  --paper: #ffffff;
  --background: #f4f8fa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--background);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: .025em;
}
a { color: inherit; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--navy);
}
.header-inner {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
}
.brand-logo {
  display: block;
  width: min(300px, 70%);
  height: auto;
}

main { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.hero {
  min-height: 570px;
  display: grid;
  align-items: center;
  padding: 84px 0 88px;
}
.hero-inner { max-width: 820px; }
.eyebrow {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .20em;
}
h1 {
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.035em;
}
.hero-copy {
  max-width: 760px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
}

.content { padding-bottom: 84px; }
.panel {
  margin-bottom: 28px;
  padding: clamp(34px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.section-label {
  margin-bottom: 34px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.service {
  min-height: 230px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.service:first-child { padding-left: 0; border-left: 0; }
.service:last-child { padding-right: 0; }
.service-number {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.service h2 {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.45;
}
.service p {
  color: var(--muted);
  font-size: 14px;
}

.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 28%;
  padding-right: 24px;
  color: var(--muted);
  font-weight: 400;
}
.site-footer {
  padding: 34px 20px 46px;
  color: #9299a3;
  text-align: center;
  font-size: 12px;
}

/* BOX: hero and service titles */
.hover-box-highlight,
.hover-box-sm {
  position: relative;
  display: inline-block;
  z-index: 1;
  cursor: default;
  color: var(--ink);
  transition: color .28s ease;
}
.hover-box-highlight { padding: 0 .12em .05em; }
.hover-box-sm { padding: 2px 7px; }

.hover-box-highlight::before,
.hover-box-sm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}
.hover-box-highlight:hover::before,
.hover-box-sm:hover::before { transform: scaleX(1); }
.hover-box-highlight:hover,
.hover-box-sm:hover { color: #fff; }

/* LINE: 4px, twice the previous 2px thickness.
   box-decoration-break lets wrapped copy receive a line per text line. */
.hover-line-multi {
  display: inline;
  cursor: default;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 3px;
  transition: background-size .48s cubic-bezier(.22, 1, .36, 1);
}
.hover-line-multi:hover { background-size: 100% 4px; }

.hover-line-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--blue);
  padding-bottom: 3px;
}
.hover-line-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}
.hover-line-link:hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .header-inner, main { width: min(100% - 40px, 1160px); }
  .header-inner { padding: 24px 0; }
  .brand-logo { width: min(280px, 78%); }
  .hero { min-height: auto; padding: 72px 0 62px; }
  h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-copy { margin-top: 28px; }
  .services { grid-template-columns: 1fr; }
  .service,
  .service:first-child,
  .service:last-child {
    min-height: auto;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .service:first-child { padding-top: 0; border-top: 0; }
  .service:last-child { padding-bottom: 0; }
  .company-table th, .company-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  .company-table th {
    padding-top: 18px;
    padding-right: 0;
    border-bottom: 0;
  }
  .company-table td { padding-top: 0; }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .hover-box-highlight::before,
  .hover-box-sm::before,
  .hover-line-link::after { transition: none; }
  .hover-line-multi { transition: none; }
}
