/* hero */
.hero {
  position: relative;
}

.hero__img {
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  object-fit: cover;
}

.hero__copy {
  position: absolute;
  left: 15%;
  top: 15%;
  color: #fff;
  font-size: clamp(34px, 5.2vw, 70px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .20em;
  text-shadow: 0 4px 18px rgba(0,0,0,.18);
}

/* intro */
.intro {
  padding: 90px 0 120px;
  text-align: center;
}

.intro__title {
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1.6;
  margin-bottom: 46px;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.intro__title span {
  font-weight: 500;
  font-size: 56px;
}

.intro__text {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 32px;
}

.intro__text p + p {
  margin-top: 20px;
}

@media (max-width: 787px) {
  .intro__title span {
    font-weight: 500;
    font-size: 24px;
  }
}

/* feature */
.feature {
  padding: 30px 0 70px;
}


.featureCard {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 90px;
  color: #fff;
}

.featureCard__img {
  width: 100%;
  height: 522px;
  object-fit: cover;
}

.featureCard::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.08));*/
}

.featureCard--right::after {
  /*background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.55));*/
}

.featureCard__body {
  position: absolute;
  z-index: 1;
  left: 7%;
  top: 40%;
  transform: translateY(-50%);
  width: min(420px, 80%);
  letter-spacing: 0.07em;
}

.featureCard--right .featureCard__body {
  left: auto;
  right: 7%;
}

.featureCard h3 {
  font-size: clamp(22px, 2.4vw, 34px);
  margin-bottom: 22px;
}

.featureCard p {
  font-size: 14px;
  margin-bottom: 28px;
}

.darkBtn{
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 240px;
    height: 60px;

    padding: 0 22px 0 28px;

    border-radius: 8px;
    background: #0b132b;

    color: #fff;
    text-decoration: none;
    font-weight: 700;

    transition: .3s;
}

.darkBtn span{
    flex: 1;
}

.darkBtn i{
    font-size: 16px;
    transition: transform .3s;
}

.darkBtn:hover i{
    transform: translateX(4px);
}


/* adult banner */
.schoolBanner {
  padding: 0 0 90px;
}

.schoolBanner__inner {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  min-height: 260px;
  margin: 0 auto;
  background: #659aaa;
  box-shadow: 8px 10px 0 rgba(0,0,0,.08);
}

.schoolBanner__illust {
  position: absolute;
  left: 50px;
  bottom: -24px;
  width: 333px;
  z-index: 2;
}

.schoolBanner__content {
  padding: 48px 40px 42px 390px;
  color: #fff;
}

.schoolBanner__content h2 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.schoolBanner__content p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.schoolBanner__note {
  margin-bottom: 2px;
}

.schoolBanner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 34px;
  margin-top: 20px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .schoolBanner__inner {
    min-height: auto;
  }

  .schoolBanner__illust {
    position: relative;
    left: 20px;
    bottom: auto;
    width: 170px;
    margin-top: -40px;
  }

  .schoolBanner__content {
    padding: 20px 24px 36px;
  }

  .schoolBanner__content h2 {
    font-size: 24px;
  }
}


/* news */
.newsSection{
    width:min(1100px, calc(100% - 40px));
    margin:120px auto 0;
    display:grid;
    grid-template-columns:260px 1fr;
    gap:70px;
    align-items:start;
}

.newsSection__title{
    margin-bottom:0;
}

.newsSection__title h2{
    font-size:54px;
    font-weight:800;
    line-height:1.2;
}

.newsSection__title span{
    display:block;
    margin-top:6px;
    font-size:12px;
    letter-spacing:.25em;
    color:#777;
}

.newsSection__body{
    min-width:0;
}

.newsList{
    border-top:0;
}

.newsItem{
    display:grid;
    grid-template-columns:140px 120px 1fr;
    align-items:center;
    min-height:88px;
    border-bottom:1px solid #ddd;
    color:#111;
    text-decoration:none;
}

.newsSection__btn{
    display:flex;
    justify-content:flex-end;
    margin-top:32px;
}

.newsCat{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:92px;
    height:32px;
    background:#111;
    border-radius:999px;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.newsMoreBtn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:210px;
    height:60px;
    padding:0 22px 0 28px;
    background:#0b132b;
    border-radius:10px;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}

@media screen and (max-width: 768px){

  .newsSection{
    display: block;
    width: calc(100% - 40px);
    margin: 80px auto 0;
  }

  .newsSection__title{
    margin-bottom: 28px;
  }

  .newsSection__title h2{
    font-size: 42px;
  }

  .newsList{
    width: 100%;
  }

  .newsItem{
    display: block;
    padding: 20px 0;
  }

  .newsItem time{
    display: block;
    margin-bottom: 10px;
  }

  .newsCat{
    display: inline-flex;
    margin-bottom: 10px;
  }

  .newsItem p{
    font-size: 14px;
    line-height: 1.8;
  }

  .newsSection__btn{
    display:flex;
    justify-content:center;
    margin-top:32px;
  }

  .newsMoreBtn{
    max-width:310px;
  }
}



/* responsive */
@media (max-width: 900px) {

  .news__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsItem {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newsItem__cat {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .hero__img {
    height: 420px;
  }

  .hero__copy {
    left: 24px;
    top: 24%;
  }

  .intro {
    padding: 60px 0;
  }

  .featureCard {
    margin-bottom: 40px;
  }

  .featureCard::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
      to right,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.35) 45%,
      rgba(0,0,0,.1) 100%
    );

    z-index:1;
  }

  .featureCard__img {
    height: 420px;
  }

  .featureCard__body,
  .featureCard--right .featureCard__body {
    left: 24px;
    right: 24px;
    width: auto;
    top: 50%;
  }

  .adultBanner__img {
    height: 490px;
  }

  .adultBanner__body {
    left: 24px;
    right: 24px;
  }
}

