@charset "UTF-8";
.mekikibox {
  background: url(../images/mekikibg.gif) left top no-repeat;
  background-size: cover;
  padding: 80px 0;
  margin-top: 150px;
}
@media only screen and (max-width: 500px) {
  .mekikibox {
    padding: 10px 0;
  }
}
.mekikibox .inner {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.mekki_contents {
  padding: 50px 20px;
  max-width: 820px;
  margin: 0 auto;
}
.mekki_contents .mekki_img {
  text-align: center;
}
.mekki_contents p {
  overflow: hidden;
}
.mekki_contents span {
  margin-right: 20px;
  float: left;
}
.mekki_contents span:before {
  content: "Link";
  background: #000;
  color: #fff;
  padding: 0.2em 0.5em;
  font-size: 12px;
  margin-right: 10px;
}
.mekki_contents span:hover a {
  color: #c30d23;
}
@media only screen and (max-width: 800px) {
  .mekki_contents span {
    display: block;
    margin: 20px auto;
    text-align: center;
  }
}
.mekki_contents h2 {
  text-align: center;
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  margin: 50px 0;
  padding: 15px 0;
}
@media only screen and (max-width: 500px) {
  .mekki_contents h2 {
    font-size: 20px;
    padding: 25px 0;
    margin: 20px 0;
  }
}
@media only screen and (max-width: 500px) {
  .mekki_contents h2 br {
    display: none;
  }
}
.mekki_contents h2:before {
  content: url("../images/kakko.png");
  position: absolute;
  left: 0;
  top: 0;
}
@media only screen and (max-width: 500px) {
  .mekki_contents h2:before {
    content: url("../images/kakko_sp.png");
  }
}
.mekki_contents h2:after {
  content: url("../images/kakko.png");
  position: absolute;
  right: 0;
  bottom: 0;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
@media only screen and (max-width: 500px) {
  .mekki_contents h2:after {
    content: url("../images/kakko_sp.png");
  }
}

.mekkibox_list {
  max-width: 1200px;
  padding: 0 20px;
  margin: 50px auto;
  position: relative;
}
@media only screen and (max-width: 500px) {
  .mekkibox_list {
    padding: 0;
  }
}
.mekkibox_list h3 {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
}
@media only screen and (max-width: 500px) {
  .mekkibox_list h3 {
    font-size: 22px;
  }
}

.book_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 50px;
}
@media only screen and (max-width: 500px) {
  .book_list {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}
.book_list li {
  width: 48%;
  margin: 2% 0;
  text-align: center;
}
@media only screen and (max-width: 500px) {
  .book_list li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px dotted #aaa;
    position: relative;
  }
  .book_list li:after {
    content: "PDFを見る >";
    position: absolute;
    bottom: 10px;
    right: 0;
    color: #006774;
    font-size: 12px;
  }
}
.book_list li h4 {
  font-size: 32px;
  line-height: 1;
  padding-bottom: 15px;
}
@media only screen and (max-width: 500px) {
  .book_list li h4 {
    font-size: 22px;
  }
}

.nav__item .book_outline img {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.nav__item:hover .book_outline img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.book_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 10px;
}
@media only screen and (max-width: 500px) {
  .book_box {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.book_box .book_num {
  padding: 5px 10px;
  font-size: 14px;
  background: #006774;
  color: #fff;
  position: relative;
  top: 12px;
}
@media only screen and (max-width: 500px) {
  .book_box .book_num {
    font-size: 12px;
    top: 6px;
  }
}
.book_box .book_cat {
  margin-left: 30px;
  font-size: 22px;
}
@media only screen and (max-width: 500px) {
  .book_box .book_cat {
    font-size: 16px;
    margin-left: 20px;
  }
}
.book_box .book_cat span {
  font-size: 32px;
  margin-right: 10px;
}
@media only screen and (max-width: 500px) {
  .book_box .book_cat span {
    font-size: 22px;
  }
}

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: calc(100% + 30px);
  left: -15px;
  z-index: 100;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal__content {
  background: #fff;
  left: 50%;
  padding: 40px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 96%;
  max-width: 800px;
  z-index: 100;
}
@media only screen and (max-width: 800px) {
  .modal__content {
    max-width: 600px;
  }
}
@media only screen and (max-width: 500px) {
  .modal__content {
    max-width: 84%;
    padding: 20px;
  }
}
.modal__content p:before {
  content: "STORY";
  text-align: center;
  color: #006774;
  font-family: "Noto Serif JP", serif;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 30px;
  display: block;
}
.modal__content .js-modal-close {
  float: right;
  margin-top: 10px;
}
.modal__content .degibook {
  display: block;
  background: #006774;
  color: #fff;
  line-height: 1;
  padding: 15px;
  max-width: 340px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  border-radius: 10px;
  margin: 20px auto;
}
/*# sourceMappingURL=mekiki.css.map */