/* ==========================================================================
   藤崎隆伸 公式サイト — v3 (2026-07-05)
   Model: kandamasanori.com（神田昌典公式サイト）の実物観察に基づく移植
   Language: 白 × ネイビー × ブルー（PROGRESSブランド準拠）。巨大英字タイポ、落款(seal)、黒▶ボタン、
             朱帯ページヘッダー、セクションは白/薄灰の交互バンド
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --band: #F5F7FA;          /* PROGRESS alt */
  --band-dark: #0A2540;     /* PROGRESS navy */
  --black: #0A2540;         /* header/footer/buttons = PROGRESS navy */
  --ink: #0A2540;
  --text: #16202C;
  --text-sub: #5B6878;
  --border: #E2E8F0;
  --vermilion: #2563EB;     /* accent = PROGRESS blue（変数名は互換のため維持） */
  --sky: #8AC2FF;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-seal: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --w: 1080px;
  --pad-x: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-jp); font-size: 15px; 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(--black); }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 2px; }

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

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ==========================================================================
   Header — 黒帯。左に運営会社の小ロゴ＋「藤崎隆伸公式サイト」テキスト、右にナビ
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); }
.site-header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 28px;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.brand-mark img { height: 22px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: rgba(255,255,255,.3); flex: none; }
.brand-name { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }

