@charset "utf-8";
/* COURSE CSS
---------------------------------- */

/* 共通 --------------------------------------- */
.upper-stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 50px;
}

.common-cat {
  line-height: 30px;
  text-align: center;
  width: 140px;
  border-radius: 5px;
  background-color: #577527;
}
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.keyword-item {
  line-height: 30px;
  text-align: center;
  padding: 0 20px;
  border-radius: 5px;
  background-color: #e9e4d7;
}
@media (max-width: 767px) {
  .upper-stage .keyword-list {
    width: 100%;
  }
    .keyword-item {
        line-height: 20px;
    }
}

/* 一覧ページ --------------------------------------- */
.anchor-link .btnarea {
  flex-wrap: wrap;
  column-gap: 40px;
}
.sec-list .common-nav-cat .cat-list {
  border-bottom: 10px solid #80a940;
}
.sec-list .common-nav-cat .cat-list a.is-active {
  background-color: #80a940;
}
.sec-list .common-nav-cat .cat-list a.is-active::before {
  background-color: #80a940;
}
.sec-list .course-list .cont-box {
  display: block;
  padding-left: 30px;
  padding-right: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.sec-list .course-list .cont-box .txt-area {
  transition: opacity 0.3s ease-out;
}
.sec-list .course-list .period-item:last-child {
  margin-bottom: 0;
}
.sec-list .course-list .period-item .head {
  display: inline-block;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  width: 80px;
  text-align: center;
  line-height: 18px;
}
.sec-list .course-list .period-item .desc {
  display: inline-block;
  margin-left: 10px;
}
.sec-list .course-list .more-box {
  position: relative;
  text-align: right;
  color: #808080;
  padding-right: 20px;
  transition: transform 0.28s ease;
}
.sec-list .course-list .more-box span {
    position: relative;
}
.sec-list .course-list .more-box span:first-child::before {
    content: "";
    width: 0;
    height: 1px;
    background-color: #999;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: all 0.28s ease;
}
.sec-list .course-list .more-box .arrow {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 12px;
    background: url(../img/common/icon_arrow_gry.svg) no-repeat center / contain;
    transition: transform 0.28s ease;
}

/*pager*/
#course .pager .nav-next i,
#course .pager .nav-pre i,
#course .pager .nav-backlist i {
	background: #80a940;
}


/*手話通訳養成・要約筆記養成について*/
.about-area {
  background-color: #f9f7f2;
}
.about-area:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.about-area:not(:last-child) .about-cont {
  border-bottom: 1px solid rgba(51, 51, 51, 0.2);
}
.about-area .head-area {
  padding-left: 30px;
  border-left: 8px solid #ffa44a;
}
.about-area .qual-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.about-area .qual-list .qual-item {
  flex: 1;
  padding-left: min(2.5%,30px);
  padding-right: min(2.5%,30px);
  background-color: #fff;
  border-radius: 10px;
}

@media (min-width: 768px) {
    .sec-list .course-list .cont-box:hover .txt-area {
        opacity: 0.7;
    }
    .sec-list .course-list .cont-box:hover .more-box span:first-child::before {
        width: 100%;
    }
    .sec-list .course-list .cont-box:hover .more-box .arrow {
        transform: translateX(10px);
    }
}
@media (max-width: 767px) {
  .sec-list .course-list .cont-box {
    padding-left: 0;
    padding-right: 0;
  }
  .sec-list .course-list .more-box .arrow {
    right: 2px;
  }
  .about-area .head-area {
    padding-left: 15px;
  }
  .about-area .qual-list .qual-item {
    flex: 0 1 auto;
    width: 100%;
    padding-left: clamp(15px, 4.5%, 30px);
    padding-right: clamp(15px, 4.5%, 30px);
  }
}
@media (max-width: 480px) {
  .sec-list .course-list .more-box {
    margin-top: 10px;
  }
}

/* 詳細ページ --------------------------------------- */
.detail-cont .detail-ttl {
  border-bottom: 2px solid #222;
}
.detail-cont .detail-desc > *:first-child {
  padding-top: 0;
}
.detail-cont .desc-list > .list-item {
  display: flex;
  flex-wrap: wrap;
  background-color: #f9f7f2;
  padding-left: 4.45%;
  padding-right: 4.45%;
}
.detail-cont .desc-list > .list-item:not(:last-child) {
  margin-bottom: 7px;
}
.detail-cont .btnarea + .btnarea {
  padding-top: 0;
}
.detail-cont .btnarea:last-child {
  margin-bottom: 0;
}
.detail-cont .desc-list > .list-item > .desc > *:first-child {
  padding-top: 0;
}

@media (min-width: 768px) {
    .detail-cont .desc-list > .list-item > .head {
        width: 140px;
        padding-right: 20px;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }
    .detail-cont .desc-list > .list-item > .desc {
        padding-left: 38px;
        flex: 1;
    }
}
@media (max-width: 767px) {
  .detail-cont .desc-list > .list-item {
    padding-left: max(4%, 15px);
    padding-right: max(4%, 15px);
  }
  .detail-cont .desc-list > .list-item > .head {
    width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
  .detail-cont .desc-list > .list-item > .desc {
    padding-top: 10px;
  }
}
