@charset "UTF-8";

/*****************************
  部活動紹介
*****************************/

.page-support-program .hcontent{
  width: 530%;
}
.pagesec1 .pscontent2{
  background: url(../../images/page/support-program/support_program_bg.webp) no-repeat center / cover;
}
.pagesec1 .pscontent2 h3{
  font-size: 2.6rem
}
.pagesec1 .pscontent2 .inner2{
  position: relative;
  z-index: 1;
}
.pagesec1 .pscontent2 .txtbox{
  margin: 5rem 0 3rem;
}

.pagesec2,
.pagesec3,
.pagesec4,
.pagesec5{
  background: #fff;
}
.pagesec2 .inner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem; 
}
.pagesec2 .ttlbox{
  color: #000;
  width: 25%;
}
.pagesec2 .ttlbox h2{
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.pagesec2 .supportloop{
  width: 70%;
}
.pagesec2 .supportloop > li{
  margin-top: 1rem;
  padding: 1rem;
  width: calc(100% / 3);
}
.pagesec2 .supportloop > li:nth-child(1),
.pagesec2 .supportloop > li:nth-child(2),
.pagesec2 .supportloop > li:nth-child(3){
  padding-right: 4rem;
}
.pagesec2 .supportloop > li:nth-child(4),
.pagesec2 .supportloop > li:nth-child(5),
.pagesec2 .supportloop > li:nth-child(6){
  padding-left: 4rem;
}

.pagesec2 .supportloop .popopen img{
  aspect-ratio: 1/1;
  object-fit: cover;
}
.pagesec2 .supportloop .popopen p{
  background: #fff;
  font-size: 2rem;
  font-weight: bold;
  padding: .5rem 1rem;
  position: absolute;
  right: -2rem;
  bottom: 1rem;
  transition: .5s;
}
.pagesec2 .supportloop .popopen:hover p{
  background: #000;
  color: #fff;
}

.supportbox{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 1000px;
  max-height: calc(80vh - 80px);
  max-height: calc(70vh - 80px);
  height: 100%;
  width: 100%;
}
.supportbox .inbox{
  background: #000;
  overflow-y: scroll;
  padding: 2rem;
  height: 100%;
  width: 100%;
}
.supportbox .content .ttl{
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-size: 2rem;
  padding: 1rem;
  width: 100%;
}
.supportbox .content .ttl span{
  font-size: 1.6rem;
}
.supportbox .content .profilebox{
  margin: 2rem 0;
}
.supportbox .content .profilebox .fimgbox{
  width: 35%;
}
.supportbox .content .profilebox .ftxtbox{
  width: 60%;
}
.supportbox .popclose{
  color: #fff;
  font-size: 3rem;
  position: absolute;
  top: -3.5rem;
  right: 0;
}

.pagesec3,
.pagesec4{
  color: #000;
}

.pagesec3 .inner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem; 
}
.pagesec3 ul{
  gap: 4%;
}
.pagesec3 li{
  margin-top: 5rem;
  width: 48%;
}
.pagesec3 li:nth-of-type(2){
  order: 3;
}
.pagesec3 li:nth-of-type(3){
  order: 2;
}
.pagesec3 li:nth-of-type(4){
  order: 4;
}
.pagesec3 li h3{
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.pagesec4{
  width: 130%;
}
.pagesec4 .inner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10rem 5rem 5rem;
}
.pagesec4 .album{
  align-items: flex-start;
}
.pagesec4 .ftxtbox{
  font-size: 2rem;
  margin-top: 2rem;
  margin-right: 1rem;
  padding-left: 2rem;
  position: relative;
  writing-mode: vertical-rl;
  height: calc(50% - 15rem);
  width: 50px;
}
.pagesec4 .ftxtbox::before{
  content: "";
  background: #8C8C8C;
  position: absolute;
  top: 0;
  left: 0;
  height: 80%;
  width: 1px;
}
.pagesec4 ul{
  align-items: center;
  gap: 1%;
  width: calc(100% - 60px);
}
.pagesec4 li{
  padding-top: 2rem;
  position: relative;
  width: 19%;
}
.pagesec4 li img{
  margin-bottom: 1rem;
}
/* .pagesec4 li:not(:last-of-type){
  text-align: center;
} */

.pagesec5{
  width: 30%;
}
.pagesec5 .inner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}
.pagesec5 p{
  color: #000;
  margin-top: 5rem;
}

