/* ==========================================================
   pages.css  -  ページ固有スタイル
   トップページ / 記事詳細 / アーカイブ
========================================================== */


/* ==========================================================
   ヒーローセクション
========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

/* 星フィールドキャンバス（main.js で生成） */
.hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* グロー装飾 */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__glow--top {
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43,78,162,.3) 0%, transparent 70%);
}

.hero__glow--bottom {
  bottom: -100px;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(183,138,67,.1) 0%, transparent 70%);
}

/* 背景画像（全画面） */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__bg--fallback {
  background: linear-gradient(135deg, #020814 0%, #071426 50%, #0d2040 100%);
}

/* 左→右グラデーションオーバーレイ（テキスト可読性確保） */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(4, 11, 24, 0.88) 0%,
      rgba(4, 11, 24, 0.65) 40%,
      rgba(4, 11, 24, 0.25) 70%,
      rgba(4, 11, 24, 0.05) 100%
    ),
    linear-gradient(
      to top,
      rgba(4, 11, 24, 0.5) 0%,
      transparent 30%
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: 140px 120px;
  width: 100%;
}

/* テキストエリア */
.hero__content {
  max-width: 580px;
}

/* テキスト */
.hero__eyebrow {
  font-family: var(--font-logo);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--line-gold);
  margin-bottom: 24px;
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 縦SNSアイコン */
.hero-sns {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-sns__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.hero-sns__icon:hover {
  color: var(--line-gold);
}


/* ==========================================================
   3テーマカードセクション
========================================================== */
.theme-cards-section {
  position: relative;
  overflow: hidden;
}

/* セクション背景画像 */
.theme-cards-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.theme-cards-section__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.theme-cards-section__bg--fallback {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-deep) 100%);
}

.theme-cards-section__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 11, 24, 0.85) 0%,
    rgba(4, 11, 24, 0.65) 50%,
    rgba(4, 11, 24, 0.4)  100%
  );
}

/* コンテナを背景の上に重ねる */
.theme-cards-section > .container {
  position: relative;
  z-index: 1;
}

/* コンセプトヘッダー（カード上部の左揃えテキストブロック） */
.concept-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.concept-header .section-eyebrow {
  margin-bottom: 16px;
}

.concept-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 20px;
}

.concept-header__body {
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.85;
  margin-bottom: 0;
}

.theme-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border-card);
  aspect-ratio: 3/4;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.theme-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--line-soft);
}

/* 背景画像 */
.theme-card__bg {
  position: absolute;
  inset: 0;
}

.theme-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-card:hover .theme-card__bg-img {
  transform: scale(1.05);
}

.theme-card__bg--fallback {
  background: linear-gradient(135deg, #071426 0%, #0d2040 100%);
}

.theme-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 8, 20, 0.6) 0%,
    rgba(2, 8, 20, 0.1) 40%,
    rgba(2, 8, 20, 0.75) 100%
  );
}

/* コンテンツ（全高・上下分割） */
.theme-card__content {
  position: absolute;
  inset: 0;
  padding: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-card__top {
  /* 番号 + タイトル：上部 */
}

.theme-card__bottom {
  /* 説明 + 矢印：下部 */
}

.theme-card__num {
  font-family: var(--font-logo);
  font-size: 2rem;
  color: var(--line-gold);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.theme-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0;
}

.theme-card__desc {
  font-size: 0.8125rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.theme-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--line-gold);
  transition: all var(--transition);
}

.theme-card:hover .theme-card__link {
  background: var(--line-gold);
  color: var(--bg-deep);
}



/* ==========================================================
   扉セクション（Journey）
========================================================== */
.journey-section {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.journey__starlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 40%, rgba(183,138,67,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(183,138,67,.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 80%, rgba(43,78,162,.4) 0%, transparent 100%);
}

.journey__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.journey__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
}

.journey__desc {
  color: var(--text-sub);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* プロフィールハイライトリスト */
.journey__profile-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.journey__profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-sub);
}

