/* ============================================================
   /series/ 共通スタイル — 連載「気づきから組み立てる」
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Base palette (Slate) */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Type accent colors (BEM cells) */
  --type-a: #2563eb;
  --type-b: #0891b2;
  --type-c: #d97706;
  --type-d: #475569;
  --type-e: #059669;

  /* Type accent light variants */
  --type-a-light: #dbeafe;
  --type-b-light: #cffafe;
  --type-c-light: #fed7aa;
  --type-d-light: #e2e8f0;
  --type-e-light: #d1fae5;

  /* Semantic */
  --bg: var(--slate-50);
  --bg-card: var(--white);
  --bg-dark: var(--slate-900);
  --text: var(--slate-800);
  --text-muted: var(--slate-500);
  --text-light: var(--slate-100);
  --border: var(--slate-200);
  --accent: var(--slate-900);

  /* Layout */
  --container: 720px;
  --container-wide: 1080px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== コンテナ ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: var(--container-wide); }

/* ===== セクション共通 ===== */
.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section-dark a { color: var(--slate-300); }
.section-accent {
  background: var(--white);
  border-top: 4px solid var(--type-a);
}
.section-title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 32px;
  text-align: center;
}
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.85;
}

/* ===== ヘッダー ===== */
.site-header {
  background: var(--slate-900);
  padding: 14px 24px;
  border-bottom: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo-link { display: inline-flex; align-items: center; }
.site-header .logo { height: 32px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  color: var(--slate-200);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 0;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--white); text-decoration: none; }
.site-nav .nav-cta {
  background: var(--white);
  color: var(--slate-900);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-left: 8px;
}
.site-nav .nav-cta:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  color: var(--white);
  font-size: 24px;
  padding: 4px 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: var(--text-light);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--type-a) 0%, var(--type-b) 25%, var(--type-c) 50%, var(--type-d) 75%, var(--type-e) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--slate-300);
  margin-bottom: 24px;
}
.hero-target {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.85;
  margin-bottom: 40px;
  padding: 16px 20px;
  border-left: 3px solid var(--slate-700);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 48px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--white);
  color: var(--slate-900);
  box-shadow: var(--shadow);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--slate-500);
}
.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-accent {
  background: var(--type-a);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
.btn-accent:hover { background: #1d4ed8; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32); }

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
  min-height: 56px;
}

/* ===== カード共通 ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card-hover:hover,
.card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--slate-300);
}

/* ===== 問題提起グリッド ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.75;
}
.problem-card-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.pullquote {
  border-left: 4px solid var(--slate-700);
  padding: 20px 28px;
  margin: 32px auto 0;
  max-width: 640px;
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--slate-800);
}
.pullquote strong { color: var(--slate-900); }

/* ===== ポイントカード（このシリーズについて） ===== */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.point-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.point-card-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.point-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}
.point-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ===== A社の物語 ===== */
.story-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.story-table th,
.story-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  line-height: 1.75;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.story-table tr:last-child th,
.story-table tr:last-child td { border-bottom: none; }
.story-table th {
  background: var(--slate-50);
  width: 22%;
  color: var(--slate-700);
  font-weight: 700;
  white-space: nowrap;
}

/* ===== 最新記事 ===== */
.latest-empty {
  background: var(--white);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}
.latest-empty a { color: var(--type-a); font-weight: 600; }

.latest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.latest-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--slate-100);
  color: var(--slate-700);
}

.series-themes {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--slate-100);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate-700);
}
.series-themes strong { color: var(--slate-900); display: block; margin: 6px 0; font-size: 15px; }

/* ===== 4つの地図 ===== */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.framework-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--slate-700);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.framework-card.fw-bem      { border-top-color: var(--slate-700); }
.framework-card.fw-hpi      { border-top-color: var(--type-a); }
.framework-card.fw-kp       { border-top-color: var(--type-b); }
.framework-card.fw-heifetz  { border-top-color: var(--type-c); }
.framework-card h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 4px;
}
.framework-card .fw-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.framework-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ===== About Yasuhito ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}
.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--slate-100);
  border: 1px dashed var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
}
.about-text .about-role {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.about-text p { font-size: 14.5px; margin-bottom: 12px; line-height: 1.85; }
.about-text strong { color: var(--slate-900); }
.about-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--type-a);
  font-weight: 600;
  font-size: 14px;
}

/* ===== 診断シートCTA バナー ===== */
.cta-banner {
  background: linear-gradient(180deg, var(--white) 0%, var(--type-a-light) 100%);
  border: 1.5px solid var(--type-a);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--type-a);
}
.cta-banner h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate-700);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn { margin-top: 8px; }
.cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== 30分相談 ===== */
.consult-list {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.consult-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.75;
}
.consult-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--type-e);
  font-weight: 700;
}

/* ===== メルマガ ===== */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
}
.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--type-a);
  outline-offset: -1px;
  border-color: var(--type-a);
}

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--border); }
.faq-list .faq-body {
  padding: 16px 24px 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ===== フッター ===== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 56px 0 40px;
  font-size: 13px;
  line-height: 1.85;
}
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.site-footer .footer-brand img { height: 28px; }
.site-footer .footer-brand strong { color: var(--white); font-size: 15px; }
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.site-footer .footer-links a { color: var(--slate-300); }
.site-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-800);
  font-size: 12px;
  color: var(--slate-500);
}

/* ===== アクセントバー ===== */
.accent-bar {
  height: 4px;
  width: 56px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* ===== アニメーション ===== */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: slideIn 0.6s ease-out both; }

/* ============================================================
   レスポンシブ
   ============================================================ */

/* タブレット 900px */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 64px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero-visual { aspect-ratio: 16 / 9; max-height: 280px; }

  .point-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .framework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .about-photo { max-width: 220px; }
}

/* モバイル 600px */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section-title { font-size: 22px; margin-bottom: 24px; }

  .hero { padding: 56px 0 48px; }
  .hero-text h1 { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .site-header { padding: 12px 16px; }
  .site-header .logo { height: 28px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--slate-900);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-800);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-800);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle { display: inline-flex; }

  .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .problem-card { padding: 18px; font-size: 14.5px; }

  .framework-grid { grid-template-columns: minmax(0, 1fr); }

  .story-table th,
  .story-table td { padding: 12px 14px; font-size: 13.5px; }
  .story-table th { width: 28%; white-space: normal; }

  .cta-banner { padding: 36px 20px; }

  .newsletter-form { flex-direction: column; gap: 8px; }

  .faq-list summary { padding: 16px 18px; font-size: 14.5px; }
  .faq-list .faq-body { padding: 14px 18px 18px; font-size: 14px; }

  .site-footer { padding: 40px 0 32px; }
  .site-footer .footer-meta { flex-direction: column; gap: 6px; }

  .btn { width: auto; }
  .btn-large { padding: 16px 28px; font-size: 16px; }
}
