/* ===== アフィリエイトページ共通スタイル（パープル×ゴールドテーマ） ===== */

/* --- ページ全体背景（ラッパー・ボディ） --- */
.shiseimeiri-aff-page-body {
  background: radial-gradient(circle at top, #3B1E5C 0%, #12081F 40%, #05030A 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #F7F3FF;
  font-family: 'JK Gothic M', 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.shiseimeiri-aff-page-wrap {
  min-height: 100vh;
}

/* --- ヘッダー（ブログヘッダーと共通） --- */
.shiseimeiri-blog-header {
  background: rgba(15, 7, 28, 0.95);
  border-bottom: 1px solid rgba(227, 196, 111, 0.3);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.blog-header-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-header-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #E3C46F;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.blog-header-nav a {
  font-size: 0.85rem;
  color: #C7BEDF;
  text-decoration: none;
}
.blog-header-nav a:hover { color: #E3C46F; }

/* --- メインコンテンツエリア --- */
.shiseimeiri-aff-main {
  padding: 0 0 60px;
}

/* --- フッター --- */
.shiseimeiri-blog-footer {
  text-align: center;
  padding: 24px 16px;
  border-top: 1px solid rgba(227, 196, 111, 0.2);
  background: rgba(15, 7, 28, 0.7);
}
.shiseimeiri-blog-footer a {
  color: #C7BEDF;
  text-decoration: none;
  font-size: 0.82rem;
}
.shiseimeiri-blog-footer a:hover { color: #E3C46F; }
.footer-sep { margin: 0 8px; opacity: 0.4; }

/* ============================================================
   アフィリエイトページ本体
   ============================================================ */

/* --- ページラッパー --- */
.aff-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 48px;
  font-family: 'JK Gothic M', 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  color: #F7F3FF;
  line-height: 1.75;
}

/* --- ヒーローヘッダー --- */
.aff-page-hero {
  text-align: center;
  padding: 36px 20px 28px;
  border-radius: 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(227, 196, 111, 0.3);
  position: relative;
  overflow: hidden;
}
.aff-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(108,59,191,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.aff-page-hero--tel     { background: rgba(15,7,28,0.85); }
.aff-page-hero--match   { background: rgba(10,20,40,0.85); }
.aff-page-hero--photo   { background: rgba(20,10,40,0.85); }

.aff-page-eyecatch {
  font-size: 0.82rem;
  color: #E3C46F;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  position: relative;
}
.aff-page-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  background: linear-gradient(135deg, #F1E1A2, #E3C46F, #9C6BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
@media (max-width: 480px) {
  .aff-page-h1 { font-size: 1.2rem; }
}
.aff-page-lead {
  font-size: 0.9rem;
  color: #C7BEDF;
  margin: 0;
  position: relative;
}

/* --- PR開示 --- */
.aff-page-disclosure {
  font-size: 0.72rem;
  color: #8B7FAF;
  text-align: center;
  margin: 10px 0 20px;
}

/* --- セクション --- */
.aff-section {
  margin: 0 0 20px;
  padding: 20px 18px;
  background: rgba(15, 7, 28, 0.75);
  border: 1px solid rgba(227, 196, 111, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.aff-section-h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #E3C46F;
  border-bottom: 1px solid rgba(227, 196, 111, 0.2);
  padding-bottom: 8px;
}
.aff-section-text {
  font-size: 0.9rem;
  margin: 0 0 12px;
  color: #C7BEDF;
  line-height: 1.75;
}
.aff-section-text strong { color: #F1E1A2; }

/* --- チェックリスト --- */
.aff-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.aff-checklist li {
  font-size: 0.88rem;
  padding: 5px 0 5px 22px;
  position: relative;
  color: #C7BEDF;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.aff-checklist li:last-child { border-bottom: none; }
.aff-checklist li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #E3C46F;
  font-size: 0.75rem;
  top: 6px;
}
.aff-checklist--warning li::before { content: '⚠'; color: #FF9F7F; }

/* --- ノートボックス --- */
.aff-note-box {
  background: rgba(227, 196, 111, 0.08);
  border-left: 3px solid #E3C46F;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-top: 12px;
}
.aff-note-box p { margin: 0; color: #C7BEDF; }
.aff-note-box strong { color: #F1E1A2; }

/* --- 比較テーブル --- */
.aff-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 10px;
  border-radius: 8px;
}
.aff-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 380px;
}
.aff-compare-table th,
.aff-compare-table td {
  padding: 10px 13px;
  border: 1px solid rgba(156, 107, 255, 0.2);
  text-align: left;
  vertical-align: middle;
  color: #C7BEDF;
}
.aff-compare-table thead th {
  background: rgba(108, 59, 191, 0.35);
  color: #F1E1A2;
  font-weight: 700;
  border-color: rgba(227, 196, 111, 0.25);
}
.aff-compare-table tbody tr:nth-child(even) {
  background: rgba(156, 107, 255, 0.06);
}
.aff-compare-table tbody tr:hover {
  background: rgba(227, 196, 111, 0.06);
}
.aff-th--tel      { background: rgba(255, 111, 181, 0.12) !important; }
.aff-th--coconala { background: rgba(78, 181, 255, 0.1)  !important; }
.aff-th-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 1px 7px;
  border-radius: 999px;
  margin-top: 3px;
}
.aff-th-badge--main  { background: rgba(255,111,181,0.3); color: #fff; }
.aff-th-badge--light { background: rgba(78,181,255,0.3);  color: #fff; }
.aff-table-note {
  font-size: 0.72rem;
  color: #8B7FAF;
  margin: 6px 0 0;
}

/* --- サービスカード --- */
.aff-service-card {
  border-radius: 10px;
  padding: 16px;
  margin-top: 6px;
}
.aff-service-card--tel      { background: rgba(255,111,181,0.06); border: 1px solid rgba(255,111,181,0.25); }
.aff-service-card--coconala { background: rgba(78,181,255,0.06);  border: 1px solid rgba(78,181,255,0.25); }
.aff-service-card--photo    { background: rgba(156,107,255,0.08); border: 1px solid rgba(156,107,255,0.3); }

.aff-service-tagline {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: #E3C46F;
}
.aff-for-whom {
  font-size: 0.82rem;
  margin: 8px 0 14px;
  color: #C7BEDF;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.aff-for-whom-label {
  background: rgba(156,107,255,0.25);
  border: 1px solid rgba(156,107,255,0.4);
  border-radius: 4px;
  padding: 1px 8px;
  font-weight: 600;
  font-size: 0.78rem;
  color: #C7BEDF;
  white-space: nowrap;
}
.aff-price-note {
  font-size: 0.82rem;
  color: #E3C46F;
  margin: 0 0 12px;
}

/* --- CTAボタン（アフィリエイトページ内） --- */
.aff-cta-wrap {
  text-align: center;
  margin: 14px 0 0;
}
.aff-cta-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 12px rgba(156,107,255,0.2);
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.aff-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 16px rgba(227,196,111,0.25);
}
.aff-cta-btn--tel      { background: linear-gradient(135deg, #ff6fb5, #E3C46F); }
.aff-cta-btn--coconala { background: linear-gradient(135deg, #4eb5ff, #9C6BFF); }
.aff-cta-btn--photo    { background: linear-gradient(135deg, #9C6BFF, #E3C46F); }

/* --- チェックグリッド（どっちを選ぶ？） --- */
.aff-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .aff-check-grid { grid-template-columns: 1fr; } }
.aff-check-block {
  border-radius: 8px;
  padding: 12px 14px;
}
.aff-check-block--tel      { background: rgba(255,111,181,0.06); border: 1px solid rgba(255,111,181,0.2); }
.aff-check-block--coconala { background: rgba(78,181,255,0.06);  border: 1px solid rgba(78,181,255,0.2); }
.aff-check-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 8px;
  color: #E3C46F;
}

/* --- FAQ --- */
.aff-faq-list { display: flex; flex-direction: column; gap: 10px; }
.aff-faq-item {
  background: rgba(15, 7, 28, 0.6);
  border: 1px solid rgba(156,107,255,0.2);
  border-radius: 8px;
  padding: 12px 14px;
}
.aff-faq-q {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 6px;
  color: #E3C46F;
}
.aff-faq-a {
  font-size: 0.87rem;
  margin: 0;
  color: #C7BEDF;
}

/* --- 目的別グリッド --- */
.aff-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
@media (max-width: 480px) { .aff-purpose-grid { grid-template-columns: 1fr; } }
.aff-purpose-card {
  border-radius: 8px;
  padding: 12px 14px;
}
.aff-purpose-card--renka { background: rgba(255,111,181,0.06); border: 1px solid rgba(255,111,181,0.2); }
.aff-purpose-card--konka { background: rgba(78,181,255,0.06);  border: 1px solid rgba(78,181,255,0.2); }
.aff-purpose-label {
  font-weight: 700;
  font-size: 0.88rem;
  margin: 0 0 6px;
  color: #E3C46F;
}
.aff-purpose-text {
  font-size: 0.83rem;
  margin: 0;
  color: #C7BEDF;
}

/* --- 内部リンクブロック --- */
.aff-internal-link-block {
  background: rgba(108, 59, 191, 0.15);
  border: 1px solid rgba(156, 107, 255, 0.4);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.aff-internal-link-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 8px;
  color: #E3C46F;
}

/* --- Before/After --- */
.aff-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 12px;
}
@media (max-width: 480px) { .aff-before-after { grid-template-columns: 1fr; } }
.aff-ba-block {
  border-radius: 8px;
  padding: 12px 14px;
}
.aff-ba-block--before { background: rgba(15,7,28,0.5); border: 1px solid rgba(255,255,255,0.1); }
.aff-ba-block--after  { background: rgba(227,196,111,0.08); border: 1px solid rgba(227,196,111,0.3); }
.aff-ba-label {
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 8px;
  color: #E3C46F;
}

/* --- 締めのCTA --- */
.aff-page-closing {
  text-align: center;
  padding: 28px 16px;
  background: rgba(108, 59, 191, 0.12);
  border: 1px solid rgba(227, 196, 111, 0.25);
  border-radius: 14px;
  margin-top: 8px;
}
.aff-closing-text {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #E3C46F;
}

/* ============================================================
   lc-cta（出口CTAカード）— テーマ統一
   ============================================================ */
.lc-cta-section { margin: 8px 0 0; }
.lc-cta {
  margin: 14px 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(15, 7, 28, 0.75);
  border: 1px solid rgba(227, 196, 111, 0.25);
}
.lc-cta-label {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 0.97rem;
  color: #E3C46F;
}
.lc-cta-text {
  margin: 0 0 12px;
  font-size: 0.87rem;
  line-height: 1.65;
  color: #C7BEDF;
}
.lc-cta-button-wrap { text-align: center; }
.lc-cta-button {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  transition: transform 0.1s ease, opacity 0.1s ease;
}
.lc-cta-button:hover { opacity: 0.9; transform: translateY(1px); }
.lc-cta-button--tel   { background: linear-gradient(135deg, #ff6fb5, #E3C46F); }
.lc-cta-button--match { background: linear-gradient(135deg, #4eb5ff, #9C6BFF); }
.lc-cta-button--photo { background: linear-gradient(135deg, #9C6BFF, #E3C46F); }


/* --- セクション冒頭シーン画像 --- */
.aff-scene-img {
  text-align: center;
  margin: 12px auto 20px;
}
.aff-section-img {
  width: 100%;
  max-width: 480px;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

/* --- ASPバナー --- */
.aff-banner-wrap {
  text-align: center;
  margin: 16px auto;
}
.aff-banner-wrap a img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}


/* ===== 関連ガイド相互リンク ===== */
.aff-related-guides {
  margin: 40px 0 0;
  padding: 24px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
}
.aff-related-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sm-text-secondary, #b8b8d0);
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
.aff-related-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.aff-related-link {
  flex: 1 1 200px;
  display: block;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--sm-text-primary, #e8e8f8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  line-height: 1.5;
}
.aff-related-link:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ===== 帰還ナビ ===== */
.aff-back-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0 4px 8px;
}
.aff-back-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.aff-back-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.aff-back-btn--primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 16px rgba(139,92,246,0.5);
}
.aff-back-btn--sub {
  background: rgba(255,255,255,0.08);
  color: var(--sm-text-primary, #e8e8f8);
  border: 1px solid rgba(255,255,255,0.20);
}
