/* =========================================================
   目的別レッスンLP (Lessons by purpose)
   Figma: node 5416-668
   ========================================================= */
body:before { background: unset; }

.lbp-main {
  color: #3d3c3c;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #fff;
}
.lbp-main img { max-width: 100%; height: auto; }

/* ---------- Shared section heading ---------- */
.lbp-section-head {
  text-align: center;
  position: relative;
  z-index: 1;
}
.lbp-section-head .logo-icon {
  display: block;
  margin: 0 auto 8px;
  width: 36px;
  height: auto;
}
.lbp-section-head__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  color: #3d3c3c;
  margin: 0;
}
.lbp-section-head__title-hl {
  display: inline-block;
  position: relative;
  padding: 0 4px;
}
.lbp-section-head__title-hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: #fff34a;
  z-index: -1;
  border-radius: 4px;
}
@media (min-width: 992px) {
  .lbp-section-head .logo-icon { width: 45px; }
  .lbp-section-head__title { font-size: 36px; }
  .lbp-section-head__title-hl::after { height: 16px; }
}

/* =========================================================
   FV (Hero)
   ========================================================= */
.lbp-fv {
  position: relative;
  background:
    url(/assets/img/lp/addonlessons/fv_kids_sp.png?v=2) no-repeat center center / cover,
    radial-gradient(ellipse at 80% 30%, #fff3d6 0%, #fff8e7 35%, #fffaf0 60%, #ffffff 100%);
  padding: 28px 16px 36px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.lbp-fv__inner {
  max-width: 1126px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.lbp-fv__copy {
  width: 100%;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lbp-fv__bottom {
  margin-top: auto;
  width: 100%;
}
.lbp-fv__lead {
  font-size: 15px;
  font-weight: 700;
  color: #412603;
  margin: 140px 0 12px;
  line-height: 1.6;
}
.lbp-fv__lead span { display: block; }
.lbp-fv__options {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lbp-fv__option {
  flex: 0 0 auto;
}
.lbp-fv__option-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  padding: 8px;
  box-sizing: border-box;
  border: 4px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.lbp-fv__option-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.lbp-fv__option-text { display: inline-block; }
.lbp-fv__option-text span { display: block; }
.lbp-fv__option-text .is-narrow { letter-spacing: -0.06em; }
.lbp-fv__option--wakuwaku .lbp-fv__option-circle { background: #258d36; }
.lbp-fv__option--grammar  .lbp-fv__option-circle { background: #fa7805; }
.lbp-fv__option--exam     .lbp-fv__option-circle { background: #f54d7d; }

.lbp-fv__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
  padding: 14px 40px;
  background: #f72b7e;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 40px;
  border: 3px solid #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,0.08), 0 0 0 3px #f72b7e inset;
  text-decoration: none;
  transition: opacity 0.2s ease;
  max-width: 360px;
  width: 88%;
  position: relative;
}
.lbp-fv__cta:hover { opacity: 0.85; }
.lbp-fv__cta-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
}
@media (min-width: 992px) {
  .lbp-fv {
    background:
      url(/assets/img/lp/addonlessons/fv_kids.png) no-repeat center center / cover,
      radial-gradient(ellipse at 80% 30%, #fff3d6 0%, #fff8e7 35%, #fffaf0 60%, #ffffff 100%);
    padding: 60px 24px 32px;
    min-height: 680px;
  }
  .lbp-fv__copy {
    width: 100%;
    text-align: center;
    padding-top: 20px;
  }
  .lbp-fv__lead {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 18px;
  }
  .lbp-fv__lead span { display: inline; }
  .lbp-fv__options {
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
  }
  .lbp-fv__option-circle {
    width: 180px;
    height: 180px;
    font-size: 18px;
    line-height: 1.25;
    gap: 0px;
    padding: 14px 12px 12px;
    border-width: 6px;
  }
  .lbp-fv__option-icon {
    width: 64px;
    height: 64px;
  }
  .lbp-fv__cta {
    margin: 36px auto 0;
    padding: 18px 50px;
    font-size: 22px;
    max-width: 450px;
    width: auto;
  }
}

/* =========================================================
   Step-up Map
   ========================================================= */
.lbp-map {
  position: relative;
  padding: 48px 16px 56px;
  background: #fff;
  overflow: hidden;
}
.lbp-map::before {
  content: "Map";
  position: absolute;
  font-family: "Aclonica";
  font-size: 72px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.03);
  top: 16px;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(-6deg);
          transform: translateX(-50%) rotate(-6deg);
  pointer-events: none;
}
@media (min-width: 992px) {
  .lbp-map::before {
    font-size: 160px;
    top: 40px;
    left: 8%;
    -webkit-transform: rotate(-10.85deg);
            transform: rotate(-10.85deg);
  }
}
.lbp-map__head {
  position: relative;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 32px;
}
.lbp-map__head .lbp-section-head { position: relative; z-index: 1; }
.lbp-map__subtitle {
  max-width: 900px;
  margin: 16px auto 0;
  padding: 16px 20px;
  background: #fff9e8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #3d3c3c;
  text-align: center;
  position: relative;
  z-index: 1;
}
.lbp-map__hl {
  background: linear-gradient(transparent 55%, #ffff66 55%);
}
.lbp-map__desc {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3d3c3c;
  position: relative;
  z-index: 1;
}

.lbp-map__figure {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.lbp-map__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2506 / 2394;
}

@media (min-width: 992px) {
  .lbp-map { padding: 80px 24px 100px; }
  .lbp-map__subtitle { font-size: 22px; padding: 24px 40px; margin-top: 32px; }
  .lbp-map__desc { font-size: 18px; margin-top: 16px; }
}

/* =========================================================
   3 Lesson Cards
   ========================================================= */
.lbp-cards {
  padding: 56px 8px 32px;
  background: #fff;
}
.lbp-cards__list {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.lbp-card {
  position: relative;
  background: #fff;
  border: 3px solid;
  border-radius: 16px;
  padding: 10px 10px 12px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "bubble"
    "title"
    "desc"
    "meta"
    "btn";
  column-gap: 12px;
  text-align: center;
  align-items: start;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.lbp-card--wakuwaku { border-color: #258d36; }
.lbp-card--grammar  { border-color: #fa7805; }
.lbp-card--exam     { border-color: #f54d7d; }

.lbp-card__bubble {
  grid-area: bubble;
  position: relative;
  background: var(--bubble-bg, #fff);
  border-radius: 14px;
  padding: 8px 6px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.lbp-card__bubble br { display: none; }
.lbp-card__bubble p { margin: 0; }
/* 吹き出しの尻尾（下向き三角）— 左寄り。外側=ボーダー色 / 内側=吹き出し背景色 */
.lbp-card__bubble::before,
.lbp-card__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}
.lbp-card__bubble::before {
  bottom: -14px;
  transform: translateX(-50%);
  border-width: 14px 12px 0;
  border-color: transparent;
}
.lbp-card__bubble::after {
  bottom: -9px;
  transform: translateX(-50%);
  border-width: 11px 9px 0;
  border-color: var(--bubble-bg, #fff) transparent transparent transparent;
}
.lbp-card--wakuwaku .lbp-card__bubble { color: #258d36; --bubble-bg: #e1f2d3; }
.lbp-card--grammar  .lbp-card__bubble { color: #fa7805; --bubble-bg: #ffe1c2; }
.lbp-card--exam     .lbp-card__bubble { color: #f54d7d; --bubble-bg: #ffd5e0; }

.lbp-card__title {
  grid-area: title;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbp-card--wakuwaku .lbp-card__title { color: #258d36; }
.lbp-card--grammar  .lbp-card__title { color: #fa7805; }
.lbp-card--exam     .lbp-card__title { color: #f54d7d; }
/* SP: カードタイトルの改行をなくして1行に */
.lbp-card__title br { display: none; }
/* SP: 説明文の改行をなくして横に続ける */
.lbp-card__desc br { display: none; }

.lbp-card__desc {
  grid-area: desc;
  font-size: 11px;
  line-height: 1.5;
  color: #3d3c3c;
  margin: 0 0 4px;
}
.lbp-card__media {
  grid-area: media;
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.lbp-card__media::after {
  display: none;
}
.lbp-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }

.lbp-card__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  margin: 2px 0;
}
.lbp-card__recommend {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #3d3c3c;
}
.lbp-card__recommend-bracket {
  color: currentColor;
  font-weight: 700;
}
.lbp-card--wakuwaku .lbp-card__recommend-bracket { color: #258d36; }
.lbp-card--grammar  .lbp-card__recommend-bracket { color: #fa7805; }
.lbp-card--exam     .lbp-card__recommend-bracket { color: #f54d7d; }

.lbp-card__level {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 11px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.lbp-card--wakuwaku .lbp-card__level { background: #e1f2d3; color: #258d36; }
.lbp-card--grammar  .lbp-card__level { background: #ffe1c2; color: #fa7805; }
.lbp-card--exam     .lbp-card__level { background: #ffd5e0; color: #f54d7d; }

.lbp-card__target {
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  color: #3d3c3c;
}

@media (min-width: 992px) {
  .lbp-cards { padding: 90px 24px 60px; }
  .lbp-cards__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
  }
  .lbp-card {
    display: block;
    flex: 1 1 0;
    width: auto;
    text-align: center;
    border-width: 4px;
    border-radius: 20px;
    padding: 24px 20px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }
  .lbp-card__bubble { font-size: 17px; padding: 14px 12px; margin: 0 auto 22px; border-radius: 18px; text-align: center; }
  .lbp-card__bubble br { display: inline; }
  .lbp-card__title { font-size: 26px; margin: 12px 0 10px; min-height: 102px; justify-content: center; }
  .lbp-card__title br { display: inline; }
  .lbp-card__desc br { display: inline; }
  .lbp-card__desc { font-size: 16px; line-height: 1.55; margin: 0 0 12px; }
  .lbp-card__media { width: 160px; height: 160px; margin: 8px auto 12px; display: flex; align-self: auto; }
  .lbp-card__media::after { display: block; }
  .lbp-card__meta { flex-direction: column; align-items: center; margin: 0; }
  .lbp-card__recommend { width: auto; font-size: 16px; gap: 4px; margin: 12px 0 6px; justify-content: center; }
  .lbp-card__level { font-size: 18px; padding: 8px 32px; min-width: 260px; margin: 4px 0 8px; }
  .lbp-card__target { font-size: 16px; margin: 0 0 14px; }
  .lbp-card__btn { width: 100%; margin-top: 0; padding: 20px 36px; font-size: 20px; gap: 14px; }
  .lbp-card__btn .lbp-btn__arrow { border-width: 8px 0 8px 12px; }
}

/* =========================================================
   Lesson Detail (Picture book / grammar / Exam)
   ========================================================= */
.lbp-detail {
  position: relative;
  padding: 56px 16px 64px;
  overflow: hidden;
  text-align: center;
}
.lbp-detail::before {
  position: absolute;
  font-family: "Aclonica";
  font-size: 64px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.03);
  top: 12px;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(-6deg);
          transform: translateX(-50%) rotate(-6deg);
  pointer-events: none;
  white-space: nowrap;
}
.lbp-detail--wakuwaku::before { content: "Picture book"; font-size: 32px; }
.lbp-detail--grammar::before  { content: "grammar"; }
.lbp-detail--exam::before     { content: "Exam"; }
@media (min-width: 992px) {
  .lbp-detail::before {
    font-size: 160px;
    top: 40px;
    left: 8%;
    -webkit-transform: rotate(-10.85deg);
            transform: rotate(-10.85deg);
  }
  /* Picture book は文字数が多いので Picture book だけさらに縮小（cascadeで後勝ち） */
  .lbp-detail--wakuwaku::before { font-size: 110px; }
}

.lbp-detail .lbp-section-head { position: relative; z-index: 1; }

/* ----- Carousel (スワイプする画像) ----- */
.lbp-carousel {
  position: relative;
  z-index: 1;
  /* セクションのpaddingを打ち消して画面端まで延ばす */
  margin: 28px -16px 0;
  text-align: left;
}
.lbp-carousel__track {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 左右paddingは peek 幅。slideが max-width:860px でキャップされた場合も中央寄せが成立するよう、
     (viewport-860)/2 まで広げる */
  padding: 0 max(6vw, calc((100vw - 860px) / 2));
}
.lbp-carousel__track::-webkit-scrollbar { display: none; }
.lbp-carousel__slide {
  flex: 0 0 88vw;
  max-width: 860px;
  scroll-snap-align: center;
  aspect-ratio: 1040 / 720;
  background: #d9d9d9;
}
.lbp-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lbp-carousel__dots {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}
.lbp-carousel__dot {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d9d9;
  transition: background 0.2s ease;
}
.lbp-carousel--wakuwaku .lbp-carousel__dot.is-active { background: #258d36; }
.lbp-carousel--grammar  .lbp-carousel__dot.is-active { background: #fa7805; }
.lbp-carousel--exam     .lbp-carousel__dot.is-active { background: #f54d7d; }
@media (min-width: 992px) {
  .lbp-carousel { margin: 28px -24px 0; }
  .lbp-carousel__track {
    gap: 24px;
    padding: 0 max(20vw, calc((100vw - 700px) / 2));
  }
  .lbp-carousel__slide {
    flex: 0 0 60vw;
    max-width: 700px;
  }
  .lbp-carousel__dot { width: 12px; height: 12px; }
}
.lbp-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 0;
  width: 88%;
  max-width: 392px;
  padding: 18px 24px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.lbp-detail__cta:hover { opacity: 0.9; }

@media (min-width: 992px) {
  .lbp-detail { padding: 100px 24px 110px; }
  .lbp-detail__cta {
    margin-top: 48px;
    padding: 22px 32px;
    font-size: 22px;
  }
}

/* Shared button arrow (for cards "詳しく見る" / CTA) */
.lbp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  color: #fff !important;
}
.lbp-card__btn {
  grid-area: btn;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 15px;
  gap: 8px;
}
.lbp-card__btn .lbp-btn__arrow {
  border-width: 6px 0 6px 9px;
}
.lbp-btn__arrow {
  display: inline-block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
}
.lbp-btn--wakuwaku { background: #258d36; box-shadow: 0 5px 0 #0e651c; }
.lbp-btn--grammar  { background: #fa7805; box-shadow: 0 5px 0 #ae5200; }
.lbp-btn--exam     { background: #f54d7d; box-shadow: 0 5px 0 #bb1242; }
.lbp-btn--cta      { background: #f72b7e; box-shadow: 0 5px 0 #c41962; }
.lbp-btn:hover { opacity: 0.9; color: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.lbp-faq {
  padding: 48px 16px 56px;
  background: #fff;
}
.lbp-faq__group {
  max-width: 960px;
  margin: 24px auto 0;
}
.lbp-faq__group + .lbp-faq__group { margin-top: 28px; }
.lbp-faq__tag {
  display: inline-block;
  background: #004696;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.lbp-faq__list { list-style: none; padding: 0; margin: 0; }
.lbp-faq__item + .lbp-faq__item { margin-top: 12px; }

.lbp-faq__item details {
  background: #fff;
  border: 2px solid #004696;
  border-radius: 10px;
  overflow: hidden;
}
.lbp-faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 56px 14px 16px;
  position: relative;
  cursor: pointer;
  list-style: none;
  background: #dff0ff;
  color: #004696;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 8px;
  transition: border-radius 0.15s ease;
}
.lbp-faq__item details[open] summary {
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid #004696;
}
.lbp-faq__group--wakuwaku .lbp-faq__item details[open] summary {
  border-bottom-color: #258d36;
}
.lbp-faq__item summary::-webkit-details-marker { display: none; }
.lbp-faq__q {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  width: 22px;
  text-align: center;
}
.lbp-faq__question { flex: 1 1 auto; }
.lbp-faq__toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #fff;
  border: 2px solid #004696;
  border-radius: 4px;
  flex: 0 0 auto;
}
.lbp-faq__toggle::before,
.lbp-faq__toggle::after {
  content: "";
  position: absolute;
  background: #004696;
  border-radius: 1px;
  transition: transform 0.2s ease;
}
.lbp-faq__toggle::before {
  left: 25%; top: 50%;
  width: 50%; height: 3px;
  transform: translateY(-50%);
}
.lbp-faq__toggle::after {
  left: 50%; top: 25%;
  width: 3px; height: 50%;
  transform: translateX(-50%);
}
.lbp-faq__item details[open] .lbp-faq__toggle::after {
  transform: translateX(-50%) scaleY(0);
}
.lbp-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 18px;
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.lbp-faq__answer p { flex: 1 1 auto; margin: 0; }
.lbp-faq__a {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: #004696;
  width: 22px;
  text-align: center;
}

/* ワクワクえいご絵本コース は緑系 (#258d36) */
.lbp-faq__group--wakuwaku .lbp-faq__tag             { background: #258d36; }
.lbp-faq__group--wakuwaku .lbp-faq__item details    { border-color: #258d36; }
.lbp-faq__group--wakuwaku .lbp-faq__item summary    { background: #dff4d1; color: #258d36; }
.lbp-faq__group--wakuwaku .lbp-faq__toggle          { border-color: #258d36; }
.lbp-faq__group--wakuwaku .lbp-faq__toggle::before,
.lbp-faq__group--wakuwaku .lbp-faq__toggle::after   { background: #258d36; }
.lbp-faq__group--wakuwaku .lbp-faq__a               { color: #258d36; }
@media (min-width: 992px) {
  .lbp-faq { padding: 80px 24px 110px; }
  .lbp-faq__tag { font-size: 15px; padding: 8px 22px; }
  .lbp-faq__item summary { padding: 18px 70px 18px 24px; font-size: 17px; gap: 20px; }
  .lbp-faq__q { font-size: 22px; width: 26px; }
  .lbp-faq__toggle { right: 18px; width: 36px; height: 36px; border-radius: 6px; }
  .lbp-faq__answer { padding: 20px 24px 22px; gap: 20px; font-size: 16px; }
  .lbp-faq__a { font-size: 22px; width: 26px; }
}

/* =========================================================
   Bottom CTA (card layout)
   ========================================================= */
.lbp-cta {
  padding: 32px 16px 40px;
  text-align: center;
  background: #fff;
}
.lbp-cta__cards {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.lbp-cta__card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 4px solid;
  border-radius: 16px;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lbp-cta__card--wakuwaku { border-color: #258d36; }
.lbp-cta__card--grammar  { border-color: #fa7805; }
.lbp-cta__card--exam     { border-color: #f54d7d; }
.lbp-cta__card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  min-height: calc(22px * 1.3 * 3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  text-align: center;
}
.lbp-cta__card--wakuwaku .lbp-cta__card-title { color: #258d36; }
.lbp-cta__card--grammar  .lbp-cta__card-title { color: #fa7805; }
.lbp-cta__card--exam     .lbp-cta__card-title { color: #f54d7d; }
.lbp-cta__card-media {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
}
.lbp-cta__card-media::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(6px);
  z-index: 0;
}
.lbp-cta__card-media img { position: relative; z-index: 1; max-height: 100%; width: auto; }
.lbp-cta__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
}
.lbp-cta__card-btn:hover { opacity: 0.9; }
.lbp-cta__card-btn--wakuwaku { background: #258d36; box-shadow: 0 5px 0 #0e651c; }
.lbp-cta__card-btn--grammar  { background: #fa7805; box-shadow: 0 5px 0 #ae5200; }
.lbp-cta__card-btn--exam     { background: #f54d7d; box-shadow: 0 5px 0 #bb1242; }
.lbp-cta__card-btn-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.lbp-cta__card-btn--wakuwaku .lbp-cta__card-btn-free { color: #258d36; }
.lbp-cta__card-btn--grammar  .lbp-cta__card-btn-free { color: #fa7805; }
.lbp-cta__card-btn--exam     .lbp-cta__card-btn-free { color: #f54d7d; }
@media (min-width: 992px) {
  .lbp-cta { padding: 56px 24px 72px; }
  .lbp-cta__cards {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 36px;
  }
  .lbp-cta__card {
    width: auto;
    max-width: none;
    flex: 1 1 0;
    padding: 20px 20px 24px;
  }
  .lbp-cta__card-title { font-size: 28px; min-height: calc(28px * 1.3 * 3); margin-bottom: 14px; }
  .lbp-cta__card-media { width: 140px; height: 140px; margin-bottom: 16px; }
  .lbp-cta__card-btn { font-size: 18px; padding: 10px; gap: 10px; }
  .lbp-cta__card-btn-free { width: 44px; height: 44px; font-size: 15px; }
}
