:root {
  --ink: #0b1620;
  --sub: #55636e;
  --line: #ccd5db;
  --soft: #eef1f4;
  --brand: #163f58;
  --brand2: #0a1c2b;
  --accent: #1f6b76;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(11, 22, 32, 0.22);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 2;
  letter-spacing: 0.04em;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo-mark {
  display: block;
  flex: none;
  width: auto;
  height: 34px;
}
.site-footer .logo-mark {
  height: 30px;
  filter: brightness(0) invert(1);
}
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav a {
  position: relative;
}
.nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.2s;
}
.nav a:hover:after,
.nav a.active:after {
  width: 100%;
}
.nav-cta {
  padding: 11px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}
.hero {
  min-height: min(88vh, 820px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 20, 30, 0.78) 0%,
      rgba(8, 20, 30, 0.72) 55%,
      rgba(8, 20, 30, 0.6) 74%,
      rgba(8, 20, 30, 0.22) 92%,
      rgba(8, 20, 30, 0.1) 100%
    ),
    url("../img/top_image.jpg") center/cover no-repeat;
}
.hero-content {
  position: relative;
  max-width: 710px;
  padding: 80px 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.hero .eyebrow {
  color: #b8e4ea;
}
.hero h1 {
  font-size: clamp(38px, 5.7vw, 72px);
  line-height: 1.32;
  letter-spacing: 0.04em;
  margin: 18px 0 24px;
  font-weight: 900;
  color: #fff;
}
.hero p {
  font-size: 18px;
  color: #d7dfe5;
  max-width: 650px;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 0;
  border: 1px solid var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--brand);
}
.hero .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.section {
  padding: 130px 0;
}
.section.soft {
  background: var(--soft);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 64px;
}
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  font-weight: 700;
  margin: 8px 0;
}
.section-lead {
  max-width: 760px;
  color: var(--sub);
}
/* 見出しと横並びになる場合だけ、見出しの折り返しを守るため幅を絞る */
.section-head .section-lead {
  max-width: 520px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
  min-height: 280px;
}
.card .num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #aebcc4;
  line-height: 1;
}
.card h3 {
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin: 22px 0 12px;
}
.card p {
  color: var(--sub);
  font-size: 15px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.figure-panel {
  --fig-edge: rgba(127, 196, 207, 0.14);
  --fig-pulse: #7fc4cf;
  --fig-node: #3d6b7d;
  --fig-node-on: #b8e4ea;
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--brand2);
  box-shadow: var(--shadow);
}
.nn-figure {
  width: 100%;
  height: auto;
  display: block;
}
/* 静止した基準形。アニメーションが動かなくても図として成立させる */
.nn-edges line {
  stroke: var(--fig-edge);
  stroke-width: 1;
}
.nn-node {
  fill: var(--fig-node);
}
.nn-halo {
  fill: none;
  stroke: var(--fig-pulse);
  stroke-width: 1.2;
  opacity: 0;
}
.nn-pulses line {
  stroke: var(--fig-pulse);
  stroke-width: 2;
  stroke-linecap: round;
  /* pathLength=100 で正規化してあるので、線長に関わらずパルスは常に1個だけ走る */
  stroke-dasharray: 16 100;
  opacity: 0;
}
/* 6秒周期。層ごとの animation-delay で、左から右への伝播にする */
@keyframes nn-fire {
  0% {
    fill: var(--fig-node);
  }
  /* 素早く点いて短く保持し、1.2秒ほどで消灯する。
     ここで明示的に戻さないと次の周期まで減衰が続き、全層が点きっぱなしに見える */
  3%,
  8% {
    fill: var(--fig-node-on);
  }
  20%,
  100% {
    fill: var(--fig-node);
  }
}
@keyframes nn-halo {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.55);
  }
  4% {
    opacity: 0.5;
    transform: scale(0.85);
  }
  16% {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes nn-pulse {
  0% {
    stroke-dashoffset: 16;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  16% {
    stroke-dashoffset: -100;
    opacity: 1;
  }
  18%,
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}
/* 画面内に入る(.reveal.is-in)まで一時停止。JS無効時は静止画として表示される */
.nn-node {
  animation: nn-fire 6s linear infinite;
  animation-play-state: paused;
}
.nn-halo {
  transform-origin: center;
  transform-box: fill-box;
  animation: nn-halo 6s linear infinite;
  animation-play-state: paused;
}
.nn-pulses line {
  animation: nn-pulse 6s linear infinite;
  animation-play-state: paused;
}
.reveal.is-in .nn-node,
.reveal.is-in .nn-halo,
.reveal.is-in .nn-pulses line {
  animation-play-state: running;
}
.product-logo {
  margin: 0 0 30px;
}
.product-logo img {
  width: 280px;
  height: auto;
}
.quote {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.quote span {
  color: var(--accent);
}
.link-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
}
.product-panel {
  background: var(--brand2);
  color: #fff;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.product-panel p {
  color: #dbe7eb;
}
.product-mock {
  background: #fff;
  border-radius: 2px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.mock-bar {
  height: 12px;
  width: 90px;
  background: #d9e1e5;
  border-radius: 10px;
  margin-bottom: 20px;
}
.mock-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
}
.mock-side {
  background: #edf2f3;
  border-radius: 4px;
  min-height: 210px;
}
.mock-main {
  display: grid;
  gap: 12px;
}
.mock-line {
  height: 34px;
  background: #edf2f3;
  border-radius: 4px;
}
.mock-line.big {
  height: 92px;
}
.cta {
  padding: 96px 0;
  background: var(--brand);
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 45px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin: 0 0 18px;
}
.cta p {
  color: #c4d0d8;
}
.cta .btn-primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.subhero {
  padding: 120px 0 96px;
  background: linear-gradient(120deg, var(--brand2), var(--brand));
  border-bottom: 0;
  color: #fff;
}
.subhero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-weight: 900;
  margin: 12px 0;
}
.subhero .eyebrow {
  color: #7fc4cf;
}
.breadcrumbs {
  font-size: 12px;
  color: #9fb4c2;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.content {
  padding: 110px 0;
}
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin: 60px 0 18px;
}
.prose p {
  color: #46535e;
}
.prose ul,
.prose ol {
  color: #46535e;
  margin: 0 0 18px;
  padding-left: 1.4em;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 2;
}
.company-table th {
  width: 210px;
  color: var(--sub);
  font-weight: 600;
}
.pillar-head {
  max-width: 760px;
  margin-bottom: 4px;
}
.pillar-head p {
  color: var(--sub);
}
.service-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 38px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.service-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  /* 字送りの分だけ右に余白が出るので、同じ量だけ押して光学的に中央へ */
  text-indent: 0.08em;
  color: var(--brand);
}
.service-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.service-block p {
  color: var(--sub);
}
.tag {
  display: inline-block;
  background: var(--soft);
  color: var(--brand);
  font-size: 12px;
  padding: 5px 10px;
  margin: 8px 5px 0 0;
  font-weight: 500;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.contact-note {
  background: var(--soft);
  padding: 34px;
}
.form-row {
  margin-bottom: 24px;
}
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  color: #a43b3b;
  font-size: 12px;
  margin-left: 7px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
}
.form-row textarea {
  min-height: 190px;
}
.form-help {
  font-size: 12px;
  color: var(--sub);
}
.form-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #a43b3b;
}
.form-error-summary {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid #a43b3b;
  background: #fbf2f2;
  color: #a43b3b;
  font-size: 14px;
  font-weight: 500;
}
.form-consent {
  margin: 4px 0 24px;
}
.form-consent label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--sub);
  cursor: pointer;
}
.form-consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  accent-color: var(--accent);
}
.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}
.form-consent .req {
  margin-left: 4px;
}
/* ハニーポット。利用者には見せず、支援技術からも読み上げさせない */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-thanks {
  max-width: 720px;
}
.form-thanks p {
  color: var(--sub);
  margin: 0 0 22px;
}
.site-footer {
  background: var(--brand2);
  color: #fff;
  padding: 88px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}
