@charset "utf-8";

.sec_title {
  background-image: url(../img/img-title.png);
  background-position: top center;
  background-repeat: no-repeat;
  font-weight: bold;
  text-align: center;
}
.sec_title span {
  color: var(--main-green1);
}
.sec_title .small {
  display: block;
}

/* バナースライド */
.bannerSlider {
  overflow: hidden;
}
.bannerSlider .bannerItem a {
  display: block;
}
.bannerSlider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  z-index: 10000;
  border-radius: 50%;
}
.bannerSlider .slick-arrow:before,
.bannerSlider .slick-arrow:after {
  position: absolute;
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background-color: #fff;
}
.bannerSlider .slick-prev {
  left: -30px;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.bannerSlider .slick-prev:before {
  bottom: 19px;
  right: 10px;
  transform: rotate(60deg);
}
.bannerSlider .slick-prev:after {
  top: 19px;
  right: 10px;
  transform: rotate(-60deg);
}
.bannerSlider .slick-next {
  right: -30px;
  clip-path: polygon(50% 0, 0 0, 0 100%, 50% 100%);
}
.bannerSlider .slick-next:before {
  top: 19px;
  left: 10px;
  transform: rotate(60deg);
}
.bannerSlider .slick-next:after {
  bottom: 19px;
  left: 10px;
  transform: rotate(-60deg);
}


/* お知らせ */
#news .newsHead .linkArea  {
  display: flex;
}
#news .newsHead .linkArea a {
  background-color: var(--main-green1);
  border-radius: 15px;
  color: #fff;
  text-align: center;
}
#news .newsList li {
  display: none;
  border-bottom: 1px solid #666;
}
#news .newsList li a .category {
  background-color: var(--main-green1);
  color: #fff;
  text-align: center;
}
#news .catSelect {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  border-bottom: 4px solid #008555;
}
#news .catSelect li {
  border-top: 1px solid #676767;
  border-left: 1px solid #676767;
  flex: 1;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
}
#news .catSelect li:hover,
#news .catSelect li.active {
  border-color: #008555;
  background-color: #008555;
  color: #fff;
}
#news .catSelect li:last-child {
  border-right: 1px solid #676767;
}
#news .catSelect li:hover:last-child {
  border-right-color: #008555;
}

/* 工学部の紹介 */
#introduction {
  background-image: url(../img/top/img-program_back.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 100px;
  padding-bottom: 100px;
}
#introduction h2 {
  color: #fff;
  font-weight: bold;
  text-align: center;
}
#introduction .linkArea a {
  background-color: var(--main-green1);
  color: #fff;
  text-align: center;
}

/* プログラムリンク */
#program .fieldList li .link_mech {
  --program-bg: #f8bfd3;
  --program-tri: #ec4c84;
}
#program .fieldList li .link_infra {
  --program-bg: #f9d3b2;
  --program-tri: #ee7b19;
}
#program .fieldList li .link_ele {
  --program-bg: #fbe1b2;
  --program-tri: #f39c00;
}
#program .fieldList li .link_inte {
  --program-bg: #dbedca;
  --program-tri: #6fb92c;
}
#program .fieldList li .link_che {
  --program-bg: #b2e0cb;
  --program-tri: #009953;
}
#program .fieldList li .link_mat {
  --program-bg: #bfe6e4;
  --program-tri: #009d95;
}
#program .fieldList li .link_arch {
  --program-bg: #bfd2e7;
  --program-tri: #3371b3;
}
#program .fieldList li .link_human {
  --program-bg: #dac5e0;
  --program-tri: #975ca9;
}
#program .fieldList li .link_emgt {
  --program-bg: #edbfdb;
  --program-tri: #cc4c9c;
}

