/* ============================================================
   キャンペーンページ専用CSS（初月0円）
   テーマとの競合を避けるため cp- プレフィックスを使用
   sky7mobile/assets/css/campaign-first-free.css
============================================================ */

/* スクリーンリーダー専用テキスト */
.cp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   スタートバー
============================================================ */
.cp-start-bar {
  background: #111;
  color: #FFD700;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ============================================================
   KVスライダー
============================================================ */
.cp-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.cp-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.cp-slide {
  min-width: 100%;
}
.cp-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.cp-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.cp-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.cp-slider-dot.active {
  background: #fff;
}
.cp-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cp-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}
.cp-slider-arrow--prev { left: 12px; }
.cp-slider-arrow--next { right: 12px; }

/* ============================================================
   共通レイアウト
============================================================ */
.cp-container {
  max-width: 1064px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   アンカーナビ
============================================================ */
.cp-anchor-nav {
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
  padding: 16px 0;
}
.cp-anchor-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.cp-anchor-nav ul li a {
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.cp-anchor-nav ul li a::before {
  content: '▼';
  font-size: 10px;
  color: #FF8C00;
}
.cp-anchor-nav ul li a:hover {
  color: #FF8C00;
  text-decoration: none;
}

/* ============================================================
   セクション共通
============================================================ */
.cp-section {
  padding: 56px 0;
}
.cp-section--gray {
  background: #F7F7F7;
}
.cp-section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.3;
}

/* ============================================================
   キャンペーン概要カード
============================================================ */
.cp-campaign-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 834px) {
  .cp-campaign-cards {
    grid-template-columns: 1fr;
  }
}
.cp-campaign-card {
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
}
.cp-campaign-card-header {
  background: #FF8C00;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  padding: 8px 16px;
  letter-spacing: 0.1em;
}
.cp-campaign-card-header.yellow {
  background: #FFD700;
  color: #111;
}
.cp-campaign-card-header.dark {
  background: #333;
  color: #fff;
}
.cp-campaign-card-body {
  padding: 20px 16px;
  background: #fff;
}
.cp-campaign-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cp-campaign-card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.35;
}
.cp-campaign-card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}
.cp-campaign-card-note {
  font-size: 11px;
  color: #999;
  line-height: 1.8;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
}

/* プランチップ */
.cp-plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.cp-chip {
  background: #FFF9E0;
  border: 1.5px solid #FFD700;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #7A5200;
}
.cp-chip--blue {
  background: #E8F4FD;
  border-color: #5BA5D9;
  color: #1A5276;
}

/* ============================================================
   詳細セクション（画像＋テキスト：左右交互）
============================================================ */
.cp-detail-block {
  display: flex;
  gap: 48px;
  align-items: center;
}
.cp-detail-block--reverse {
  flex-direction: row-reverse;
}
.cp-detail-block-img {
  flex: 1 1 48%;
  max-width: 48%;
}
.cp-detail-block-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}
.cp-detail-block-body {
  flex: 1 1 48%;
}
.cp-detail-label {
  display: inline-block;
  background: #FF8C00;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.cp-detail-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #111;
  line-height: 1.35;
  margin-bottom: 12px;
}
.cp-detail-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 14px;
}
.cp-detail-note {
  font-size: 11px;
  color: #999;
  line-height: 1.8;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
}
@media (max-width: 768px) {
  .cp-detail-block,
  .cp-detail-block--reverse {
    flex-direction: column;
  }
  .cp-detail-block-img {
    max-width: 100%;
  }
}

/* ============================================================
   注意事項テーブル・早見表
============================================================ */
.cp-rules-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #BFBFBF;
  margin-top: 16px;
  font-size: 13px;
}
.cp-rules-table tr {
  border-top: 1px solid #BFBFBF;
}
.cp-rules-table tr:first-child {
  border-top: none;
}
.cp-rules-table th {
  background: #EDEDED;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
  width: 160px;
  color: #333;
}
.cp-rules-table td {
  padding: 14px 16px;
  color: #555;
  vertical-align: top;
  line-height: 1.8;
}
.cp-rules-table td ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.cp-rules-table td ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.cp-rules-table td ul li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: #FF8C00;
  font-weight: 700;
}
@media (max-width: 768px) {
  /* 早見表はSPでも横並びを維持してスクロール */
  .cp-rules-table th {
    display: table-cell;
    width: auto;
    font-size: 11px;
    padding: 10px 8px;
    white-space: nowrap;
  }
  .cp-rules-table td {
    display: table-cell;
    font-size: 11px;
    padding: 10px 8px;
  }
}
/* ============================================================
   注意事項 見出し
============================================================ */
.cp-rules-heading {
  font-size: 18px;
  font-weight: 900;
  color: #111;
  margin: 40px 0 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFD700;
}
.cp-rules-heading:first-of-type {
  margin-top: 0;
}

/* ============================================================
   CTA
============================================================ */
.cp-cta-section {
  background: #FFD700;
  padding: 56px 24px;
  text-align: center;
}
.cp-cta-lead {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  color: #111;
  line-height: 1.5;
  margin-bottom: 28px;
}
.cp-cta-btn {
  display: inline-block;
  background: #111;
  color: #FFD700;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 900;
  padding: 18px 56px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.cp-cta-btn:hover {
  opacity: 0.8;
  text-decoration: none;
}
.cp-cta-sub {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 768px) {
  .cp-section {
    padding: 40px 0;
  }
  .cp-slider-arrow {
    display: none;
  }
}
