@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}



body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans Japanese", sans-serif;
  background: #333 url(../img/backpc.png) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  scrollbar-base-color: rgba(0, 0, 0, 0.5);
  scrollbar-face-color: rgb(255, 255, 255);
  scrollbar-track-color: rgba(0, 0, 0, 0.5);
}
body:after {
  background: url(../img/bg_dot.png) top center repeat;
  height: 100vh;
  width: 100%;
  content: "";
  display: block;
  position: fixed;
  /* 擬似要素ごと固定 */
  top: 0;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  body {
    background: none;
    background-attachment: inherit;
  }
  body:before {
    background: #333 url(../img/backsp.jpg) top center no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    content: "";
    display: block;
    position: fixed;
    /* 擬似要素ごと固定 */
    top: 0;
    left: 0;
    z-index: -1;
  }
}
body.-fixed {
  width: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body, html {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
}

html::-webkit-scrollbar-track {
  -webkit-box-shadow: 0 0 4px #777 inset;
          box-shadow: 0 0 4px #777 inset;
}

html::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 6px;
  border-top: solid 3px #333;
  border-bottom: solid 3px #333;
}

.copyright {
  text-align: center;
  font-size: 12px;
  padding: 2em 1em;
  color: #fff;
}

/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  -webkit-transition: all 1s;
  transition: all 1s;
  background-color: #0bd;
  position: fixed;
  top: 0;
  left: 0;
}

.spinner {
  width: 100px;
  height: 100px;
  margin: 200px auto;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
          animation: sk-scaleout 1s infinite ease-in-out;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ローディングアニメーション */
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0;
  }
}
.site_name {
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 16px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .site_name {
    padding: 1.25em;
    font-size: 12px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .site_name img {
    width: 70px;
    height: auto;
  }
}
.site_name p {
  padding-left: 8px;
  font-weight: bold;
  color: #fff;
}
.site_name a {
  text-decoration: none;
}
.site_name a:hover {
  opacity: 0.75;
}

.site_title {
  text-align: center;
}
.site_title h1 {
  color: #fff;
  font-size: 59px;
  font-family: "Oswald", sans-serif;
  line-height: 1;
  padding: 0.5em;
}
@media screen and (max-width: 768px) {
  .site_title h1 {
    font-size: 38px;
  }
}
.site_title h1:after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: #fff;
  margin: 0.5em auto;
}
@media screen and (max-width: 768px) {
  .site_title h1:after {
    width: 93px;
  }
}

