/* /hl-modernize 特設ページ専用スタイル */
/* ====================================================
   Special Page (各ページの色設定)
==================================================== */
/* デフォルトの色設定（共通） */
.special {
  --sp-bg-color: #ffffff;
  --sp-main-color: #1B3345;
  --sp-accent-color: #D92220;
  --sp-text-color: #1E1E1E;

  color: var(--sp-text-color);
  position: relative;
  padding: 160px 0;
  z-index: 0;
  font-size: 16px;
}

/* ★上部だけに背景色を敷くための設定 */
.special::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background-color: var(--sp-bg-color);
  z-index: -1;
}

/* ====================================================
   Special Page (構造・共通レイアウト)
==================================================== */
.special-page_main-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 40px;
}
.special-page_sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}


/* ▼ バナー画像用 ▼ */
.special-page_banner {
  margin-bottom: 40px;
}
.special-page_banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* 新設：カテゴリ・リード文・ボタン誘導文などのレイアウト調整用 */
.special-page_cat {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ACB8C5;
}
.special-page_lead-text {
  margin-bottom: 20px;
}
.special-page_block-mt {
  margin-top: 50px;
}
.special-page_title-mt {
  margin-top: 25px;
}
.special-page_info-item {
  margin-bottom: 30px;
}
.special-page_info-subitem {
  margin-bottom: 25px;
}
.special-page_note-mt {
  margin-top: 15px;
}

.special-page_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px;
  margin: 0 auto;
}
.special-page_left {
  width: calc(55% - 40px);
  margin-top: 50px;
}
.special-page_right {
  width: calc(45% - 40px);
}

/* ▼ 左側コンテンツ ▼ */
.special-page_info-block {
  margin-bottom: 50px;
  border-bottom: 1px solid #D1D9E2;
  padding-bottom: 50px;
}
.special-page_block-last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.special-page_info-title {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.special-page_info-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--sp-accent-color);
  margin-right: 6px;
}
.special-page_info-list {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0;
}
.special-page_info-list li {
  margin-bottom: 8px;
}

.special-page_info-text {
  margin-bottom: 5px;
}

/* ▼ 右側フォーム ▼ */
.special-form_card {
  background-color: #fff;
  border: 1px solid #DDEAF8;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 4px 10px rgba(33, 37, 46, 0.08);
}
.special-form_lead {
    font-size: 14px;
    margin-bottom: 30px;
}
.special-form_item {
  margin-bottom: 25px;
}
.special-form_label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}
.special-form_req {
  background-color: #EF5151;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}
.special-form_any {
  background-color: #DFE3E5;
  color: #101112;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: normal;
}
.special-form_input,
.special-form_select,
.special-form_textarea {
  width: 100%;
  border: 1px solid #DDEAF8!important;
  transition: border-color 0.2s;
}
.special-form_input::placeholder,
.special-form_textarea::placeholder {
  color: #ACB8C5;
  line-height: 1.5;
}
.special-form_select {
  cursor: pointer;
  color: #ACB8C5;
}
.special-form_select:valid {
  color: var(--sp-text-color);
}
.special-form_input:focus,
.special-form_select:focus,
.special-form_textarea:focus {
  border-color: var(--sp-main-color);
  outline: none;
}
.special-form_textarea {
  height: 240px;
  resize: vertical;
}
.special-form_name-group {
  display: flex;
  gap: 8px;
}
.special-form_input-wrap {
  flex: 1;
}
.special-form_ex {
  display: block;
  font-size: 12px;
  color: #1B3345;
  margin-top: 6px;
}
.special-form_privacy-box {
  background-color: #fff;
  border: 1px solid #DDEAF8;
  padding: 30px 20px;
  border-radius: 4px;
  margin-bottom: 30px;
}
.privacy-box_title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}
.privacy-box_text {
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.privacy-box_text a {
  color: var(--sp-main-color);
  text-decoration: none;
}
.privacy-box_text a:hover {
  text-decoration: underline;
}

/* ▼ カスタムチェックボックス ▼ */
.privacy-box_check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--sp-text-color);
  position: relative;
}
.privacy-box_check input {
  display: none;
}
.privacy-box_check span {
  position: relative;
  padding-left: 25px;
  color: #ACB8C5;
}
.privacy-box_check span::before,
.privacy-box_check span::after {
  content: "";
  display: block;
  position: absolute;
}
.privacy-box_check span::before {
  background: #fff;
  border-radius: 4px;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border: 1px solid #DDEAF8;
  box-sizing: border-box;
}
.privacy-box_check span::after {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  height: 5px;
  width: 8px;
  top: 50%;
  left: 4px;
  transform: translateY(calc(-50% - 2px)) rotate(-45deg);
  display: none;
  box-sizing: border-box;
}
.privacy-box_check input:checked + span {
  color: #1E1E1E;
}
.privacy-box_check input:checked + span::before {
  background: var(--sp-main-color);
  border-color: var(--sp-main-color);
}
.privacy-box_check input:checked + span::after {
  display: block;
}

