/* css 変数 */
:root {
  --bg-color: #231f20;
  --text-color: #fff;
  --secondary-text-color: #bfc3d3;
  --primary-color: #231f20;
  --secondary-color: #2c2855de;
  --accent-color: #c53c68;

  --break-point-sp: 480px;
  --break-point-tablet: 768px;
  --break-point-hd: 1280px;
}

body {
  background: var(--bg-color);
  color: var(--text-color);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  margin: 0;

  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

:not('.is_hidden') {
  opacity: 1;
}
.is_hidden {
  opacity: 0;
}

.is_onlySp {
  display: none !important;

  @media screen and (max-width: 480px) {
    display: inherit !important;
  }
}

.is_onlyPc {
  display: none !important;

  @media screen and (min-width: 481px) {
    display: inherit !important;
  }
}

.hp_keepall {
  word-break: keep-all;
}

.ly_main {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.fixed_bg {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  object-fit: cover;
  z-index: -1;

  .fixed_bg_img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    -webkit-filter: blur(10px);
    filter: blur(.5rem);
    opacity: .8;
  }
}

.ly_container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0 4%;
  margin: 0 auto;

  &.ly_container__firstView {
    position: absolute;
    z-index: 1;
    height: 100%;

    @media screen and (min-width: 1920px) {
      justify-content: flex-start;
    }
  }

  &.ly_container__negativeMargin {
    margin-top: -4rem;
  }

  @media screen and (min-width: 481px) {
    max-width: 1200px;
    padding: 0 1rem;
  }
}

.bl_firstView {
  position: relative;
  -webkit-mask-image: linear-gradient(rgb(255, 255, 255) 95%, rgba(255, 255, 255, 0) 100%);
  mask-image: linear-gradient(rgb(255, 255, 255) 95%, rgba(255, 255, 255, 0) 100%);
}

