/* SP のみで改行させる br（PC では display:none で無効化） */
.ht-sp-br { display: none; }

/* ぼかし段落 */
.ht-mask-blur {
  filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  user-select: none;
  pointer-events: none;
}

/* CTA ブロック */
.ht-cta-block {
  margin: 24px 0;
  text-align: center;
}
/* テーマの .content p マージン（!important 付き）に勝つため、こちらも !important で限定指定 */
.ht-cta-block .ht-cta-lock {
  font-size: 16px;
  font-weight: 500;
  color: #191919;
  margin: 0 !important;
}
.ht-cta-lock__icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 10px;
  vertical-align: -4px;
  background: url('img/icon-lock.svg') center / contain no-repeat;
}

/* CTA 主ボタン */
.ht-cta-action {
  position: relative;
  display: inline-block;
  margin-top: 14px;
}
.ht-cta-badge {
  position: absolute;
  top: -35px;
  left: -25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5b400 url('img/badge.svg') center / contain no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  z-index: 2;
}
.ht-cta-badge__sm {
  font-size: 12px;
  font-weight: 700;
}
.ht-cta-badge__lg {
  font-size: 14px;
  font-weight: 900;
}
.ht-cta-block a.ht-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 255px;
  min-height: 43px;
  padding: 9px 16px;
  background: #00b38f;
  border: 1px solid rgba(0, 179, 143, 0.45);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.28px;
  border-radius: 8px;
  text-decoration: none;
}
.ht-cta-block a.ht-cta-primary:link,
.ht-cta-block a.ht-cta-primary:visited {
  color: #fff;
}
.ht-cta-block a.ht-cta-primary:hover {
  color: #fff;
  background: #00886d;
  border-color: #00b38f;
  box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.2);
}
.ht-cta-primary__ext {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('img/icon-arrow.svg') center / contain no-repeat;
}

/* ログイン誘導行 */
.ht-cta-block .ht-cta-login {
  margin: 30px 0 24px !important;
  font-size: 16px;
  color: #191919;
}
.ht-cta-block .ht-cta-login a {
  color: #191919 !important;
  text-decoration: underline !important;
  margin-left: 4px;
}

/* 特典ボックス（白背景 + 7px グレー枠） */
.ht-cta-benefits {
  background: #fff;
  border: 7px solid #f2f2f2;
  border-radius: 8px;
  padding: 45px 24px 40px;
  text-align: center;
}
/* テーマの `.content div { margin-top: 2rem; }`（specificity 0,1,1）に確実に勝つため !important で打ち消す */
.ht-cta-benefits div {
  margin-top: 0 !important;
}
.ht-cta-benefits .ht-cta-benefits__title {
  font-size: 22px;
  font-weight: 500;
  color: #191919;
  margin: 0 0 15px !important;
}
.ht-cta-benefits .ht-cta-benefits__lead {
  font-size: 16px;
  color: #000;
  margin: 0 0 15px !important;
}
/* 画像とリストのまとまり。HTML 順を「画像 → リスト」にして、SP は縦積み（画像上・リスト下）、PC は横並び（画像左・リスト右） */
.ht-cta-benefits__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ht-cta-benefits__list {
  display: inline-block;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ht-cta-benefits__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  padding-left: 0;
  font-size: 15px;
  color: #191919;
}
/* テーマの .content ul>li:before（icomoon ○）を抑止。テーマ側の specificity が高いので !important で確実に消す */
.ht-cta-benefits__list li::before,
.ht-cta-benefits__list li::marker {
  content: none !important;
  display: none !important;
}
.ht-cta-benefits__check {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: url('img/icon-check.svg') center / contain no-repeat;
}
.ht-cta-benefits__mock img {
  width: 296px;
  max-width: 100%;
  height: auto;
}

/* the-thor-child の content 系ブレイクポイント（768px）に合わせる */
@media (max-width: 768px) {
  .ht-cta-block a.ht-cta-primary {
    min-width: 0;
    width: 100%;
  }
  /* SP は求人マスク（_member-gate.scss）準拠：グレー枠を撤去し、画像を特典リストの上に配置・画像幅 256px */
  .ht-cta-benefits {
    border: none;
    padding: 0 0 20px;
  }
  .ht-sp-br { display: inline; }
  /* リード文の下マージンを 8px に（SP のみ。PC は base の 15px のまま） */
  .ht-cta-benefits .ht-cta-benefits__lead {
    margin-bottom: 8px !important;
  }
  /* CTA ボタン領域とログイン誘導の上マージンを SP で 8px に。
     テーマの `.content div { margin-top: 2rem }` (0,1,1) を確実に上書き */
  .ht-cta-block .ht-cta-action {
    margin-top: 8px !important;
  }
  .ht-cta-block .ht-cta-login {
    margin-top: 8px !important;
  }
  .ht-cta-benefits__mock img {
    width: 256px;
  }
}

/* PC: 画像を左・チェックリストを右に横並び（求人情報マスク化_PC 準拠） */
@media (min-width: 769px) {
  .ht-cta-benefits__body {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
}
