/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

@charset "utf-8";

img {
  width: 100%;
  display: block;
  margin: auto;
}

.top_h1 {
  max-width: 896px;
  margin: 1rem auto 0;
}

.h2_toplink {
  width: 80%;
  max-width: 600px;
  display: block;
  margin: 1rem auto 2rem;
}

body {
  text-align: center;
  background-image: url("bg1.png");
  font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 150%;
}

section {
  max-width: 100%;
  margin: auto;
}

.magazine_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: auto;
}

.magazine_list li {
  width: 45%;
  margin: auto;
}

.magazine_list img {
  -webkit-box-shadow: 3px 3px 6px #231815;
  box-shadow: 3px 3px 6px #231815;
}

.wf-mplus1p {
  font-family: "M PLUS 1p Black";
}

.btn_magazine {
  border: solid 4px #231815;
  background: #fff600;
  border-bottom: solid 10px #231815;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.btn_magazine:active {
  -webkit-transform: translateY(4px);
  border-bottom: none;
  margin-bottom: calc(1.5rem + 10px);
}

.btn-square {
  font-size: 1.3rem;
  line-height: 1;
  color: #231815;
  text-decoration: none;
  width: 100%;
  display: block;
  padding: 1rem 0;
}

footer {
  width: 100%;
  background: url("bg2.png") repeat;
  background-size: 50px;
  text-align: center;
  padding: 30px 0;
  margin: 2rem 0 0 0;
  bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.page_nav_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 600px;
  flex-pack: distribute;
  justify-content: space-around;
  margin: 1.5rem auto;
}

.page_nav_list li {
  margin: 0 0.8rem;
}

.logo {
  display: block;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.logo img {
  max-width: 200px;
  display: inline-block;
}

.privacy_policy {
  color: #231815;
  text-decoration: none;
}

.privacy_policy:hover {
  text-decoration: underline;
}


/* index2 */

.magazine_detail {
  background-image: url("bg3.png");
  background-size: 100%;
  background-position: center -2.5rem;
  background-repeat: no-repeat;
  padding-top: 2rem;
  max-width: 750px;
  margin: auto;
}

.magazine_cover {
  max-width: 380px;
  width: 50%;
  border: 4px #231815 solid;
  margin: 1rem auto;
}

.magazine_title {
  margin: 1rem;
  font-size: 2.3rem;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: #b20706 2px 0px, #b20706 -2px 0px, #b20706 0px -2px, #b20706 0px 2px, #b20706 2px 2px, #b20706 -2px 2px, #b20706 2px -2px, #b20706 -2px -2px, #b20706 1px 2px, #b20706 -1px 2px, #b20706 1px -2px, #b20706 -1px -2px, #b20706 2px 1px, #b20706 -2px 1px, #b20706 2px -1px, #b20706 -2px -1px;
}

.form_text {
  font-size: 1.2rem;
  text-align: center;
  padding: 1.2rem;
  max-width: 400px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 3px solid #231815;
  width: 60%;
}

.form_error {
  margin: 2rem;
  font-weight: bold;
  color: #fffc00;
  font-size: 1.2rem;
  line-height: 150%;
  text-shadow: #b20706 2px 0px, #b20706 -2px 0px, #b20706 0px -2px, #b20706 0px 2px, #b20706 2px 2px, #b20706 -2px 2px, #b20706 2px -2px, #b20706 -2px -2px, #b20706 1px 2px, #b20706 -1px 2px, #b20706 1px -2px, #b20706 -1px -2px, #b20706 2px 1px, #b20706 -2px 1px, #b20706 2px -1px, #b20706 -2px -1px;
}

.form_button {
  background: none;
  border: 0;
  width: 35%;
  max-width: 260px;
  display: block;
  margin: 1rem auto 2rem;
}

.howtoread_detail {
  list-style: disc inside;
  margin-bottom: 2rem;
  max-width: 85%;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 150%;
  display: inline-block;
  text-align: left;
  text-shadow: #b20706 2px 0px, #b20706 -2px 0px, #b20706 0px -2px, #b20706 0px 2px, #b20706 2px 2px, #b20706 -2px 2px, #b20706 2px -2px, #b20706 -2px -2px, #b20706 1px 2px, #b20706 -1px 2px, #b20706 1px -2px, #b20706 -1px -2px, #b20706 2px 1px, #b20706 -2px 1px, #b20706 2px -1px, #b20706 -2px -1px;
}

.howtoread_detail {
  padding-left: 1em;
  text-indent: -1em;
}

.serial {
  margin: 1.5rem;
  line-height: 1;
  font-weight: bold;
  color: #ffffff;
  font-size: 1.2rem;
  text-shadow: #b20706 2px 0px, #b20706 -2px 0px, #b20706 0px -2px, #b20706 0px 2px, #b20706 2px 2px, #b20706 -2px 2px, #b20706 2px -2px, #b20706 -2px -2px, #b20706 1px 2px, #b20706 -1px 2px, #b20706 1px -2px, #b20706 -1px -2px, #b20706 2px 1px, #b20706 -2px 1px, #b20706 2px -1px, #b20706 -2px -1px;
}


/* index3 */

.clear_page {
  width: 70%;
  max-width: 380px;
  display: block;
  margin: auto;
}

.clear_page li {
  margin: 1.5rem;
}

/* index6 */

.close_message {
    width: 90%;
    max-width: 652px;
    margin: 2rem auto;
}

@media screen and (max-width: 499px) {
  .btn-square {
    font-size: 1rem;
    padding: 0.8rem 0;
  }

  .btn_magazine {
    border: solid 3px #231815;
    border-bottom: solid 8px #231815;
    border-radius: 4px;
  }

  footer {
    margin: 1rem 0 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .page_nav_list {
    margin: 0.5rem auto;
  }

  .logo {
    width: 40%;
    margin: 1.5rem auto 1rem;
  }

  .magazine_detail {
    background-position: center -0.8rem;
  }

  .magazine_title {
    margin: 1rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .form_error {
    margin: 1rem;
    font-size: 0.9rem;
  }

  .form_text {
    font-size: 0.8rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    width: 70%;
  }

  .form_button {
    border: 0;
    width: 50%;
  }

  .serial {
    font-size: 0.9rem;
  }

  .howtoread_detail {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 360px) {
  .btn_magazine {
    margin: 1rem 0;
  }
}

@media screen and (max-width: 320px) {
  .magazine_title {
    font-size: 1.3rem;
  }
}