.journey__profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--line-gold);
  background: rgba(183,138,67,.08);
  border: 1px solid rgba(183,138,67,.2);
  border-radius: 50%;
}

/* 扉ビジュアル */
.journey__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.journey__door-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(183,138,67,.25);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.journey__door-wrap--fallback {
  background: radial-gradient(ellipse at 50% 60%,
    rgba(183,138,67,.2) 0%,
    rgba(43,78,162,.3) 40%,
    rgba(2,8,20,1) 100%);
}

.journey__door-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.journey__door-glow {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(183,138,67,.3) 0%, transparent 70%);
  pointer-events: none;
}

.journey__door-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: linear-gradient(0deg, rgba(2,8,20,.9) 0%, transparent 100%);
  width: 100%;
  line-height: 1.6;
}


/* ==========================================================
   5ステップセクション
========================================================== */
.steps-section {
  background: var(--bg-main);
}

.steps-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

/* ステップ間の矢印コネクター */
.step-item__arrow {
  position: absolute;
  top: 16px; /* アイコン中心 */
  right: -16px;
  z-index: 2;
  color: var(--line-gold);
  opacity: 0.6;
  pointer-events: none;
}

.step-item__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-gold);
  color: var(--line-gold); /* SVGアイコンの色 */
  transition: background var(--transition), border-color var(--transition);
}

.step-item:hover .step-item__icon {
  background: rgba(183,138,67,.1);
  border-color: var(--line-gold);
}

.step-item__content {
  position: relative;
  z-index: 1;
}

.step-item__num {
  display: block;
  font-family: var(--font-logo);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--line-gold);
  margin-bottom: 6px;
}

.step-item__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-item__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================================
   人気記事セクション
========================================================== */
.popular-section {
  background: var(--bg-deep);
}

.popular-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.popular-section__header .section-title {
  margin-bottom: 0;
}


/* ==========================================================
   CTAセクション
========================================================== */
.cta-section {
  background: var(--bg-main);
}

.cta-card {
  border-radius: var(--radius-lg);
  border: var(--border-card);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cta-card:hover {
  border-color: var(--line-soft);
  box-shadow: var(--shadow-gold);
}

/* ------- 左カード: テキスト左 + 画像右の横並びレイアウト ------- */
.cta-card--newsletter {
  background: var(--bg-card);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

/* テキストブロック */
.cta-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 40px 32px 40px 40px;
}

/* ビジュアルブロック（右半分いっぱいに画像） */
.cta-card__visual {
  position: relative;
  min-height: 280px;
}

.cta-card__visual .cta-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cta-card__bonus {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  font-size: 0.68rem;
  color: var(--line-gold);
  text-align: center;
  line-height: 1.6;
  background: rgba(4, 11, 24, 0.92);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-gold);
}

/* ------- 右カード: 画像全面背景 + テキストオーバーレイ ------- */
.cta-card--community {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-card--community .cta-card__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-card--community .cta-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.cta-card--community:hover .cta-card__img {
  transform: scale(1.03);
}

.cta-card--community .cta-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 11, 24, 0.6) 0%,
    rgba(4, 11, 24, 0.2) 40%,
    rgba(4, 11, 24, 0.7) 100%
  );
}

.cta-card--community .cta-card__body {
  position: relative;
  z-index: 1;
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
}

/* 共通テキスト */
.cta-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.cta-card__desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* 左カード内 desc の改行を防ぐ */
.cta-card--newsletter .cta-card__desc {
  margin-bottom: 24px;
}

/* ------- Eyebrow（各カード共通の小見出し） ------- */
.cta-card__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--line-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ------- LINEカード（テキストのみ） ------- */
.cta-card--line {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
}

.cta-card--line .cta-card__text {
  padding: 0;
}

.cta-card--line .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-card__line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

/* ------- LINEカード（特典画像あり：2カラム） ------- */
.cta-card--line.cta-card--with-visual {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: auto;
}

