:root {
  color-scheme: light;
  --ink: #13233f;
  --navy: #13233f;
  --navy-deep: #0b172b;
  --navy-2: #1e3a63;
  --blue: #3f5f8a;
  --blue-bright: #6f91bd;
  --sky: #dce7f3;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --muted: #5f6d80;
  --subtle: #8691a0;
  --line: #d8e0ea;
  --line-dark: rgba(255, 255, 255, .16);
  --gold: #bca16d;
  --gold-soft: #d7c49e;
  --green: #2d6a5f;
  --red: #a64141;
  --shadow: 0 24px 70px rgba(19, 35, 63, .14);
  --radius: 2px;
  --maxw: 1240px;
  --font: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(19, 35, 63, .025) 1px, transparent 1px);
  background-size: 80px 100%;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 20px; font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; }
h1 { font-size: clamp(2.8rem, 1.75rem + 4.2vw, 6.5rem); }
h2 { font-size: clamp(2rem, 1.45rem + 2vw, 3.7rem); }
h3 { margin: 0 0 10px; font-size: 1.14rem; line-height: 1.55; }
p { margin-bottom: 1em; }
a { color: var(--navy-2); text-underline-offset: 4px; }
a:hover { color: var(--blue); }

.container { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: clamp(20px, 4vw, 52px); }
section { padding-block: clamp(80px, 10vw, 150px); }

