@charset "utf-8";
/*コラム CTAエリア*/
.btn_area.cta_area {
  background-color: #dcd6d2;
}
.btn_area.cta_area p {
  color: #333;
}
.cta-box {
  border: 1px solid #b30000;
  background: #fff;
  max-width: 1080px;
  margin: auto;
}
.cta-box__heading {
  font-weight: 700;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.0;
  background-color: #b30000;
  color: #fff;
  padding: 1em;
}
.cta-box__kicker {
  color: #666;
  text-align: center;
  margin-bottom: 16px
}
.cta-box__actions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 2em;
}
@media (min-width:768px) {
  .cta-box__actions {
    flex-direction: row
  }
  .cta-box__item {
    flex: 1
  }
}
.cta-slot {
  margin: 4em 0;
}
.cta-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden
}
.cta-card__thumb {
  display: block;
  width: 100%;
  height: auto
} /* 画像CLS対策はwidth/height属性もセット */
.cta-card__thumb-link {
  display: block;
  margin: 0 0 10px;
}
.cta-card__title {
  font-weight: 700;
  font-size: 1.1em;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b30000;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 5px;
}
.cta-card__desc {
  font-size: .8em;
  text-align: justify;
  margin: 0 0 10px;
  line-height: 1.6
}
.cta-card__btn {
  margin: auto 0 12px; /* 下に張り付く */
  display: block;
  text-align: center;
  padding: 14px;
  color: #fff;
  background-color: #b30000;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.0;
  border-radius: 10px;
  border: 1px solid #b30000;
  text-decoration: none
}
.cta-card__thumb-link:hover img {
  filter: brightness(0.98)
}
.cta-card__btn:hover {
  color: #b30000 !important;
  background: #fff;
  text-decoration: none
}
@media only screen and (max-width: 1080px) {
  .cta-box__actions {
    gap: 20px;
    padding: 1em;
  }
  .cta-card__title {
    font-size: 1em;
  }
}
@media only screen and (max-width: 750px) {
  .cta-box__actions {
    gap: 40px;
  }
}
/* —— TypeC は “カードを縦積み” —— */
.cta--vertical .cta-box__actions {
  display: flex;
  flex-direction: column; /* ★必ず縦積み */
  gap: 24px;
}
.cta--vertical .cta-box__item {
  flex: none !important; /* 他パターンの flex:1 を無効化 */
  width: 100% !important; /* 横幅いっぱいで1列 */
}
/* —— タイトル（カードの上に出す） —— */
.cta--vertical .cta-card__heading {
  font-weight: 700;
  font-size: 1.2em;
  color: #b30000;
  line-height: 1.2;
  margin: 0 0 10px;
}
/* —— カード本体は “中身だけ横並び” —— */
.cta--vertical .cta-card.cta-card--horizontal {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
}
/* サムネイルは固定幅、画像は100%で収める */
.cta--vertical .cta-card__thumb-link {
  flex: 0 0 340px; /* 画像ボックスの横幅と合わせる */
}
.cta--vertical .cta-card__thumb {
  display: block;
  width: 100%;
  height: auto;
}
/* テキスト＋ボタン側 */
.cta--vertical .cta-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.cta--vertical .cta-card__desc {
  color: #555;
  line-height: 1.7;
}
.cta--vertical .cta-card__btn {
  align-self: flex-end; /* 右寄せ */
  margin-top: 12px; /* 説明文との間隔 */
  padding: 14px 42px;
}
/* —— スマホではカード内も縦並びに切替（任意） —— */
@media (max-width: 767px) {
  .cta--vertical .cta-card.cta-card--horizontal {
    flex-direction: column;
  }
  .cta--vertical .cta-card__thumb-link {
    flex: none;
    width: 100%;
  }
  .cta--vertical .cta-card__btn {
    align-self: stretch; /* スマホでボタンを横いっぱいにしたい場合 */
    text-align: center;
  }
}