@charset "utf-8";

/*============================
#concept
============================*/

#concept {
  position: relative;
  padding-bottom: 130px;
}

#concept::after {
  content: '';
  display: block;
  background: url(../images/illust.svg) no-repeat center;
  width: 660px;
  height: 222px;
  position: absolute;
  -webkit-background-size: 100%;
  background-size: 100%;
  top: 80px;
  left: 45%;
}

#concept .inner {
  position: relative;
  z-index: 10;
}

#concept .text {
  padding-top: 30px;
}

@media only screen and (max-width: 1040px) {
  #concept {
    padding-bottom: 40px;
  }

  #concept::after {
    width: 340px;
    height: 120px;
    top: 160px;
    left: auto;
    right: 0;
  }

  #concept .text {
    padding-top: 80px;
  }
}


/*============================
#gallery
============================*/

#gallery {
  position: relative;
  z-index: 2;
}

.gallery-wrap {
  display: flex;
  overflow: hidden;
}

.gallery-list {
  display: flex;
  list-style: none;
  animation: infinity-scroll-right 95s infinite linear 0.5s both;
}

.gallery-wrap02 {
  margin-top: 20px;
}

.gallery-wrap02 .gallery-list {
  animation: infinity-scroll-left 95s infinite linear 0.5s both;
}


/*
左から右へ
----------------------------*/

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

/*
右から左へ
----------------------------*/

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.gallery-item {
  width: calc(100vw / 5);
  margin: 0 10px;
}

.gallery-item > img {
  width: 100%;
}

@media only screen and (max-width: 1040px) {
  .gallery-item {
    width: calc(100vw / 2.5);
  }
}


/*============================
#contents
============================*/

#contents {
  padding-top: 180px;
}

#contents h2 {
  text-align: center;
  margin-bottom: 80px;
}

#contents .box {
  width: 47.12%;
}

#contents .box a {
  display: block;
}

#contents .box .photo {
  background-color: #111;
}

#contents .box .photo img {
  width: 100%;
  transition: all 0.4s ease;
}

#contents h3 {
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-top: 40px;
  padding-left: 10px;
}

#contents h3::before,
#contents h3::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  transition: all 0.4s ease;
}

#contents h3::before {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1.5px solid #111;
}

#contents h3::after {
  width: 12px;
  height: 12px;
  border-top: solid 1.5px #222;
  border-right: solid 1.5px #222;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 24px;
}

#contents h3 .eng {
  font-size: 40px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

#contents h3 .jp {
  font-size: 18px;
  font-weight: 500;
  padding-left: 10px;
}

#contents .box a:hover {
  opacity: 1;
}

#contents .box a:hover .photo img {
  opacity: 0.5;
}

#contents .box a:hover h3::before {
  background-color: #111;
}

#contents .box a:hover h3::after {
  border-color: #fff;
}

@media only screen and (max-width: 1040px) {
  #contents {
    padding-top: 80px;
  }

  #contents h2 {
    margin-bottom: 40px;
  }

  #contents .box {
    width: 48%;
  }

  #contents h3 {
    display: block;
    line-height: 1;
    margin-top: 14px;
    padding-left: 0;
  }

  #contents h3::before {
    width: 35px;
    height: 35px;
  }

  #contents h3::after {
    width: 8px;
    height: 8px;
    right: 16px;
  }

  #contents h3 .eng {
    font-size: 24px;
    display: block;
    width: 100%;
  }

  #contents h3 .jp {
    font-size: 14px;
    padding-left: 0;
    display: block;
    width: 100%;
  }
}
