@charset "UTF-8";

/**
 * index.css
 *
 * #
 *
*/

/* ==========================================================================
   # mainimg
   ========================================================================== */
.l-mainimg {
  position: relative;
  height: 133.9805825243vw;
  background-color: #000;
}

.mainimg-bg-wrap {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.mainimg-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: anime 12s 0s infinite;
  opacity: 0;
  z-index: 2;
}

.mainimg-bg:nth-of-type(1) {
  background-image: url("../images/top/mainimg/mainimg01_sp.jpg");
  animation-delay: 0s;
}
.mainimg-bg:nth-of-type(2) {
  background-image: url("../images/top/mainimg/mainimg02_sp.jpg");
  animation-delay: 4s;
}
.mainimg-bg:nth-of-type(3) {
  background-image: url("../images/top/mainimg/mainimg03_sp.jpg");
  animation-delay: 8s;
}

@keyframes anime {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12% {
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  36% {
    opacity: 0;
    transform: scale(1.04);
    z-index: 1;
   }
  100% {
    opacity: 0;
  }
}

.mainimg-txt {
  position: relative;
  padding: 19.3236714976vw 4.8309178744vw 0;
  color: #fff;
  font-size: 14.4927536232vw;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 3;
}
.mainimg-txt .sub {
  display: block;
  font-size: 7.2463768116vw;
}

.mainimg-scroll {
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 68px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.12em;
  z-index: 3;
}
.mainimg-scroll-arrow {
  position: absolute;
  left: 50%;
  display: block;
  width: 1px;
  height: 45px;
  background-color: #fff;
  -webkit-animation: scroll-animation 4.0s infinite;
  animation: scroll-animation 4.0s infinite;
}

@-webkit-keyframes scroll-animation {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 0;
  }
  50% { opacity: 1; }
  100% {
    transform: translate(0, 120px);
    opacity: 1;
  }
}
@keyframes scroll-animation {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  50% { opacity: 1; }
  100% {
    transform: translate(0, 120px);
    opacity: 1;
  }
}

@media screen and (min-width:501px) {
  
  .l-mainimg {
    height: 552px;
  }
  
  .mainimg-bg:nth-of-type(1) {
    background-image: url("../images/top/mainimg/mainimg01.jpg");
  }
  .mainimg-bg:nth-of-type(2) {
    background-image: url("../images/top/mainimg/mainimg02.jpg");
  }
  .mainimg-bg:nth-of-type(3) {
    background-image: url("../images/top/mainimg/mainimg03.jpg");
  }
  
  .mainimg-txt {
    max-width: 1280px;
    margin: 0 auto;
    padding: 180px 20px 0;
    font-size: 60px;
  }
  .mainimg-txt .sub {
    font-size: 30px;
  }
  
}

/* ==========================================================================
   # item
   ========================================================================== */
.l-item {
  padding: 40px 20px 80px;
}

.item-ttl {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.item-list {
  display: flex;
  gap: 20px 10px;
  flex-wrap: wrap;
}

.item-list-item {
  width: calc((100% - 10px) / 2);
  color: #333;
  text-decoration: none;
}
.item-list-item .img {
  margin-bottom: 5px;
}
.item-list-item .ttl {
  font-size: 12px;
}

@media screen and (min-width:501px) {
  
  .l-item {
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .item-list-item {
    width: calc((100% - 50px) / 6);
  }
}

/* ==========================================================================
   # info
   ========================================================================== */
.l-info {
  padding: 40px 0;
  background-color: #F8F6F1;
}

.info-list {
  padding: 0 20px;
}

.info-list-item + .info-list-item {
  margin-top: 40px;
}

.info-list-item-ttl {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 40px;
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
}
.info-list-item-ttl:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 30px;
  background-color: #333;
}

.info-list-item-txt {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 2;
  text-align: center;
}

@media screen and (min-width:501px) {
  
  .info-list {
    display: flex;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .info-list-item {
    display: flex;
    flex-direction: column;
    width: calc((100% - 40px) / 3);
  }
  
  .info-list-item-txt-wrap {
    flex-grow: 1;
  }
  
  .info-list-item + .info-list-item {
    margin-top: 0;
  }
  
}