.cta-card--line.cta-card--with-visual .cta-card__text {
  padding: 40px 32px 40px 40px;
  align-items: flex-start;
}


/* ==========================================================
   記事サイドバー：LINE ウィジェット
========================================================== */
.sidebar-widget--line .sidebar-line__visual,
.sidebar-widget--newsletter .sidebar-newsletter__visual {
  margin: 0 -4px 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
}

.sidebar-widget--line .sidebar-line__img,
.sidebar-widget--newsletter .sidebar-newsletter__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-widget--line .sidebar-line__desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sidebar-widget--line .sidebar-line__btn {
  width: 100%;
  justify-content: center;
}

.sidebar-widget--newsletter .sidebar-newsletter__desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}


/* ==========================================================
   フッター CTA（LINE / メルマガ 並列）
========================================================== */
.footer-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 40px;
  border-bottom: var(--border-gold);
}

.footer-cta:has(.footer-cta__block--line):has(.footer-cta__block--newsletter) {
  grid-template-columns: 1fr 1fr;
}

.footer-cta__block {
  padding: 24px 28px;
  border: var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

/* 特典画像が設定されているとき：左=画像 / 右=本文 の2カラム */
.footer-cta__block--with-visual {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
}

.footer-cta__visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-deep);
}

.footer-cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-cta__body {
  min-width: 0;
}

.footer-cta__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--line-gold);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.footer-cta__desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}


/* ==========================================================
   メルマガ登録セクション
========================================================== */
.newsletter-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-deep) 100%);
  padding-block: 64px;
  border-top: var(--border-gold);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.newsletter-icon {
  color: var(--line-gold);
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(183,138,67,.1);
  border: 1px solid rgba(183,138,67,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-text {
  flex-shrink: 0;
}

.newsletter-text__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.newsletter-text__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.newsletter-form {
  flex: 1;
}


/* ==========================================================
   記事詳細ページ
========================================================== */

/* 記事ヘッダー */
.article-header {
  background: var(--bg-deep);
  padding-block: 48px 0;
  margin-bottom: 48px;
}

.article-header__cats {
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
}

.article-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 16px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.article-meta__updated {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.article-header__eyecatch {
  width: 100%;
  aspect-ratio: 1280 / 670;   /* デフォルトサムネイルと同じ比率。上下の見切れを防ぐ */
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-top: 28px;
}

.article-header__eyecatch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 記事リード文 */
.article-lead {
  background: rgba(183,138,67,.05);
  border-left: 3px solid var(--line-gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 記事本文 */
.entry-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-main);
}

.entry-content p {
  margin-bottom: 1.5em;
}

/* 見出し H2（本文 1rem より確実に大きく） */
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 1.95rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-block: 56px 24px;
  padding: 20px 24px;
  background: rgba(183,138,67,.06);
  border-left: 4px solid var(--line-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  position: relative;
}

/* 見出し H3 */
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-block: 40px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(183,138,67,.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-content h3::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--line-gold);
  flex-shrink: 0;
}

/* 見出し H4 */
.entry-content h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-block: 32px 12px;
}

/* リスト */
.entry-content ul,
.entry-content ol {
  padding-left: 0.5em;   /* 箇条書きマーカーが親コンテナ枠に張り付かないようゆとり */
  margin-bottom: 1.5em;
}

/* 箱モノ（tip-box / article-points）内の ul/ol は広めの内側余白を確保
   （class="tip-box__list" を付け忘れても左右に余白が出るようにするフォールバック） */
.tip-box ul,
.tip-box ol,
.article-points ul,
.article-points ol {
  padding: 16px 24px;
  margin: 0;
}

.entry-content ul li {
  list-style: none;
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-main);
  border-bottom: 1px solid rgba(183,138,67,.06);
}

.entry-content ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--line-gold);
  font-size: 0.6rem;
  top: 12px;
}

.entry-content ol {
  counter-reset: ol-counter;
}

