:root {
  --font-scale: 1;
  --aspect-base: calc(100vw / 1920);
  --aspect-base2: calc(100vw / 1440);
  --aspect-base-sp: calc(100vw / 393);
  --aspect-content: calc(100vw / 1080);
  --scale: 0.8;
}

* {
  caret-color: transparent;
  user-select: none;
  /* outline: 1px solid #77ffff; /**/
}

html {
  box-sizing: inherit;
  -webkit-text-size-adjust: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  max-width: none;
  font-family: "Noto Serif JP", "Noto Serif", serif;
  color: white;
  font-weight: 200;
}

body {
  background-color: black;
  overflow-x: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  display: inline-flex;
  justify-content: center;
}

b {
  font-weight: bold;
}

p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.brsp {
  display: none;
}

.page-wrapper {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 88px;
}

.section-wrapper {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.section-wrapper section {
  width: 100%;
}

.section-name {
  width: 267px;
  display: grid;
  grid-template-columns: 22px auto 22px;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  align-items: center;
  margin: 0 auto;
  padding-top: 35px;
}

#pageTop {
  position: fixed;
  top: 315px;
  right: 28px;
}

/* header */
.header-logo {
  position: relative;
}

.header-logo a {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.header-logo a:hover {
  background: rgba(0, 0, 0, 0.3);
}

.header-menu {
  margin: 0 auto;
}

.header-menu ul {
  padding: 0;
}

.header-menu ul li {
  display: inline;
  list-style:none;
  font-size: 16px;
}

.header-menu ul li:nth-child(n+2) {
  margin-left: 40px;
}

.header-menu ul li a:hover{
  color: rgba(73, 167, 193, 1);
}

.header-link {
  display: flex;
  gap: 40px;
  border-right: 2px solid #ffffff;
  height: 40px;
  align-items: center;
  margin-left: 0;
  margin-right: 30px;
  padding-right: 40px;
}

.header-link a:hover {
  opacity: 0.7;
}

.header-link a img {
  height: 24px;
}

/* title */
.section-title {
  width: 100%;
  margin: 0 0 2px 0;
}

.section-title img {
  height: 100%;
}

.title-image-pc {
  display: flex;
  justify-content: center;
  position: relative;
  font-size: calc(var(--aspect-base2) * 20);
  font-weight: 400;
  width: 100%;
  height: calc(100vw* 9 / 16);
  max-height: calc(100vh - 88px);
}

.title-image-sp {
  display: none;
  justify-content: center;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
}

.title-image-pc video {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: auto;
  top: clamp(-50vh, calc(((100vw / (16 / 9) - 100vh) / 2) * -1), 88px);
}

img.title-image-pc-logo {
  position: absolute;
  width: 81.3%;
  height: auto;
}

.title-image-pc-copy {
  position: absolute;
  top: 21.9%;
}

.title-image-pc-release-text {
  position: absolute;
  top: 25vw;
  text-shadow: rgba(255, 255, 255, 1) 0px 0px 4px;
}

.title-image-shadow {
  position: absolute;
  bottom: 0;
  width: 100%;
  box-shadow: 0px 4px 32px 32px #000000;
}

img.title-image-sp-bg {
  width: 100%;
  height: auto;
}

img.title-image-sp-logo {
  position: absolute;
  width: 100%;
  height: auto;
  top: 14%;
}

.title-image-sp-release-text {
  position: absolute;
  top: 68%;
  text-shadow: rgba(255, 255, 255, 1) 0px 0px 4px;
}

/* movie */
.section-movie {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  height: fit-content;
  padding-bottom: 60px;
  z-index: 2;
  background-color: #000000;
}

.section-movie iframe {
  width: 100%;
  height: auto;
  max-width: 840px;
  max-height: 472.5px;
  aspect-ratio: 16 / 9;
  max-width: 840px;
  /* display: block; */
  margin: auto;
}

.movie-content {
  margin-top: 25px;
  background: rgba(217, 217, 217, 0.13);
  box-shadow: 0px 4px 32.9px 7px rgba(28, 28, 28, 1);
}

/* story */
.section-story {
  background-color: #000000;
}

.story-content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  min-height: 35vw;
  background-image: url(../images/bg_story2.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

.story-image {
  position: absolute;
  width: 100%;
  display: none;
}

.story-image-sp {
  position: absolute;
  width: 100%;
  display: none;
}

.story-explanations {
  text-align: left;
  left: clamp(20px, 20%, 240px);
  z-index: 1;
  margin: 50px 0;
}

.story-text1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  width: 55vw;
}

.story-text2 {
  font-size: 16px;
  font-weight: 400;
  width: 55vw;
}

/* system */
.section-system {
  background-color: #000000;
}

.system-outlines {
  text-align: center;
  margin: 34px 0;
}

.system-outline1 {
  font-size: 28px;
  font-weight: 700;
}

.system-outline2 {
  font-size: 16px;
  font-weight: 400;
  margin: 0 20px;
  margin-top: 32px;
}

.system-content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}