.bl_title {
  position: absolute;
  bottom: 4rem;
  width: calc(100% - 8%);
  text-align: center;
  filter: drop-shadow(0 0 0.75rem #307);

  @media screen and (min-width: 481px) {
    position: absolute;
    bottom: 10%;
    width: calc(100% - 2rem);
  }

  @media screen and (min-width: 768px) {
    position: absolute;
    bottom: auto;
    top: 5%;
  }

  @media screen and (min-width: 1280px) {
    position: relative;
    bottom: auto;
    top: 4rem;
    width: 100%;
  }
/*
  @media screen and (min-width: 1920px) {
    position: absolute;
    bottom: 30%;
  } */
}

.bl_title_logo_wapper {
  display: inline-block;
  width: 80%;

  @media screen and (min-width: 481px) {
    width: 100%;
  }
}

.bl_title_logo {
  position: relative;
  right: -.5%;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 82.11;
  fill: var(--text-color);

  @media screen and (min-width: 481px) {
    width: 72%;
  }

  @media screen and (min-width: 768px) {
    width: 55%;
  }

  @media screen and (min-width: 1280px) {
    width: 40rem;
  }
}

.bl_title_caption {
  margin-top: .5rem;
  font-size: 1rem;
  font-weight: bold;

  @media screen and (min-width: 481px) {
    font-size: 3.5vw;
  }
  @media screen and (min-width: 768px) {
    font-size: 2vw;
  }
  @media screen and (min-width: 1280px) {
    font-size: 1.6rem;
  }
}

.bl_firstView_bg {
  position: absolute;
  width: 100%;
  aspect-ratio: 3 / 5;
  user-select: none;
  transition: all .3s;

  @media screen and (min-width: 481px) {
    aspect-ratio: 4 / 4;
  }
  @media screen and (min-width: 1280px) {
    aspect-ratio: 4 / 3.5;
  }

  .js_parallax {
    transition: transform .5s;
  }

  img {
    width: 100%;
    height: auto;
  }
}

.bl_firstView_bg.bl_firstView_bg__1 {
  position: relative;
  overflow: hidden;

  background: url(../img/bg1.jpg);
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: 150%;

  @media screen and (min-width: 481px) {
    background-size: cover;
    /* for safari */
    display: flex;
    justify-content: center;
  }
}

.bl_firstView_bg.bl_firstView_bg__2 {
  top: 6%;
  transform: scale(1.4);

  @media screen and (min-width: 481px) {
    top: -18%;
    transform: scale(1);
  }
  @media screen and (min-width: 1280px) {
    top: -25%
  }

  &.is_animated {
    transform: scale(1.5);
    @media screen and (min-width: 481px) {
      transform: scale(1.1);
    }
  }
}

.bl_firstView_bg.bl_firstView_bg__3 {
  top: 6%;
  transform: scale(1.4);

  @media screen and (min-width: 481px) {
    top: -18%;
    transform: scale(0.9);
  }
  @media screen and (min-width: 1280px) {
    top: -25%
  }

  &.is_animated {
    transform: scale(1.5);
    @media screen and (min-width: 481px) {
      transform: scale(1);
    }
  }
}

.bl_firstView_bg.bl_firstView_bg__4 {
  top: 6%;
  transform: scale(1.4);

  @media screen and (min-width: 481px) {
    top: -18%;
    transform: scale(1);
  }
  @media screen and (min-width: 1280px) {
    top: -25%
  }

  &.is_animated {
    transform: scale(1.5);
    @media screen and (min-width: 481px) {
      transform: scale(1.3);
    }
  }
}

.bl_section {
  background: var(--secondary-color);
  padding: 1rem 1rem;
  border-radius: .4rem;
  margin-bottom: 2rem;

  @media screen and (min-width: 481px) {
    padding: 1.5rem 1.5rem;
  }
  @media screen and (min-width: 768px) {
    padding: 2rem 5rem;
  }
}

.bl_section_title {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;

  &.bl_section_title__lead {
    word-break: keep-all;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;

    @media screen and (min-width: 481px) {
      margin-top: auto;
      font-size: 1.6rem;
    }
  }

  &.bl_section_title__invert {
    font-size: 1.6rem;
    background: var(--text-color);
    color: var(--bg-color);
    padding: .5rem .8rem;
  }
}
* + .bl_section_title {
  margin-top: 4rem;
}

.bl_section_videoWrapper {
  display: flex;
  justify-content: center;

  .bl_section_video {
    width: 100%;
    max-width: 560px;
    height: auto;
    max-height: 315px;
    aspect-ratio: 16 / 9;
  }
}

.bl_section_list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;

  .bl_section_list_dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
  }
  .bl_section_list_dd {
    margin: .5rem 0 0;
    text-align: center;
    color: var(--secondary-text-color);
    word-break: keep-all;
  }
}

.bl_label {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-color);
  font-weight: bold;
  padding: .4rem .6rem;
  line-height: 1;
  width: fit-content;
  word-break: keep-all;
}

.bl_label_caption {
  word-break: keep-all;
}

.bl_siteCard_wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bl_siteCard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--primary-color);
  padding: 1rem;
}

.bl_siteCard_name {
  display: inline-block;
  background: var(--text-color);
  color: var(--bg-color);
  font-size: 2rem;
  font-weight: bold;
  padding: .5rem .8rem;
  margin-left: -1rem;
  width: fit-content;

  @media screen and (min-width: 481px) {
    margin-left: -1.5rem;
  }

  @media screen and (min-width: 768px) {
    margin-left: -2rem;
  }
}

.bl_siteCard_label {
  @media screen and (min-width: 481px) {
    font-size: .9rem;
  }

  @media screen and (min-width: 640px) {
    font-size: 1rem;
  }
}