.entry-content ol li {
  list-style: none;
  padding: 8px 0 8px 36px;
  position: relative;
  counter-increment: ol-counter;
  border-bottom: 1px solid rgba(183,138,67,.06);
}

.entry-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--line-gold);
  color: var(--bg-deep);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 引用・補足ブロック */
.entry-content blockquote {
  background: rgba(43,78,162,.1);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-block: 28px;
  color: var(--text-sub);
  font-size: 0.9375rem;
}

/* 画像 */
.entry-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-block: 24px;
  border: var(--border-card);
}

/* テーブル */
.entry-content table {
  margin-block: 28px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  font-size: 0.875rem;
  border: 1px solid rgba(183,138,67,.15);
  text-align: left;
}

.entry-content th {
  background: rgba(183,138,67,.1);
  color: var(--text-main);
  font-weight: 600;
}

.entry-content td {
  color: var(--text-sub);
}

/* コード */
.entry-content code {
  background: rgba(183,138,67,.1);
  color: var(--line-gold);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.entry-content pre {
  background: rgba(2,8,20,.8);
  border: var(--border-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  overflow-x: auto;
  margin-block: 28px;
}

.entry-content pre code {
  background: none;
  color: var(--text-main);
  padding: 0;
}


/* ==========================================================
   記事本文：ポイントボックス（この記事のポイント）
========================================================== */
.article-points {
  background: rgba(183,138,67,.05);
  border: 1px solid rgba(183,138,67,.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-block: 32px;
}

.article-points__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--line-gold);
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(183,138,67,.2);
  background: none;
}

.article-points__title::before {
  content: '✦';
  font-size: 1.1rem;
}

.article-points__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-points__list li {
  position: relative;
  padding: 0 0 0 30px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  border: none;
}

.article-points__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--line-gold);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================
   記事本文：Stepヘッディング（01 テーマを決める）
========================================================== */
.entry-content .step-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 64px 28px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 1.95rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

.step-heading__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(183,138,67,.5);
  background: rgba(183,138,67,.08);
  color: var(--line-gold);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-heading__text {
  color: var(--text-main);
}

.entry-content .step-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(183,138,67,.5) 0%,
    rgba(183,138,67,.2) 55%,
    transparent 100%
  );
}


/* ==========================================================
   記事本文：Tipボックス（コツ・ヒントなど）
========================================================== */
.tip-box {
  background: rgba(4,11,24,.55);
  border: 1px solid rgba(183,138,67,.3);
  border-radius: var(--radius-sm);
  margin-block: 24px;
  overflow: hidden;
}

.tip-box__title {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(183,138,67,.12);
  color: var(--line-gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  padding: 12px 20px;
  border: none;
  border-bottom: 1px solid rgba(183,138,67,.2);
  border-radius: 0;
}

.tip-box__title::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--line-gold);
  border-radius: 2px;
}

.tip-box__list {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-box__list li {
  position: relative;
  padding: 0 0 0 26px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-sub);
  border: none;
}

.tip-box__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line-gold);
  color: var(--bg-deep);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================
   アーカイブページ
========================================================== */
.archive-hero {
  background: var(--bg-deep);
  padding-block: 48px;
  border-bottom: var(--border-gold);
  margin-bottom: 0;
}

.archive-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-main);
}

.archive-hero__desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-top: 12px;
  line-height: 1.7;
}

/* 固定ページ */
.page-article {
  max-width: 780px;
  margin: 0 auto;
}

.page-article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: var(--border-gold);
}

/* プロフィールページ */
.page-article--profile {
  max-width: 820px;
}

.page-article__thumb {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-sns {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--border-gold);
  text-align: center;
}