.footer-grid p,
.footer-grid a {
  color: #bdc9ce;
  font-size: 14px;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.footer-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 48px;
}
.footer-sub a {
  color: #bdc9ce;
  font-size: 14px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 24px;
  padding-top: 24px;
  color: #93a3aa;
  font-size: 12px;
}
.notice {
  background: #fff8e6;
  border: 1px solid #ead9ad;
  padding: 16px;
  margin: 25px 0;
  font-size: 13px;
}
.wp-note {
  font-size: 12px;
  color: var(--sub);
  margin-top: 25px;
}
.site-loader {
  display: none;
}
.is-loading .site-loader {
  display: block;
}
.is-loading body {
  overflow: hidden;
}
.loader-shutter {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50.2%;
  background: #fff;
  z-index: 200;
  transform: scaleY(1);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader-shutter-top {
  top: 0;
  transform-origin: top;
}
.loader-shutter-bottom {
  bottom: 0;
  transform-origin: bottom;
}
.site-loader.is-open .loader-shutter {
  transform: scaleY(0);
}
.loader-logo {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(330px, 62vw);
  height: auto;
  z-index: 201;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.site-loader.is-logo-in .loader-logo {
  opacity: 1;
  transform: none;
}
.site-loader.is-logo-out .loader-logo {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease;
}
.site-loader.is-short .loader-logo {
  display: none;
}
.site-loader.is-short .loader-shutter {
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.site-loader.is-short.is-open .loader-shutter {
  transform: scaleY(0);
  opacity: 0;
}
.is-loading .hero-content > *,
.is-loading .subhero .container > * {
  opacity: 0;
  transform: translateY(26px);
}
.is-ready .hero-content > *,
.is-ready .subhero .container > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.9s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.is-ready .hero-content > *:nth-child(2),
.is-ready .subhero .container > *:nth-child(2) {
  transition-delay: 0.12s;
}
.is-ready .hero-content > *:nth-child(3),
.is-ready .subhero .container > *:nth-child(3) {
  transition-delay: 0.24s;
}
.is-ready .hero-content > *:nth-child(4),
.is-ready .subhero .container > *:nth-child(4) {
  transition-delay: 0.36s;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.9s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  .logo-mark {
    height: 28px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .hero {
    min-height: 78vh;
  }
  .hero:before {
    background:
      linear-gradient(rgba(8, 20, 30, 0.68), rgba(8, 20, 30, 0.84)),
      url("../img/top_image.jpg") center/cover;
  }
  .grid-3,
  .split,
  .product-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 35px;
  }
  .section {
    padding: 88px 0;
  }
  .content {
    padding: 80px 0;
  }
  .cta {
    padding: 80px 0;
  }
  .subhero {
    padding: 84px 0 64px;
  }
  .section-head {
    display: block;
  }
  .service-block {
    grid-template-columns: 1fr;
  }
  .product-panel {
    padding: 32px;
  }
  .company-table th {
    width: 120px;
  }
  .figure-panel {
    min-height: 300px;
    padding: 20px;
  }
}
@media (max-width: 420px) {
  .site-header .logo span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .is-loading .hero-content > *,
  .is-loading .subhero .container > *,
  .is-ready .hero-content > *,
  .is-ready .subhero .container > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nn-node,
  .nn-halo,
  .nn-pulses line {
    animation: none;
  }
  /* 止めるだけだと暗いままなので、発火後の明るい状態で静止させる */
  .nn-node {
    fill: var(--fig-node-on);
  }
  .nn-halo,
  .nn-pulses line {
    opacity: 0;
  }
}