/* ▼ ラジオボタングループ（2カラム） ▼ */
.special-form_radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.special-form_radio-label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #DDEAF8;
  border-radius: 4px;
  padding: 15px 15px 15px 45px;
  font-size: 16px;
  color: rgba(27, 51, 69, 0.5);
  transition: all 0.2s;
}
.special-form_radio-label:hover {
  background-color: #DDEAF8 !important;
}
.special-form_radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.special-form_radio-label::before,
.special-form_radio-label::after {
  position: absolute;
  content: '';
  display: block;
  border-radius: 50%;
}
.special-form_radio-label::before {
  width: 16px;
  height: 16px;
  background: #fff;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  border: 1px solid #DDEAF8;
  box-sizing: border-box;
}
.special-form_radio-label::after {
  width: 6px;
  height: 6px;
  background: #fff;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
.special-form_radio-label:has(input:checked) {
  background-color: #fff !important;
  color: var(--sp-main-color);
  font-weight: bold;
}
.special-form_radio-label:has(input:checked)::before {
  background: var(--sp-main-color);
  border-color: var(--sp-main-color);
}

.special-form_submit-wrap {
  text-align: center;
}
.special-form_submit-btn {
  background-color: var(--sp-main-color)!important;
  border-color: var(--sp-main-color)!important;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 16px 0;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  transition: opacity 0.3s;
}
.special-form_submit-btn:hover {
  background-color: #fff!important;
  color: var(--sp-main-color)!important;
}

/* ▼ 完了画面・エラー・その他 ▼ */
.special-form_thanks-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.special-form_thanks-action {
  margin-top: 40px;
  text-align: center;
}
.special-form_thanks-btn {
  display: inline-block;
  background-color: var(--sp-main-color);
  color: #fff;
  padding: 12px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}
.special-form_thanks-btn:hover {
  opacity: 0.8;
}

.special-form_global-error {
  color: #EF5151;
  margin-bottom: 15px;
  font-size: 13px;
}
.special-form_error-text {
  color: #EF5151;
  font-size: 12px;
  margin-top: 5px;
}
.special-form_privacy-box .special-form_error-text {
  margin-top: 10px;
}

.special-form_recaptcha-note {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}
.special-form_recaptcha-note a {
  color: #999;
}
.special-form_recaptcha-note a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1280px) {
  .special-page_wrap {
    gap: 40px;
  }
  .special-page_left {
    width: calc(50% - 20px);
  }
  .special-page_right {
    width: calc(50% - 20px);
  }
}

/* ▼ スマホ用レスポンシブ ▼ */
@media screen and (max-width: 768px) {
  .special {
    padding: 100px 0;
    font-size: 14px;
  }
  .special::before {
    height: 200px;
  }
  .special-page_wrap {
    flex-direction: column;
    gap: 60px;
  }
  .special-page_left,
  .special-page_right {
    width: 100%;
  }
  .special-page_left {
    margin-top: 0;
  }

  .special-page_banner {
    margin-bottom: 30px;
  }

  .special-page_info-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  .special-page_main-title {
    font-size: 24px;
  }
  .special-page_sub-title {
    font-size: 20px;
  }
  .special-page_info-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .special-form_card {
    border-radius: 12px;
    padding: 30px 20px;
  }
  .special-form_name-group {
    flex-direction: column;
    gap: 10px;
  }
  .special-form_radio-group {
    grid-template-columns: 1fr;
  }
}