.nav-primary { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 500; }
.nav-link { color: #fff; padding: 18px 0; opacity: .92; transition: opacity .2s ease; }
.nav-link:hover, .nav-link.is-active { opacity: 1; color: var(--sky); }
.nav-link.is-active { color: #fff; border-bottom: 2px solid var(--sky); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: #fff; display: block; }

/* ==========================================================================
   Hero（トップ）— 白地・巨大英字・落款
   ========================================================================== */
.hero { background: var(--white); position: relative; overflow: hidden; }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 84px 28px 96px; position: relative; }
.hero-en {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(44px, 7vw, 92px); line-height: 1.04;
  letter-spacing: .02em; color: var(--ink);
}
.hero-en .official { display: block; font-weight: 500; font-size: .52em; margin-top: 8px; letter-spacing: .03em; }
.hero-name-jp { margin-top: 18px; font-size: 15px; color: var(--text-sub); letter-spacing: .2em; }
.hero-profile-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 34px;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .14em;
  transition: background .2s ease, color .2s ease;
}
.hero-profile-btn:hover { background: var(--ink); color: #fff; }
.hero-sns { display: flex; gap: 12px; margin-top: 30px; }
.hero-sns a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background .2s ease;
}
.hero-sns a:hover { background: #2563EB; }

/* 落款（朱印） */
.seal {
  position: absolute; top: 40px; right: -30px;
  width: clamp(180px, 24vw, 300px);
  transform: rotate(14deg);
  pointer-events: none;
}
.seal svg { width: 100%; height: auto; display: block; }

/* ==========================================================================
   News band — 薄灰。白い行＋朱枠バッジ＋日付＋タイトル
   ========================================================================== */
.news-band { background: var(--band); padding: 44px 0 52px; }
.news-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.news-row {
  background: #fff;
  display: flex; align-items: center; gap: 18px;
  padding: 13px 18px;
  font-size: 13.5px;
  transition: background .2s ease;
}
a.news-row:hover { background: #EFF4FE; }
.news-badge {
  flex: none;
  border: 1px solid var(--vermilion); border-left: 4px solid var(--vermilion);
  color: var(--ink); background: #fff;
  font-size: 11.5px; padding: 2px 12px; min-width: 108px; text-align: center;
}
.news-date { flex: none; font-family: var(--font-en); font-size: 12.5px; color: var(--text-sub); }
.news-title { min-width: 0; }

/* ==========================================================================
   Sections — 中央寄せの英字大見出し＋日本語小サブ、白/薄灰交互
   ========================================================================== */
.section { padding: 84px 0; }
.section-band { background: var(--band); }
.section-dark { background: var(--band-dark); color: #fff; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-title {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: .12em; color: var(--ink); line-height: 1.3;
}
.section-dark .sec-title { color: #fff; }
.sec-sub { margin-top: 8px; font-size: 12.5px; color: var(--text-sub); letter-spacing: .1em; }
.section-dark .sec-sub { color: #9DB2CC; }

/* 黒▶ボタン */
.btn-k {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: #fff;
  font-size: 13.5px; font-weight: 500; letter-spacing: .06em;
  padding: 13px 34px;
  transition: background .2s ease;
}
.btn-k::before { content: "▶"; font-size: 9px; }
.btn-k:hover { background: #2563EB; }
.btn-k.btn-outline-w { background: transparent; border: 1px solid #fff; }
.btn-k.btn-outline-w:hover { background: rgba(255,255,255,.12); }
.sec-cta { text-align: center; margin-top: 40px; }

/* ---------- Profile preview (top) ---------- */
.profile-preview {
  display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start;
  max-width: 900px; margin: 0 auto;
}
.profile-photo { border: 1px solid var(--border); overflow: hidden; }
.profile-photo img { width: 100%; height: auto; object-fit: cover; }
.profile-titles { font-size: 14px; line-height: 2; color: var(--ink); font-weight: 500; margin-bottom: 18px; }
.profile-text { font-size: 14px; line-height: 2.1; color: var(--text); }
.profile-text p { margin-bottom: 16px; }

/* ---------- Cards (service etc.) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); padding: 28px 26px; }
.section-band .card { border: none; }
.card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; line-height: 1.6; }
.card p { font-size: 13px; color: var(--text-sub); line-height: 1.9; }
.card-en { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .16em; color: var(--vermilion); margin-bottom: 10px; }

/* ---------- Media list ---------- */
.media-item { background: #fff; border: 1px solid var(--border); padding: 26px 28px; margin-bottom: 14px; }
.section-band .media-item { border: none; }
.media-badge {
  display: inline-block;
  border: 1px solid var(--vermilion); border-left: 4px solid var(--vermilion);
  font-size: 11.5px; padding: 2px 12px; margin-bottom: 12px;
}
.media-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.7; }
.media-item p { font-size: 13px; color: var(--text-sub); line-height: 1.9; }
.media-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.media-link::after { content: "→"; }
.media-link:hover { color: var(--vermilion); border-color: var(--vermilion); }

/* ==========================================================================
   Page hero（下層）— 朱帯＋パンくず＋白タイトル
   ========================================================================== */
.page-hero {
  background: var(--black);
  background-image: linear-gradient(100deg, #08203A 0%, #0A2540 55%, #0E2E4E 100%);
  color: #fff; padding: 34px 0 44px;
}
.breadcrumb { font-size: 11.5px; opacity: .85; margin-bottom: 22px; letter-spacing: .04em; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero-title { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.page-hero-desc { font-size: 13.5px; line-height: 1.95; opacity: .95; max-width: 720px; }

/* ---------- Profile page body ---------- */
.profile-full { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.profile-side { position: sticky; top: 88px; }
.profile-body .lede { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 20px; line-height: 2; }
.profile-body p { font-size: 14px; line-height: 2.15; margin-bottom: 18px; }
.profile-note { font-size: 12.5px; color: var(--text-sub); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); background: #fff; }
.faq-item summary {
  padding: 20px 8px; cursor: pointer;
  font-size: 14.5px; font-weight: 500; line-height: 1.8;
  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::before { content: "Q"; font-family: var(--font-en); font-weight: 700; color: var(--vermilion); margin-right: 4px; flex: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--ink); flex: none; margin-left: auto; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 8px 20px 30px; font-size: 13.5px; color: var(--text-sub); line-height: 2; }

/* ---------- Info table (company) ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th, .info-table td { text-align: left; padding: 18px 14px; font-size: 14px; font-weight: 500; vertical-align: top; line-height: 1.9; }
.info-table th { color: var(--text-sub); width: 190px; background: #F5F7FA; font-weight: 500; }

/* ---------- Prose (privacy) ---------- */
.prose h2 { font-size: 19px; margin-bottom: 16px; }
.prose h3 { font-size: 15px; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 13.5px; line-height: 2; color: var(--text-sub); }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose a { color: var(--vermilion); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-box { background: #fff; border: 1px solid var(--border); padding: 44px 40px; text-align: center; max-width: 640px; margin: 0 auto; }
.contact-box p { font-size: 13.5px; color: var(--text-sub); line-height: 2; margin-bottom: 22px; }

/* ==========================================================================
   Footer — 黒
   ========================================================================== */
.site-footer { background: var(--black); color: #fff; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 44px 28px 30px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 24px; font-size: 12px; }
.footer-links a { color: rgba(255,255,255,.75); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-note { font-size: 11px; color: rgba(255,255,255,.55); line-height: 2; }
.footer-note a { color: rgba(255,255,255,.75); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --pad-x: 20px; }
  .site-header .nav-primary { display: none; }
  .site-header.nav-open .nav-primary {
    display: flex; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--black); z-index: 90;
    flex-direction: column; align-items: flex-start;
    padding: 30px 24px; overflow-y: auto;
  }
  .site-header.nav-open .nav-links { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 16px; width: 100%; }
  .site-header.nav-open .nav-link { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hamburger { display: flex; }

  .hero-inner { padding: 56px 20px 200px; }
  .seal { top: auto; bottom: 26px; right: 12px; width: 150px; }
  .section { padding: 60px 0; }
  .profile-preview, .profile-full { grid-template-columns: 1fr; gap: 30px; }
  .profile-photo { max-width: 260px; }
  .profile-side { position: static; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .news-row { flex-wrap: wrap; gap: 8px 14px; }
  .info-table th { width: 110px; }
}
