html {
  font-size: 6.25%;
  text-align: justify;
  text-justify: inter-ideograph;
  line-break: strict;
  line-height: 1.5;
}

body {
  background: url(../img/bg.jpg) 0 0 fixed;
  background-size: cover;
  background-color: #27403d;
  color: white;
  font-size: 22rem;
}

@font-face {
  font-family: "platform";
  src: url(../f/nintendo.woff) format("woff");
}

a {
  outline: none;
}

a:link, a:visited, a:active {
  color: #ebb517;
}

p {
  margin: 5px 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

/*Parts*/
.Pimage {
  box-shadow: 0px 0px 8px 4px rgba(0, 255, 216, 0.35);
  border-radius: 2px;
}

.Pbutton-font {
  font-family: "platform";
  font-weight: normal;
}

/*Block*/
.image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.comment-image {
  margin: 0 auto;
  max-width: 800px;
  border: 4px solid white;
  box-shadow: 3px 3px 0 1px #ebb517;
  border-radius: 0 0 12px 12px;
  line-height: 0;
  position: relative;
}

.comment-image__image {
  width: 100%;
}

.comment-image__comment {
  background: #ebb517;
  color: white;
  font-size: 0.8em;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px 20px;
  border-radius: 0 0 10px 10px;
  line-height: 1.5;
}

.comment-image[data-arrow="true"] {
  margin-bottom: 50px;
}

.comment-image[data-arrow="true"]:after {
  content: "";
  background: url(../img/content_arrow.svg) 0 0 no-repeat;
  width: 84px;
  height: 34px;
  position: absolute;
  bottom: -40px;
  left: calc(50% - 42px);
}

.character-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.text-box {
  font-size: 1em;
  vertical-align: top;
  word-wrap: break-word;
  word-break: break-all;
}

.text-box__caption {
  display: block;
  margin: 50px 0 5px;
}

.text-box__b {
  color: #ebb517;
}

.text-box__point {
  font-size: 0.8em;
}

.table {
  box-sizing: border-box;
  font-size: 0.9em;
  margin: 0 auto;
  position: relative;
  border: 1px solid #0757ac;
  border-collapse: collapse;
  width: 99%;
}

.table__item {
  background: #0757ac;
  color: white;
  width: 27%;
  padding: 10px;
  border-bottom: 1px solid white;
  border-right: 1px solid black;
}

.table__item-center {
  background: #0757ac;
  color: white;
  width: 27%;
  padding: 10px;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
  text-align: center;
  vertical-align: middle;
}

.table__text {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-bottom: 1px solid #0757ac;
  border-right: 1px solid #0757ac;
}

.table tr:first-child th:not(:first-child) {
  border-bottom: none;
}

.table tr:first-child th:last-child {
  border-right: none;
}

.table tr:last-child th {
  border-bottom: none;
}

.special-table {
  box-sizing: border-box;
  font-size: 0.9em;
  margin: 0 auto;
  position: relative;
  border: 1px solid #0757ac;
  border-collapse: collapse;
  width: 99%;
}

.special-table__item {
  background: #0757ac;
  color: white;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
}

.special-table__text {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #0757ac;
  border-right: 1px solid #0757ac;
}

.special-table tr:first-child th:not(:first-child) {
  border-bottom: none;
}

.special-table tr:first-child th:last-child {
  border-right: none;
}

.special-table tr:last-child th {
  border-bottom: none;
}

.qr {
  position: absolute;
  display: flex;
  flex-direction: column;
}

.qr__guid img {
  display: block;
  margin: 0 auto 0;
}

.line {
  background: url(../img/bg_caption.png) 0 0 repeat;
  display: block;
  margin: 40px auto 20px;
  max-width: 1060px;
  width: 100%;
  height: 30px;
}

.copy {
  font-size: 0.8em;
  text-align: center;
}

/*Section*/
.section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.section__caption {
  display: block;
  margin: 0 auto;
  max-width: 920px;
  width: 100%;
}

.section__caption__image {
  display: block;
  width: 100%;
}

.section__mini-caption {
  display: block;
  max-width: 500px;
  margin: 0 0 20px;
}

.special-section {
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  width: 99%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 6px #ebb517;
}

.special-section__caption {
  display: block;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}

.special-section__caption__image {
  display: block;
  width: 100%;
}

.root-section {
  background: url(../img/bg_special_box.png) 0 0 repeat;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 0 110px 30px black inset, 0 0 3px 1px rgba(255, 255, 255, 0.5);
}

.root-section__caption {
  position: absolute;
  top: -20px;
  left: 20px;
  box-sizing: border-box;
}

.root-section__comment {
  padding: 75px 30px 30px;
}

.root-section[data-arrow="true"] {
  margin-bottom: 100px;
}

.root-section[data-arrow="true"]:after {
  content: "";
  background: url(../img/special_arrow.svg) 0 0 no-repeat;
  width: 120px;
  height: 87px;
  position: absolute;
  bottom: -87px;
  left: calc(50% - 60px);
}

.header {
  background: url(../img/img_mainvisual.jpg) 50% 50% no-repeat;
  background-size: cover;
  width: 100%;
  height: 400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  border-radius: 0 0 30px 30px;
}

.header__logo {
  display: block;
  margin: 170px auto 0;
  position: relative;
}

.navi {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
}

.navi__list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 912px;
  margin: 0 auto;
}

