/* Utility
  =================================== */

.pe-20{
  padding-right: 20px !important;
}

.pb-20{
  padding-bottom: 20px !important;
}

.t-center{ text-align: center;}

.w-fit{ width: fit-content; }

.h-fit{ height: fit-content;}

/* Common
  =================================== */

a{
  text-decoration: none;
  display: block;
  transition: all .3s;
  scroll-behavior: smooth;
}

/* Custom
  =================================== */

header img{ width: 120px; }

nav {
  background-color: #a4e6f3;
  ul{ margin-bottom: 0px;}
}

.nav__btn{
  position: relative;
  width: auto;
  a{
    color: var(--bs-body-color);
    line-height: 200%;
    font-size: 20px;
    font-weight: 600;
  }
  a:hover{ color: #3ec4df; }
}
.nav__btn::after{
  content: "";
  position: absolute;
  display: block;
  position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  display: block;
  height: 80%;
  width: 1px;
  background-color: #8b8b8b;
}
.nav__btn:first-child::after{
  display: none;
}

.banner--pc, .banner--mo{ height: 300px; }
.banner--mo{ display: none;}
@media screen and (max-width: 576px){
  .banner--pc{ display: none;}
  .banner--mo{ display: block;}
}

.img--box{
  width: 168px;
  height: 168px;
  border-radius: 100px;
  overflow: hidden;
  img{ 
    position: relative;
    left: 50%;
  }
}

article{
  .article__row{
    border: 1px solid #e3e3e3;
    border-radius: 20px;
  }
  p { font-size: 18px; line-height: 200%; }

  .title{
    width: fit-content;
    position: relative;
    font-size: 24px;
    line-height: 200%;
    font-weight: 600;
 }

  .title::after{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    border: 3px solid #a4e6f3;
  }

  .article{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 108px;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .col-md-3{justify-items: center;}

  .name{
    font-size: 20px;
    line-height: 250%;
    margin-bottom: 0;
  }

  .btn--school--frame{ margin-left: 0;}

  .btn--school{
    width: fit-content;
    font-size: 18px;
    line-height: 200%;
    color: var(--bs-body-color);
    border-radius: 20px;
    text-align: center;
    background-color: #a4e6f3;
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn--school:hover{
    background-color: #c7eef5;
    color: #13b0cf;
  }
}

.ai{
  border-radius: 20px;
  background-image: 
    url(../img/bg.png),
    linear-gradient(#7DD0FF, #D2FCF9);
  background-repeat: no-repeat;
  background-size: cover;
  p{
    font-size: 18px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 0px;
  }
  .col-md-7{padding: 0;}
  .ai__logo{ width: 120px;}
  .ai__fairy--name{ font-size: 20px;}
  .ai__img--mo{ display: none; }
  .ai__info{ font-size: 16px; padding: 0;}
  .ai__frame{ width: fit-content;}
  .ai__frame--last{ width: 100%;}
  .ai__btn{
    width: fit-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #1cacff;
    line-height: 200%;
    text-align: center;
    font-weight: 600;
    padding-left: 40px;
    padding-right: 40px;
  }
  .ai__btn--cta{
      width: 636px;
      background-color: #287adb;
      color: #ffffff;
      font-size: 18px;
  }
  .ai__btn--cta:hover{
      color: #80e1ff;
      background-color: #4888d6;
  }
  .col-md-5 img{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

footer p{ font-size: 14px;}


@media screen and (max-width: 1400px) {
  .ai .ai__frame{ width: 80%;}
  .ai .ai__btn{
    width: 100%;
  }
  .ai .ai__img--pc{
    display: none;
  }
  .ai .ai__img--mo{
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .ai__title > *{ padding: 0;}
  .ai__fairy--name:nth-of-type(1){padding-left: .5rem; padding-right: .5rem;}
  .ai__fairy--name:nth-of-type(2){ font-size: 18px; }
  .ai .ai__img--pc{
    display: block;
  }
  .ai .ai__img--mo{
    display: none;
  }
}
@media screen and (max-width: 576px) {
  article.container{padding: 0 2rem;}
  .ai__fairy--name{font-size: 18px;}
  .ai__btn{width: 100%;}
}

@media (max-width: 768px) {
  .col-md-3{ order: 1;}
  .col-md-9{ order: 2;}
}

/* ------------ js追加 ------------- */

@media screen and (max-width: 768px) {
  .nav__btn a{ font-size: 16px;}
}

#navbar.fixed {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: -2px 3px 16px rgba(0, 0, 0, 0.15);
  transition: all .3s;
}

#navbar ul{ padding: 0; }

/* #scrollImg{
  display: none;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all .3s;
  div{height: 68px;}
} */

.none{
  max-height: 0;
  overflow: hidden;
  transition: all .3s ease;
}

.active{
  max-height: 500px;
}

.article.gradient{
  background: linear-gradient(to bottom, #212529, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------ js追加 ------------- */