/* ============================================================
   cta.css  —  2種類のCTAテンプレートパーツ
   A: .pcta  固定ページ用（ライトローズ・全幅）
   B: .ptcta カスタム投稿/archive用（ネイビーダーク・全幅）
   LINE専用: .pcta--line（グリーン）
   ============================================================ */

/* =============================================
   A. .pcta  固定ページ用
   ============================================= */
.pcta {
  width: 100%;
  background: linear-gradient(160deg, #fff0f5 0%, #ffe0ee 50%, #ffd6e5 100%);
  padding: 88px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 装飾ライン（左上） */
.pcta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--pink-main), var(--pink-deep));
}

/* 右下の薄い透かし円 */
.pcta::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,62,122,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pcta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.pcta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--pink-main);
  margin-bottom: 16px;
}

.pcta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 14px;
}

.pcta-sub {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 0;
}

.pcta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.pcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.pcta-btn--primary {
  background: linear-gradient(135deg, var(--pink-main), var(--pink-deep));
  color: #fff;
  box-shadow: 0 6px 24px rgba(240,62,122,.35);
}
.pcta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(240,62,122,.45);
  color: #fff;
}

.pcta-btn--sub {
  background: transparent;
  color: var(--pink-main);
  border: 2px solid rgba(240,62,122,.4);
}
.pcta-btn--sub:hover {
  background: rgba(240,62,122,.06);
  border-color: var(--pink-main);
  color: var(--pink-main);
  transform: translateY(-2px);
}

/* LINE専用ボタン */
.pcta-btn--line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 6px 24px rgba(6,199,85,.3);
}
.pcta-btn--line:hover {
  background: #05b34c;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6,199,85,.4);
  color: #fff;
}

.pcta-line-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

/* ---- LINE テーマ上書き ---- */
.pcta--line {
  background: linear-gradient(160deg, #e8faf0 0%, #d1f5e0 50%, #b8efd0 100%);
}
.pcta--line::before {
  background: linear-gradient(to right, #06C755, #04a844);
}
.pcta--line::after {
  background: radial-gradient(circle, rgba(6,199,85,.08) 0%, transparent 70%);
}
.pcta--line .pcta-eyebrow { color: #06C755; }
.pcta--line .pcta-title   { color: #1a3a2a; }


/* =============================================
   B. .ptcta  投稿タイプ・アーカイブ用
   ============================================= */
.ptcta {
  width: 100%;
  background: var(--navy);
  padding: 88px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 透かしテキスト */
.ptcta-deco {
  position: absolute;
  right: -12px; bottom: -24px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 上部ピンクライン */
.ptcta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--pink-main), var(--pink-deep));
}

/* 左上グロー */
.ptcta::after {
  content: '';
  position: absolute;
  left: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,62,122,.06) 0%, transparent 65%);
  pointer-events: none;
}

.ptcta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.ptcta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(240,62,122,.75);
  margin-bottom: 16px;
}

.ptcta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 14px;
}

.ptcta-sub {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
}

.ptcta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.ptcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.ptcta-btn--primary {
  background: #fff;
  color: var(--pink-main);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.ptcta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  color: var(--pink-deep);
}

.ptcta-btn--sub {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 2px solid rgba(255,255,255,.25);
}
.ptcta-btn--sub:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-2px);
}

/* SP */
@media (max-width: 600px) {
  .pcta  { padding: 64px 20px 56px; }
  .ptcta { padding: 64px 20px 56px; }
  .pcta-btns,
  .ptcta-btns { flex-direction: column; gap: 10px; }
  .pcta-btn,
  .ptcta-btn  { width: 100%; }
}

/* =============================================
   旧 .cta-section との互換（index.php トップ用）
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--pink-main) 0%, var(--pink-deep) 100%);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'APPLY';
  position: absolute;
  right: -8px; bottom: -16px;
  font-size: 200px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: rgba(255,255,255,.06);
  line-height: 1;
  pointer-events: none;
}
.cta-title { font-family: 'Noto Serif JP', serif; font-size: clamp(22px,4vw,36px); color: #fff; font-weight: 600; margin-bottom: 12px; }
.cta-sub   { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 36px; line-height: 1.9; }
.btn-white {
  display: inline-block;
  background: #fff; color: var(--pink-main);
  font-size: 16px; font-weight: 700;
  padding: 16px 48px; border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,.2); }

/* CTA内ボタンとcontacts間の余白 */
.cta-section .btn-white {
  margin-bottom: 0;
}
