@charset "UTF-8";
/* =================================================================================================

　TOP

================================================================================================= */
/* CSS Document */
main {
  padding-bottom: 10rem;
}
@media screen and (max-width: 592px) {
  main {
    padding-bottom: 6rem;
  }
}

/* ----------------------------------------------------------------------------
　重要事項情報
---------------------------------------------------------------------------- */
#news {
  display: none;
  background-color: #4b4b4b;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  color: #fff;
  position: relative;
}
@media screen and (max-width: 592px) {
  #news {
    padding: 2rem 2.5rem 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
}

#news ul li {
  display: none;
  overflow: hidden;
}

#news ul li.active {
  display: block;
  animation: newsAnime 0.5s ease-in-out 0s forwards;
}

@keyframes newsAnime {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
#news ul li a {
  color: #fff;
  white-space: nowrap;
}

#news ul li span {
  position: relative;
}

#news .btn_next a {
  position: absolute;
  top: 0rem;
  right: 1.5rem;
  width: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 592px) {
  #news .btn_next a {
    width: 10px;
    right: 1rem;
  }
}
#news .btn_next a img {
  display: block;
  width: 100%;
}
#news .btn_next a:hover {
  opacity: 0.8;
}

/* モーダル */
#news_modal {
  box-sizing: border-box;
  position: fixed;
  width: 700px;
  top: calc((100% - 500px) / 2);
  left: calc((100% - 700px) / 2);
  background-color: #fff;
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.1);
  z-index: 2147483647;
  display: none;
}
@media screen and (max-width: 780px) {
  #news_modal {
    width: 80%;
    left: 10%;
  }
}
#news_modal.active {
  display: block;
  animation: newsModalAnime 0.3s ease-in-out 0s forwards;
}

@keyframes newsModalAnime {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.news_modal_scroll {
  box-sizing: border-box;
  height: 500px;
  padding: 3rem 2.5rem 2rem;
  overflow-y: scroll;
  -webkit-overflow-scrolling: auto;
}
@media screen and (max-width: 592px) {
  .news_modal_scroll {
    padding: 3rem 2rem 2rem;
  }
}

.news_modal_scroll::-webkit-scrollbar {
  width: 5px;
}

.news_modal_scroll::-webkit-scrollbar-thumb {
  background-color: #aaa;
}

#news_modal .close a {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  display: block;
}
@media screen and (max-width: 592px) {
  #news_modal .close a {
    width: 15px;
  }
}
#news_modal .close a img {
  width: 100%;
}
#news_modal .close a:hover {
  opacity: 0.8;
}

#news_modal .title {
  font-size: 1.8rem;
  line-height: 140%;
  font-weight: 600;
  margin-bottom: 2rem;
}
@media screen and (max-width: 592px) {
  #news_modal .title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
}

#news_modal .text {
  line-height: 220%;
}

#news_modal_bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0rem;
  left: 0rem;
  background-color: rgba(100, 100, 100, 0.6);
  z-index: 2147483646;
  display: none;
}
#news_modal_bg.active {
  display: block;
  animation: newsModalBgAnime 0.3s ease-in-out 0s forwards;
}
@keyframes newsModalBgAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#news_modal_bg.active:after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0rem;
  left: 0rem;
  background-color: rgba(100, 100, 100, 0.6);
}

/* ----------------------------------------------------------------------------
　各ブロック
---------------------------------------------------------------------------- */
#campus_guide {
  margin-bottom: 4rem;
}

#kitei {
  margin-bottom: 4rem;
}

#by_campus {
  margin-bottom: 4rem;
}

#by_faculty {
  margin-bottom: 4rem;
}

/* ----------------------------------------------------------------------------
　規定メニュー
---------------------------------------------------------------------------- */
.kitei_menu {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 1080px) {
  .kitei_menu {
    width: 95%;
  }
}
@media screen and (max-width: 592px) {
  .kitei_menu {
    width: 90%;
    margin-bottom: 0.5rem;
    display: block;
  }
}

.kitei_menu li {
  width: 49%;
  margin: 0 2% 1.2rem 0;
}
.kitei_menu li:nth-child(2n) {
  margin-right: 0%;
}
@media screen and (max-width: 592px) {
  .kitei_menu li {
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

.kitei_menu li a {
  display: flex;
  align-items: center;
  background: url("/img/icon_pdf.svg") 1.2rem 50% no-repeat;
  background-size: 2rem auto;
  box-sizing: border-box;
  border: 1px solid #43af34;
  text-decoration: none;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  line-height: 150%;
  padding: 0.8rem 1rem 0.8rem 4.5rem;
  min-height: 3.5rem;
  position: relative;
}
.kitei_menu li a:hover {
  opacity: 0.8;
}
@media screen and (max-width: 800px) {
  .kitei_menu li a {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 592px) {
  .kitei_menu li a {
    font-size: 1rem;
    letter-spacing: -0.5px;
    padding: 0.8rem 1rem 0.8rem 4rem;
  }
}
.kitei_menu li a:after {
  position: absolute;
  top: 0rem;
  left: 0rem;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: #43af34 transparent transparent transparent;
}

/* ----------------------------------------------------------------------------
　学内情報イントラネット
---------------------------------------------------------------------------- */
#intranet {
  width: 490px;
  margin: 0 auto;
}
@media screen and (max-width: 592px) {
  #intranet {
    width: 90%;
  }
}

#intranet a {
  display: block;
  padding: 2rem 3rem;
  background: url("/img/intranet.jpg") 0 0 no-repeat;
  background-size: cover;
  text-decoration: none;
  color: #fff;
  font-size: 1.125rem;
  line-height: 150%;
}
@media screen and (max-width: 592px) {
  #intranet a {
    padding: 1.2rem 2rem;
    background: url("/sp_img/intranet.jpg") 0 0 no-repeat;
    background-size: cover;
  }
}
#intranet a:hover {
  opacity: 0.8;
}