@charset "utf-8";

/* kv */
.kv {
  width: 100%;
  height: 550px;
  background-image: url("/assets/home/images/kv_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.top_kv_search {
  position: absolute;
  top: 40px;
  right: 30px;
}

.kv_inner {
  max-width: 1100px;
  height: 100%;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv_inner_box {
  padding-top: 64px;
}

.kv_main_ttl {
  position: relative;
  width: 633px;
  margin: 0 auto 24px;
}

.kv_ttl_chara {
  width: 180px;
  position: absolute;
  right: -190px;
  bottom: 0;
}

.kv_lead {
  width: 477px;
  margin: 0 auto 36px;
}

.l-sec_cont_top-lead_txtbox {
  width: 681px;
  margin: 0 auto 40px;
}

.l-sec_cont_search_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 60px;
  background: #00ac97;
  color: #fff;
  margin: 0 auto;
  border-radius: 30px;
  font-weight: bold;
  font-size: 2.4rem;
  position: relative;
  line-height: 1;
  border: 2px solid #fff;
}

.l-sec_cont_search_link:hover {
  opacity: .7;
  transition: all .3s;
}

.l-sec_cont_search_link::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url("/assets/common/images/icon_search_w.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

.l-sec_cont_search_link::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 16px;
  margin-top: -6px;
}

.l-sec_cont-hedding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.l-sec_cont-hedding_ttl {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.l-sec_cont-hedding_ttl::before {
  content: "";
  width: 36px;
  height: 30px;
  background: url("/assets/common/images/icon_school.png");
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.l-sec_cont-hedding_ttl .ttl_jhs {
  width: 128px;
}

.l-sec_cont-hedding_ttl .ttl_hs {
  width: 155px;
}

.l-sec_cont-right_nav {
  font-size: 1.8rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.list_anker {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background: #00ac97;
  border-radius: 50%;
  margin-left: 8px;
  line-height: 1;
  margin-top: 2px;
}

.list_anker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -2px;
}

.arrow_up::before {
  transform: rotate(225deg);
  margin-top: 2px;
}

.l-sec_cont-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.l-sec_cont-list-item {
  width: calc((100% - 96px)/4);
  box-sizing: border-box;
  margin-top: 32px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  margin-right: 32px;
  border-radius: 4px;
}

.l-sec_cont-list-item:nth-child(4n) {
  margin-right: 0;
}

.l-sec_cont-list-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.l-sec_cont-list-item a:hover {
  opacity: .7;
  transition: all .3s;
}

.l-sec_cont-list-item_imgBox {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.l-sec_cont-list-item_imgBox img:hover {
  transform: scale(1.2);
  transition: all .5s;
}

.l-sec_cont-list-item .list-icon {
  width: 24px;
  height: 24px;
  background-color: #00ac97;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 4px 0;
}

.l-sec_cont-list-item .list-icon::after {
  content: "";
  width: 13px;
  height: 15px;
  background-image: url("/assets/common/images/icon_arrow.png");
  background-size: cover;
}

.l-sec_cont-list-item_txtbox {
  width: 100%;
  padding: 16px 16px 24px;
  box-sizing: border-box;
}

.l-sec_cont-list-item_sch-description {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.l-sec_cont-list-item_sch-name {
  font-size: 1.8rem;
  line-height: 1.3;
}

/* 2021/08/04バナー追加 */
.list_bnr_box {
  border-radius: 0;
  box-shadow: unset;
}

.list_bnr_box .l-sec_cont-list-item_imgBox {
  border-radius: 0;
  height: auto;
}

.list_bnr_box .l-sec_cont-list-item_imgBox img:hover {
  transform: unset;
}

.list_bnr_box .l-sec_cont-list-item_txtbox,
.list_bnr_box .list-icon {
  display: none;
}

.cominsoon {
  padding: 5em;
  text-align: center;
  margin: 0 auto 0;
  font-size: 240%;
}

@media screen and (max-width: 1000px) {
  .kv_ttl_chara {
    width: 140px;
    right: -150px;
  }
}

@media screen and (max-width: 940px) {
  .kv_ttl_chara {
    width: 120px;
    right: -120px;
  }
}

@media screen and (max-width: 940px) {
  .kv_main_ttl {
    width: 568px;
  }

  .kv_ttl_chara {
    width: 100px;
    right: -100px;
  }
}

@media screen and (max-width: 768px) {
  .l-sec_cont_top-lead_txtbox {
    width: 100%;
  }

  .l-sec_cont_search_link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.8rem;
  }

  .l-sec_cont_search_link::before {
    width: 16px;
    height: 16px;
  }

  .l-sec_cont_search_link::after {
    content: "";
    width: 8px;
    height: 8px;
    right: 16px;
    margin-top: -5px;
  }

  .l-sec_cont-hedding_ttl .ttl_jhs {
    width: 100px;
  }

  .l-sec_cont-hedding_ttl .ttl_hs {
    width: 120px;
  }

  .l-sec_cont-hedding_ttl::before {
    content: "";
    width: 25.2px;
    height: 21px;
    margin-right: 8px;
  }

  .l-sec_cont-right_nav {
    font-size: 1.4rem;
  }

  .list_anker {
    width: 16px;
    height: 16px;
  }

  .list_anker::before {
    width: 4px;
    height: 4px;
  }

  .l-sec_cont-list-item_imgBox {
    height: auto;
  }
}

@media screen and (max-width: 640px) {
  /* kv */
  .kv {
    width: 100%;
    height: 420px;
    padding: 20px 0;
  }

  .top_kv_search {
    position: static;
    width: calc(100% - 40px);
    margin: 20px auto 0;
  }

  .kv_inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }

  .kv_inner_box {
    padding-top: 0;
  }

  .kv_main_ttl {
    position: relative;
    width: 100%;
    margin: 0 auto 24px;
  }

  .kv_ttl_chara {
    width: 80px;
    position: absolute;
    right: -10px;
    bottom: -50px;

    /* top: -81px; */
  }

  .kv_lead {
    width: 90%;
    margin: 0 auto 36px;
  }

  .l-sec_cont-list-item {
    width: calc((100% - 16px)/2);
    box-sizing: border-box;
    margin-top: 16px;
    margin-right: 16px;
  }

  .l-sec_cont-list-item_imgBox {
    height: 106px;
  }

  .l-sec_cont-list-item_txtbox {
    padding: 12px 12px 24px;
    box-sizing: border-box;
  }

  .l-sec_cont-list-item:nth-child(2n) {
    margin-right: 0;
  }

  .l-sec_cont-list-item_sch-description {
    font-size: 1.1rem;
  }

  .l-sec_cont-list-item_sch-name {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .l-sec_cont-list-item .list-icon {
    width: 20px;
    height: 20px;
  }

  .l-sec_cont-list-item .list-icon::after {
    width: 10px;
    height: 12px;
  }
}