:root {
  color-scheme: light dark;
  --ink: #18384a;
  --muted: #4e6571;
  --blue: #386f91;
  --blue-deep: #204e69;
  --blue-pale: #e4f0f5;
  --paper: #f7fafb;
  --surface: #f9fbfc;
  --line: #d6e0e5;
  --dark: #142b38;
  --dark-ink: #f2f7f9;
  --dark-muted: #c4d2d9;
  --content: 1200px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.7; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #b7d8e8; color: #152f3f; }
.section-shell { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.section-space { padding-block: 128px; }
.section-label { margin: 0; color: var(--blue); font-size: .74rem; font-weight: 700; letter-spacing: .13em; }
.skip-link { position: absolute; z-index: 20; inset: 8px auto auto 8px; transform: translateY(-160%); background: var(--surface); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent); }
.header-inner { width: min(calc(100% - 64px), 1360px); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.logo-window { position: relative; display: block; width: 190px; height: 56px; overflow: hidden; background: #fff; }
.logo-window img { display: block; width: 300%; height: auto; max-width: none; transform: translate(-33.2%, -40.2%); mix-blend-mode: multiply; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.7vw, 42px); }
.primary-nav a { text-decoration: none; font-size: .84rem; font-weight: 600; transition: color .2s ease; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav .nav-cta { padding: 12px 20px; background: var(--blue-deep); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

.hero { min-height: 700px; position: relative; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(320px, .93fr); align-items: center; gap: 48px; padding-block: 86px 112px; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 12.5em; margin: 0; font-size: clamp(2.35rem, 4vw, 3.5rem); line-height: 1.3; letter-spacing: -.045em; font-weight: 700; }
.hero-lead { max-width: 39rem; margin: 26px 0 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.9; }
.button { min-width: 190px; min-height: 58px; display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; padding: 0 21px; text-decoration: none; font-size: .93rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue-deep); color: #f7fafb; }
.button-primary:hover { background: var(--ink); }
.button span { font-size: 1.1rem; }
.hero-note { margin: 13px 0 0; color: var(--muted); font-size: .76rem; }
.hero-visual { position: relative; min-height: 448px; overflow: hidden; background: var(--blue-pale); }
.hero-visual::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; left: 12%; top: 19%; border: 1px solid color-mix(in srgb, var(--blue) 35%, transparent); border-radius: 50%; }
.hero-visual::after { content: ""; position: absolute; width: 44%; aspect-ratio: 1; right: -10%; top: -14%; border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent); border-radius: 50%; }
.arch-line { position: absolute; width: 56%; height: 70%; border: 2px solid var(--blue); border-bottom: 0; border-radius: 55% 55% 0 0; }
.arch-line-back { left: 10%; top: 24%; transform: rotate(-16deg); opacity: .42; }
.arch-line-front { right: 14%; top: 18%; border-color: var(--blue-deep); transform: rotate(17deg); }
.visual-caption { position: absolute; z-index: 1; top: 12%; left: 8%; right: 8%; display: flex; align-items: center; justify-content: space-between; color: var(--blue-deep); font-size: .68rem; font-weight: 700; letter-spacing: .05em; }
.visual-caption b { width: 28px; height: 1px; background: var(--blue); }
.visual-stamp { position: absolute; z-index: 2; right: 9%; bottom: 11%; padding: 16px 20px; background: var(--blue-deep); color: #fff; font-size: .92rem; font-weight: 700; line-height: 1.65; letter-spacing: .08em; }
.hero-bottom { position: absolute; inset: auto 0 28px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .14em; }

.problem-band { background: var(--dark); color: var(--dark-ink); padding-block: 112px; }
.problem-layout { display: block; }
.problem-layout > div { max-width: 730px; margin-left: auto; }
.problem-band .section-label { color: #a9cfe1; }
.problem-band h2 { max-width: 18em; margin: -8px 0 24px; font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.45; letter-spacing: -.035em; }
.problem-band p:not(.section-label) { max-width: 61ch; color: var(--dark-muted); }
.problem-band p:not(.section-label) + p { margin-top: 16px; }

.section-heading { max-width: 660px; }
.section-heading h2, .approach-intro h2, .future-layout h2, .contact-layout h2 { margin: 14px 0 18px; font-size: clamp(2rem, 3.6vw, 3.15rem); line-height: 1.4; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 58ch; margin: 0; color: var(--muted); }
.service-list { margin-top: 68px; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 145px minmax(0, 1fr) minmax(190px, .72fr); gap: 35px; align-items: start; padding: 35px 0 38px; border-bottom: 1px solid var(--line); }
.service-index { margin: 7px 0 0; color: var(--blue); font-size: .86rem; font-weight: 700; font-feature-settings: "tnum"; }
.service-index span { display: block; margin-top: 3px; color: var(--muted); font-size: .58rem; letter-spacing: .11em; }
.service-main h3 { margin: 0 0 12px; font-size: 1.45rem; letter-spacing: -.025em; }
.service-main p { max-width: 54ch; margin: 0; color: var(--muted); font-size: .93rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 3px 0 0; padding: 0; list-style: none; }
.service-tags li { padding: 7px 9px; color: var(--blue-deep); background: var(--blue-pale); font-size: .72rem; font-weight: 600; }
.service-note { display: grid; grid-template-columns: 145px 1fr; gap: 35px; align-items: center; padding: 25px 0 0; }
.service-note p { margin: 0; color: var(--muted); font-size: .83rem; }
.service-note p:first-child { color: var(--blue); font-weight: 700; }
.service-note strong { color: var(--ink); font-size: 1.02rem; }
.service-note span { margin-inline: 9px; }

.approach-section { padding-block: 120px; background: var(--blue-pale); }
.approach-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 8vw; }
.approach-intro { align-self: start; }
.approach-intro h2 { max-width: 12em; }
.approach-points article { display: grid; grid-template-columns: 43px 1fr; gap: 20px; padding: 0 0 25px; }
.approach-points article + article { padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); }
.approach-points article:last-child { padding-bottom: 0; }
.point-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue-deep); border: 1px solid var(--blue); border-radius: 50%; font-size: .76rem; font-weight: 700; }
.approach-points h3 { margin: 0 0 7px; font-size: 1.08rem; }
.approach-points p { max-width: 53ch; margin: 0; color: var(--muted); font-size: .88rem; }

