:root {
  --bg: #0b1016;
  --surface: #101a24;
  --surface-2: #152331;
  --line: rgba(222, 235, 247, .17);
  --text: #edf4fa;
  --muted: #9eafbf;
  --accent: #8fc2ff;
  --accent-strong: #d0e7ff;
  --max: 1240px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-height: 1.75; letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.section-shell { width: min(calc(100% - 72px), var(--max)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 104px; padding: 0 48px; border-bottom: 1px solid var(--line); background: rgba(11, 16, 22, .94); backdrop-filter: blur(14px); line-height: 1.8; letter-spacing: .025em; }
.brand { display: inline-flex; align-items: center; width: 174px; height: 82px; overflow: hidden; }
.brand-logo { display: block; width: 174px; height: 82px; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: Georgia, serif; font-size: 17px; }
.brand-copy { display: grid; font-size: 12px; line-height: 1.1; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 0; font-family: var(--serif); }
.site-nav > a, .site-nav-link { position: relative; padding: 8px 26px; color: var(--muted); font-size: .96rem; transition: color .2s ease; }
.site-nav > * + *::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 24px; background: var(--line); transform: translateY(-50%); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.site-nav-item { position: relative; display: flex; align-items: center; }
.site-submenu { position: absolute; top: 100%; right: 0; z-index: 25; display: grid; min-width: 270px; padding: 10px; border: 1px solid var(--line); background: rgba(11, 16, 22, .98); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
.site-nav-item:hover .site-submenu, .site-nav-item:focus-within .site-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-submenu a { display: block; padding: 12px 14px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.site-submenu a:hover, .site-submenu a:focus-visible { color: var(--text); background: rgba(143, 194, 255, .08); }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--text); background: transparent; padding: 8px 12px; font: inherit; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 7vw; align-items: center; min-height: 690px; padding-top: 82px; padding-bottom: 98px; overflow: hidden; }
.section-label { margin: 0 0 22px; color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.section-block .section-label { font-size: 13px; }
.hero h1, h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.1; text-wrap: balance; }
.hero h1 { max-width: 650px; font-size: clamp(52px, 8vw, 100px); }
.hero-title-line { display: inline-block; white-space: nowrap; }
h2 { font-size: clamp(36px, 5.6vw, 72px); }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lede, .section-lede { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 13px 18px; border: 1px solid var(--accent); font-size: 12px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--bg); }
.button-primary:hover { background: var(--accent-strong); }
.button-light { border-color: var(--text); color: var(--text); }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }
.text-link:hover { color: var(--text); }
.hero-copy, .hero-flow { position: relative; z-index: 1; }
.hero-emblem { position: absolute; left: -2%; right: auto; top: 325px; z-index: 0; width: min(1120px, 82vw); aspect-ratio: 1493 / 1053; transform: translateY(-50%); pointer-events: none; overflow: visible; opacity: .30; }
.hero-emblem image { display: block; width: 100%; height: 100%; }
.hero-flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; justify-self: end; width: min(380px, 100%); min-height: 188px; margin-right: 40px; padding: 28px 22px 26px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(16, 26, 36, .42), var(--bg) 72%); box-shadow: inset 0 1px 0 rgba(143, 194, 255, .13), 0 16px 34px rgba(0, 0, 0, .13); transform: translateY(-72px); }
.hero-flow::before { content: ""; position: absolute; top: -1px; left: 22px; width: 72px; height: 2px; background: var(--accent); }
.flow-node { display: grid; gap: 8px; min-width: 64px; }
.flow-node span, .flow-node small { color: var(--muted); font-size: 10px; letter-spacing: .08em; line-height: 1.4; }
.flow-node strong { font-family: Georgia, "Yu Mincho", serif; font-size: 25px; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.node-result strong { color: var(--accent); }
.flow-connector { position: relative; width: 22px; height: 1px; background: linear-gradient(90deg, var(--line), rgba(143, 194, 255, .46)); }
.flow-connector::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border-top: 1px solid rgba(143, 194, 255, .62); border-right: 1px solid rgba(143, 194, 255, .62); transform: rotate(45deg); }
.section-block { padding: 120px 0 130px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .45fr 1.55fr; gap: 6vw; align-items: start; margin-bottom: 66px; }
.section-heading .section-label { margin-top: 12px; }
.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.strength-list article { min-height: 250px; padding: 26px 28px 24px 0; border-bottom: 1px solid var(--line); }
.strength-list article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.strength-list span, .service-number, .flow-list > li > span { color: var(--accent); font-size: 11px; letter-spacing: .14em; }
h3 { margin: 17px 0 9px; font-family: Georgia, "Yu Mincho", serif; font-size: 25px; font-weight: 400; line-height: 1.3; }
.strength-list p, .service-row p, .flow-list p, .contact-inner p { margin: 0; color: var(--muted); font-size: 13px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px 1fr 30px; align-items: center; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.service-row:hover { padding-left: 16px; padding-right: 16px; background: var(--surface); }
.service-row h3 { margin: 0 0 7px; }
.row-arrow { color: var(--accent); font-size: 22px; }
.flow-section { background: linear-gradient(180deg, transparent, rgba(16, 26, 36, .38)); }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list > li:first-child { padding-left: 22px; }
.flow-list > li { min-height: 250px; padding: 25px 22px 20px 0; border-bottom: 1px solid var(--line); }
.flow-list > li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow-list h3 { margin-top: 22px; font-size: 21px; }
.contact-band { padding: 88px 0 96px; background: var(--accent); color: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; }
.contact-inner .section-label, .contact-inner p { color: rgba(11, 16, 22, .72); }
.contact-inner .section-label { position: relative; top: -32px; }
.contact-inner h2 em { color: var(--bg); }
.contact-inner > div:last-child { max-width: 380px; }
.contact-inner .button { width: 220px; min-height: 64px; justify-content: center; margin-top: 28px; padding: 18px 22px; border-color: var(--bg); color: var(--bg); font-size: 14px; transform: translate(128px, -96px); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 42px; color: var(--muted); font-family: var(--serif); font-size: .8rem; letter-spacing: .1em; }
.site-footer small { font-family: var(--sans); letter-spacing: .08em; }
@media (max-width: 940px) {
  .site-header { padding: 0 28px; }
  .site-nav a { padding-inline: 18px; font-size: .88rem; }
  .hero { grid-template-columns: 1fr; gap: 54px; min-height: auto; padding-top: 80px; }
  .hero-emblem { left: 0; right: -18%; top: 325px; width: min(760px, 96vw); }
  .hero-flow { max-width: 760px; width: min(620px, 100%); margin-right: 0; justify-self: center; transform: none; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .flow-list > li:nth-child(4) { border-left: 0; padding-left: 0; }
  .flow-list > li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .contact-inner .button { transform: none; }
}
@media (max-width: 680px) {
  .section-shell { width: min(calc(100% - 40px), var(--max)); }
  .site-header { min-height: 72px; padding-inline: 18px; }
  .brand { width: 132px; height: 58px; }
  .brand-logo { width: 132px; height: 58px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--line); background: rgba(11, 16, 22, .98); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .site-nav-link { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .site-nav > * + *::before { inset: 0 0 auto; width: auto; height: 1px; transform: none; }
  .site-nav-item { display: block; }
  .site-submenu { position: static; min-width: 0; padding: 0 0 4px 14px; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .site-submenu a { padding: 10px; font-size: .78rem; white-space: normal; }
  .hero { padding-top: 70px; padding-bottom: 78px; }
  .hero-emblem { left: auto; right: -62%; top: 513px; width: 100vw; }
  .hero h1 { font-size: clamp(46px, 15vw, 76px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-flow { grid-template-columns: 1fr; gap: 14px; width: 100%; min-height: 0; justify-self: stretch; padding: 24px; }
  .flow-connector { width: 1px; height: 22px; margin-left: 9px; background: linear-gradient(180deg, var(--line), rgba(143, 194, 255, .46)); }
  .flow-connector::after { right: auto; left: -2px; top: auto; bottom: -2px; width: 5px; height: 5px; border: 0; background: rgba(143, 194, 255, .62); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: none; }
  .section-block { padding: 88px 0 94px; }
  .section-heading, .contact-inner { grid-template-columns: 1fr; gap: 20px; }
  .strength-list { grid-template-columns: 1fr; }
  .strength-list article, .strength-list article + article { min-height: auto; padding: 24px 0; border-left: 0; }
  .service-row { grid-template-columns: 46px 1fr 22px; gap: 13px; padding: 24px 0; }
  .service-row h3 { font-size: 21px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list > li:first-child { padding-left: 0; }
  .flow-list > li, .flow-list > li + li, .flow-list > li:nth-child(n+4) { min-height: auto; padding: 23px 0; border-left: 0; border-top: 1px solid var(--line); }
  .flow-list > li:first-child { border-top: 0; }
  .contact-band { padding: 88px 0 96px; }
  .contact-inner .section-label { top: 0; }
  .contact-inner .button { width: 200px; min-height: 56px; padding: 15px 18px; font-size: 13px; transform: none; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 18px; }
}