.navi__list__item {
  margin: 2px 2px;
}

.navi__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.navi-button,
.navi-button [class*="__off"],
.navi-button [class*="__on"] {
  display: block;
  width: 300px;
  height: 60px;
  border-radius: 20px;
  box-shadow: 0 0 10px 5px rgba(116, 137, 102, 0.3) inset, 0 0 1px 1px rgba(255, 255, 255, 0.2) inset;
}

.navi-button__off__index, .navi-button__on__index {
  background: url(../img/nav_index.png) 0 0 no-repeat;
  background-size: cover;
}

.navi-button__off__p02, .navi-button__on__p02 {
  background: url(../img/nav_p02.png) 0 0 no-repeat;
  background-size: cover;
}

.navi-button__off__p03, .navi-button__on__p03 {
  background: url(../img/nav_p03.png) 0 0 no-repeat;
  background-size: cover;
}

.navi-button__off__p04, .navi-button__on__p04 {
  background: url(../img/nav_p04.png) 0 0 no-repeat;
  background-size: cover;
}

.navi-button [class*="__on"] {
  background-position: 0 100%;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.info {
  background: url(../img/bg_special_box.png) 0 0 repeat;
  width: 80%;
  box-shadow: 0 0 110px 30px black inset, 0 0 3px 1px rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  margin: 0 auto;
  padding: 20px;
}

.info__caption {
  text-align: center;
  font-size: 1.2em;
  color: #00ffd8;
  font-weight: bold;
}

.info__text {
  font-size: 1.1em;
  width: 90%;
  margin: 0 auto;
}

.scrollTop, .scrollTop__image {
  display: block;
}

.scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s linear, opacity 0.2s linear;
}

.scrollTop.show {
  visibility: visible;
  opacity: 1;
  transition: visibility 0.3s linear, opacity 0.2s linear;
}

.scrollTop__image {
  transition: -webkit-filter 0.15s linear;
  transition: filter 0.15s linear;
  transition: filter 0.15s linear, -webkit-filter 0.15s linear;
}

.scrollTop__image:hover {
  -webkit-filter: brightness(1.5);
          filter: brightness(1.5);
}

/*Frame*/
.wrapper {
  min-width: 750px;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.frame {
  position: relative;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.5);
  max-width: 1100px;
  min-height: 100vh;
  margin: 0 auto;
  box-sizing: border-box;
}

main {
  padding: 20px 0 30px;
}

.main__caption {
  display: block;
  background: url(../img/bg_caption.png) 0 0 repeat;
  margin: 0 auto 50px;
  position: relative;
  max-width: 1060px;
  width: 100%;
  height: 80px;
  text-align: center;
}

.main__caption__line {
  width: 100%;
  position: relative;
  bottom: 65px;
}

.main__caption:before, .main__caption:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 80px;
  top: 0;
}

.main__caption:before {
  background: url(../img/img_caption_left.png) 0 0 no-repeat;
  left: 0;
}

.main__caption:after {
  background: url(../img/img_caption_right.png) 0 0 no-repeat;
  right: 0;
}

.contents {
  max-width: 930px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.footer {
  padding: 20px;
}

/*Position*/
.text-box__caption + .image {
  margin-top: 20px;
}

.text-box + .comment-image {
  margin-top: 20px;
}

.character-image + .character-image {
  margin-top: -55px;
}

.qr {
  bottom: 40px;
  right: 20px;
}

.image + .special-table {
  margin-top: 20px;
}

.table__item-center {
  padding-top: 20px;
}

.image + .text-box,
.comment-image + .text-box,
.table + .text-box,
.special-table + .text-box {
  margin-top: 20px;
}

.special-section + .section,
.section + .section {
  margin-top: 60px;
}

.text-box + .section {
  margin-top: 30px;
}

.section + .special-section,
.special-section + .special-section {
  margin-top: 100px;
}

.text-box + .section__mini-caption {
  margin-top: 50px;
}

.section__caption,
.special-section__caption {
  margin-bottom: 30px;
}

.info {
  margin: 40px auto;
}

.navi {
  margin: 20px auto;
}

/*Media screen*/

@media screen and (max-width: 960px) {
  body {
    font-size: 30rem;
  }
  .qr {
    display: none;
  }
  .navi__list {
    width: 713px;
  }
  .navi-button,
  .navi-button [class*="__off"],
  .navi-button [class*="__on"] {
    min-width: 350px;
    min-height: 70px;
  }
  .navi-button [class*="__off"] {
    background-position: 0 100%;
  }
  .info {
    width: 95%;
  }
  .info__text {
    font-size: 0.8em;
  }
  .scrollTop {
    display: none;
  }
  main {
    padding: 20px 20px 30px;
  }
  .main__caption__caption {
    max-width: 90%;
  }
}

@media screen and (min-width: 961px) {
  .navi-button:hover [class*="__on"] {
    opacity: 1;
  }
}
