@charset "UTF-8";

/* =========================================================
  top
========================================================= */

/* layout
----------------------------------------------- */
#content {
  padding-top: 0;
}

/* mainVisual
----------------------------------------------- */
#mainVisual {
  position: relative;
}

#mainVisual .pieceHeader {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

#mainVisual .pieceHeader h2 {
  color: var(--mono-color-9);
  font-weight: 700;
  font-size: min(5.5vw,5.1875rem);
  text-align: center;
}

#mainVisual .pieceHeader h2 span {
  display: block;
  padding-top: 15px;
  font-size: min(4vw,1.4375rem);
}

#mainVisual .pieceBody {
  display: flex;
  flex-wrap: wrap;
  pointer-events: none;
}

#mainVisual .pieceBody div {
  flex: 1 1 33.33%;
}

/* about
----------------------------------------------- */
#about {
  margin-bottom: 100px;
  padding: 30px 0;
}

#about h2 {
  margin-bottom: 10px;
  color: var(--ac-color-green-1);
  font-size: 2rem;
  text-align: center;
}

#about h3 {
  margin-bottom: 30px;
  font-size: 1.125rem;
  text-align: center;
}

#about p {
  margin-bottom: 80px;
  padding: 0 30px;
  font-size: 0.9375rem;
  line-height: 2;
}

#about .about-slider {
  position: relative;
  width: 1082px;
  max-width: calc(100% - 60px);
  aspect-ratio: 2/1;
  margin: 0 auto 80px;
  overflow: hidden;
}

#about .about-slider > div {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

#about .about-slider > div img {
  display: block;
  width: 100%;
  height: auto;
}

#about .about-slider > div.is-active {
  z-index: 2;
}

#about .about-slider > div.is-next {
  z-index: 3;
}

#about .about-slider > div:not(.toTop).is-active {
  top: 0;
  animation: slideToBottom 7s linear forwards;
}

#about .about-slider > div.toTop.is-active {
  top: 100%;
  transform: translateY(-100%);
  animation: slideToTop 7s linear forwards;
}

@keyframes slideToBottom {
  0% {
    top: 0;
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  65% {
    top: 100%;
    transform: translateY(-100%);
    opacity: 1;
  }
  72% {
    top: 100%;
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    top: 100%;
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideToTop {
  0% {
    top: 100%;
    transform: translateY(-100%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  65% {
    top: 0;
    transform: translateY(0);
    opacity: 1;
  }
  72% {
    top: 0;
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    top: 0;
    transform: translateY(0);
    opacity: 0;
  }
}

#about .about-slider img {
  width: 100%;
}

#about .pamph {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
}

@media only screen and (max-width: 640px) {
  #about {
    margin-bottom: 50px;
    padding: 20px 0;
  }

  #about h2 {
    font-size: 1.5625rem;
  }

  #about p {
    margin-bottom: 50px;
    padding: 0;
    font-size: 0.875rem;
  }

  #about .about-slider {
    max-width: 100%;
    margin-bottom: 30px;
  }

  #about .pamph {
    font-size: 1.25rem;
  }
}

/* news
----------------------------------------------- */
#news {
  padding: 0 30px;
}

#news h2 {
  margin-bottom: 30px;
  color: var(--ac-color-blue-1);
  font-weight: 500;
  font-size: 3.0625rem;
  font-family: Stick;
  text-align: center;
}

#news h2::first-letter {
  font-size: 5rem;
}

#news ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 4%;
}

#news li {
  flex: 1 1 30.666%;
}

#news li a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

#news li .publish_date {
  margin-bottom: 10px;
  color: rgba(0,0,0,0.7);
  font-size: 0.75rem;
  text-align: center;
}

#news li .image {
  display: block;
  aspect-ratio: 16/9;
  margin-bottom: 10px;
  overflow: hidden;
}

#news li .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.25s ease-in-out;
}

#news li:hover .image img {
  opacity: 0.8;
}

#news li .title {
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.125rem;
}

#news li .subtitle {
  color: var(--mono-color-0);
}

@media only screen and (max-width: 640px) {
  #news {
    padding: 0;
  }

  #news h2 {
    font-size: 1.8rem;
  }

  #news h2::first-letter {
    font-size: 4rem;
  }

  #news li {
    flex-basis: 100%;
  }
}