@charset "UTF-8";


/*モーションCSS*/
.bottom {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 1s, transform 0.5s;
}
.in {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}
.in_mb {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}

:root {
  --chuo_red: #e83820;
}

.ele_warp {
  width: 100%;
  max-width: 1200px;
  padding: 0 5% 40px;
  margin: 0 auto;
}

.fbox {
  display: flex;
}

.leftbox {
  width: 50%;
  margin-right: 15px;
}
.rightbox {
  width: 50%;
  margin-left: 15px;
  position: relative;
  span {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 10px;
    line-height: 12px;
    padding: 5px;
    color: #fff;
    background-color: #333;
  }
}

.haed_warp {
  width: 100%;
  display: flex;
  background-color: var(--chuo_red);
}

.haed_ttl {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 30px 20px 50px;
  background-color: var(--chuo_red);
  p.bb {
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
  }
  h1 {
    width: 100%;
    max-width: 500px;
    text-align: center;
    font-family: 'Affogato-Bold';
    color: #fff;
    font-size: 3.0em;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
  } 
  p.article {
    color: #fff;
    line-height: 1.6em;
    font-size: 0.9em;
  }
}

.haed_img {
    width: 50%;
    height: 350px;
    background-image: url(/common_d/connect/campuslife/img/stages/ground.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
}

/*stageアニメ*/

.border{
  margin: 30px 0 0;
  position: relative;
  width: 100%;
}

.border:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  border-top: solid 2px var(--chuo_red);
  opacity: 0;
  /*animation: border_anim 2s linear forwards;*/
}

.border.is-active:before{
  opacity: 1;
  animation: border_anim 2s linear forwards;
}

@keyframes border_anim {
  0%{
    width: 0%;
  }
  100%{
    width: 100%;
  }
}

.stage_warp {
  width: 100%;
  max-width: 1200px;
  padding: 0 5%;
  margin: 0 auto;
}

.stage {
  display: inline-block;
  font-size: 1.4em;
  font-weight: 600;
  font-family: 'Affogato-Bold';
  color: var(--chuo_red);
  padding: 0 10px;
  border-left: solid 1px var(--chuo_red);
  border-right: solid 1px var(--chuo_red);
  border-bottom: solid 1px var(--chuo_red);
  opacity: 0;
}

.stage.is-active {
  animation: slideInLeft 1s linear 1s forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/*stageアニメここまで*/

.subtitle {
  font-family: 'Affogato-Bold';
  font-size: 4.0em;
  margin-top: 30px;
  color: #666;
  text-shadow: 5px 5px 0px var(--chuo_red);
}

.lead {
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 30px;
}

.subimg {
  width: 100%;
  max-width: 550px;
}

.miniimg_fbox {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

.miniimg{
position: relative;
  img {
    width: 100%;
  }
  span {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 10px;
    line-height: 12px;
    padding: 5px;
    color: #fff;
    background-color: #333;
  }
}

.mini_content2 {
  position: relative;
}
.miniimg_fbox2 {
  display: flex;
  width: 40%;
}

.mini_txt {
  position: absolute;
  margin-left: 40%;
  padding-left: 50px;
  font-size: 0.9em;
  line-height: 1.6em;
  bottom: 10px;
  right: 20px;
  span {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    padding-bottom: 10px;
  }
}

.library_fbox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.halfbox {
  display: flex;
  width: 50%;
  padding: 30px 15px 0;
  flex-direction: column;
  align-items: center;
}

.lib_campus {
  font-size: 1.4em;
  font-weight: 600;
  padding: 10px 15px 0;
  border-bottom: 2px solid #2c2c2c;
}

.lib_catch {
  margin: 10px;
  font-size: 1.1em;
  font-weight: 600;
}

.lib_txt {
  padding: 0 20px;
  font-size: 0.9em;
  line-height: 1.6em;
}


.close-up {
  position: relative;
  max-width: 1200px;
  padding: 20px 30px 30px;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  background-color: #f5f5f5;
  color: #2c2c2c;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
}
.ribbon {
  --f: .5em; /* control the folded part*/
  --r: .8em; /* control the ribbon shape */  
  position: absolute;
  top: 20px;
  left: calc(-1*var(--f));
  padding-inline: 10px;
  line-height: 2.0;
  background: #2c2c2c;
  border-bottom: var(--f) solid #0005;
  border-right: var(--r) solid #0000;
  clip-path: 
    polygon(0 0,0 calc(100% - var(--f)),var(--f) 100%,
      var(--f) calc(100% - var(--f)),100% calc(100% - var(--f)),
      calc(100% - var(--r)) calc(50% - var(--f)/2),100% 0);
}

.close-up_ttl {
  font-size: 1.1em;
  line-height: 2.0;
  padding-left: 80px;
  font-weight: 600;
  margin-bottom: 10px;
}

.close-up_txt span {
  font-weight: 600;
}

.close-up_img{
  width: 350px;
  height: 100%;
  padding-left: 20px;
}

.close-up_sub{
  border-top: 2px dotted #666666;
  width: 60%;
  margin-top: 10px;
  padding-top: 10px;
  align-items: center;
  justify-content: center;
  img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 10px;
  }
  div.toi {
    font-size: 12px;
    line-height: 1.4;
    span.oshie {
      display: inline-block;
      font-weight: 600;
      padding-bottom: 10px;
      font-size: 14px;
    }
    span.name {
      font-size: 16px;
    }
  }

}

/*=================タブレット==============*/
@media screen and (max-width: 1024px) {
  .haed_ttl {
    padding: 10px 0 10px 20px;
    p.bb {
      margin-bottom: 15px;
    }
    h1 {
      max-width: 350px;
      font-size: 2.6em;
      margin-bottom: 15px;
    }
  }

  .fbox.content_top {
    flex-direction: column;
  }

  .leftbox {
    width: 100%;
    margin: 0;
  }
  .rightbox {
    width: 100%;
    margin: 15px auto 0;
    text-align: center;
    span {
      left: 15%;
    }
  }

  .subtitle {
    font-size: 3.0em;
    margin-top: 20px;
  }

  .lead {
    margin-top: 20px;
  }

  .mini_txt {
    padding-left: 20px;
    top: 20px;
    bottom: auto;
    right: 0;
  }

  .close-up_img {
    width: 50%;
  }

  .close-up_sub {
    width: 100%;
    margin-top: 10px;
  }

}

/*=================スマホ==============*/
@media screen and (max-width: 599px) {
  .haed_warp {
    flex-direction: column;
  }

  .haed_ttl {
    width: 100%;
    padding: 20px 0;
  }
  .haed_img {
    width: 100%;
    height: 300px;
    clip-path: none;
  }

  .fbox {
    flex-direction: column;
  }

  .rightbox span {
    left: 5px;
  }

  .miniimg_fbox {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .miniimg_fbox2 {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .miniimg {
    width: 50%;
  }

  .smp_w50 {
    text-align: right;
    img {
      width: 50%;
    }
  }

  .mini_txt {
    position: relative;
  }

  .mini_txt {
    margin: 0;
    padding: 0;
  }

  .library_fbox {
    flex-direction: column;
  }

  .halfbox {
    width: 100%;
  }

  .lib_txt {
    padding: 0;
  }

  .close-up {
    padding: 20px;
  }

  .close-up_ttl {
    line-height: 1.4;
  }

  .close-up_img  {
    width: 100%;
    padding: 10px;
  }

  .close-up_sub {
    flex-direction: row;
  }
        
}