.skip-link { position: absolute; top: -80px; left: 18px; z-index: 100; padding: .65rem 1rem; color: #fff; background: var(--navy); transition: top .18s ease; }
.skip-link:focus { top: 18px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(19, 35, 63, .1); background: rgba(247, 249, 252, .9); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.72rem; font-weight: 600; letter-spacing: -.055em; line-height: 1; text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand-amp { margin-inline: .07em; color: var(--gold); font-size: .77em; font-style: italic; }
.brand-co { font-size: .74em; letter-spacing: -.04em; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: none; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav-links a { position: relative; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 960px) { .nav-links { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 48px; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: var(--radius); font: inherit; font-size: .9rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 30px rgba(19, 35, 63, .16); }
.btn-primary:hover { color: #fff; background: var(--navy-2); }
.btn-ghost { color: var(--navy); border-color: var(--line); background: rgba(255, 255, 255, .72); }
.btn-ghost:hover { color: var(--navy); border-color: var(--blue); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.9; }

.hero { position: relative; min-height: min(820px, calc(100svh - 78px)); display: grid; align-content: space-between; padding-block: clamp(100px, 12vw, 170px) 0; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; opacity: .48; background: linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .06) 80px), linear-gradient(180deg, transparent 0 79px, rgba(255, 255, 255, .05) 80px), radial-gradient(circle at 76% 42%, rgba(63, 95, 138, .65), transparent 27%), linear-gradient(135deg, #0b172b 0%, #13233f 48%, #1e3a63 100%); background-size: 80px 80px, 80px 80px, auto, auto; }
.hero-bg::after { content: ""; position: absolute; top: 0; right: 0; width: min(44vw, 660px); height: 100%; opacity: .14; background: linear-gradient(90deg, var(--navy-deep), transparent 35%), url("../img/hero-consulting.png") 62% center / cover no-repeat; filter: saturate(.35) contrast(1.1); mix-blend-mode: luminosity; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { margin-bottom: 30px; color: #fff; font-size: clamp(3rem, 1.85rem + 4.6vw, 6.7rem); line-height: 1.23; text-shadow: 0 20px 70px rgba(0, 0, 0, .22); }
.hero .lead { max-width: 680px; color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 38px; }
.hero .btn-primary { color: var(--navy); background: #fff; box-shadow: 0 18px 45px rgba(0, 0, 0, .18); }
.hero .btn-primary:hover { color: var(--navy); background: var(--sky); }
.text-link { display: inline-flex; align-items: center; gap: 28px; padding-block: 10px; color: rgba(255, 255, 255, .82); border-bottom: 1px solid rgba(255, 255, 255, .28); font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #fff; border-color: var(--gold); }
.hero-graphic { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: end; width: 100%; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; }
.hero-graphic::before { content: "a"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-family: Georgia, serif; font-size: clamp(7rem, 17vw, 15rem); font-style: italic; line-height: 1; transform: translateY(-3%); }
.orbit, .hero-axis { position: absolute; pointer-events: none; }
.orbit { border: 1px solid rgba(215, 196, 158, .38); border-radius: 50%; }
.orbit-a { inset: 14%; }
.orbit-b { inset: 31%; border-color: rgba(255, 255, 255, .18); }
.hero-axis { background: rgba(255, 255, 255, .12); }
.axis-x { top: 50%; right: -10%; left: -10%; height: 1px; }
.axis-y { top: -10%; bottom: -10%; left: 50%; width: 1px; }
.graphic-label, .graphic-index { position: absolute; color: rgba(255, 255, 255, .58); font-size: .62rem; font-weight: 700; letter-spacing: .18em; }
.label-a { top: 18%; right: -2%; }
.label-b { bottom: 17%; left: -4%; }
.graphic-index { right: 7%; bottom: 4%; color: var(--gold-soft); }
.hero-foot { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line-dark); }
.hero-foot span { padding: 20px 0; color: rgba(255, 255, 255, .5); border-right: 1px solid var(--line-dark); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-foot span:not(:first-child) { padding-left: 20px; }
.hero-foot span:last-child { border-right: 0; }

.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .75fr); gap: clamp(50px, 10vw, 150px); align-items: start; }
.intro h2 { color: var(--navy); }
.intro-copy { padding-top: 38px; border-top: 1px solid var(--line); }
.intro-copy p { color: var(--muted); }
.intro-copy .intro-lead { color: var(--navy); font-size: 1.18rem; line-height: 1.9; }

.support-section { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: clamp(30px, 8vw, 110px); align-items: end; margin-bottom: clamp(42px, 7vw, 82px); }
.section-head > p { margin-bottom: 8px; color: var(--muted); }
.section-head h2 { color: var(--navy); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 310px; padding: clamp(28px, 4vw, 50px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .55); transition: color .28s ease, background .28s ease; }
.service-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.service-card:hover { color: #fff; background: var(--navy-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-no { display: block; margin-bottom: clamp(50px, 6vw, 86px); color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.service-card h3 { color: var(--navy); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.service-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: .94rem; }
.service-arrow { position: absolute; top: 32px; right: 36px; color: var(--gold); font-size: 1.1rem; }
.service-card:hover h3, .service-card:hover p { color: #fff; }
.service-card:hover .service-no { color: var(--gold-soft); }

.process-section { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.process-section::before { content: "arca&co."; position: absolute; right: -2vw; bottom: -12vw; color: rgba(255, 255, 255, .028); font-family: Georgia, serif; font-size: 20vw; white-space: nowrap; }
.process-grid { position: relative; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 130px); }
.process-section h2, .process-section h3 { color: #fff; }
.process-section .eyebrow { color: var(--gold-soft); }
.process-section .lead { max-width: 500px; color: rgba(255, 255, 255, .67); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.process-list li { display: grid; grid-template-columns: 48px minmax(140px, .65fr) minmax(0, 1fr); gap: 20px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.process-list strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; }
.process-list span:last-child { color: rgba(255, 255, 255, .63); font-size: .9rem; }
.step-no { color: var(--gold-soft); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }

.diagnosis-section { background: #fff; }
.diagnosis-section .section-head { display: block; max-width: 760px; }
.diagnosis-section .section-head .lead { max-width: 700px; }
.progress-card { position: sticky; top: 78px; z-index: 10; margin-bottom: 24px; padding: 18px 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(19, 35, 63, .07); backdrop-filter: blur(14px); }
.progress-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); font-size: .84rem; }
.progress-label strong { color: var(--navy); }
.progress-track, .category-track { height: 3px; overflow: hidden; background: var(--sky); }
.progress-track span, .category-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width .3s ease; }
.question-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.question-card { min-width: 0; margin: 0; padding: 25px; border: 1px solid var(--line); background: var(--paper); }
.question-card legend { padding: 0 6px; color: var(--navy); font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.6; }
.question-card label { display: flex; gap: 10px; align-items: flex-start; margin-top: 11px; color: var(--muted); font-size: .88rem; cursor: pointer; }
.question-card input { margin-top: .48em; accent-color: var(--navy-2); }
.question-card label:has(input:checked) { color: var(--navy); font-weight: 700; }
.diagnosis-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.result-panel { margin-top: 46px; padding: clamp(28px, 5vw, 64px); color: #fff; background: var(--navy); box-shadow: var(--shadow); scroll-margin-top: 96px; }
.result-panel[hidden] { display: none; }
.result-panel .eyebrow { color: var(--gold-soft); }
.result-panel h2, .result-panel h3 { color: #fff; }
.result-panel .lead, .result-panel p { color: rgba(255, 255, 255, .72); }
.result-head, .result-grid, .result-cta { display: grid; gap: 34px; }
.result-head { grid-template-columns: 1fr auto; align-items: center; }
.score-ring { width: 124px; height: 124px; display: grid; place-content: center; text-align: center; border: 1px solid var(--gold-soft); border-radius: 50%; }
.score-ring span { font-family: Georgia, serif; font-size: 2.65rem; line-height: 1; }
.score-ring small { margin-top: 4px; color: rgba(255, 255, 255, .58); }
.result-grid { grid-template-columns: 1.15fr .85fr; margin-top: 40px; }
.result-main { padding-right: 34px; border-right: 1px solid var(--line-dark); }
.action-list { padding-left: 1.25rem; color: rgba(255, 255, 255, .78); }
.action-list li { margin-bottom: 10px; }
.category-row { margin-bottom: 18px; }
.category-meta { display: flex; justify-content: space-between; margin-bottom: 7px; color: rgba(255, 255, 255, .72); font-size: .84rem; }
.category-track { background: rgba(255, 255, 255, .12); }
.result-cta { grid-template-columns: 1fr auto; align-items: center; margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.result-cta p { margin: 0; }
.result-cta .btn-primary { color: var(--navy); background: #fff; }

.profile-section { background: linear-gradient(90deg, #eef3f8 0 42%, var(--paper) 42% 100%); }
.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 140px); align-items: center; }
.profile-card { display: grid; grid-template-columns: minmax(110px, 180px) 1fr; gap: 28px; align-items: end; }
.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(19, 35, 63, .12); background: var(--sky); filter: saturate(.5); }
.profile-card h2 { margin-bottom: 8px; }
.profile-card p:last-child { color: var(--blue); font-size: .78rem; letter-spacing: .08em; }
.profile-copy { padding-block: 32px; }
.profile-copy h3 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(1.55rem, 1.2rem + .9vw, 2.2rem); font-weight: 500; }
.profile-copy > p { color: var(--muted); }
.profile-list { margin: 32px 0 0; border-top: 1px solid var(--line); }
.profile-list div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-list dt { color: var(--subtle); font-size: .78rem; font-weight: 700; }
.profile-list dd { margin: 0; color: var(--navy); font-weight: 700; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(40px, 9vw, 130px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 26px 42px 26px 0; color: var(--navy); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 23px; right: 4px; color: var(--blue); font: 300 1.3rem/1 var(--font); }
.faq details[open] summary::after { content: "−"; }
.answer { padding: 0 42px 26px 0; color: var(--muted); font-size: .92rem; }

.contact-section { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(63, 95, 138, .38), transparent 30%), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: auto, 80px 100%; }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 9vw, 120px); align-items: start; }
.contact-section h2 { color: #fff; }
.contact-section .eyebrow { color: var(--gold-soft); }
.contact-section .lead { color: rgba(255, 255, 255, .68); }
.contact-note { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.contact-note strong { display: block; margin-bottom: 4px; color: #fff; }
.contact-note p { margin: 0; color: rgba(255, 255, 255, .58); font-size: .9rem; }
.form-wrap { width: 100%; padding: clamp(26px, 4vw, 42px); border-top: 3px solid var(--gold); color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .87rem; font-weight: 800; }
.req { margin-left: .4em; color: var(--red); font-size: .78em; }
.field input, .field textarea { width: 100%; min-height: 49px; padding: .78rem .9rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(63, 95, 138, .16); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { color: var(--muted); font-size: .83rem; }
.form-status { margin-top: 14px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.form-status.ok { color: var(--green); }
.form-status.ng { color: var(--red); }

.site-footer { padding-block: 32px; color: rgba(255, 255, 255, .58); background: #071120; font-size: .82rem; }
.site-footer a { color: rgba(255, 255, 255, .64); }
.site-footer a:hover { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-brand { margin-right: auto; color: #fff; font: 600 1.35rem/1 Georgia, serif; letter-spacing: -.04em; }

@media (max-width: 900px) {
  .hero-inner, .intro-grid, .section-head, .process-grid, .profile-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { gap: 70px; }
  .hero-graphic { width: min(78vw, 420px); justify-self: center; }
  .intro-grid, .section-head, .process-grid, .profile-grid, .faq-grid, .contact-grid { gap: 44px; }
  .intro-copy { padding-top: 28px; }
  .profile-section { background: linear-gradient(180deg, #eef3f8 0 43%, var(--paper) 43% 100%); }
  .profile-card { max-width: 620px; }
}

@media (max-width: 680px) {
  .container { padding-inline: 18px; }
  .site-header .btn { display: none; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1.48rem; }
  .hero { padding-top: 94px; }
  .hero-bg::after { width: 100%; opacity: .08; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4.3rem); }
  .hero .lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .text-link { width: 100%; justify-content: space-between; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
  .hero-foot span:nth-child(2) { border-right: 0; }
  .hero-foot span:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .service-grid, .question-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .process-list li { grid-template-columns: 34px 1fr; gap: 8px 12px; }
  .process-list span:last-child { grid-column: 2; }
  .progress-card { top: 68px; }
  .result-head, .result-grid, .result-cta { grid-template-columns: 1fr; }
  .score-ring { width: 108px; height: 108px; }
  .result-main { padding-right: 0; padding-bottom: 24px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .result-cta .btn { width: 100%; }
  .profile-card { grid-template-columns: 110px 1fr; gap: 18px; }
  .profile-list div { grid-template-columns: 1fr; gap: 2px; }
  .contact-section .btn { width: 100%; }
  .footer-brand { width: 100%; margin-bottom: 8px; }
}

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