@charset "UTF-8";

/* ===============================================
    コールセンター講座
    ※ 共通レイアウトは新CMS共通CSSを使用
=============================================== */
.p-apply .l-main__content {
  text-align: left;
}

.p-apply__content {
  width: 100%;
}

.p-apply__section {
  margin: 0 0 60px;
}

.p-apply__section:last-child {
  margin-bottom: 40px;
  text-align: center;
}

.p-apply__image img {
  display: block;
  width: 100%;
  height: auto;
}

.p-apply__desc,
.p-apply__text {
  margin: 15px 0 0;
}

/* ===============================================
    見出しの装飾
=============================================== */
.p-apply__title {
  position: relative;
  color: #0089d4;
  font-size: 24px;
  padding: 50px 0 40px 0;
  text-align: center;
  margin-bottom: 30px;
}

.p-apply__title::before,
.p-apply__title::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.p-apply__title::after{
  bottom: 0;
  background-image: url(../img/apply/dot.svg)
}

.p-apply__title--process::before {
  top:0; 
  background-image: url(../img/apply/process.svg)
}

.p-apply__title--pen::before {
  top:0; 
  background-image: url(../img/apply/pen.svg)
}

/* ===============================================
    こんな方におすすめ
=============================================== */
.p-apply__list {
  width: 63%;
  margin: 0 auto 50px;
  padding: 0;
}

.p-apply__listItem {
  margin: 20px 0;
}

.p-apply__listItem > span {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 38px;
  box-sizing: border-box;
  text-align: left;
}

.p-sapply__listItem--process > span::before {
  position: absolute;
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background-image: url(../img/apply/checkbox.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  top: 50%;
  left: 0%;
  transform: translateX(-30%) translateY(-50%);
}

/* ===============================================
    講座内容　ナビ
=============================================== */
.p-apply__naviList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  margin: 40px 0;
  padding: 0 30px;
}

.p-apply__naviListItem {
  width: auto;
  padding: 0;
  text-align: left;
  margin: 20px 0;
}

.p-apply__naviListItem > a {
  color: #333333;
}

/* .p-apply__naviListItem > a:visited {
  color: #0089d4;
} */

.p-apply__naviLink {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.p-apply__naviIcon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.p-apply__text {
  line-height: 1.7;
}

/* ===============================================
    講座詳細_サマリー部分
=============================================== */
.p-apply__course {
  border: 1px solid #000;
  margin: 0px 0 20px 0;
  border-bottom: 1px solid #707070;
}

.p-apply__courseTitle {
  margin: 0;
  padding: 8px 14px;
  color: #fff;
  background-color: #0089d4;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.p-apply__courseSummary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 16px 15px;
}

.p-apply__courseImage img {
  display: block;
  width: 100%;
  height: auto;
}

.p-apply__courseLead {
  color: #004097;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

/* ===============================================
    講座詳細_アコーディオン部分
    ※共通JSの .js-toggle / .is-open を利用
=============================================== */

.p-apply__accordion {
  padding: 0 16px 16px;
}

.p-apply__accordionButton {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  color: #0089d4;
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}


.p-apply__accordionButton::before {
  content: "+";
  padding: 0 10px 0 0;
  color: #0089d4;
  font-size: 30px;
  font-weight: 100;
  line-height: 1;
  vertical-align: middle;
}

.p-apply__accordion.is-open .p-apply__accordionButton::before {
  content: "-";
  font-size: 24px;
}

.p-apply__accordionBody {
  display: none;
  padding: 12px 10px 6px;
}

.p-apply__accordion.is-open .p-apply__accordionBody {
  display: block;
}

.p-apply__detailList {
  margin: 0;
  padding-left: 1.6em;
}

.p-apply__detailItem {
  margin-bottom: 18px;
  list-style: decimal;
}

.p-apply__detailTitle {
  font-weight: 700;
  margin: 0 0 5px;
}

.p-apply__detailItem p:not(.p-apply__detailTitle) {
    margin: 0;
}

/* ===============================================
    ご利用方法
=============================================== */
.p-apply__buttonLink {
  display: inline-block;
  line-height: 1;
  letter-spacing: 1.2px;
  color: #fff;
  border-radius: 50px;
  background: linear-gradient(-90deg, #14baf8, #1993d6);
  box-shadow: 0px 0px 25.6px 6.4px rgba(83, 83, 83, 0.2);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.3s;
  width: 70%;
  font-size: 23px;
  margin: 30px auto;
  padding: 1.1em;
}

.p-apply__sp-block {
  display: none;
}

.p-apply__text--address {
  margin-top: 30px;
}

.p-apply__mailLink {
  color: #333333;
  position: relative;
}

.p-apply__mailLink::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(../img/apply/mail_3x.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  position: absolute;
  top: 50%;
  left: -36px;
  transform: translateX(0) translateY(-50%);
}

.p-apply__registerLink .c-link__itemLink:hover {
  text-decoration: none;
}




/* ===============================================
    SP
=============================================== */

@media screen and (max-width: 768px) {
  .p-apply__list {
    width: 95%;
  }

  .p-apply__naviList {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .p-apply__naviListItem {
    margin: 8px 0;
  }

  .p-apply__courseSummary {
    display: block;
    padding: 22px 22px 22px;
  }

  .p-apply__section:last-child > p:nth-of-type(1),
  .p-apply__section:last-child > p:nth-of-type(2) {
    text-align: left;
  }

  .p-apply__buttonLink {
    width: 90%;
    font-size: 16px;
  }
  .p-apply__sp-block {
    display: block;
  }

}