html {
  height: 100%;
}

* ul {
  list-style: none outside;
  padding: 0;
  margin: 0;
}

body {
  background-color: #000;
  background-image: url(../img/sp_title_bg.jpg), url(../img/c2_bg.jpg), url(../img/spec_bg.jpg);
  background-position: center top, center 1200px, center bottom;
  background-repeat: no-repeat;
  background-size: 150%, 200%, auto;
}

header {
  height: auto;
}

header h1 {
  margin-bottom: 0;
}

header #logo {
  width: 215px;
  display: block;
  margin: 150px auto 0 auto;
}

header #copy {
  display: block;
  margin: 0 auto;
  width: 90%;
}

header #touroku_btn {
  width: 300px;
  display: block;
  margin: 10px auto 0 auto;
  position: relative;
}

header #touroku_btn:before, header #touroku_btn:after {
  content: "";
  position: absolute;
  z-index: -10;
  width: 300px;
  height: 101px;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, transparent 5px, #fdef27 0) top left, linear-gradient(225deg, transparent 5px, #fdef27 0) top right, linear-gradient(315deg, transparent 5px, #fdef27 0) bottom right, linear-gradient(45deg, transparent 5px, #fdef27 0) bottom left;
  background-size: 50% 51%;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
}

header #touroku_btn:before {
  animation: anime 3s ease-out infinite;
}

header #touroku_btn:after {
  animation: anime 3s ease-out 1.5s infinite;
}

@keyframes anime {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  90% {
    opacity: 0.1;
  }
  to {
    transform: scale(1.15, 1.25);
    opacity: 0;
  }
}

header #link_btns {
  display: flex;
  width: 320px;
  margin: 20px auto;
  justify-content: space-around;
}

header #link_btns a {
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.75));
}

header #link_btns a:hover {
  top: 1px;
  left: 1px;
}

header #to_official_btn {
  position: relative;
  display: block;
  width: 150px;
  margin: 0 0 10px;
}

header #tw_btn {
  position: relative;
  width: 150px;
  display: block;
}

#pv {
  width: 80%;
  margin: 20px auto 20px auto;
}

h2 {
  width: 96%;
  margin: 0 2%;
  position: relative;
  z-index: 2;
}

.caution {
  text-align: left;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #fff;
  padding: 2%;
  color: #fda727;
  width: 96%;
  margin: 10px 2%;
  border-radius: 6px;
  font-size: 80%;
}

#campaign_list > img {
  display: block;
  margin: 20px 2% 0 2%;
  width: 96%;
}

#campaign_list ul {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 0 0px;
  margin: 10px auto 20px auto;
}

#campaign_list ul li {
  width: 32%;
}

section {
  width: 100%;
  overflow: hidden;
}

#campaign1 {
  background: url(../img/c1_bg.jpg) no-repeat center top;
  text-align: center;
  background-size: contain;
}

#campaign1 #c1_chara {
  position: relative;
  z-index: 1;
  margin-top: -20px;
}

#campaign2 {
  position: relative;
  height: auto;
  overflow: hidden;
}

#campaign2 h2 {
  margin-bottom: 15px;
}

#campaign2 > ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 96%;
  margin: 0 2%;
}

#campaign2 > ul li {
  width: 50%;
  margin: 0 0 10px 0;
}

#campaign2 > ul li:last-child {
  width: 100%;
}

#campaign2 h3 {
  width: 96%;
  margin: 20px 2% 10px 2%;
}

#campaign2 #onemore {
  background: url(../img/c2_ipad_bg_sp.png) no-repeat center -5%;
  background-size: 95%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#campaign2 #onemore > img {
  width: 215px;
}

#campaign2 #onemore ul {
  width: 96%;
  margin: 20px 3% 20px 3%;
}

#campaign2 #onemore ul li {
  margin: 0 0 10px 0;
}

#campaign2 #onemore ul li:nth-child(1) {
  width: 100%;
}

#campaign2 #onemore ul li:nth-child(2) {
  width: 90%;
  margin-left: 10%;
}

#campaign2 #onemore ul li:nth-child(3) {
  width: 80%;
  margin-left: 20%;
}

#campaign2 #onemore ul li:nth-child(4) {
  width: 70%;
  margin-left: 30%;
}

#campaign3 {
  background: url(../img/c3_webmoney.jpg) no-repeat center bottom;
  padding-bottom: 250px;
  background-size: 175%;
}

#campaign3 > img {
  display: block;
  width: 96%;
  margin: 20px 2% 50px 2%;
}

#campaign3 ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

#campaign3 ul li {
  width: 31%;
}

#campaign3 ul li:nth-child(2) {
  margin: 0 1%;
}

