/* 01. Base */
:root {
  --bj-bg: #0f172a;
  --bj-bg-deep: #080d1c;
  --bj-text: #111827;
  --bj-muted: #64748b;
  --bj-line: #e5e7eb;
  --bj-card: #ffffff;
  --bj-soft: #f8fafc;
  --bj-blue: #38bdf8;
  --bj-purple: #a78bfa;
  --bj-gold: #facc15;
  --bj-radius: 20px;
  --bj-shadow: 0 22px 60px rgba(15, 23, 42, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bj-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* 02. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 17, 35, .88);
  backdrop-filter: blur(16px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bj-gold), var(--bj-blue) 42%, transparent 68%);
  box-shadow: 0 0 22px rgba(56,189,248,.45);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 13px;
}
/* 02-A. Navigation overflow guard */
.header-inner { align-items: center; }
.nav a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
}
.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }

/* 03. Hero */
/* 03-A. Page hero images
   ページごとのヒーロー画像だけをここで管理する。
   新規ページ追加時は body class と画像パスを1行追加する。 */
.page-home { --hero-image: url("/assets/img/hero-bashar-guide.jpg"); }
.page-bashar { --hero-image: url("/assets/img/hero-what-is-bashar.jpg"); }
.page-excitement { --hero-image: url("/assets/img/hero-follow-your-excitement.jpg"); }
.page-belief { --hero-image: url("/assets/img/hero-belief-system.jpg"); }
.page-five-laws { --hero-image: url("/assets/img/hero-five-laws.jpg"); }
.page-misunderstanding { --hero-image: url("/assets/img/hero-misunderstanding.jpg"); }
.page-darryl { --hero-image: url("/assets/img/hero-darryl-anka.jpg"); }
.page-learn { --hero-image: url("/assets/img/hero-learn.jpg"); }
.page-disclaimer,
.page-operator { --hero-image: url("/assets/img/hero-bashar-guide.jpg"); }

/* 03-B. Hero base
   大きなボタンを並べるLP型をやめ、読み物サイトらしい静かな導入にする。 */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(250,204,21,.26), transparent 28%),
    linear-gradient(105deg, rgba(8,13,28,.94) 0%, rgba(8,13,28,.82) 42%, rgba(8,13,28,.32) 100%),
    var(--hero-image, url("../img/hero-bashar-guide.jpg")) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8,13,28,.38));
  z-index: -1;
}
.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 108px 0 92px;
}
.hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(36px, 5.6vw, 66px);
  line-height: 1.22;
  letter-spacing: .025em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 2;
}

/* 03-C. Hero in-page links
   色違いボタンの横並びではなく、記事の入口を示す細い導線として扱う。 */
.hero-trail {
  display: grid;
  gap: 9px;
  width: fit-content;
  margin-top: 38px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.35);
}
.hero-trail a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .03em;
}
.hero-trail a:hover { color: #fff; }
.hero-trail span {
  color: rgba(250,204,21,.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.page-home .hero-inner { padding-top: 124px; padding-bottom: 108px; }
.page-home .hero h1 { max-width: 960px; }

/* 04. Layout */
.main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.notice {
  margin: 38px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,.34);
  border-radius: 14px;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.article {
  width: min(820px, 100%);
  margin: 68px auto;
}
.article h2 {
  margin: 58px 0 18px;
  padding-top: 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  letter-spacing: .02em;
}
.article h3 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.5;
}
.article p { margin: 0 0 1.25em; }
.article ul { padding-left: 1.25em; }
.article li { margin: .2em 0; }
.lead-box {
  padding: 28px;
  border-radius: var(--bj-radius);
  background: linear-gradient(180deg, #ffffff, var(--bj-soft));
  border: 1px solid var(--bj-line);
  box-shadow: 0 16px 42px rgba(15,23,42,.06);
}
.toc {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--bj-radius);
  background: #fff;
  box-shadow: var(--bj-shadow);
}
.toc-title {
  margin: 0 0 12px;
  font-weight: 700;
}
.toc ol {
  margin: 0;
  padding-left: 1.35em;
}
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* 05. Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 10px;
}
.card {
  padding: 22px;
  border-radius: var(--bj-radius);
  background: #fff;
  border: 1px solid var(--bj-line);
  box-shadow: 0 12px 34px rgba(15,23,42,.07);
}
.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.link-card {
  display: block;
  padding: 22px;
  border-radius: var(--bj-radius);
  border: 1px solid var(--bj-line);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.09);
}
.link-card span {
  display: block;
  margin-top: 6px;
  color: var(--bj-muted);
  font-size: 14px;
}

/* 06. Quote / Caution */
.caution {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid rgba(148,163,184,.34);
  border-radius: 14px;
  background: #ffffff;
  color: #334155;
}
.source-list {
  margin-top: 44px;
  padding: 20px;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
}
.source-list a { color: #1d4ed8; }



/* 06-A. Article visuals
   本文内の補助画像。画像は意味が合う箇所だけに入れ、過剰に装飾しない。 */
.article-visual {
  margin: 34px 0 42px;
  border-radius: 22px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 18px 46px rgba(15,23,42,.10);
}
.article-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 07. Breadcrumb */
.breadcrumb {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto 0;
  color: #64748b;
  font-size: 13px;
}
.breadcrumb a { color: #475569; text-decoration: none; }

/* 08. Footer */
.site-footer {
  margin-top: 80px;
  background: var(--bj-bg);
  color: rgba(255,255,255,.78);
}
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  font-size: 13px;
}
.footer-inner a { color: #fff; }

/* 09. Responsive */
@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { flex-wrap: wrap; gap: 10px 14px; }
  .hero-inner { padding: 66px 0 60px; }
  .page-home .hero-inner { padding-top: 76px; padding-bottom: 68px; }
  .hero-trail { margin-top: 28px; }
  .hero-lead { font-size: 16px; }
  .card-grid,
  .link-cards { grid-template-columns: 1fr; }
  .article { margin: 44px auto; }
}