/* ===========================================
   狙い目ラボ - 共通スタイル
   夜空 × ゴールド × 赤 ／ AI検索最適化
   =========================================== */

:root {
  --bg-night: #0a0e1a;
  --bg-card: #131a2b;
  --bg-card-soft: #1a2238;
  --gold: #e6c656;
  --gold-soft: #c9a83f;
  --red: #ff3955;
  --red-soft: #c9263d;
  --text-main: #e8ebf2;
  --text-mute: #9aa3b6;
  --text-soft: #c1c7d6;
  --border: #2a3350;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --radius: 10px;
  --font-jp: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg-night);
  color: var(--text-main);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }

/* ヘッダー */
.site-header {
  background: linear-gradient(180deg, #050811 0%, var(--bg-night) 100%);
  border-bottom: 2px solid var(--gold-soft);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .02em;
}
.site-logo span { color: var(--red); }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: var(--text-soft); font-size: 14px; font-weight: 600; }

/* ヒーロー */
.hero {
  background: radial-gradient(ellipse at 50% 0%, #1f2945 0%, var(--bg-night) 70%);
  padding: 70px 20px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold) 0%, #fff8d4 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  line-height: 1.4;
}
.hero p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 26px;
}
.hero-badges {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.badge {
  background: var(--bg-card);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--gold-soft);
  font-weight: 600;
}

/* メインコンテンツ */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  border-left: 5px solid var(--red);
  padding-left: 14px;
  margin: 0 0 24px;
}

