/* header */
.hero-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-right: auto;
  margin-left: auto;
  height: 100vh;
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-image: url('../../assets/img/pic/hero.png');
}
.hero-box::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 1;
  transition: opacity 4s;
}
.hero-box.hero-box_loaded::after {
  opacity: 0;
}
.hero-box_text {
  position: relative;
  z-index: 3;
  padding-bottom: 140px;
  padding-left: 50px;
}
.hero-box_label span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 0;
  white-space: nowrap;
  transition: width 0.3s ease-in-out;
}
.hero-box_label span::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: right 0.3s ease-in-out 0.2s;
}
.hero-box_label_inner {
  display: inline-block;
}
.hero-box.hero-box_loaded .hero-box_label span {
  width: 100%;
}
.hero-box_label_1,
.hero-box_label_2 {
  font-size: 60px;
}
.hero-box_label_3 {
  font-size: 16px;
}
.hero-box_label_1 span { transition-delay: 1.3s; }
.hero-box_label_2 span { transition-delay: 1.5s; }
.hero-box_label_3 span { transition-delay: 2s; }
.hero-box_label_1 span::before,
.hero-box_label_2 span::before,
.hero-box_label_3 span::before {
  background-color: #511a38;
}
.hero-box_label.hero-box_label_animation_end span::before {
  right: -100%;
}
.hero-box_text_content {
  margin-top: 30px;
  line-height: 2;
  padding-right: 60px;
}

/* 見出し */
.title-box {
  padding: 70px 60px 50px;
}
.title-box_label span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 0;
  white-space: nowrap;
  transition: width 0.3s ease-in-out;
}
.title-box_label.js-observering span::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: right 0.3s ease-in-out 0.2s;
  background-color: #511a38;
}
.title-box_label_inner {
  display: inline-block;
  text-align: left;
}
.title-box_label.js-observering span {
  width: 100%;
}
.title-box_label.js-observering.title-box_label_animation_end span::before {
  right: -100%;
}
.title-box_text {
  margin-top: 5px;
}
.title-box_label-sub {
  margin-top: -6px;
}

/* comingsoon */
.comingsoon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 250px;
  padding-bottom: 200px;
  text-align: center;
  background-color: #fff;
  color: #000;
}

/* リンクリスト */
.link-list-box {
  margin-right: auto;
  margin-left: auto;
  max-width: 96%;
}
.link-list-box .row {
  margin: 0;
  padding-left: 0;
}
.link-list-box .col {
  margin: 0 0 10px;
  padding: 0;
}
.link-list-box .row-cols-3 > * {
  flex: 0 0 33%;
  max-width: 33%;
}
.link-list-box .row-cols-2 > * {
  flex: 0 0 49.8%;
  max-width: 49.8%;
}
.link-list-box a {
  display: block;
  background-color: #fff;
  color: #000;
  transition: all 0.4s ease-in-out;
}
.link-list-box a:hover {
  background-color: #1a1a1a;
  color: #fff;
}
.link-box-list {
  display: flex;
  justify-content: space-between;
}

/* ゲームロゴ */
.link-box_logo {
  position: relative;
  z-index: 5;
  height: 285px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 10px 20px;
}

/* 対戦者画像 */
.link-box_player {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  margin-top: -285px;
  padding: 0 20px 0 0;
}
.link-box_player img {
  filter: grayscale(80%);
}
.link-box_pic {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: -285px;
  height: 285px;
  overflow: hidden;
}
.link-box_pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(80%);
}
.link-list-box a:hover .link-box_pic img {
  opacity: 0.8;
  transform: scale(1.02);
}
.link-box_text {
  padding: 25px 20px;
  height: 140px;
}

/* SP: タブレット */
@media screen and (max-width: 999px) {
  h1,
  h2 {
    font-size: 32px;
  }
  .hero-box_text {
    padding-bottom: 40px;
    padding-left: 20px;
  }
  .hero-box_label_1,
  .hero-box_label_2 {
    font-size: 45px;
  }
  .hero-box_text_content {
    font-size: 12px;
  }
  .title-box {
    padding: 40px 20px;
  }
  .link-list-box .col {
    margin: 0 0 10px;
  }
  .link-list-box .row-cols-3 > * {
    flex: 0 0 49.8%;
    max-width: 49.8%;
  }
  .link-box_link {
    padding: 25px 20px;
  }
  .link-box_logo {
    padding: 0 0 10px 10px;
  }
  .link-box_player {
    padding: 0 10px 0 0;
  }
}

/* SP: スマートフォン */
@media screen and (max-width: 580px) {
  .link-list-box .row-cols-3 > *,
  .link-list-box .row-cols-2 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .link-list-box .row {
    padding: 0 10px;
  }
  .hero-box_label_1,
  .hero-box_label_2 {
    font-size: 32px;
  }
  .hero-box_text_content {
    font-size: 10px;
  }
  .link-box_logo {
    padding: 0 0 10px 20px;
  }
  .link-box_player {
    padding: 0 20px 0 0;
  }
}

/* SP: 小型スマートフォン */
@media screen and (max-width: 393px) {
  .link-list-box .row-cols-3 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .link-box_logo {
    padding: 0 0 10px 10px;
  }
  .link-box_player {
    padding: 0 10px 0 0;
  }
}