#program .fieldList {
  list-style: none;
  padding: 0;
  margin: 0;
}
#program .fieldList li .fieldName img {
  display: block;
  margin: 0 auto;
}
#program .fieldList li:nth-child(odd) .fieldName {
  background-color: #4d4d4d;
}
#program .fieldList li:nth-child(even) .fieldName {
  background-color: #666;
}
#program .fieldList li .programLink a {
  position: relative;
  display: block;
  background-color: var(--program-bg);
}
#program .fieldList li .programLink a img {
  display: block;
}
#program .fieldList li .programLink a:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 12px 12px;
  border-color: transparent transparent var(--program-tri) transparent;
  transition: border-width 0.2s ease-out;
}
#program .fieldList li .programLink a:hover:after {
  border-width: 0 0 14px 14px;
}

/* ここから1601以上
--------------------------------------- */
@media all and (min-width: 1601px) {
  /* バナースライド */
  .banner {
    padding-left: 350px;
    transition: padding-left 0.2s;
  }

  /* プログラムリンク */
  #program {
    padding-left: 350px;
  }
}
/* ここから1600以下1261以上
--------------------------------------- */
@media all and (max-width: 1600px) and (min-width: 1261px) {
  /* バナースライド */
  .banner {
    padding-left: 300px;
    transition: padding-left 0.2s;
  }

  /* プログラムリンク */
  #program {
    padding-left: 300px;
  }

}

/* ここから1261以上
--------------------------------------- */
@media all and (min-width: 1261px) {
  .sec_title {
    background-size: 60px auto;
    padding-top: 28px;
    font-size: 4.6rem;
    margin-top: 0;
    margin-bottom: 38px;
  }
  .sec_title .small {
    font-size: 1.6rem;
    margin-top: -5px;
  }

  /* お知らせ */
  #news {
    padding: 50px 0 110px;
  }
  #news .newsHead {
    position: relative;
  }
  #news .newsHead .sec_title {
    padding-left: 300px;
    padding-right: 300px;
  }
  #news .newsHead .linkArea {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  #news .newsHead .linkArea a {
    margin-right: 5px;
    padding: 3px 10px;
    min-width: 140px;
  }
  #news .newsList li {
    padding: 20px 0;
  }
  #news .newsList li a {
    display: flex;
  }
  #news .newsList li a .date {
    flex-shrink: 0;
    margin-right: 30px;
  }
  #news .newsList li a .category {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: 13px;
    padding: 2.5px 8px;
    min-width: 80px;
    align-self: flex-start;
  }
  #news .catSelect {
    margin-top: 48px;
  }
  #news .catSelect li {
    padding: 13px 5px;
  }

  /* 工学部の紹介 */
  #introduction .text1 {
    display: block;
    max-width: 1000px;
    text-align: center;
    margin: -10px auto 0;
    font-size: 2rem;
  }
  #introduction .text1 p {
    display: inline-block;
    text-align: left;
    margin-bottom: 0;
  }
  #introduction h2 {
    font-size: 4rem;
    margin: 45px 0 35px;
  }
  #introduction .program img {
    margin: 0 auto;
  }
  #introduction .linkArea {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  #introduction .linkArea a {
    font-size: 2.4rem;
    border-radius: 45px;
    width: calc(50% - 5px);
    padding: 27px 10px;
  }

}

