/* ============================================
   和歌山 浮気調査ガイド
   女性向けアフィリエイトサイト王道デザイン
   ============================================ */
:root {
  --bg: #fdf6f2;
  --card: #ffffff;
  --primary: #e0608a;
  --primary-dark: #b93b64;
  --primary-pale: #fdeef3;
  --peach: #fff3e8;
  --gold: #f3b83b;
  --text: #52403f;
  --muted: #9b8a88;
  --line: #f0ddd6;
  --cta1: #ff8a5c;
  --cta2: #f4527d;
  --navy: #6d4a56;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 2;
  font-size: 16px;
}
body.has-sticky { padding-bottom: 92px; }

/* PR表記(法律上必須・消さないこと) */
.pr-notice {
  background: #f4ece8;
  color: #a4948f;
  font-size: 11px;
  text-align: center;
  padding: 4px 10px;
  letter-spacing: .05em;
}

/* ---------- ヘッダー ---------- */
header.site-header {
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 2px 12px rgba(190, 120, 140, .12);
  position: relative;
  z-index: 10;
}
.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.site-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.3;
}
.site-title small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
}
nav.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
nav.global-nav a {
  display: block;
  color: var(--primary-dark);
  background: var(--primary-pale);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all .15s;
}
nav.global-nav a:hover { background: var(--primary); color: #fff; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ffe9f0 0%, #fff3e6 35%, #ffe4ee 65%, #fff0e2 100%);
  background-size: 220% 220%;
  animation: heroShift 12s ease-in-out infinite;
  text-align: center;
  padding: 54px 16px 46px;
}
@keyframes heroShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* 上品なキラキラ・花びら */
.spark {
  position: absolute;
  pointer-events: none;
  animation: sparkTwinkle ease-in-out infinite;
  opacity: 0;
  z-index: 0;
}
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: .7; transform: scale(1) rotate(180deg); }
}
.petal {
  position: absolute;
  top: -30px;
  pointer-events: none;
  animation: petalFall linear infinite;
  opacity: .55;
  z-index: 0;
}
@keyframes petalFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(420px) translateX(40px) rotate(300deg); }
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(244, 82, 125, .14), transparent 65%);
  top: -120px; left: -90px;
}
.hero::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(243, 184, 59, .18), transparent 65%);
  bottom: -110px; right: -70px;
}
.hero-eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(190, 120, 140, .18);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 900;
  color: #8c3a55;
  line-height: 1.6;
  margin-bottom: 14px;
}
.hero h1 .marker {
  background: linear-gradient(transparent 62%, #ffd9e6 62%);
}
.hero p.lead {
  color: #7d6a68;
  max-width: 620px;
  margin: 0 auto 8px;
  font-size: 15px;
  text-wrap: balance;
}

/* 安心バッジ */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 6px;
  padding: 0;
  list-style: none;
}
.badge {
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(190, 120, 140, .12);
}

/* ---------- 本文 ---------- */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 14px 48px;
}
article {
  background: var(--card);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(190, 120, 140, .1);
}
h1.page-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: #8c3a55;
  margin-bottom: 8px;
  line-height: 1.6;
}
.page-date { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-pale), var(--peach));
  border-radius: 14px;
  padding: 13px 18px 13px 50px;
  position: relative;
  margin: 40px 0 18px;
  line-height: 1.5;
}
h2::before {
  content: "♥";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
}
h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 5px solid var(--primary);
  border-radius: 3px;
  padding: 2px 0 2px 12px;
  margin: 26px 0 10px;
}
p { margin-bottom: 16px; }
a { color: var(--primary-dark); }

/* チェックリスト */
ul.check { list-style: none; margin: 0 0 16px; }
ul.check li {
  position: relative;
  padding: 8px 10px 8px 36px;
  margin-bottom: 6px;
  background: #fffaf7;
  border-radius: 10px;
}
ul.check li::before {
  content: "✔";
  position: absolute;
  left: 10px;
  top: 8px;
  color: var(--primary);
  font-weight: 900;
}
ol.steps { margin: 0 0 16px 24px; }
ol.steps li { margin-bottom: 10px; }
ol.steps li::marker { color: var(--primary-dark); font-weight: 900; }

/* テーブル */
.table-scroll { overflow-x: auto; border-radius: 12px; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 24px;
  font-size: 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--primary); color: #fff; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #fdf7f4; }