.profile-sns__label {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.profile-sns__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* コミュニティページCTA */
.community-cta {
  margin-top: 56px;
  padding: 40px 32px;
  background: var(--bg-deep);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  text-align: center;
}

.community-cta__note {
  font-size: 0.825rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

/* メルマガセクション（大サイズ） */
.newsletter-section--lg {
  padding-block: 96px;
}

.newsletter-section--lg .newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.newsletter-section--lg .newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ==========================================================
   YOUR JOURNEY ビジュアルブロック
========================================================== */
.journey-map {
  position: relative;
  margin: 48px 0 72px;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  background: var(--bg-deep);
  border: 1px solid rgba(183, 138, 67, 0.25);
}

.journey-map__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.journey-map__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.journey-map__bg--fallback {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(183, 138, 67, 0.08), transparent 50%),
    radial-gradient(ellipse at 85% 40%, rgba(183, 138, 67, 0.12), transparent 55%),
    linear-gradient(to bottom, #050d1f 0%, #08162b 100%);
}

.journey-map__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 11, 24, 0.85) 0%,
    rgba(4, 11, 24, 0.45) 30%,
    rgba(4, 11, 24, 0.30) 70%,
    rgba(4, 11, 24, 0.70) 100%
  );
}

/* ストーリーライン（SVG） */
.journey-map__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.journey-map__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 40px;
  align-items: center;
}

/* 左: イントロ */
.journey-map__intro {
  max-width: 320px;
}

.journey-map__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  margin: 12px 0 16px;
}

.journey-map__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 24px;
}

/* 中: 3アーチカード */
.journey-map__cards {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.journey-map__card {
  position: relative;
  width: 200px;
  aspect-ratio: 1 / 1.65;
  border-radius: 100px 100px 10px 10px;
  overflow: hidden;
  background: rgba(8, 18, 34, 0.6);
  border: 1px solid rgba(183, 138, 67, 0.4);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.journey-map__card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
}

.journey-map__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.journey-map__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% - 10px);
  display: block;
}

.journey-map__card-bg--fallback {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(183, 138, 67, 0.25), transparent 60%),
    linear-gradient(to bottom, #0a1a33 0%, #050d1f 100%);
}

.journey-map__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 11, 24, 0.35) 0%, rgba(4, 11, 24, 0.85) 100%);
}

.journey-map__card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 20px 28px;
  text-align: center;
  color: var(--text-main);
}

.journey-map__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(183, 138, 67, 0.18);
  color: var(--line-gold);
  margin-bottom: 16px;
}

.journey-map__card-icon svg {
  width: 28px;
  height: 28px;
}

.journey-map__card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.journey-map__card-desc {
  font-size: 0.825rem;
  line-height: 1.7;
  color: var(--text-sub);
}

/* 右: 理想の未来へ */
.journey-map__goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--line-gold);
  padding-left: 8px;
}

.journey-map__goal-icon {
  display: inline-flex;
  color: var(--line-gold);
}

.journey-map__goal-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}


/* ==========================================================
   記事末尾CTA
========================================================== */
.article-end-cta {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 1px solid rgba(183,138,67,.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.article-end-cta__banner {
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: var(--bg-deep);
}

.article-end-cta__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-end-cta__body {
  padding: 40px 48px 44px;
  text-align: center;
}

.article-end-cta__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--line-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.article-end-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 14px;
}

.article-end-cta__lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.article-end-cta__list {
  list-style: none;
  padding: 24px 28px;
  margin: 0 0 28px;
  background: rgba(4, 11, 24, 0.4);
  border: 1px solid rgba(183,138,67,.15);
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-end-cta__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.article-end-cta__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(183,138,67,.15);
  color: var(--line-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.article-end-cta__item-body {
  flex: 1;
  min-width: 0;
}

.article-end-cta__item-title {
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 4px;
  line-height: 1.5;
}

.article-end-cta__item-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 0;
}

.article-end-cta__btn {
  min-width: 280px;
}


/* ==========================================================
   商品（Product）カスタム投稿タイプ
========================================================== */

/* カテゴリーフィルタ */
.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 24px;
  margin-bottom: 16px;
}

.product-filter__link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.product-filter__link:hover {
  color: var(--line-gold);
  border-color: var(--line-gold);
}

.product-filter__link.is-active {
  color: var(--bg-deep);
  background: var(--line-gold);
  border-color: var(--line-gold);
}

/* 商品グリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 商品カード */
.product-card {
  background: var(--bg-card);
  border: var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: var(--line-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.product-card__thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 1280 / 670;   /* デフォルトサムネイルと同じ比率 */
  overflow: hidden;
  background: var(--bg-deep);
}

.product-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__thumb {
  transform: scale(1.04);
}

.product-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-card) 100%);
}