/* ここまで1261以上
--------------------------------------- */
/* ここから1260以下
--------------------------------------- */
@media screen and (max-width: 1260px) {
  .sec_title {
    background-size: 50px auto;
    padding-top: 29px;
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 50px;
  }
  .sec_title .small {
    font-size: 1.4rem;
  }
  /* お知らせ */
  #news {
    padding: 50px 0 100px;
  }
  #news .newsHead .linkArea {
    margin: 0 -5px 30px;
    justify-content: center;
  }
  #news .newsHead .linkArea a {
    margin: 0 5px;
    padding: 3px 10px;
    min-width: 120px;
  }
  #news .newsList li {
    padding: 8px 0 6px;
  }
  #news .newsList li a .date {
    margin-right: 14px;
  }
  #news .newsList li a .category {
    display: inline-block;
    font-size: 1.2rem;
    border-radius: 10px;
    padding: 1px 8px;
    min-width: 80px;
  }
  #news .newsList li a .text {
    display: block;
    margin-top: 6px;
  }
  #news .catSelect li {
    font-size: 1.2rem;
    padding: 5.5px 0;
  }

  /* 工学部の紹介 */
  #introduction h2 {
    font-size: 3.2rem;
    margin: -10px 0 45px;
  }
  #introduction .program {
    max-width: 670px;
    width: 100%;
    margin:  0 auto;
  }
  #introduction .program h3 {
    margin: 20px 0 10px;
  }
  #introduction .program .programLink {
    display: flex;
  }
  #introduction .program .programLink a {
    width: calc(50% - 7.5px);
  }
  #introduction .program .programLink a:nth-child(even) {
    margin-left: 15px;
  }
  #introduction .linkArea {
    margin-top: 50px;
  }
  #introduction .linkArea a {
    display: block;
    border-radius: 22.5px;
    max-width: 300px;
    width: 100%;
    padding: 12px 10px;
    margin-left: auto;
    margin-right: auto;
  }
  #introduction .linkArea a:not(:first-child) {
    margin-top: 10px;
  }

  /* ↓英語↓ */
  .lang_en #introduction .program a {
    display: block;
  }
  .lang_en #introduction .program a + a {
    margin-top: 10px;
  }
  #introduction h2 {
    color: var(--main-green1);
  }

}

/* ここから1000以上
--------------------------------------- */
@media all and (min-width: 1000px) {
  /* バナースライド */
  .banner {
    overflow: hidden;
  }
  .bannerSlider {
    margin-left: -5px;
    margin-right: -5px;
  }
  .bannerSlider .bannerItem a {
    padding: 0 5px;
  }
  .bannerSlider .slick-prev {
    left: -25px;
  }
  .bannerSlider .slick-next {
    right: -25px;
  }
  /* プログラムリンク */
  #program .program_sp {
    display: none!important;
  }
  #program {
    margin-bottom: 50px;
  }
  #program .fieldList {
    display: flex;
  }
  #program .fieldList li .programLink {
    display: flex;
  }
  #program .fieldList li .programLink a {
    opacity: 1!important;
  }
  #program .fieldList li .programLink a img {
    transition: transform 0.2s ease-out;
  }
  #program .fieldList li .programLink a:hover img {
    transform: scale(1.05);
    opacity: 1;
  }

  /* スマホ用受験情報リンク */
  #sp_link_program {
    display: none;
  }

}

/* ここから999以下
--------------------------------------- */
@media screen and (max-width: 999px) {
  /* バナースライド */
  .banner {
    margin-top: 10px;
  }
  .bannerSlider img {
    margin: 0 20px;
  }
  /* プログラムリンク */
  #program .program_pc {
    display: none!important;
  }
  #program {
    margin: 10px auto;
    width: calc(100% - 40px);
    max-width: 500px;
  }
  #program .fieldList li {
    display: flex;
  }
  #program .fieldList li .fieldName {
    display: flex;
  }
  #program .fieldList li .fieldName img {
    align-self: center;
    display: block;
    width: 80px;
  }
  #program .fieldList li .programLink {
    flex: 1;
  }
  #program .fieldList li .programLink a img {
    width: 272px;
  }

  /* スマホ用受験情報リンク */
  #sp_link_program {
    display: block;
    margin: 10px auto;
    width: calc(100% - 40px);
    max-width: 500px;
  }
  #sp_link_program img {
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1260px) and (min-width: 1000px) {
  #news {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ここから769以上
--------------------------------------- */
@media all and (min-width: 769px) {
  .mvSlider.spSlider {
    display: none;
  }

}

/* ここまで769以上
--------------------------------------- */
/* ここから768以下
--------------------------------------- */
@media screen and (max-width: 768px) {
  .mvSlider.pcSlider {
    display: none;
  }

}

/* ここから1260-501px
--------------------------------------- */
@media screen and (max-width: 1260px) and (min-width: 501px) {
  .bannerSlider img {
    max-width: 335px;
  }
}

/* ここまで1260-501px
--------------------------------------- */
/* ここから500以下
--------------------------------------- */
@media screen and (max-width: 500px) {
  .bannerSlider img {
    width: calc(100vw - 40px);
  }

}