.nav-chapter {
  height: 40px;
  color: #fff;
  max-width: 1188px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .nav-chapter {
    position: fixed;
    width: 50vw;
    bottom: 56px;
    left: 0;
    background: #FFC900;
    z-index: 1000;
    display: none;
  }
  .nav-chapter.sp-show {
    height: auto;
    display: block;
  }
}
.nav-chapter ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: auto;
  padding: 0 0.5em;
  padding-top: 0.5em;
  background-image: url(../img/chaper-left.svg), url(../img/chaper-right.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
}
@media screen and (max-width: 768px) {
  .nav-chapter ul {
    background: none;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .nav-chapter ul li {
    width: 100%;
  }
}
.nav-chapter ul li {
  margin: 0 0.5em;
}
.nav-chapter ul li:hover {
  cursor: pointer;
}
.nav-chapter ul li:hover button {
  cursor: pointer;
  opacity: 0.6;
}
.nav-chapter ul li button {
  border-radius: none;
  background: transparent;
  outline: none;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: bold;
  display: block;
  padding: 0.25em 0.5em;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .nav-chapter ul li button {
    color: #000;
    width: 100%;
    text-align: left;
    padding: 1em 0;
    border-bottom: 2px solid #FFC900;
  }
  .nav-chapter ul li button.-on {
    border-bottom: 2px solid #000;
  }
}
.nav-chapter ul li button.-on {
  background: #FFC900;
  color: #000;
}

.js-series {
  margin: 1em 0;
  width: 100%;
  background: url(../img/series_bg.png) no-repeat center center;
}
@media screen and (max-width: 768px) {
  .js-series {
    position: fixed;
    width: 50vw;
    bottom: 56px;
    margin: 0;
    right: 0;
    background: #000;
    padding: 0.5em 0;
    z-index: 1000;
    display: none;
  }
  .js-series.sp-show {
    height: auto;
    display: block;
  }
}
.js-series ul {
  max-width: 1188px;
  height: 96px;
  margin: 0 auto;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .js-series ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    height: auto;
  }
}
.js-series ul li {
  margin: 0 1em;
}
@media screen and (max-width: 768px) {
  .js-series ul li {
    width: 100%;
  }
}
.js-series.-none {
  display: none;
}
.js-series button {
  border: none;
  border-radius: 0;
  background: none;
  color: #FFC900;
  height: 96px;
  font-size: 15px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 1em;
}
@media screen and (max-width: 768px) {
  .js-series button {
    color: #fff;
    height: auto;
    padding: 1em 0.5em;
  }
}
.js-series button.-on {
  border-bottom: 2px solid #FFC900;
}
@media screen and (max-width: 768px) {
  .js-series button.-on {
    color: #FFC900;
    border-bottom: none;
  }
}
@media screen and (min-width: 769px) {
  .js-series button.kof94 {
    background-image: url(../logo/kof94.png);
    width: 145px;
    text-indent: -8888em;
  }
  .js-series button.kof95 {
    background-image: url(../logo/kof95.png);
    width: 145px;
    text-indent: -8888em;
  }
  .js-series button.kof96 {
    background-image: url(../logo/kof96.png);
    width: 145px;
    text-indent: -8888em;
  }
  .js-series button.kof97 {
    background-image: url(../logo/kof97.png);
    width: 145px;
    text-indent: -8888em;
  }
  .js-series button.kof98 {
    background-image: url(../logo/kof98.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof99 {
    background-image: url(../logo/kof99.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof2000 {
    background-image: url(../logo/kof2000.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof2001 {
    background-image: url(../logo/kof2001.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof2002 {
    background-image: url(../logo/kof2002.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof2003 {
    background-image: url(../logo/kof2003.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofxi {
    background-image: url(../logo/kofxi.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofxii {
    background-image: url(../logo/kofxii.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofxiii {
    background-image: url(../logo/kofxiii.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofxiv {
    background-image: url(../logo/kofxiv.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofxv {
    background-image: url(../logo/kofxv.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofmi {
    background-image: url(../logo/kof_mi.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofmi2 {
    background-image: url(../logo/kof_mi2.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofmia {
    background-image: url(../logo/kof_mia.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof94rb {
    background-image: url(../logo/kof94.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof98um {
    background-image: url(../logo/kof98_oversea.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kof2002um {
    background-image: url(../logo/kof2002um.png);
    width: 148px;
    text-indent: -8888em;
  }
  .js-series button.kofnw {
    background-image: url(../logo/kofnw.png);
    width: 148px;
    text-indent: -8888em;
  }
}

.characters {
  max-width: 1188px;
  margin: 0 auto;
  padding-bottom: 10vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-top: 12px;
}
@media screen and (max-width: 1188px) {
  .characters {
    padding: 2em;
  }
}
@media screen and (max-width: 768px) {
  .characters {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 100px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

.character-item {
  width: 108px;
  height: 142px;
  overflow: hidden;
  margin: 12px;
  border: 1px solid #fff;
  overflow: hidden;
  line-height: 1;
  position: relative;
  -webkit-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
  opacity: 1;
}
@media screen and (max-width: 8000px) {
  .character-item {
    width: 9%;
    margin: 0.5%;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .character-item {
    width: 19%;
    margin: 0em;
    margin-right: 1%;
    margin-bottom: 1%;
    height: auto;
    overflow: hidden;
  }
  .character-item:nth-child(5n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 460px) {
  .character-item {
    width: 31%;
    margin: 0em;
    margin-bottom: 2.5%;
    height: auto;
    overflow: hidden;
  }
}
.character-item.-none {
  display: none;
}
.character-item.-firstnone {
  display: none;
}
.character-item.-firston {
  opacity: 1;
  display: block;
}
.character-item:before, .character-item:after {
  display: block;
  content: "";
  width: 42px;
  height: 42px;
  position: absolute;
  z-index: 50;
  -webkit-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}
@media screen and (max-width: 768px) {
  .character-item:before, .character-item:after {
    width: 23px;
    height: 23px;
  }
}
.character-item:before {
  left: 4px;
  top: 4px;
  border-left: 2px solid #FFC900;
  border-top: 2px solid #FFC900;
}
@media screen and (max-width: 768px) {
  .character-item:before {
    left: 2px;
    top: 2px;
    border-left: 1px solid #FFC900;
    border-top: 1px solid #FFC900;
  }
}
.character-item:after {
  right: 4px;
  bottom: 4px;
  border-right: 2px solid #FFC900;
  border-bottom: 2px solid #FFC900;
}
@media screen and (max-width: 768px) {
  .character-item:after {
    right: 2px;
    bottom: 2px;
    border-right: 1px solid #FFC900;
    border-bottom: 1px solid #FFC900;
  }
}
.character-item img {
  vertical-align: bottom;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}
.character-item:hover {
  cursor: pointer;
}
.character-item:hover img {
  overflow: hidden;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
@media screen and (max-width: 768px) {
  .character-item:hover img {
    width: 100%;
    height: auto;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
.character-item:hover:before {
  left: 2px;
  top: 2px;
}
.character-item:hover:after {
  right: 2px;
  bottom: 2px;
}

.sp-filter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 1000;
}
@media screen and (min-width: 769px) {
  .sp-filter {
    display: none;
  }
}
.sp-filter .series {
  background: #FFC900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1em;
  width: 50%;
}
.sp-filter .series:after {
  position: relative;
  top: 4px;
  content: "";
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  width: 10px;
  height: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.sp-filter .chapter {
  width: 50%;
  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 1em;
}
.sp-filter .chapter:after {
  position: relative;
  top: 4px;
  content: "";
  border-top: 1px solid #FFC900;
  border-left: 1px solid #FFC900;
  width: 10px;
  height: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.sp-filter .chapter span {
  color: #fff;
  height: 56px;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  line-height: 56px;
  display: block;
}
.sp-filter .chapter span.logo_kof94 {
  background-image: url(../img/kof94.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof95 {
  background-image: url(../img/kof95.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof96 {
  background-image: url(../img/kof96.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof97 {
  background-image: url(../img/kof97.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof98 {
  background-image: url(../img/kof98.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof99 {
  background-image: url(../logo/kof99.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof2000 {
  background-image: url(../logo/kof2000.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof2001 {
  background-image: url(../logo/kof2001.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof2002 {
  background-image: url(../logo/kof2002.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof2003 {
  background-image: url(../logo/kof2003.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofxi {
  background-image: url(../logo/kofxi.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofxii {
  background-image: url(../logo/kofxii.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofxiii {
  background-image: url(../logo/kofxiii.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofxiv {
  background-image: url(../logo/kofxiv.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofxv {
  background-image: url(../logo/kofxv.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofmi {
  background-image: url(../logo/kof_mi.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofmi2 {
  background-image: url(../logo/kof_mi2.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofmia {
  background-image: url(../logo/kof_mia.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof94rb {
  background-image: url(../logo/kof94.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof98um {
  background-image: url(../logo/kof98_oversea.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kof2002um {
  background-image: url(../logo/kof2002um.png);
  text-indent: -8888em;
}
.sp-filter .chapter span.logo_kofnw {
  background-image: url(../logo/kofnw.png);
  text-indent: -8888em;
}