.product-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card__category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--line-gold);
  text-transform: uppercase;
  align-self: flex-start;
  text-decoration: none;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.product-card__title a {
  color: var(--text-main);
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--line-gold);
}

.product-card__excerpt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 0;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-main);
}

.product-price__free {
  color: var(--line-gold);
  font-weight: 600;
}

.product-price__amount {
  font-weight: 600;
}

.product-price__note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-left: 4px;
}

.product-card__link {
  font-size: 0.8rem;
  color: var(--line-gold);
  text-decoration: none;
  white-space: nowrap;
}

.product-card__link:hover {
  text-decoration: underline;
}

/* ==========================================================
   商品詳細ページ
========================================================== */
.product-detail {
  padding-block: 40px 80px;
}

.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-detail__visual {
  border: var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}

.product-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__img--placeholder {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-card) 100%);
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--text-main);
}

.product-detail__excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin: 0;
}

.product-detail__price {
  padding-block: 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.product-detail__buy {
  align-self: flex-start;
}


/* ==========================================================
   目次（TOC）ボックス
   記事本文冒頭に自動挿入される
========================================================== */
.toc-box {
  margin: 32px 0 40px;
  padding: 24px 28px;
  border: var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

.toc-box__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--line-gold);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-gold-soft, rgba(183, 138, 67, 0.35));
}

.toc-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.toc-box__item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.toc-box__item--h2 {
  counter-increment: toc-counter;
  font-weight: 500;
}

.toc-box__item--h2::before {
  content: counter(toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-heading);
  color: var(--line-gold);
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

.toc-box__item--h3 {
  padding-left: 48px;
  font-size: 0.93em;
  color: var(--text-sub);
}

.toc-box__item--h3::before {
  content: '—';
  position: absolute;
  left: 28px;
  color: var(--line-gold);
  opacity: 0.6;
}

.toc-box__item a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.toc-box__item a:hover {
  color: var(--line-gold);
  text-decoration: underline;
}


/* ==========================================================
   吹き出し（Speech Bubble）
   [bubble char="1" side="left"]セリフ[/bubble] ショートコードで使う
========================================================== */
.speech-bubble {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 28px 0;
}

.speech-bubble--right {
  flex-direction: row-reverse;
}

.speech-bubble__avatar {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
}

.speech-bubble__avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-gold-soft, rgba(183, 138, 67, 0.4));
  display: block;
}

.speech-bubble__name {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.speech-bubble__body {
  position: relative;
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  line-height: 1.8;
  min-width: 0;
}

.speech-bubble__body p {
  margin: 0 0 0.5em;
}
.speech-bubble__body p:last-child { margin-bottom: 0; }

/* 吹き出しのしっぽ（左向き） */
.speech-bubble--left .speech-bubble__body::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid var(--bg-card);
  filter: drop-shadow(-1px 0 0 var(--line-soft));
}

/* 吹き出しのしっぽ（右向き） */
.speech-bubble--right .speech-bubble__body::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--bg-card);
  filter: drop-shadow(1px 0 0 var(--line-soft));
}


/* ==========================================================
   デフォルトサムネイル適用時のスタイル
   （is-default-thumbnail クラスが付いた img）
========================================================== */
.is-default-thumbnail {
  opacity: 0.92;
  background: var(--bg-deep);
  object-fit: cover;
}
