/* ============================================= */
/* eラーニング　申込みフォーム  */
/* ============================================= */

/* 冒頭の赤文字注意書き */
.form-warning-text {
  color: #d50000;
  font-weight: bold;
  font-size: 1.0rem;
  line-height: 1.6;
}

/* --- 外枠の共通設定 --- */
.course-frame {
  margin-bottom: 30px;
  background-color: #fff;
}

/* 青枠（基礎講習） */
.course-frame.is-blue {
  border: 3px solid #62c2e6;
}
.course-frame-header.bg-blue {
  background-color: #62c2e6;
  padding: 12px 20px;
}

/* 緑枠（一般講習） */
.course-frame.is-green {
  border: 3px solid #8fe08f;
}
.course-frame-header.bg-green {
  background-color: #8fe08f;
  padding: 12px 20px;
}

/* --- ヘッダー（タイトル帯） --- */
.course-frame-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.course-frame-header .course-group-title {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  background-color: transparent;
  padding: 0;
  margin: 0;
}

.course-frame-header .header-note {
  font-weight: bold;
  padding-left: 1em;
  font-size: 0.95rem;
  color: #333;
}

/* --- コンテンツエリア --- */
.course-frame-body {
  padding: 25px 30px;
}

/* 対象者エリア */
.target-section {
  margin-bottom: 30px;
}
/*
.target-badge {
  margin-bottom: 5px;
} */

.target-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.target-list li {
  line-height: 1.6;
}

/* 黄色ハイライト（赤文字） */
.highlight-yellow-red {
  background-color: yellow;
  color: #d50000;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 2px 5px;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 黄色ハイライト */
.highlight-yellow {
  background-color: yellow;
  padding: 2px 5px;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.line_under{
  text-decoration: underline 1px;
}

/* 注釈テキスト */
.target-notes {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  margin-top: 15px;
}

/* ulタグのデフォルト設定をリセット */
ul.note-item {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* ぶら下がりインデントの設定 */
ul.note-item li {
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.5;
}

/* --- スマホ表示の微調整 --- */
@media (max-width: 768px) {
  .course-selection-container{
    padding:0;
  }
  .course-frame-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-frame-header .header-note {
    padding-left: 0;
    margin-top: 8px;
  }
  .course-frame-body {
    padding: 15px;
  }
  .note-item {
    text-indent: -1.8em;
    padding-left: 1.8em;
  }
}



/* ============================================= */
/* 操作の手順書等 下部エリア             */
/* ============================================= */

/* メール案内文 */
.mail-notice-box {
    margin: 30px 0 20px;
}
.mail-notice-text {
    font-weight: bold;
    margin: 0;
}

/* カードコンテナ */
.apply-cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.apply-card {
    flex: 1;
    border-width: 3px;
    border-style: solid;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* 緑カード（新規） */
.apply-card.is-green { border-color: #00b050; }
.apply-card-header.bg-green { background-color: #00b050; }

/* 紫カード（申込済み） */
.apply-card.is-purple { border-color: #cc66cc; }
.apply-card-header.bg-purple { background-color: #cc66cc; }


/* ボディ共通（カード内のレイアウト） */
.apply-card-body {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* ヘッダー共通 */
.apply-card-header {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 15px;
    width: 60%;
    box-sizing: border-box;
}
.apply-card-lead {
    font-weight: bold;
    font-size: 1.05rem;
    color: #000;
    text-decoration: underline;
    margin-top: 0;
}

.apply-card-note {
    color: #d50000;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.apply-card-note p {
    margin: 0 0 5px 0;
}
.apply-card-note p.indent {
    padding-left: 1em;
}

/* ボタンラッパー（ボタンを常に下端に揃え、右寄せにする） */
.apply-card-btn-wrap {
    margin-top: auto;
    text-align: right;
}

/* 枠内ボタンの微調整（高さだけを揃えて右に配置） */
.apply-card-btn-wrap .ms_btn.reset-btn-pad {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85px;
    width: auto;
    padding: 10px 30px;
    margin-top: 10px;
    box-sizing: border-box;
    line-height: 1.4;
}

/* 緑ボタンは元のCSSでpadding-topが入っている場合があるため上書きリセット */
.apply-card-btn-wrap .ms_btn_green.reset-btn-pad {
    padding-top: 10px;
}

/* 一番下のオレンジボタン用ラッパー */
.bottom-camera-btn-wrap {
    margin: 20px 20px 35px;
    text-align: left;
}
.bottom-camera-btn-wrap .ms_btn {
    margin: 0;
}

/* スマホ表示対応 */
@media (max-width: 768px) {
    .apply-cards-container {
        flex-direction: column;
        margin:auto 5px;
    }
    .apply-card-header {
        width: auto;
        display: inline-block;
    }
    .apply-card-btn-wrap {
        text-align: center;
    }
    .apply-card-btn-wrap .ms_btn.reset-btn-pad {
        width: 90%;
    }
}
