/* ============================================================
   CTA SECTION — 茅ヶ崎背景 全幅デザイン
============================================================ */

/* section.cta の padding をリセット・全幅化 */
.cta {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #b8e4f9 0%, #ceedfb 35%, #e2f5fd 65%, #fff 100%);
}

/* アクセントバー */
.cta-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #34d399, #38bdf8);
  background-size: 200% 100%;
  animation: ctaShimmer 3s ease infinite;
  z-index: 4;
}
@keyframes ctaShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* 茅ヶ崎イラスト：下揃え全幅 */
.cta-illust {
  position: absolute;
  bottom: 3%; left: 0; right: 0;
  z-index: 1;
  pointer-events: none;
}
.cta-illust img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .5;
  mix-blend-mode: multiply;
}

/* コンテンツレイアウト */
.cta-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 5% 22%;
}
@media (max-width: 767px) {
	.cta-layout {
	  display: block;
	}
}

/* キャラクターカラム */
.cta-chara-col {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-chara-col img,
.cta-chara-col svg {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(13,42,74,.13));
  animation: charaBob 4.2s ease-in-out infinite;
}

/* 吹き出し */
.cta-balloon {
  width: 100%;
  background: rgba(255,255,255,.96);
  border: 1.5px solid rgba(56,189,248,.40);
  border-radius: 14px;
  padding: 9px 12px;
  font-size: clamp(45%, 1.28vw, 110%);
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 4px 16px rgba(56,189,248,.15), inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
}
.cta-balloon::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid rgba(56,189,248,.40);
}
.cta-balloon::before {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(255,255,255,.96);
  z-index: 1;
}

/* テキストパネル（すりガラス） */
.cta-panel {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px 32px;
  border: 1.5px solid rgba(255,255,255,.92);
  box-shadow: 0 4px 24px rgba(56,189,248,.10), inset 0 1px 0 rgba(255,255,255,.8);
}

/* バッジ */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  background: rgba(240,253,244,.95);
  border: 1px solid rgba(52,211,153,.35);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .10em;
  color: #065f46;
}
.cta-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: ctaBadgePulse 2.2s ease infinite;
  flex-shrink: 0;
}
@keyframes ctaBadgePulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,.08); }
}

/* 見出し */
.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.55;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #0c2340;
}

/* 本文 */
.cta-panel p:not(.cta-badge) {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 2.0;
  color: rgba(12,35,64,.80);
	font-weight: 600;
}

/* ボタン群 */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.cta-actions .btn-primary {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(3,105,161,.30), inset 0 1px 0 rgba(255,255,255,.12);
  border-radius: 12px;
  min-height: 50px;
  font-size: 13.5px;
}
.cta-actions .btn-primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(3,105,161,.36), inset 0 1px 0 rgba(255,255,255,.12);
}
.cta-actions .btn-secondary {
  background: rgba(255,255,255,.80);
  color: #0c2340;
  border: 1.5px solid rgba(12,35,64,.13);
  border-radius: 12px;
  min-height: 50px;
  font-size: 13px;
}
.cta-actions .btn-secondary:hover {
  background: rgba(255,255,255,.96);
  box-shadow: none;
}

/* マイクロコピー */
.cta-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 11px;
  color: rgba(12,35,64,.80);
	font-weight: 600;
}
.cta-micro span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cta-micro-check {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(52,211,153,.20);
  color: #065f46;
  font-size: 7px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SP対応 */

@media (max-width: 767px) {
  .cta-layout {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 10% 5% 48%;
    gap: 20px;
  }
  .cta-chara-col {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: -12px;
	  position: relative;
	  z-index: 3;
  }
  .cta-chara-col img,
  .cta-chara-col svg {
    max-width: 140px;
    width: auto;
    padding-top: 0;
  }
  .cta-balloon {
    width: auto;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
  }
  .cta-panel { padding: 22px 20px 26px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary { min-width: 100%; }
}
/* ============================================================
   AREA SUB LINKS（エリア間ナビ）
============================================================ */
.area-sub-links {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 5% 0 32px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.area-sub-link-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(74,124,255,.14);
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 30px rgba(12,35,64,.06);
  text-decoration: none;
  transition:
    transform .24s var(--ease),
    border-color .24s ease,
    background .24s ease,
    box-shadow .24s ease;
}
.area-sub-link-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(74,124,255,.28);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 38px rgba(12,35,64,.1);
}

.area-sub-link-label {
  font-family: var(--font-ui, "Inter", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(74,124,255,.72);
  line-height: 1;
}

.area-sub-link-text {
  position: relative;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}
.area-sub-link-text::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(74,124,255,.72);
  transition: transform .24s var(--ease);
}
.area-sub-link-btn:hover .area-sub-link-text::after {
  transform: translateY(-50%) translateX(4px);
}

@media (max-width: 767px) {
  .area-sub-links {
	grid-template-columns: 1fr;
    padding: 28px 0 0;
    gap: 10px;
  }
}
