/* ==========================================================================
   藤崎隆伸 公式サイト — Design System v2 (2026-07-05)
   Shared language with progress-ads.com: flat, zero border-radius,
   navy #0A2540 × blue #2563EB × sky #8AC2FF
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --dark: #0A2540;
  --dark-card: #08203A;
  --dark-border: #16344F;
  --primary: #2563EB;
  --primary-hover: #1D4FD0;
  --sky: #8AC2FF;
  --text: #16202C;
  --text-sub: #5B6878;
  --text-faint: #94A0AE;
  --on-dark: #EAF1FA;
  --on-dark-sub: #9DB2CC;
  --on-dark-faint: #7C93B0;
  --border: #E2E8F0;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --w: 1080px;
  --pad-x: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-jp); font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--sky); color: var(--dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad-x); }
.container-slim { max-width: 800px; margin: 0 auto; padding: 0 var(--pad-x); }

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: var(--w); margin: 0 auto;
  padding: 15px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: .04em; color: var(--dark); }
.nav-primary { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-family: var(--font-en); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; }
.nav-link { padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s ease; }
.nav-link:hover, .nav-link.is-active { border-bottom-color: var(--primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 14px; line-height: 1.5;
  padding: 11px 24px; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--on-dark); }
.btn-white-outline { border-color: rgba(255,255,255,.4); color: var(--on-dark); background: transparent; }
.btn-white-outline:hover { background: rgba(255,255,255,.07); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-en); font-weight: 700; font-size: 11.5px;
  letter-spacing: .2em; color: var(--primary); margin-bottom: 18px; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.section-dark .eyebrow, .eyebrow-sky { color: var(--sky); }
.section-title { font-size: 30px; line-height: 1.5; font-weight: 700; margin-bottom: 14px; }
.section-desc { font-size: 15px; line-height: 1.95; color: var(--text-sub); max-width: 640px; }
.section-head { margin-bottom: 42px; }
.accent { color: var(--primary); }
.section-dark .accent, .accent-sky { color: var(--sky); }

/* ---------- Hero (top page) ---------- */
.hero { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.hero-ring {
  position: absolute; top: 50%; right: -10%; transform: translateY(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,.05) 0 1px, transparent 1px 46px);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--w); margin: 0 auto;
  padding: 80px var(--pad-x) 88px;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px; align-items: center; position: relative;
}
.hero-title { font-size: clamp(38px, 4.5vw, 56px); line-height: 1.3; font-weight: 700; margin-bottom: 10px; }
.hero-en { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .22em; color: var(--sky); margin-bottom: 26px; }
.hero-desc { font-size: 15.5px; line-height: 2; color: var(--on-dark-sub); max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4 / 5; border: 1px solid var(--dark-border);
  overflow: hidden; background: var(--dark-card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: var(--dark); color: var(--on-dark); padding: 60px 0 52px; position: relative; overflow: hidden; }
.page-hero-label { font-family: var(--font-mono); font-size: 12px; color: var(--sky); letter-spacing: .08em; margin-bottom: 14px; }
.page-hero-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.4; font-weight: 700; margin-bottom: 14px; }
.page-hero-desc { font-size: 15px; line-height: 1.9; color: var(--on-dark-sub); max-width: 620px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); padding: 30px 28px; }
.section-alt .card { background: #fff; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.6; }
.card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; }
.card-num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--primary); margin-bottom: 12px; }

/* ---------- Profile block ---------- */
.profile-head { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.profile-photo { aspect-ratio: 4 / 5; border: 1px solid var(--border); overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 35%; }
.profile-name { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.profile-en { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .18em; color: var(--primary); margin-bottom: 14px; }
.profile-role { font-size: 14px; color: var(--text-sub); margin-bottom: 22px; }
.profile-lead { font-size: 15px; line-height: 2.05; color: var(--text); }
@media (max-width: 720px) {
  .profile-head { grid-template-columns: 1fr; gap: 28px; }
  .profile-photo { max-width: 220px; }
}

/* ---------- Timeline ---------- */
.timeline { border-left: 1px solid var(--border); padding-left: 28px; display: flex; flex-direction: column; gap: 34px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 8px;
  width: 9px; height: 9px; background: var(--primary);
}
.timeline-year { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; color: var(--primary); margin-bottom: 6px; }
.timeline-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 22px 6px; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.7;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--primary); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 6px 22px; font-size: 14px; color: var(--text-sub); line-height: 1.95; }

/* ---------- Table (company) ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th, .info-table td { text-align: left; padding: 19px 6px; font-size: 15px; font-weight: 500; vertical-align: top; line-height: 1.9; }
.info-table th { color: var(--text-sub); width: 200px; }

/* ---------- Media list ---------- */
.media-item { background: #fff; border: 1px solid var(--border); padding: 28px 30px; margin-bottom: 16px; }
.media-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.6; }
.media-item p { font-size: 13.5px; color: var(--text-sub); line-height: 1.9; }
.media-source { font-family: var(--font-mono); font-size: 11.5px; color: var(--primary); margin-bottom: 10px; }
.media-link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 1px; }

/* ---------- Quote / blockquote ---------- */
.quote-box { background: var(--bg-alt); border-left: 3px solid var(--primary); padding: 22px 26px; margin: 26px 0; font-size: 14.5px; line-height: 2; color: var(--text-sub); }

/* ---------- CTA ---------- */
.cta-dark { text-align: center; position: relative; overflow: hidden; }
.cta-dark-title { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.55; font-weight: 700; margin-bottom: 16px; }
.cta-dark-desc { color: var(--on-dark-sub); margin-bottom: 30px; }
.cta-dark-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Privacy prose ---------- */
.prose h2 { font-size: 20px; margin-bottom: 16px; }
.prose h3 { font-size: 15.5px; margin: 30px 0 10px; }
.prose p, .prose li { font-size: 14.5px; line-height: 1.95; color: var(--text-sub); }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose a { color: var(--primary); border-bottom: 1px solid var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-inner { max-width: var(--w); margin: 0 auto; padding: 56px var(--pad-x) 30px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.footer-links a { color: var(--on-dark-faint); transition: color .2s ease; }
.footer-links a:hover { color: var(--sky); }
.footer-note { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-faint); }
.footer-note a { color: var(--sky); }
.footer-note p { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --pad-x: 20px; }
  .site-header .nav-primary { display: none; }
  .site-header.nav-open .nav-primary {
    display: flex; position: fixed; top: 61px; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 90; flex-direction: column; align-items: flex-start;
    padding: 30px 24px; gap: 24px; overflow-y: auto;
  }
  .site-header.nav-open .nav-links { flex-direction: column; align-items: flex-start; gap: 20px; font-size: 15px; }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .section-title { font-size: 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px var(--pad-x) 60px; }
  .hero-photo { max-width: 240px; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .info-table th { width: 120px; }
}
@media (max-width: 560px) {
  .hero-cta .btn, .cta-dark-buttons .btn { width: 100%; text-align: center; }
}