@media only screen and (max-height: 720px) and (min-width: 1024px){
  .pagesec2 .supportloop .popopen p{
    right: -1rem;
  }
  .pagesec2 .inner,
  .pagesec4 .inner{
    justify-content: end;
    padding-bottom: 0;
  }
  .pagesec2 .supportloop > li:nth-child(1),
  .pagesec2 .supportloop > li:nth-child(2),
  .pagesec2 .supportloop > li:nth-child(3){
    padding-right: 2rem;
    padding-left: 0;
  }
  .pagesec2 .supportloop > li:nth-child(4),
  .pagesec2 .supportloop > li:nth-child(5),
  .pagesec2 .supportloop > li:nth-child(6){
    padding-left: 2rem;
    padding-right: 0;
  }

  .pagesec3 .inner {
    justify-content: end;
    padding: 5rem 2rem 3rem;
  }
  .pagesec3 li {
    margin-top: 3rem;
  }

  .pagesec4 .ftxtbox {
    font-size: 1.8rem;
    height: calc(50% - 10rem);
  }
}
@media only screen and (max-height: 720px) and (min-width: 1081px){

}
@media only screen and (max-height: 720px) and (min-width: 1024px){

}
@media only screen and (max-width: 1380px) {
  .pagesec2 .supportloop > li:nth-child(1),
  .pagesec2 .supportloop > li:nth-child(2),
  .pagesec2 .supportloop > li:nth-child(3){
    padding-right: 2rem;
    padding-left: 0;
  }
  .pagesec2 .supportloop > li:nth-child(4),
  .pagesec2 .supportloop > li:nth-child(5),
  .pagesec2 .supportloop > li:nth-child(6){
    padding-left: 2rem;
    padding-right: 0;
  }
}
@media only screen and (max-width: 1280px) {
  .pagesec2 .supportloop {
    width: 74%;
  }

  .pagesec2 .supportloop .popopen p {
    font-size: 1.6rem;
  }

}
@media only screen and (max-width: 1180px) {
    
}
@media only screen and (max-width: 1080px) {
  .pagesec2 .supportloop .popopen p{
    right: -1rem;
  }
  .pagesec2 .ttlbox {
    margin-right: auto;
    width: 143px;
  }
  .pagesec2 .supportloop {
    width: calc(100% - 150px);
  }
}

@media only screen and (max-width: 1024px) {

}
@media only screen and (max-width: 1023px) {
  #pageheadsec.pagesec1 .pscontent2 {
    padding: 15rem 0;
  }
  .pagesec2{
    height: auto;
    padding: 3rem 0 0;
  }
  .pagesec2 .ttlbox,
  .pagesec2 .supportloop  {
    margin-right: auto;
    width: 100%;
  }
  .pagesec3,
  .pagesec4,
  .pagesec5{
    height: auto;
  }
  .pagesec4 .inner{
    padding: 5rem;
  }
  .pagesec4 .ftxtbox {
    font-size: 1.6rem;
    padding-left: 1rem;
    width: 40px;
  }
  .pagesec4 .fimggr {
    width: calc(100% - 50px);
  }
}
@media only screen and (max-width: 820px) {
  .pagesec2 .supportloop > li {
    width: calc(100% / 2);
  }
  .pagesec2 .supportloop > li:nth-child(1),
  .pagesec2 .supportloop > li:nth-child(2),
  .pagesec2 .supportloop > li:nth-child(5),
  .pagesec2 .supportloop > li:nth-child(6){
    padding-right: 4rem;
    padding-left: 0;
  }
  .pagesec2 .supportloop > li:nth-child(3),
  .pagesec2 .supportloop > li:nth-child(4){
    padding-left: 4rem;
    padding-right: 0;
  }
  .supportbox{
    max-height: calc(85vh - 80px);
    width: 90%;
  }

  .pagesec3 li{
    width: 100%;
  }
  .pagesec3 li:first-of-type{
    margin-top: 0;
  }

  .pagesec4 .fimggr{
    justify-content: space-between;
  }
  .pagesec4 li{
    width: 48%;
  }
}
@media only screen and (max-width: 768px) {
    
}
@media only screen and (max-width: 767px) {
  #pageheadsec.pagesec1 .pscontent2 {
    padding: 8rem 0;
  }
  .pagesec1 .pscontent2 h3 {
    font-size: 2.2rem;
  }
  .pagesec1 .pscontent2 .txtbox {
    margin: 3rem 0 2rem;
  }
  .pagesec2,
  .pagesec4{
    padding: 8rem 0;
  }
  .pagesec2 .inner,
  .pagesec3 .inner,
  .pagesec4 .inner{
    padding: 0 3rem;
  }
  .pagesec2 .ttlbox h2{
    font-size: 2.2rem;
    margin: 0;
  }
  .pagesec2 .supportloop > li {
    margin: 1rem 1%;
    padding: 0 !important;
    width: 100%;
  }
  .pagesec2 .supportloop > li .imgbox img{
    aspect-ratio: 5 / 3;
    object-fit: cover;
  }
  .pagesec2 .supportloop .popopen p {
    right: 0rem;
    bottom: -1rem;
  }
  .supportbox .content .profilebox .ftxtbox{
    width: 100%;
  }
  .supportbox .content .profilebox .fimgbox{
    margin: 0 auto 1rem;
    max-width: 250px;
    width: 100%;
  }
  .supportbox .content .profilebox {
    margin: 2rem 0 4rem;
  }


  .pagesec3 li h3 {
    font-size: 2.2rem;
  }

  .pagesec4 li{
    text-align: left !important;
    width: 100%;
  }

  .pagesec5 .inner{
    padding: 0 3rem 5rem;
  }
  .pagesec5 p {
    margin-top: 3rem;
  }
}