/* index */
a:hover {
  cursor: pointer;
  color: #00d8eb;
}


/* index(pc) */
h1,h2 {
  display: inline-block;
  background-color: #000;
  color: #fff;
}

h1 {
  font-size: 22px;
  width: 60%;
}

h2 {
  font-size: 16px;
  width: 50%;
}

h3 span::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: blue;
  vertical-align: middle;
  margin-right: 8px;
}

.contents {
  border: 20px solid blue;
  padding: 32px 32px 0;
  min-height: 100vh;
  background: url(../img/bg_01.png) left center;
  background-size: 35px 35px;
  background-attachment: fixed;
}

.main-visual {
  width: 800px;
  margin: 40px auto 0;
  border: 2px solid #FFFF00;
}

.content {
  margin-top: 40px;
}


/* introduction */
.introduction .description {
  margin-top: 8px;
}

.introduction .description p + p {
  margin-top: 8px;
}


/* link */
.link ul {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
}

.link li {
  margin-left: 8px;
  margin-right: 8px;
  background-color: #FFFF00;
}


/* gallery */
.gallery section {
  margin-top: 16px;
}

.gallery ul {
  display: flex;
  flex-wrap: wrap;
  margin-left: .5em;
}

.gallery ul li {
  margin-left: 5px;
  margin-right: 5px;
}

.gallery ul li a {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #000;
  border-radius: 10em;
}

.gallery ul .-new a {
  background-color: #000;
}

.gallery ul .comic a {
  border-radius: 0;
}

.gallery ul li a:hover {
  border-color: #00d8eb;
}


/* modal */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.7);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out, z-index .2s ease-in-out;
}

.modal__content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.modal__image {
  display: inline-block;
  width: auto;
  max-width: 900px;
}

.modal__image img {
  max-height: calc(100vh - 50px);
  width: auto;
  max-width: 100%;
}

/* counter */
.js-counter {
  margin-top: 200px;
  margin-bottom: 16px;
}


/* sp */
@media screen and (max-width: 767px) {
  h1 {
    width: 70%;
  }

  h2 {
    width: 60%;
  }

  .main-visual {
    width: 90%;
  }

  .contents {
    border: 10px solid blue;
    padding: 16px 16px 0;
    background-size: 30px 30px;
  }

  .link li {
    margin-left: 8px;
    margin-right: 8px;
  }

}