#campaign3 ul li:nth-child(4), #campaign3 ul li:nth-child(5) {
  margin: 10px 1% 0 0;
  width: 40%;
}

#character {
  position: relative;
  background: url(../img/chara_bg.jpg) no-repeat center 0px;
  height: 560px;
}

#character h2 {
  background: url(../img/chara_title_bg.png) repeat-x;
  width: 100%;
  margin: 0 0;
}

#character h2 img {
  display: block;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1281px) {
  #character h2::before {
    position: absolute;
    width: 2000px;
    height: 136px;
    content: " ";
    background: url(../img/chara_title_bg_r.png) repeat-x;
    top: 0px;
    left: 50%;
    margin-left: 30px;
    z-index: 0;
  }
  #character h2:after {
    position: absolute;
    width: 2000px;
    height: 136px;
    content: " ";
    background: url(../img/chara_title_bg_l.png) repeat-x;
    top: 0px;
    right: 50%;
    margin-right: 30px;
    z-index: 0;
  }
}

#character::after {
  content: " ";
  background: #f2e9ae url(../img/chara_bottom_frame.jpg) no-repeat center top;
  position: absolute;
  z-index: 2;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 5px;
}

#character #c_list {
  position: relative;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 300px auto 0 auto;
  width: 100%;
  z-index: 4;
}

#character #c_list li {
  width: 22%;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.75));
  transition: 0.3s;
  margin: 5px 0 5px 0px;
}

#character #c_list li.active {
  margin: 5px 0 0 0px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.75));
}

#character .chara_body {
  position: absolute;
  top: 20px;
  width: 100%;
  height: 350px;
}

#character #chara1 {
  background: url(../img/chara_1_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara2 {
  background: url(../img/chara_2_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara3 {
  background: url(../img/chara_3_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara4 {
  background: url(../img/chara_4_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara5 {
  background: url(../img/chara_5_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara6 {
  background: url(../img/chara_6_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara7 {
  background: url(../img/chara_7_sp.png) no-repeat center top;
  background-size: cover;
}

#character #chara8 {
  background: url(../img/chara_8_sp.png) no-repeat center top;
  background-size: cover;
}

#spec {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 50px auto;
}

#spec img {
  width: 107px;
}

#spec table {
  font-size: 80%;
  color: #fff;
}

#spec table th {
  padding: 5px 10px 5px 5px;
}

#twitter {
  position: relative;
  width: 320px;
  margin: 0 auto 20px auto;
  background: url(../img/tw_bg.png) no-repeat;
  background-size: cover;
  padding: 45px 10px 15px 10px;
}

#twitter:after {
  position: absolute;
  content: "";
  width: 320px;
  height: 14px;
  display: block;
  background: url(../img/tw_bg_b.png) no-repeat center bottom;
  background-size: 100%;
  left: 0;
  bottom: 0px;
}

#notes {
  border-radius: 6px;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  font-size: 70%;
  width: 96%;
  padding: 20px;
  margin: 0 2% 50px 2%;
}

#notes h2 {
  color: red;
  margin-bottom: 1em;
  text-align: center;
  width: auto;
}

#notes p:last-child {
  margin: 0;
}

footer {
  background: #ffffff;
  width: 100%;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer img {
  width: 93px;
  height: auto;
}

footer div {
  margin: 10px 0px 10px 20px;
}

footer ul {
  margin-bottom: 10px;
  font-size: 12px;
}

footer ul li {
  margin: 0 5px 5px 5px;
  padding-left: 5px;
}

footer p {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 70%;
}

#page_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 37.5px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.9));
}

#page_top img {
  width: 100%;
}

.Bnr {
  background: url(../img/hg_camp.png) no-repeat;
  background-size: contain;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 5;
  width: 150px;
  height: 174px;
  filter: drop-shadow(3px 3px 3px rgba 200, 200, 200, 0.5);
}

.Bnr #close {
  position: absolute;
  top: -10px;
  right: -10px;
}

#finish {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#finish main {
  flex: 1;
}

#finish main h1 {
  width: 70%;
  display: block;
  margin: 200px 15% 0 15%;
}

#finish main #finish_txt {
  width: 94%;
  display: block;
  margin: 10px 3% 50px 3%;
}

#finish main #link_btns {
  display: block;
  width: 150px;
  margin: -20px auto 20px auto;
  justify-content: space-around;
}

#finish main #link_btns a {
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.75));
}

#finish main #link_btns a:hover {
  top: 1px;
  left: 1px;
}

#finish main #to_official_btn {
  position: relative;
  display: block;
  width: 150px;
  margin: 0 0 10px;
}

#finish main #return_btn {
  position: relative;
  width: 150px;
  display: block;
}
