/* =========================================================
   Kindle電子書籍 0円キャンペーンLP メインスタイルシート
   ========================================================= */

:root {
  --bg-dark: #070c1e;
  --text-main: #f0f4f8;
  --text-sub: #a0aec0;
  --gold-start: #ffe066;
  --gold-end: #d4af37;
  --gold-glow: rgba(255, 224, 102, 0.4);
  --cyan-accent: #00f2fe;
  --card-bg: rgba(15, 23, 42, 0.75);
  --glow-white: rgba(255, 255, 255, 0.2);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Canvas */
#fireworks-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* 🎵 ユーザー指定：画面右上にスッキリ固定配置される丸型BGM/VOICEアイコンボタン */
.bgm-float-icon-btn {
  position: fixed;
  top: 12px;
  right: 15px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #ffd700;
  border: 2px solid #ffd700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
}

.bgm-float-icon-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
}

.bgm-float-icon-btn.active {
  background: linear-gradient(135deg, #ffd700, #ff9f43);
  color: #070c1e;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
}

/* Top Sticky Ribbon */
.top-ribbon-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #1e293b, #0f172a, #1e293b);
  border-bottom: 1px solid var(--gold-glow);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 100;
}

.top-ribbon-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 15px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: var(--gold-start);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* Hero Section */
.hero-section {
  position: relative;
  text-align: center;
  padding: 40px 15px 30px;
}

.badge-fourth-left {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

.badge-fourth {
  background: linear-gradient(135deg, #ffd700, #ff9f43);
  color: #070c1e;
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  border: 2px solid #ffffff;
}

.badge-fourth .sub {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.badge-fourth .main {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.badge-fourth .label {
  font-size: 9px;
  background: #070c1e;
  color: #ffd700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.hero-simple-title-group {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-subtitle-clean {
  font-size: 22px;
  color: #a0aec0;
  font-weight: 600;
  letter-spacing: 2px;
}

.hero-main-zero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 5px;
}

.price-highlight-huge {
  font-size: 72px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

.campaign-period-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 224, 102, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-start);
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.cta-button-wrapper {
  margin-top: 15px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffd700, #ff9f43);
  color: #070c1e;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  padding: 18px 36px;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #ffffff;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.8);
}

.cta-subtext {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 10px;
}

/* Section Cards */
.content-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.section-tag {
  color: var(--cyan-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.section-title {
  font-size: 26px;
  color: var(--gold-start);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 800;
}

/* Book Information */
.book-section {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.book-cover-wrapper {
  flex: 0 0 240px;
  margin: 0 auto;
}

.book-cover-link {
  display: block;
  transition: transform 0.3s ease;
}

.book-cover-link:hover {
  transform: scale(1.03);
}

.book-cover-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}

.book-details {
  flex: 1;
  min-width: 280px;
}

.book-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.book-subtitle {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 15px;
}

.points-list {
  list-style: none;
}

.points-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
}

.points-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold-start);
}

/* Concept Highlights */
.concept-highlight-box {
  margin-top: 30px;
  background: rgba(7, 12, 28, 0.7);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.concept-box-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 15px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.concept-item {
  background: rgba(15, 23, 42, 0.8);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.concept-item-num {
  font-size: 12px;
  color: var(--gold-start);
  font-weight: bold;
}

.concept-item-title {
  font-size: 15px;
  font-weight: bold;
  margin: 4px 0 6px;
}

.concept-item-desc {
  font-size: 13px;
  color: var(--text-sub);
}

/* Customer Reviews */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: rgba(7, 12, 28, 0.6);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-header {
  margin-bottom: 12px;
}

.review-stars {
  color: #ffd700;
  font-weight: bold;
  font-size: 16px;
  margin-right: 8px;
}

.review-title {
  font-size: 17px;
  font-weight: bold;
}

.review-meta {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 3px;
}

.review-bullets-list {
  list-style: none;
}

.review-bullets-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}

.review-bullets-list li::before {
  content: "📌";
  position: absolute;
  left: 0;
  font-size: 13px;
}

/* Problem Solver Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.step-card {
  background: rgba(7, 12, 28, 0.6);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--cyan-accent);
  opacity: 0.5;
  margin-bottom: 5px;
}

.step-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--gold-start);
}

.step-desc {
  font-size: 13px;
  color: var(--text-sub);
}

/* Author Profile & Catalog Card */
.author-catalog-card {
  text-align: center;
}

.author-profile-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.author-profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-start);
  box-shadow: 0 0 15px var(--gold-glow);
}

.author-profile-details {
  text-align: left;
}

.author-name-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-main);
}

.author-role-sub {
  font-size: 14px;
  color: var(--cyan-accent);
}

/* ⚪ 白発光（ホワイトネオン）バースデーメッセージカード */
.birthday-whiteglow-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px var(--glow-white), inset 0 0 15px rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 22px;
  margin: 25px 0;
  text-align: center;
}

.birthday-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.birthday-whiteglow-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.birthday-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
}

.author-catalog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold-start);
  margin-bottom: 8px;
}

.author-catalog-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.author-catalog-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--gold-start);
  border: 2px solid var(--gold-start);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: all 0.3s ease;
}

.author-catalog-button:hover {
  background: var(--gold-start);
  color: #070c1e;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 15px;
  color: var(--text-sub);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
  .hero-main-zero-title { font-size: 32px; }
  .price-highlight-huge { font-size: 54px; }
  .cta-button { font-size: 18px; padding: 14px 24px; }
  .book-section { flex-direction: column; text-align: center; }
  .points-list li { text-align: left; }
  .author-profile-details { text-align: center; }
  .bgm-float-icon-btn { top: 8px; right: 10px; width: 38px; height: 38px; font-size: 16px; }
}