.bl_siteCard_descBodyWrapper {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.bl_siteCard_desc {
  display: flex;
  flex-direction: column;
  gap: .5rem;

  @media screen and (min-width: 481px) {
    gap: .5rem;
  }

  @media screen and (min-width: 640px) {
    gap: 1rem;
  }
}

.bl_siteCard_group {
  display: grid;
  grid-template-columns: 8rem 1fr;
  grid-template-rows: 1fr;
  gap: .7rem;

  @media screen and (min-width: 640px) {
    grid-template-columns: 12rem 1fr;
  }

  @media screen and (min-width: 768px) {
    grid-template-columns: 18rem 1fr;
  }
}

.bl_siteCard_descBody {
  @media screen and (min-width: 481px) {
    flex: 1;
    font-size: .8rem;
  }

  @media screen and (min-width: 640px) {
    font-size: 1rem;
  }

  @media screen and (min-width: 768px) {
    margin-left: 1rem;
  }
}

.bl_siteCard_carousel {
  border-radius: .4rem;
  overflow: hidden;
  cursor: pointer;

  @media screen and (min-width: 481px) {
    position: relative;
    aspect-ratio: 1080 / 720;
    .bl_siteCard_carousel_img {
      position: absolute;
    }
  }

  .bl_siteCard_carousel_img {
    opacity: 1;
    transition: all .3s;

    &:not(.is_active) {
      @media screen and (min-width: 481px) {
        opacity: 0;
      }
    }
  }

  &:hover {
    .bl_siteCard_carousel_navPrev,
    .bl_siteCard_carousel_navNext {
      opacity: 1;
    }
  }
}

.bl_siteCard_carousel_navPrev {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
  color: var(--text-color);
  padding: .5rem;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .2;
  transition: background .3s, opacity .3s;

  &::before {
    content: '';
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    display: inline-block;
    height: 1rem;
    width: 1rem;
    transform: rotate(-135deg) translateX(-.1rem) translateY(.1rem);
  }

  &:hover {
    background: var(--accent-color);
  }
}

.bl_siteCard_carousel_navNext {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
  color: var(--text-color);
  padding: .5rem;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .2;
  transition: background .3s, opacity .3s;

  &::before {
    content: '';
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    display: inline-block;
    height: 1rem;
    width: 1rem;
    transform: rotate(45deg) translateX(-.1rem) translateY(.1rem);
  }

  &:hover {
    background: var(--accent-color);
  }
}

.bl_siteCard_link {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  padding: .5rem 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s, color .3s;

  &:before {
    content: '';
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    display: inline-block;
    height: .5rem;
    width: .5rem;
    transform: rotate(45deg);
    margin-right: .75rem;
  }

  &:hover {
    background: var(--text-color);
    color: var(--bg-color);

    &:before {
      border-color: var(--bg-color);
    }
  }

  &.is_disabled {
    background: #76708b;
    border-color: #76708b;
    color: var(--bg-color);
    cursor: default;

    &:before {
      border-color: var(--bg-color);
    }
  }

  @media screen and (min-width: 481px) {
    width: 100%;
    align-self: flex-end;
  }

  @media screen and (min-width: 768px) {
    width: fit-content;
    align-self: flex-end;
  }

  @media screen and (min-width: 1280px) {
    width: 20rem;
    align-self: flex-end;
  }
}

.bl_gameData {
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: .2rem 1rem;
  align-items: center;

  .bl_gameData_dt {
    background: var(--bg-color);
    padding: .5rem 1rem;
  }

  .bl_gameData_dd {
    margin: 0;
  }
}

.ly_footer {
  padding: 2rem;
}

.js_modal {
  cursor: pointer;

  .js_modal_target {
    overflow: hidden;
    transition: all .3s;
  }

  &:hover {
    .js_modal_target {
      transform: scale(1.05);
      filter: brightness(1.1);
    }
  }
}

.bl_modal {
  &:not(.is_active) {
    /* display: none; */
    opacity: 0;
    user-select: none;
    pointer-events: none;
  }

  position: fixed;
  top: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity .3s;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.bl_modal_inner {
  position: relative;
  width: auto;
  max-width: 100%;
  padding: 2rem;
  margin: 0 auto;
}

.bl_modal_close {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -1.5rem;
  right: 2rem;
  cursor: pointer;
  background: var(--text-color);
  width: 2.5rem;
  height: 2.5rem;
  transition: all .3s;

  /* before & after で✕ボタンを表現する */
  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 1.5rem;
    background: var(--bg-color);
  }
  &::before {
    transform: rotate(45deg);
  }
  &::after {
    transform: rotate(-45deg);
  }

  &:hover {
    background: var(--accent-color);
  }
}

.bl_modal_image {

}