/* 記事カードグリッド */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.article-card-img {
  height: 160px;
  background: linear-gradient(135deg, #1d2742 0%, #2c3a5e 50%, #1d2742 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: .05em;
}
.article-card-img.cat-jaguar { background: linear-gradient(135deg, #4a2c0a 0%, #b8721a 50%, #4a2c0a 100%); }
.article-card-img.cat-pachinko { background: linear-gradient(135deg, #2a0a3a 0%, #6c1e8e 50%, #2a0a3a 100%); }
.article-card-img.cat-sumaslot { background: linear-gradient(135deg, #0a2a3a 0%, #1e6c8e 50%, #0a2a3a 100%); }
.article-card-img.cat-tachi { background: linear-gradient(135deg, #3a0a0a 0%, #8e1e1e 50%, #3a0a0a 100%); }
.article-card-content {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-card-cat {
  display: inline-block;
  background: var(--red-soft);
  color: #fff;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 700;
  align-self: flex-start;
}
.article-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.5;
}
.article-card-meta {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
}

/* 記事詳細ページ */
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb span { color: var(--gold); }

.article-page h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gold);
}

.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 30px;
}
.article-meta strong { color: var(--gold); }

.lead-conclusion {
  background: linear-gradient(135deg, rgba(230,198,86,.08) 0%, rgba(255,57,85,.08) 100%);
  border-left: 4px solid var(--red);
  padding: 18px 20px;
  border-radius: 6px;
  margin-bottom: 36px;
  font-size: 15px;
}
.lead-conclusion strong { color: var(--gold); }

.article-page h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  margin: 50px 0 18px;
  padding: 12px 0 12px 16px;
  border-left: 5px solid var(--red);
  background: linear-gradient(90deg, rgba(230,198,86,.06) 0%, transparent 80%);
}
.article-page h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 30px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.article-page p {
  margin-bottom: 18px;
  color: var(--text-soft);
}
.article-page p strong { color: var(--gold); font-weight: 800; }
.article-page p em { color: var(--red); font-style: normal; font-weight: 700; }

.article-page ul, .article-page ol {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px 20px 44px;
  margin: 18px 0 24px;
}
.article-page ul li, .article-page ol li {
  margin-bottom: 8px;
  color: var(--text-soft);
}
.article-page ul li::marker { color: var(--gold); }
.article-page ol li::marker { color: var(--gold); font-weight: 800; }

.article-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
}
.article-page th {
  background: var(--bg-card-soft);
  color: var(--gold);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--gold-soft);
  font-weight: 800;
}
.article-page td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.article-page tr:last-child td { border-bottom: none; }

.callout {
  background: var(--bg-card);
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}
.callout-title {
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 8px;
  font-size: 15px;
}

.faq {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 20px;
  margin: 18px 0 14px;
  border-left: 4px solid var(--gold);
}
.faq-q {
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}
.faq-q::before { content: "Q. "; color: var(--red); }
.faq-a { color: var(--text-soft); font-size: 14px; }
.faq-a::before { content: "A. "; color: var(--gold); font-weight: 800; }

/* note誘導CTA */
.note-cta {
  background: linear-gradient(135deg, #1e1228 0%, #2a1838 100%);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 28px 24px;
  margin: 40px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.note-cta::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(230,198,86,.05) 50%, transparent 70%);
  transform: rotate(0deg);
  animation: cta-shine 6s linear infinite;
}
@keyframes cta-shine { to { transform: rotate(360deg); } }
.note-cta-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.note-cta h3 {
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  border: none;
  padding: 0;
}
.note-cta p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 20px;
  position: relative;
}
.note-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #fff8d4 50%, var(--gold) 100%);
  color: #1a0e00;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  position: relative;
  box-shadow: 0 4px 16px rgba(230,198,86,.35);
}
.note-cta-btn:hover {
  color: #1a0e00;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(230,198,86,.5);
}

/* 料金訴求バッジ */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.4);
  padding: 10px 18px;
  border-radius: 8px;
  margin: 14px 0 10px;
  position: relative;
  border: 1px solid rgba(230,198,86,.3);
}
.price-old {
  color: var(--text-mute);
  font-size: 16px;
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.price-arrow { color: var(--gold); font-size: 14px; }
.price-new {
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
}
.price-tag {
  background: var(--red);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 6px;
}

/* 著者ボックス */
.author-box {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 20px;
  margin: 36px 0 20px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a0e00;
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
}
.author-info h4 { color: var(--gold); margin-bottom: 4px; font-size: 15px; }
.author-info p { font-size: 13px; color: var(--text-soft); margin: 0; }

/* 関連記事 */
.related {
  margin: 40px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 16px;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 14px;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.related-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  transition: border-color .15s;
}
.related-item:hover { border-color: var(--gold); color: var(--gold); }

/* フッター */
.site-footer {
  background: #050811;
  border-top: 2px solid var(--gold-soft);
  padding: 36px 20px 22px;
  margin-top: 50px;
  font-size: 13px;
  color: var(--text-mute);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer-brand h4 { color: var(--gold); margin-bottom: 8px; }
.footer-brand p { font-size: 12px; line-height: 1.7; }
.footer-col h5 { color: var(--text-soft); font-size: 13px; margin-bottom: 10px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; background: none; border: none; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { color: var(--text-mute); font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

/* レスポンシブ */
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .article-page h2 { font-size: 19px; }
  .article-page h3 { font-size: 16px; }
  .article-page { padding: 24px 16px 40px; }
  .hero { padding: 50px 16px 40px; }
  .main { padding: 30px 16px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 13px; }
}


/* ヒーロー（背景画像付き） */
.hero-with-image {
  background:
    linear-gradient(180deg, rgba(10,14,26,.65) 0%, rgba(10,14,26,.85) 100%),
    url("/assets/img/hero-top.png?v=20260429-2") center/cover no-repeat;
  padding: 90px 20px 80px;
}

/* 記事ヒーロー画像 */
.article-cover {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 10px;
  margin: 0 0 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}


/* ===== モバイル最適化（追加） ===== */
@media (max-width: 720px) {
  .hero-with-image { padding: 50px 16px 36px; }
  .hero h1 { font-size: 24px; line-height: 1.5; }
  .hero p { font-size: 13px; }
  .hero-badges { gap: 6px; }
  .badge { font-size: 11px; padding: 4px 10px; }

  .article-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .article-card-img { height: 120px; font-size: 26px; }
  .article-card-title { font-size: 15px; }

  .article-page { padding: 20px 14px 40px; }
  .article-page h1 { font-size: 20px; }
  .article-cover { margin-bottom: 20px; }

  .note-cta { padding: 22px 16px; }
  .note-cta h3 { font-size: 17px; }
  .note-cta p { font-size: 13px; }
  .price-badge {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
    gap: 6px;
  }
  .price-old { font-size: 14px; }
  .price-new { font-size: 20px; }
  .price-tag { font-size: 10px; padding: 2px 8px; }

  .article-page table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-page th, .article-page td { padding: 8px 10px; }

  .site-nav { gap: 10px; }
  .site-nav a { font-size: 12px; }
  .site-logo { font-size: 18px; }
  .site-header-inner { padding: 0 14px; }

  .lead-conclusion { padding: 14px 16px; font-size: 14px; }
  .footer-inner { gap: 18px; }
}

/* 小幅モバイル */
@media (max-width: 480px) {
  .site-nav a { font-size: 11px; }
  .hero h1 { font-size: 21px; }
}
