/* INIT --------------------------------*/
html {
  line-height: 1.5;
  font-size: 6.25%;
  position: relative;
  height: 100%;
}

html.smooth {
  scroll-behavior: smooth;
}

body {
  background: black;
  position: relative;
  font-size: 21rem;
  font-family: Arial, Helvetica, sans-serif;
  font-family: 'Noto Serif JP', serif;
  color: #2a241e;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
}

::-moz-selection {
  background: #fc7700;
  color: #dddcdc;
}

::selection {
  background: #fc7700;
  color: #dddcdc;
}

a {
  outline: none;
  text-decoration: underline;
  cursor: pointer;
}

a:link {
  color: white;
}

a:visited {
  color: white;
}

button {
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

li {
  list-style: none;
}

.br-sp {
  display: none;
}

.br-pc {
  display: block;
}

.fa-external-link-alt {
  margin-left: 0.3em;
  font-size: 0.8em;
}

.inner960 {
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}

.inner1200 {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}

.wrapper {
  position: relative;
  width: 100vw;
}

.frame {
  border: 1px solid #b79952;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.pop,
.pop-movie {
  display: block;
  position: relative;
  background: #b79952;
}

.pop img,
.pop-movie img {
  opacity: 1;
  -webkit-transition: opacity 0.15s ease;
  transition: opacity 0.15s ease;
}

.pop:hover img,
.pop-movie:hover img {
  opacity: 0.7;
}

.image {
  display: inline-block;
  width: 100%;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.image img {
  vertical-align: bottom;
  width: 100%;
}

.movie {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.movie__thumbnail {
  vertical-align: bottom;
  width: 100%;
}

.movie:after {
  content: "";
  display: block;
  width: 45%;
  height: 57%;
  background: url(../img/btn_play.png) 0 0 no-repeat;
  background-size: 100% auto;
  position: absolute;
  left: calc( 50% - 22.5%);
  top: calc(50% - 27.5%);
  pointer-events: none;
}

[data-ruby] {
  position: relative;
}

[data-ruby]:before {
  content: attr(data-ruby);
  position: absolute;
  top: -0.6em;
  left: 2.5em;
  right: 0;
  margin: auto;
  font-size: 0.4em;
  letter-spacing: 0.5em;
}

.fg-loading {
  display: block;
  width: 100vw;
  height: 100vh;
  background: url(../img/img_yatuzaki.png) 50% 50% no-repeat, -webkit-gradient(linear, left bottom, left top, from(#150201), color-stop(23%, #0b0101), to(black));
  background: url(../img/img_yatuzaki.png) 50% 50% no-repeat, linear-gradient(to top, #150201 0%, #0b0101 23%, black 100%);
  background-size: 30% auto, cover;
  pointer-events: visible;
  opacity: 1;
  -webkit-transition: opacity 1.5s ease, -webkit-backdrop-filter 1.5s ease, -webkit-filter 1.5s ease;
  transition: opacity 1.5s ease, -webkit-backdrop-filter 1.5s ease, -webkit-filter 1.5s ease;
  transition: opacity 1.5s ease, backdrop-filter 1.5s ease, filter 1.5s ease;
  transition: opacity 1.5s ease, backdrop-filter 1.5s ease, filter 1.5s ease, -webkit-backdrop-filter 1.5s ease, -webkit-filter 1.5s ease;
  z-index: 50000;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-backdrop-filter: grayscale(1);
          backdrop-filter: grayscale(1);
  opacity: 1;
}

.loaded .fg-loading {
  opacity: 0;
  -webkit-backdrop-filter: grayscale(0);
          backdrop-filter: grayscale(0);
  pointer-events: none;
}

.glNav {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  z-index: 3000;
}

.glNav-content {
  width: 1920px;
  height: 98px;
  background: url(../img/bg_glnav.png) 50% 0 no-repeat;
  position: relative;
}

.glNav-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 7px;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.glNav-menu__item {
  position: relative;
}

a[class^="glNav-button"] {
  display: block;
  position: relative;
  height: 55px;
}

a[class^="glNav-button"] img {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
}

a[class^="glNav-button"]:hover img {
  opacity: 1;
}

a[class^="glNav-button"].selected {
  background-position: 0 100%;
  pointer-events: none;
  cursor: default;
}

.glNav-button-top {
  width: 105px;
  background: url("../img/glnav_top.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-top img {
  background: url("../img/glnav_top.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.glNav-button-story {
  width: 179px;
  background: url("../img/glnav_story.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-story img {
  background: url("../img/glnav_story.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.glNav-button-character {
  width: 210px;
  background: url("../img/glnav_character.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-character img {
  background: url("../img/glnav_character.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.glNav-button-system {
  width: 145px;
  background: url("../img/glnav_system.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-system img {
  background: url("../img/glnav_system.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.glNav-button-gallery {
  width: 177px;
  background: url("../img/glnav_gallery.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-gallery img {
  background: url("../img/glnav_gallery.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.glNav-button-product {
  width: 171px;
  background: url("../img/glnav_product.png") 0 0 no-repeat;
  background-size: 100% auto;
}

.glNav-button-product img {
  background: url("../img/glnav_product.png") 0 0 no-repeat;
  background-size: 100% auto;
  background-position: 0 100%;
}

.sp-menu-button {
  display: none;
}

.sctop-button {
  display: block;
  width: 6%;
  max-width: 106px;
  position: fixed;
  bottom: 25px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 1s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.3s ease, visibility 1s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.3s ease, visibility 1s ease, transform 0.2s ease;
  transition: opacity 0.3s ease, visibility 1s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
  cursor: pointer;
}

.sctop-button img {
  width: 100%;
  vertical-align: bottom;
}

.sctop-button:hover {
  -webkit-transform: translate(0, -20px);
          transform: translate(0, -20px);
}

.sctop-button.show {
  opacity: 1;
  visibility: visible;
}

.footer {
  background: url(../img/bg_pattern50.jpg) 0 0 repeat;
}

.footer:before {
  content: "";
  display: block;
  width: 100%;
  height: 27px;
  background: url(../img/window_frame.png) 50% 50% repeat-x;
  bottom: 100%;
}

.footer-content {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 1% 0;
}

.sns-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  margin-top: 1%;
}

.sns-button__item {
  position: relative;
  width: 5.20833%;
}

.sns-button__item img {
  vertical-align: bottom;
  width: 100%;
}

.sns-button__item + .sns-button__item {
  margin-left: 1%;
}

.official-sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 1% auto 0;
  width: 100%;
  position: relative;
}

.official-sns__item {
  width: 15.83333%;
}

.official-sns__item img {
  width: 100%;
}

.official-sns__item:not(:last-of-type) {
  margin-right: 1%;
}

.copy-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 3%;
  font-size: 0.5em;
}

.copy {
  color: white;
  font-weight: 400;
}

/* NEW --------------------------------*/
.banner.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 20%;
  height: 0;
  padding-bottom: 6.62338%;
  position: absolute;
  top: 5%;
  left: 2%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.topics-list-item.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 20%;
  height: 0;
  padding-bottom: 6.62338%;
  position: absolute;
  top: 1%;
  left: 1%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.glNav-menu__item.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 50px;
  height: 0;
  padding-bottom: 16.55844px;
  position: absolute;
  top: -2%;
  left: -2%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.sub-navi-menu__item.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 25%;
  height: 0;
  padding-bottom: 8.27922%;
  position: absolute;
  top: -2%;
  left: -2%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.gallery-images__item.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 15%;
  height: 0;
  padding-bottom: 4.96753%;
  position: absolute;
  top: -2%;
  left: -2%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.common-window-caption.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 10%;
  height: 0;
  padding-bottom: 3.31169%;
  position: absolute;
  top: -2%;
  left: 0%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.common-window-subcaption.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 10%;
  height: 0;
  padding-bottom: 3.31169%;
  position: absolute;
  top: -15px;
  left: 0%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.novel-button.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 7%;
  height: 0;
  padding-bottom: 2.31818%;
  position: absolute;
  top: 8%;
  left: 0.5%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}

.madogiwa-last-button.new:before {
  content: "";
  background: url(../img/icon_new.png) 0 0 no-repeat;
  background-size: cover;
  width: 7%;
  height: 0;
  padding-bottom: 2.31818%;
  position: absolute;
  top: 8%;
  left: 0.5%;
  bottom: auto;
  right: auto;
  pointer-events: none;
  z-index: 100;
  -webkit-animation: anim-new 2s infinite ease;
          animation: anim-new 2s infinite ease;
}
