/*
キャンパス紹介、部活動紹介用CSS ポップアップ
*/
/*.body-popup-open {
  overflow: hidden;
}*/
.wrap-ppup {
  padding-top: 20px;
}
.list-ppup {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 30px;
  padding-top: 10px;
}
.list-ppup-club {
  row-gap: 40px;
}
.item-list-ppup {
  position: relative;
  display: block;
  width: calc(100% / 3 - 30px);
}
.item-list-ppup-club {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.box-list-ppup-small {
  cursor: pointer;
}
.box-img-list-ppup {
  width: 100%;
  /*height: 160px;*/
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
.box-list-ppup-small img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
.box-list-ppup-small:hover img{
  transform: scale(1.1); /* 拡大 */
}
.ttl-list-ppup {
  position: relative;
  display: block;
  padding: 8px 0 5px;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
}
.item-list-ppup-club .ttl-list-ppup {
  color: #2A1D75;
}
.setsu-list-ppup {
  position: relative;
  display: block;
  font-size: 1.5rem;
  line-height: 1.5;
}
.modal-popup {
  width: 100vw;
  height: 100vh;
  position:fixed;
  top: 0;
  left:0;
  z-index:9997!important;
}
.modal-bg{
  background-color: rgba(0,0,0,0.8);
  width: 100%;
  height: 100%;
  position:fixed;
  z-index:9998!important;
  overflow-y: auto;
}
.modal-popup .inner-modal-popup{
  position: absolute;
  height: 75%;
  aspect-ratio: 5 / 4;
  max-width: 80%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index:9999!important;
}
.modal-popup img {
  padding-bottom: 20px;
}
.modal-popup .box-txt-list-ppup-l {
  position: relative;
  background: #fff;
  padding: 15px 25px 20px;
}
.modal-popup .box-txt-list-ppup-l .ttl-list-ppup {
  padding: 0;
  font-size: 2.2rem;
}
.modal-close-btn {
  position: absolute;
  display: block;
  background:#C1C1C1;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  right: -35px;
  top: -35px;
  cursor: pointer;
}
.modal-close-btn::before,.modal-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px; /* 棒の幅（太さ） */
  height: 13px; /* 棒の高さ */
  background: #fff;
}
.modal-close-btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.modal-close-btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.dummy-list-ppup {
  width: calc(100% / 3 - 30px);
  height: 1px;
}
.link-list-ppup {
  position: relative;
  display: block;
  border-radius: 5px;
  background: #2A1D75;
  padding: 3px 10px;
  width: calc(100% - 40px);
  margin: 10px auto 0;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
}
.item-list-ppup-club .link-list-ppup {
  margin-top: auto;
}
.week-list-ppup {
  padding-bottom: 5px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
}
.list-ppup-club .ttl-list-ppup {
  padding-bottom: 0;
}
/*club only*/
.wrap-club-jisseki {
  padding-bottom: 45px;
}
.wrap-club-jisseki:last-of-type {
  padding-bottom: 0;
}
.box-club-jisseki {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 30px;
}
.item-club-jisseki {
  position: relative;
  display: block;
  width: calc(50% - 25px);
  background: #EDECF7;
  padding: 20px 30px 15px;
  box-shadow: 3px 3px 0px 0px rgba(42, 29, 117, 0.2);
}
.h4-club-jisseki {
  position: relative;
  display: block;
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(42, 29, 117, 0.5);
  color: #2A1D75;
  font-size: 1.8rem;
  line-height: 1.3;
}
.h4-club-jisseki+.txt-cmn-16 {
  padding-top: 10px;
}
.wrap-club-news {
  margin-top: 30px;
}
.intro-faci img {
  display: block;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .wrap-ppup {
    padding-top: 10px;
  }
  .list-ppup {
    row-gap: 20px;
  }
  .list-ppup-club {
    row-gap: 35px;
  }
  .item-list-ppup,.dummy-list-ppup {
    width: calc(100% / 3 - 15px);
  }
  .ttl-list-ppup {
    font-size: 1.8rem;
  }
  .modal-popup .box-txt-list-ppup-l .ttl-list-ppup {
    font-size: 2rem;
  }
  .link-list-ppup {
    width: 100%;
    padding: 3px 5px;
    font-size: 1.2rem;
  }
  .week-list-ppup {
    font-size: 1.3rem;
  }
  /*club only*/
  .item-club-jisseki {
    width: calc(50% - 15px);
  }
  .wrap-club-news {
    margin-top: 15px;
  }
}
/*-------------------------------------------------
break point 750px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 750px) {
  .item-list-ppup,.dummy-list-ppup {
    width: calc(100% / 2 - 15px);
  }
  /*club only*/
  .item-club-jisseki {
    width: 100%;
  }
  .h4-club-jisseki {
    font-size: 1.7rem;
  }
  .wrap-club-jisseki {
    padding-bottom: 40px;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .wrap-ppup {
    padding-top: 0;
  }
  .item-list-ppup,.dummy-list-ppup {
    width: calc(100% / 2 - 10px);
  }
  .ttl-list-ppup {
    padding: 5px 0 5px;
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .list-ppup-club .ttl-list-ppup {
    padding: 10px 0 3px;
  }
  .setsu-list-ppup {
    font-size: 1.4rem;
  }
  .modal-close-btn {
    top: -30px;
    right: -5px;
    width: 20px;
    height: 20px;
  }
  .modal-close-btn::before, .modal-close-btn::after {
    height: 8px;
  }
  .modal-popup .box-txt-list-ppup-l {
    padding: 15px;
  }
  .modal-popup .box-txt-list-ppup-l .ttl-list-ppup {
    font-size: 1.8rem;
  }
  .modal-popup .box-txt-list-ppup-l .setsu-list-ppup {
    font-size: 1.5rem;
  }
  .modal-popup .inner-modal-popup {
    max-width: 90%;
  }
  .week-list-ppup {
    font-size: 1.2rem;
  }
}