:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --accent: #0088d6;
  --accent-soft: #e6f3fb;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e2e6ee;
  --tint: #f5f7fa;
  --white: #fff;
  --radius: 14px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", 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(1120px, 100% - 48px); margin-inline: auto; }
.pc { display: none; }
@media (min-width: 820px) { .pc { display: inline; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  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; gap: 12px; text-decoration: none; }
.logo-img { display: block; height: 26px; width: auto; }
.logo-text { font-weight: 700; font-size: 12px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.3; }
@media (max-width: 420px) { .logo-text { display: none; } }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.nav .nav-cta { background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle, .nav-button { display: none; }

@media (max-width: 860px) {
  .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(--navy); 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); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1b4b6b 100%);
  color: #fff;
  padding: 104px 0 56px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,136,214,.45), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #7cc6f2; margin-bottom: 20px; }
.hero h1 { font-size: clamp(30px, 5.2vw, 54px); font-weight: 800; letter-spacing: .03em; }
.lead { margin-top: 28px; font-size: clamp(15px, 1.7vw, 17px); color: rgba(255,255,255,.86); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 168px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0073b6; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); }

.facts {
  position: relative; z-index: 1;
  list-style: none; padding: 0; margin: 72px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.facts li { padding: 24px 20px 0 0; font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; }
.facts strong { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.facts strong span { font-size: 15px; margin-left: 2px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .facts strong { font-size: 24px; }
}

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-label { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: var(--navy); }
.section-head p:not(.section-label) { margin-top: 16px; color: var(--muted); }
@media (max-width: 760px) { .section { padding: 72px 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 32px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #c7d6e6; box-shadow: 0 12px 32px rgba(11,37,69,.07); }
.card-no { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.card h3 { font-size: 20px; color: var(--navy); margin: 10px 0 14px; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card { padding: 28px 24px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border-top: 4px solid var(--accent);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; z-index: 1;
  width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.step-no { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.steps h3 { font-size: 19px; color: var(--navy); margin: 6px 0 12px; }
.steps p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Works */
.works { display: grid; gap: 20px; }
.work {
  display: grid; grid-template-columns: 220px 1fr; gap: 8px 40px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.works .work:last-child { border-bottom: 1px solid var(--line); }
.work-meta { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 12px; border-radius: 999px; }
.place { font-size: 14px; color: var(--muted); font-weight: 600; }
.work h3 { font-size: 19px; color: var(--navy); }
.work p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .work { grid-template-columns: 1fr; }
  .work-meta { grid-row: auto; flex-direction: row; align-items: center; }
}

/* Profile */
.profile-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.profile blockquote { margin: 0; font-size: 17px; }
.profile blockquote p + p { margin-top: 20px; }
.profile-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.profile-role { font-size: 13px; color: var(--muted); font-weight: 600; }
.profile-name { font-size: 26px; font-weight: 800; color: var(--navy); margin: 4px 0 20px; }
.profile-name span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; 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 var(--line); }
.career li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.profile-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .profile-body { 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-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

/* Company */
.company { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.company div { display: grid; grid-template-columns: 180px 1fr; padding: 20px 32px; }
.company div + div { border-top: 1px solid var(--line); }
.company dt { font-weight: 700; color: var(--navy); }
.company dd { margin: 0; }
@media (max-width: 560px) { .company div { grid-template-columns: 1fr; padding: 16px 20px; } }

/* Contact */
.contact { background: var(--navy); color: #fff; text-align: center; }
.contact h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 20px; }
.contact p { color: rgba(255,255,255,.85); }
.contact .section-label { color: #7cc6f2; }
.contact .btn { margin-top: 36px; }
.contact-note { margin-top: 14px; font-size: 13px; }

/* Footer */
.site-footer { background: #071a31; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; padding: 28px 0; flex-wrap: wrap; gap: 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { color: var(--navy); font-size: 28px; }
.notfound p:not(.section-label) { margin: 16px 0 32px; color: var(--muted); }
.nw { display: inline-block; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.client-cat { font-weight: 800; color: var(--navy); font-size: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 12px; }
.client-cat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 4px; }
.clients ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.clients li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.clients li small { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .clients { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }

/* Footer logo */
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 22px; width: auto; }

/* Contact form */
.contact-form { max-width: 640px; margin: 40px 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: #fff; background: var(--accent); 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(124,198,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; margin-top: 4px; border: 0; cursor: pointer; }
.contact .contact-form .btn { margin-top: 4px; }
.form-note { text-align: center; font-size: 12px; }
.contact .form-note { color: rgba(255,255,255,.7); }
.result-actions { margin-top: 32px; }
