:root {
  --black: #05080f;
  --ink-dark: #0b111c;
  --blue: #2ba6f2;
  --blue-deep: #0068ac;
  --ink: #141a24;
  --muted: #5d6676;
  --line: #e3e7ee;
  --tint: #f4f6f9;
  --white: #fff;
  --radius: 12px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Montserrat", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.85; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.pc { display: none; }
@media (min-width: 860px) { .pc { display: inline; } }
.nw { display: inline-block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { display: block; height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--blue-deep); }
.nav .nav-cta { background: var(--black); color: #fff; padding: 9px 20px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--blue-deep); color: #fff; }
.nav-toggle, .nav-button { display: none; }
@media (max-width: 880px) {
  .nav-button { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-button span, .nav-button span::before, .nav-button span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--black); position: relative; transition: .2s; }
  .nav-button span::before { position: absolute; top: -7px; }
  .nav-button span::after { position: absolute; top: 7px; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav .nav-cta { border-radius: 0; text-align: center; }
  .nav-toggle:checked ~ .nav { max-height: 420px; }
  .nav-toggle:checked + .nav-button span { background: transparent; }
  .nav-toggle:checked + .nav-button span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-button span::after { top: 0; transform: rotate(-45deg); }
}
@media (max-width: 420px) { .logo-img { height: 24px; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 128px 0 56px; background: var(--black) url("hero.svg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,15,.85) 0%, rgba(5,8,15,.55) 45%, rgba(5,8,15,0) 75%); }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--blue); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: .04em; }
.lead { margin-top: 28px; font-size: clamp(15px, 1.7vw, 17px); color: rgba(255,255,255,.85); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 176px; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: .2s; font-family: inherit; }
.btn-primary { background: var(--blue); color: #04121f; }
.btn-primary:hover { background: #5cbcf6; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.facts { position: relative; z-index: 1; list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.facts li { padding: 24px 20px 0 0; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.6; }
.facts strong { display: block; font-family: var(--font-en); font-size: 34px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 6px; }
.facts strong span { font-family: var(--font); font-size: 15px; margin-left: 3px; color: var(--blue); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 10px; } .facts strong { font-size: 26px; } .hero { padding-top: 96px; } }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink-dark); color: #fff; }
.section-head { margin-bottom: 52px; max-width: 760px; }
.section-label { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--blue-deep); margin-bottom: 12px; }
.section-dark .section-label, .contact .section-label { color: var(--blue); }
.section-head h2, .media h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; color: var(--black); }
.section-dark .section-head h2 { color: #fff; }
.section-head p:not(.section-label) { margin-top: 16px; color: var(--muted); }
.section-dark .section-head p:not(.section-label) { color: rgba(255,255,255,.65); }
@media (max-width: 760px) { .section { padding: 76px 0; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px 34px; background: #fff; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.service-no { font-family: var(--font-en); font-size: 14px; font-weight: 800; color: var(--blue-deep); letter-spacing: .1em; }
.service h3 { font-size: 24px; color: var(--black); margin: 8px 0 12px; }
.service-lead { font-weight: 600; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.checks li { position: relative; padding: 8px 0 8px 22px; border-top: 1px dashed var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.service-sub { margin-top: 28px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px 28px; }
.case-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); border: 1px solid rgba(43,166,242,.5); padding: 2px 12px; border-radius: 999px; }
.case h3 { font-size: 18px; margin: 14px 0 12px; }
.case-result { color: rgba(255,255,255,.7); font-size: 13px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.case-result strong { display: block; font-family: var(--font-en); font-size: 30px; color: #fff; line-height: 1.3; }
.case p:last-child { font-size: 14px; color: rgba(255,255,255,.72); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* Media */
.media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.media-body p:not(.section-label) { margin-top: 18px; color: var(--muted); }
.media-body h2 { margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--blue-deep); text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.media-card { aspect-ratio: 4 / 3; border-radius: 16px; padding: 36px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(43,166,242,.55), transparent 55%), linear-gradient(135deg, #05080f, #0a2440); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 48px rgba(5,8,15,.18); }
.media-card-label { font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--blue); font-weight: 700; }
.media-card-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.35; }
.media-card-url { font-family: var(--font-en); font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .media { grid-template-columns: 1fr; } }
.download { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border: 1px solid var(--line); border-radius: 16px; background: #fff; border-left: 4px solid var(--blue); }
.download-label { font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--blue-deep); font-weight: 700; }
.download h3 { font-size: 22px; font-weight: 800; color: var(--black); margin: 4px 0 10px; }
.download-title { font-weight: 700; }
.download-desc { margin-top: 6px; color: var(--muted); font-size: 14px; }
.download-btn { flex-direction: column; gap: 2px; flex-shrink: 0; }
.download-meta { font-size: 12px; font-weight: 500; opacity: .75; }
@media (max-width: 760px) { .download { flex-direction: column; align-items: flex-start; padding: 28px 24px; } .download-btn { width: 100%; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.value span { font-family: var(--font-en); font-weight: 800; color: var(--blue); }
.value h3 { font-size: 19px; margin: 6px 0 10px; color: var(--black); }
.value p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.company { margin: 0; border-top: 2px solid var(--black); }
.company div { display: grid; grid-template-columns: 130px 1fr; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.company dt { font-weight: 700; color: var(--black); }
.company dd { margin: 0; }
.profile-card { background: var(--tint); border-radius: var(--radius); padding: 34px; margin-top: 8px; }
.profile-role { font-size: 13px; color: var(--muted); font-weight: 600; }
.profile-name { font-size: 26px; font-weight: 800; color: var(--black); margin: 4px 0 20px; }
.profile-name span { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.career { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.career li { position: relative; padding: 8px 0 8px 18px; border-top: 1px dashed #d4dae3; }
.career li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.profile-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .company div { grid-template-columns: 1fr; } }

/* News */
.news { list-style: none; padding: 0; margin: 0; }
.news li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news time { font-family: var(--font-en); font-weight: 700; color: var(--black); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

/* Contact */
.contact { background: var(--black) url("hero.svg") center / cover no-repeat; color: #fff; text-align: center; position: relative; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(5,8,15,.82); }
.contact-inner { position: relative; }
.contact h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin-bottom: 20px; }
.contact p { color: rgba(255,255,255,.82); }
.contact-form { max-width: 640px; margin: 44px auto 0; text-align: left; display: grid; gap: 18px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: 14px; font-weight: 700; color: #fff; }
.contact-form .req { margin-left: 8px; font-size: 11px; font-weight: 700; color: #04121f; background: var(--blue); padding: 1px 8px; border-radius: 999px; vertical-align: 2px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(43,166,242,.6); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .cf-turnstile { min-height: 65px; }
.contact-form button { justify-self: center; border: 0; cursor: pointer; }
.form-note { text-align: center; font-size: 12px; }
.contact .form-note { color: rgba(255,255,255,.6); }

/* Footer */
.site-footer { background: #020408; color: rgba(255,255,255,.6); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; flex-wrap: wrap; gap: 8px; }
.footer-logo img { display: block; height: 26px; width: auto; }

/* Result & 404 pages */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { color: var(--black); font-size: 28px; }
.notfound p:not(.section-label) { margin: 16px 0 32px; color: var(--muted); }
.result-logo img { height: 34px; width: auto; }
.result-actions { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.facts-note { position: relative; z-index: 1; margin-top: 18px; font-size: 11px; color: rgba(255,255,255,.45); }
