@charset "utf-8";
.btn-box {
  max-width: 594px;
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.btn-box.intro-btn {
  bottom: 8%;
}

.btn-box.close-btn {
  bottom: 50%;
}

.btn-box.top {
  mix-blend-mode: screen;
  z-index: 1000;
}

.btn-box.fv-btn img,
.btn-box.intro-btn img {
  max-width: 426px;
  height: auto;
}

.btn-box.close-btn img {
  max-width: 466px;
  height: auto;
}

.btn-box .btn-link {
  display: block;
  animation: btn_animation 1300ms ease infinite;
}

@keyframes btn_animation {
  0% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.05);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(1);
  }
}

.btn-link.sp {
  display: none;
}

@media screen and (max-width: 1200px) {
  .btn-box {
    bottom: 8%;
  }
}

@media screen and (max-width: 826px) {
  .btn-box {
    bottom: 6%;
  }
}

@media screen and (max-width: 768px) {
  .btn-box {
    max-width: 375px;
    bottom: 8%;
  }

  .btn-box.fv-btn img,
  .btn-box.intro-btn img {
    max-width: 326px;
    height: auto;
  }

  .btn-box.close-btn img {
    max-width: 310px;
    height: auto;
  }

  .btn-box.intro-btn {
    bottom: 7%;
  }

  .btn-box.close-btn {
    bottom: 46%;
  }

  .btn-link.sp {
    display: block;
  }

  .btn-link.pc {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .btn-box {
    bottom: 4%;
  }

  .btn-box.intro-btn {
    bottom: 9%;
  }
}

/******************************************************** 
fv */
.fv {
  position: relative;
}

.fv-bgpc {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.fv-bgsp {
  display: none;
}

.fv .btn {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.fv .btn-link .btn-top {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  mix-blend-mode: screen;
  animation: blink 1.4s infinite alternate;
}
@media screen and (max-width: 1200px) {
  .fv-bgpc {
    height: 700px;
    object-fit: cover;
  }
}

@media screen and (max-width: 826px) {
  .fv-bgpc {
    height: 600px;
  }
}

@media screen and (max-width: 768px) {
  .fv-bgpc {
    display: none;
  }

  .fv-bgsp {
    display: block;
    width: 100%;
    height: auto;
  }
}

/******************************************************** 
intro */
.intro {
  position: relative;
  background-image: url(../img/hisaku/img_bg_01.jpg);
  background-size: cover;
  text-align: center;
}

.intro .txt1 {
  max-width: 812px;
  width: 100%;
  height: auto;
  margin: 60px auto 40px;
  box-sizing: border-box;
}

.intro .txt2 {
  max-width: 515px;
  width: 100%;
  height: auto;
  margin: 40px auto 220px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 3);
}
.scroll-infinity__item > img {
  width: 100%;
  height: auto;
}

.intro::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 2;
}

.intro::after {
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

.intro .btn {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.intro .btn-top {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  mix-blend-mode: screen;
  animation: blink 1.4s infinite alternate;
}

@media screen and (max-width: 768px) {
  .intro .txt1 {
    margin: 40px auto 10px;
  }

  .intro .txt2 {
    margin: 20px auto 150px;
    padding: 0 16px 36px;
  }

  .scroll-infinity__item {
    width: calc(100vw / 1.5);
  }
}

/******************************************************** 
gallery */
.gallery {
  padding-top: 90px;
  padding-bottom: 120px;
  background-image: url(../img/hisaku/img_bg_02.jpg);
  background-size: cover;
  text-align: center;
}

.gallery .gallery-inner {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.gallery .ttl {
  max-width: 418px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.gallery .gallery-chara-list {
  max-width: 475px;
  width: 100%;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  justify-items: center;
}

.gallery .gallery-chara-item {
  width: 100%;
  height: auto;
}

#main-video {
  max-width: 610px;
  width: 100%;
  border: 5px solid transparent;
  border-image: linear-gradient(45deg, #dbb63c, #6a561a) 1;
}
.gallery-chara-list img {
  cursor: pointer;
  border: 2px solid transparent;
  filter: grayscale(100%);
  transition: filter 0.3s ease, border-color 0.3s ease;
}
.gallery-chara-list img.selected {
  filter: grayscale(0%);
  border: 5px solid transparent;
  border-image: linear-gradient(45deg, #ffffff, #dbb63c, #6a561a) 1;
}

@media screen and (max-width: 768px) {
  .gallery {
    padding-top: 10px;
    padding-bottom: 80px;
  }

  .gallery .ttl {
    width: 90%;
  }
  #main-video {
    width: 90%;
  }

  .gallery .gallery-chara-list {
    max-width: 340px;
    margin: 20px auto 0;
    padding: 0 16px;
  }
}

/******************************************************** 
character */
.character {
  padding-top: 100px;
  padding-bottom: 120px;
  background-image: url(../img/hisaku/img_bg_03.jpg);
  background-size: cover;
  text-align: center;
}

.character .character-inner {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.character .ttl {
  max-width: 410px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0 18px;
}

#main-image {
  width: 100%;
  height: auto;
}

.character .character-chara-list {
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  row-gap: 7px;
  column-gap: 10px;
  justify-items: center;
}

.character-chara-item {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .character {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .character .ttl {
    max-width: 330px;
  }

  .character .character-chara-list {
    margin: 12px auto 0;
    padding: 0 16px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 7px;
    column-gap: 10px;
  }
}

/******************************************************** 
close */

.close {
  position: relative;
  background-color: black;
}

.close .close-inner {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
}

.close .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.close .btn-top {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  animation: blink 1.4s infinite alternate;
}

@keyframes blink {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(2);
  }
  100% {
    filter: brightness(1);
  }
}

.character-chara-list img {
  cursor: pointer;
  border: 2px solid transparent;
  filter: grayscale(100%);
  transition: filter 0.3s ease, border-color 0.3s ease;
}

.character-chara-list img.selected {
  filter: grayscale(0%);
}

@media screen and (max-width: 768px) {
  .close .close-inner .hisaku {
    width: 40%;
    height: auto;
  }
}