.system-image {
  height: calc(var(--aspect-base2)* 480);
}

.system-image-sp {
  width: 100%;
  display: none;
}

.system-items {
  display: grid;
  position: absolute;
  grid-template-columns: auto auto;
}

.system-explanations {
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin: 0 20px;
}

.system-text1 {
  font-size: 24px;
  font-weight: 700;
}

.system-text2 {
  font-size: 16px;
  font-weight: 400;
}

.system-movie {
  width: calc(var(--aspect-base2) * 578);
  height: calc(var(--aspect-base2) * 335);
  background: url('../images/Movie_Frame.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  margin: 0 20px;
}

.system-movie > div {
  width: calc(var(--aspect-base2) * 554);
  height: calc(var(--aspect-base2) * 312);
  margin: calc(var(--aspect-base2) * 23 / 2);
}

/* platform */
.section-platform {
  width: 100%;
  padding-bottom: 60px;
  background-color: #000000;
}

.platform-grid {
  max-width: 1280px;
  width: 100%;
  display: grid;
  column-gap: 40px;
  row-gap: 32px;
  grid-template-columns: repeat(
    auto-fill,
    minmax(290px, 1fr)
  ); /*repeat(4, 1fr);*/
  margin: 0 auto;
}

.platform-item {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.platform-logo {
  width: fit-content;
  text-align: center;
}

a.platform-logo:hover {
  opacity: 0.7;
}

.platform-image-pc {
  display: inline-block;
  width: 100%;
}

.platform-image-sp {
  display: none;
  width: 60%;
}

.platform-button {
  display: inline-flex;
  position: relative;
  max-width: 290px;
  max-height: 98px;
  height: 98px;
  width: 100%;
  margin-top: -21px;
}

.platform-coming-soon {
  position: absolute;
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.platform-early-access {
  width: 100%;
  height: 100%;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.early-access-image {
  position: absolute;
  width: 100%;
  max-width: 143px;
  max-height: 98px;
}

.early-access-font {
  position: absolute;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.coming-soon-font {
  font-weight: 300;
  font-size: 16px;
}

/* content */
.section-content {
  padding-bottom: 60px;
}

.content-spec {
  text-align: center;
}

.content-title-label {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.content-title-detail {
  font-size: 20px;
}

.content-platform-label {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.content-platform-detail {
  font-size: 20px;
}

.content-genre-label {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.content-genre-detail {
  font-size: 20px;
}

.content-price-label {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.content-price-detail {
  font-size: 20px;
}

.content-rating-label {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.content-rating-detail {
  font-size: 20px;
}

.platform-detail-separator {
  display: inline;
}

.platform-detail-separator-sp {
  display: none;
}

.rating-image {
  width: 60px;
  margin-top: 11px;
}

/* fankit */
.section-fankit {
  background-color: rgba(217, 217, 217, 0.13);
  box-shadow: 0px 4px 32.9px 7px rgba(28, 28, 28, 1);
  width: 100%;
  height: 145px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.copyright-link {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

a.copyright-link span {
  position: relative;
}

a.copyright-link span::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #fff 35%, rgba(48, 48, 48, 0) 100%); /* linear-gradient(90deg, #ccccff 35%, rgba(48, 48, 48, 0) 100%);; /**/
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

a.copyright-link span:hover::after {
  transform: scale(1, 1);
}

.fankit-download {
  width: 316px;
  height: 48px;
  position: relative;
}

.fankit-download:hover {
  background-color: rgba(73, 167, 193, 1);
}

.fankit-download-shape {
  width: 100%;
  height: 100%;
  position: absolute;
  border: 1px solid #ffffff;
  border-radius: 90px;
}

.fankit-download-shape::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  top: 23.54px;
  left: 5px;
  transform: rotate(45deg);
  background-color: #ffffff;
}

.fankit-download-shape::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  top: 23.54px;
  right: 5px;
  transform: rotate(45deg);
  background-color: #ffffff;
}

.fankit-download-text {
  width: 100%;
  height: 100%;
  position: absolute;
  border: 1px solid #ffffff;
  text-align: center;
  line-height: 48px;
  font-size: 16px;
  font-weight: 700;
}

.fankit-download-image {
  position: absolute;
  top: 12px;
  right: 30px;
}

/* copyright */
.section-copyright {
  text-align: center;
  margin-bottom: 60px;
}

.copyright-detail {
  display: inline-flex;
  white-space: pre-line;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0rem;
  color: #b6b6b6;
  margin: 0 22px;
}

.footer-bg {
  width: 100%;
  background-color: #0C0C0C;
  background-image: url(../images/bg_spec.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: top;
}

.footer-bg-shadow {
  width: 100%;
  box-shadow: 0px 0px 120px 92px rgba(0, 0, 0, 1);
}

/* modal */

.modal-wrapper {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.modal-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}
.modal-movie {
  max-width: 1280px;
  max-height: 720px;
  min-width: 360px;
  min-height: 200px;
  width: calc(var(--aspect-base) * 1280);
  height: calc(var(--aspect-base) * 720);
  background-color: #000;
  position: relative;
  display: flex;
}
.modal-loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-movie-item {
  width: 100%;
  height: 100%;
}
.modal-close {
  cursor: pointer;
  margin-left: 16px;
}
.modal-margin {
  width: 60px;
}
.modal-movie-youtube {
  width: 100%;
  height: 100%;
}

.is-show {
  display: flex !important;
}

.modal-loader-wrapper {
  display: none;
}

.modal-loader {
  width: 44px;
  height: 44px;
  border: 4px rgba(255, 255, 255, 0.25) solid;
  border-top: 4px rgba(255, 255, 255, 1) solid;
  border-radius: 50%;
  -webkit-animation: load_anim 0.6s infinite linear;
  animation: load_anim 0.6s infinite linear;
}

/* fan-kit */
.fan {
	background-image: url(../images/story_back.png); background-size: cover; background-repeat: no-repeat; background-position-x: 50%; background-position-y: 76px; background-attachment: fixed;
}

/* copyright content */
pre.copyright-description {
  margin: 60px 0;
  width: 100%;
  white-space: pre-wrap;
  font-family: 'Noto Serif JP', 'Noto Serif', serif;
  font-size: 18px;
  line-height: 27px;
}

@media only screen and (max-width: 1080px) {

  /* content */
  .content-title-label {
    font-size: clamp(14px, calc(20px * var(--scale)), 18px);
    margin-bottom: 4px;
  }

  .content-title-detail {
    font-size: clamp(16px, calc(20px * var(--scale)), 20px);
  }

  .content-platform-label {
    font-size: clamp(14px, calc(20px * var(--scale)), 18px);
    margin-bottom: 4px;
  }

  .content-platform-detail {
    font-size: clamp(16px, calc(20px * var(--scale)), 20px);
  }

  .content-genre-label {
    font-size: clamp(14px, calc(20px * var(--scale)), 18px);
    margin-bottom: 4px;
  }

  .content-genre-detail {
    font-size: clamp(16px, calc(20px * var(--scale)), 20px);
  }

  .content-price-label {
    font-size: clamp(14px, calc(20px * var(--scale)), 18px);
    margin-bottom: 4px;
  }

  .content-price-detail {
    font-size: clamp(16px, calc(20px * var(--scale)), 20px);
  }

  /* movie */
  .section-movie {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 760px) {
  
  .header-link {
    gap: 30px;
    border-right: 1px solid #ffffff;
    height: 30px;
    margin-left: auto;
    margin-right: 10px;
    padding-right: 30px;
  }

  .header-link a img {
    height: 18px;
  }

  .page-wrapper {
    margin: 64px 16px 0 16px;
  }

  .brsp {
    display: flex;
  }

  /* title */
  .title-image-pc {
    display: none;
  }

  .title-image-sp {
    display: flex;
  }

  /* platform */
  .platform-image-pc {
    display: none;
  }

  .platform-image-sp {
    display: inline-block;
  }

  /*
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  */

  .platform-button {
    height: auto;
    margin-top: 0;
  }

  .platform-coming-soon {
    margin: 4px 0 32px 0;
  }
  .platform-early-access {
    height: 65px;
    margin-top: -15px;
  }
  .early-access-image {
    max-width: 95px;
    max-height: 65px;
  }

  .early-access-font {
    font-size: 14px;
  }

  .coming-soon-font {
    font-size: 16px;
  }

  /* content */
  .content-title-label {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .content-title-detail {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .content-platform-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .content-platform-detail {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .content-genre-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .content-genre-detail {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .content-price-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .content-price-detail {
    font-size: 16px;
  }

  .pc_txt {
    display: none;
  }

  .header-menu {
    display: none;
  }
  
  .section-name {
    width: 168px;
    grid-template-columns: 17px auto 17px;
    font-size: 20px;
    padding-top: 0;
  }

  
  .movie-content {
    margin-top: 17px;
  }

  .story-content {
    min-height: 170vw;
  }
  
  .story-image {
    display: none;
  }

  .story-image-sp {
    display: block;
  }

  .story-explanations {
    top: 82px;
    left: 20px;
    margin: 82px 20px auto 40px;
  }

  .story-text1 {
    font-size: 18px;
    margin-bottom: 18px;
    width: auto;
  }

  .story-text2 {
    font-size: 14px;
    width: auto;
  }

  .system-outline1 {
    font-size: 18px;
    margin-bottom: 33px;
  }

  .system-outline2 {
    font-size: 14px;
    text-align: left;
    margin: 0 20px;
  }
  
  .system-image {
    display: none;
  }

  .system-image-sp {
    display: block;
  }
  
  .system-items {
    display: flex;
    flex-direction: column;
  }
  
  .system-item-reverse {
    flex-direction: column-reverse;
  }

  .system-text1 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .system-text2 {
    font-size: 14px;
    margin-bottom: 38px;
  }

  .system-movie {
    width: calc(var(--aspect-base-sp) * 359);
    height: calc(var(--aspect-base-sp) * 208);
    margin: 0 auto;
  }

  .system-movie > div {
    width: calc(var(--aspect-base-sp) * 344);
    height: calc(var(--aspect-base-sp) * 194);
    margin: calc(var(--aspect-base-sp) * 15 / 2);
  }
  
  .platform-detail-separator {
    display: none;
  }

  .platform-detail-separator-sp {
    display: block;
  }

  .copyright-link {
    font-size: 16px;
  }
}

@media only screen and (min-width: 761px) {
  .sp_txt {
    display: none;
  }
}