.flow-heading { max-width: 780px; }
.flow-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 58px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { position: relative; padding: 20px 20px 0 0; }
.flow-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.flow-list li span { color: var(--blue); font-size: .76rem; font-weight: 700; font-feature-settings: "tnum"; }
.flow-list h3 { margin: 10px 0 7px; font-size: .95rem; }
.flow-list p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }

.future-section { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-ink); padding-block: 108px; }
.future-layout { position: relative; display: block; }
.future-layout > div { max-width: 730px; margin-left: auto; }
.future-section .section-label { color: #a9cfe1; }
.future-layout h2 { position: relative; z-index: 1; max-width: 14em; }
.future-layout p:not(.section-label) { position: relative; z-index: 1; max-width: 58ch; color: var(--dark-muted); }
.future-arc { position: absolute; width: 440px; height: 300px; right: -60px; bottom: -175px; border: 1px solid #47748c; border-bottom: 0; border-radius: 50% 50% 0 0; opacity: .65; }

.company-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-list div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--muted); font-size: .85rem; }
.company-list dd { margin: 0; font-size: .88rem; }

.contact-section { background: var(--blue); color: #f7fafb; padding-block: 88px; }
.contact-layout { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-layout .section-label { color: #e0f1f8; }
.contact-layout h2 { max-width: 13em; margin-bottom: 14px; }
.contact-layout p:not(.section-label) { max-width: 54ch; margin: 0; color: #eff7fa; }
.button-light { flex: none; min-width: 215px; background: #f7fafb; color: var(--blue-deep); }
.button-light:hover { background: #eaf4f8; }
.button-light:focus-visible { outline-color: #f7fafb; }
.site-footer { background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 145px; }
.footer-brand .logo-window { width: 160px; height: 47px; }
.footer-inner > p { margin: 0; font-size: .82rem; font-weight: 700; }
.footer-inner > p span { color: var(--muted); font-size: .72rem; font-weight: 400; }
.back-to-top { color: var(--muted); font-size: .76rem; text-decoration: none; }
.back-to-top span { padding-left: 8px; color: var(--blue); }
.copyright { border-top: 1px solid var(--line); padding-block: 14px; color: var(--muted); font-size: .69rem; }

@media (prefers-color-scheme: dark) {
  :root { --ink: #eaf2f6; --muted: #bdcbd2; --blue: #abd3e6; --blue-deep: #a6cde0; --blue-pale: #203746; --paper: #111c23; --surface: #182832; --line: #344852; --dark: #0b151b; --dark-ink: #edf4f7; --dark-muted: #becdd4; }
  .primary-nav .nav-cta, .button-primary { color: #122c3b; background: #abd3e6; }
  .primary-nav .nav-cta:hover, .button-primary:hover { background: #d0e6f0; color: #122c3b; }
  .logo-window { background: #fff; }
  .service-tags li { color: #d7edf7; }
  .contact-section { background: #234b62; }
  .button-light { background: #edf5f8; color: #173b50; }
  .button-light:hover { background: #f7fafb; }
  .visual-stamp { color: #112c3b; background: #abd3e6; }
}

@media (max-width: 980px) {
  .section-shell, .header-inner { width: min(calc(100% - 48px), var(--content)); }
  .header-inner { gap: 20px; }
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: .76rem; }
  .primary-nav .nav-cta { padding: 10px 14px; }
  .hero { grid-template-columns: 1fr .8fr; gap: 25px; min-height: 630px; }
  .hero-visual { min-height: 390px; }
  .service-item { grid-template-columns: 100px 1fr; }
  .service-tags { grid-column: 2; }
  .flow-list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .flow-list li:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .section-shell, .header-inner { width: min(calc(100% - 40px), var(--content)); }
  .section-space { padding-block: 82px; }
  .header-inner { min-height: 68px; }
  .logo-window { width: 150px; height: 44px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0 12px 12px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .75rem; font-weight: 700; }
  .menu-icon { width: 18px; display: grid; gap: 5px; }
  .menu-icon i { display: block; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .primary-nav .nav-cta { margin-top: 13px; padding: 13px 16px; border: 0; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding-block: 72px 87px; }
  h1 { font-size: clamp(2.1rem, 9vw, 3.15rem); line-height: 1.35; }
  .hero-lead { margin: 20px 0 23px; font-size: .94rem; }
  .button { min-height: 54px; }
  .hero-visual { min-height: 310px; }
  .hero-bottom { bottom: 23px; font-size: .52rem; letter-spacing: .1em; }
  .problem-band { padding-block: 76px; }
  .problem-layout, .approach-layout, .future-layout, .company-section { grid-template-columns: 1fr; gap: 28px; }
  .problem-band h2 { margin-top: 0; font-size: 2rem; }
  .problem-band p:not(.section-label) { font-size: .9rem; }
  .section-heading h2, .approach-intro h2, .future-layout h2, .contact-layout h2 { font-size: 2rem; }
  .section-heading > p:last-child { font-size: .9rem; }
  .service-list { margin-top: 42px; }
  .service-item { grid-template-columns: 1fr; gap: 11px; padding-block: 25px; }
  .service-index { margin: 0; }
  .service-index span { display: inline; margin-left: 8px; }
  .service-main h3 { font-size: 1.25rem; }
  .service-tags { grid-column: 1; margin-top: 5px; }
  .service-note { grid-template-columns: 1fr; gap: 8px; }
  .approach-section { padding-block: 78px; }
  .approach-points article { grid-template-columns: 36px 1fr; gap: 15px; }
  .approach-points h3 { font-size: 1rem; }
  .approach-points p { font-size: .85rem; }
  .flow-list { grid-template-columns: 1fr 1fr; row-gap: 23px; margin-top: 38px; }
  .flow-list li { padding: 16px 12px 0 0; }
  .flow-list li + li { padding-left: 13px; }
  .flow-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .flow-list h3 { font-size: .9rem; }
  .flow-list p { font-size: .76rem; }
  .future-section { padding-block: 78px; }
  .future-layout { gap: 15px; }
  .future-layout p:not(.section-label) { font-size: .9rem; }
  .future-arc { width: 270px; height: 210px; right: -80px; bottom: -150px; }
  .company-section { gap: 28px; }
  .company-list div { grid-template-columns: 104px 1fr; gap: 15px; }
  .company-list dt, .company-list dd { font-size: .82rem; }
  .contact-section { padding-block: 70px; }
  .contact-layout { display: grid; align-items: start; gap: 28px; }
  .contact-layout p:not(.section-label) { font-size: .9rem; }
  .button-light { width: 100%; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 12px; min-height: 130px; }
  .footer-brand { grid-column: 1; }
  .footer-inner > p { grid-column: 1; grid-row: 2; }
  .back-to-top { grid-column: 2; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