/* ボックス */
.point-box, .caution-box {
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 15px;
  position: relative;
}
.point-box {
  background: #fff8e8;
  border: 2px solid #f3d68b;
}
.point-box::before { content: "💡 POINT"; display: block; font-weight: 900; color: #c08a1d; font-size: 13px; margin-bottom: 6px; letter-spacing: .08em; }
.point-box strong { color: #a4731a; }
.caution-box {
  background: #fdeff0;
  border: 2px solid #f0b9be;
}
.caution-box::before { content: "⚠ 注意"; display: block; font-weight: 900; color: #c74b58; font-size: 13px; margin-bottom: 6px; letter-spacing: .08em; }
.caution-box strong { color: #c74b58; }

/* ---------- CTA ---------- */
.cta-block {
  background: linear-gradient(135deg, #fff0f5, #fff6ec);
  border: 2.5px dashed var(--primary);
  border-radius: 18px;
  padding: 26px 18px 22px;
  margin: 34px 0;
  text-align: center;
}
.cta-block .cta-label { font-size: 11px; color: #b3a29e; margin-bottom: 4px; }
.cta-block p.cta-lead {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8c3a55;
  margin-bottom: 6px;
  line-height: 1.7;
}
.cta-mini {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
a.cta-button {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 44px;
  border-radius: 999px;
  box-shadow: 0 5px 0 #c93b62, 0 8px 18px rgba(244, 82, 125, .35);
  transition: transform .12s, box-shadow .12s;
  animation: ctaPulse 2s ease-in-out infinite;
}
a.cta-button::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-25deg);
  animation: shine 2.6s infinite;
}
@keyframes shine { 0% { left: -80%; } 55% { left: 130%; } 100% { left: 130%; } }
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
a.cta-button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c93b62, 0 5px 12px rgba(244, 82, 125, .35);
}
.cta-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- 編集部イチオシカード ---------- */
.rank-card {
  position: relative;
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 18px;
  padding: 34px 22px 26px;
  margin: 40px 0 30px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(220, 160, 60, .2);
}
.rank-card .crown {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38px;
  filter: drop-shadow(0 2px 4px rgba(180, 130, 30, .4));
}
.rank-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e89a2b);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 22px;
  border-radius: 999px;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.rank-card h3.rank-name {
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text);
}
.rank-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-bottom: 16px;
}
.rank-features li {
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
details.faq {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 44px 15px 46px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  line-height: 1.6;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "Q";
  position: absolute;
  left: 14px; top: 14px;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
}
details.faq summary::after {
  content: "＋";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 900;
}
details.faq[open] summary::after { content: "－"; }
.faq-a {
  padding: 4px 18px 16px 46px;
  position: relative;
  font-size: 15px;
}
.faq-a::before {
  content: "A";
  position: absolute;
  left: 14px; top: 4px;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
}

/* ---------- 関連記事 ---------- */
.related {
  margin-top: 32px;
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(190, 120, 140, .1);
}
.related h2 { margin-top: 0; }
.related ul { list-style: none; }
.related li { margin-bottom: 8px; }
.related a {
  display: block;
  padding: 12px 14px 12px 34px;
  color: var(--text);
  background: #fffaf7;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: background .15s;
}
.related a::before {
  content: "▶";
  position: absolute;
  left: 12px;
  color: var(--primary);
  font-size: 11px;
}
.related a:hover { background: var(--primary-pale); }

/* ---------- 利用者の声 ---------- */
.voice-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(190, 120, 140, .08);
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.voice-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.voice-name {
  display: block;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 14.5px;
}
.voice-meta {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.voice-text {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.9;
}
.voice-empty {
  background: #fdf6f2;
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  color: #9b8a88;
  margin-bottom: 10px;
}
.voice-empty p { margin: 0; }
.voice-form-box { margin: 18px 0; }
.voice-form-box iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
  min-height: 520px;
}

/* ---------- 追従CTAバー ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-top: 1.5px solid var(--line);
  box-shadow: 0 -4px 16px rgba(190, 120, 140, .18);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sticky-cta .sticky-pr { font-size: 10px; color: #b3a29e; }
a.sticky-button {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(480px, 100%);
  text-align: center;
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #c93b62;
  line-height: 1.4;
}
a.sticky-button .mini {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: .95;
}
a.sticky-button::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-25deg);
  animation: shine 2.6s infinite;
}

/* ---------- フッター ---------- */
footer.site-footer {
  background: var(--navy);
  color: #e8d5db;
  font-size: 13px;
  padding: 30px 16px;
  margin-top: 44px;
}
.site-footer .inner { max-width: 960px; margin: 0 auto; text-align: center; }
.site-footer nav { margin-bottom: 12px; }
.site-footer nav a { color: #e8d5db; margin: 0 10px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* ---------- 案内キャラクター ---------- */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}
.hero-text { max-width: 560px; margin: 0 auto; }
.hero-chara {
  position: absolute;
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  text-align: center;
}
@media (max-width: 1080px) {
  .hero-chara { position: static; transform: none; margin: 14px auto 0; }
}
.hero-chara img {
  width: 170px;
  height: 170px;
  filter: drop-shadow(0 6px 16px rgba(190, 120, 140, .35));
  animation: charaBob 3s ease-in-out infinite;
}
@keyframes charaBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.chara-bubble {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 3px 10px rgba(190, 120, 140, .2);
  margin-bottom: 12px;
  line-height: 1.6;
}
.chara-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: none;
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  article { padding: 22px 16px; }
  .hero { padding: 40px 14px 36px; }
  a.cta-button { font-size: 16px; padding: 14px 30px; display: block; }
  h2 { font-size: 18px; }
  .hero-chara img { width: 130px; height: 130px; }
}
