#global-footer {
  margin-bottom: 100px;
}

.wrapper {
  margin: 0 auto;
  width: 1000px;
}

.comic {
  background-color: #e0e9ff;
}

.comic-block-container {
  margin: 50px auto;
  padding: 20px 0;
  position: relative;
  width: 1000px;
}

.comic-block-img {
  width: 1000px;
}

.comic-button-container {
  background-color: #2e58c8;
  border-radius: 10px;
  bottom: 20px;
  color: #fff;
  cursor: pointer;
  display: block;
  padding: 15px 0;
  position: absolute;
  right: 80px;
  width: 550px;
}

.comic-button-container:hover {
  opacity: 0.8;
}

.comic-button-container::before,
.comic-button-container::after {
  background-color: #ffbb03;
  content: '';
  position: absolute;
}

.comic-button-container::before {
  height: 100%;
  left: 15px;
  top: 0;
  width: 2px;
}

.comic-button-container::after {
  bottom: 10px;
  height: 2px;
  left: 0;
  width: 100%;
}

.comic-button {
  padding-left: 50px;
}

.read-comic {
  width: 240px;
}

.js-modal-overlay {
  display: none;
}

.js-modal-overlay[data-open='true'] {
  display: block;
}

.modal-bg {
  background-color: transparent;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100000;
}

.modal-bg::before {
  background-color: rgba(0, 0, 0, 0.7);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.manga-content {
  background-color: #fff;
  height: 90vh;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.close-btn {
  align-items: center;
  color: white;
  display: flex;
  font-size: 130px;
  font-weight: bold;
  height: 70px;
  justify-content: center;
  position: absolute;
  right: -130px;
  top: 40px;
  width: 70px;
  cursor: pointer;
}

.swiper-container {
  height: auto;
  width: 600px;
}

.swiper-slide {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 600px;
}

.comic-img {
  height: 90vh;
}

.comic-img-last {
  position: relative;
}

.comic-anker {
  height: 9%;
  left: 11%;
  position: absolute;
  top: 56%;
  width: 40%;
  z-index: 10000;
}

.comic-anker-2 {
  height: 10%;
  left: 10%;
  position: absolute;
  top: 66%;
  width: 42%;
  z-index: 10000;
}

.button-wide {
  margin: 40px auto;
  width: 780px;
}

.button-wide img {
  display: block;
  margin: 0 auto;
  width: 80%;
}

.button-wide img:hover {
  opacity: 0.8;
}

.alarm-b {
  color: blue;
  font-size: 24px;
  margin-top: 10px;
  text-align: center;
  text-decoration: underline;
}

.button-prev,
.button-next {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 1;
}

.button-prev {
  left: 0;
}

.button-next {
  right: 0;
}

.button-arrow {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #000;
  cursor: pointer;
  height: 30px;
  position: absolute;
  top: 0;
  width: 30px;
}

.button-prev .button-arrow {
  left: 565px;
}

.button-next .button-arrow {
  right: 565px;
}

.button-arrow::before,
.button-arrow::after {
  background: #000;
  content: '';
  height: 10px;
  position: absolute;
  width: 2px;
}

.button-prev .button-arrow::before {
  bottom: 7px;
  left: 13px;
  transform: rotate(45deg);
}

.button-prev .button-arrow::after {
  left: 13px;
  top: 7px;
  transform: rotate(-45deg);
}

.button-next .button-arrow::before {
  bottom: 7px;
  left: 14px;
  transform: rotate(-45deg);
}

.button-next .button-arrow::after {
  bottom: 13px;
  left: 14px;
  transform: rotate(45deg);
}

.comic-block-container {
  position: relative;
}

.student-img {
  left: 650px;
  position: absolute;
  top: 152px;
  z-index: 100;
}
@media screen and (max-width: 1300px) {
  /* 1024pxまでの幅の場合に適応される */
  .close-btn {
    align-items: center;
    color: white;
    display: flex;
    font-size: 130px;
    font-weight: bold;
    height: 70px;
    justify-content: center;
    position: absolute;
    right: -80px;
    top: 0;
    width: 70px;
  }
  .swiper-container {
    height: auto;
    width: 900px;
  }
  .swiper-slide {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 900px;
  }
  .button-next .button-arrow {
    right: 860px;
  }
  .button-arrow::before,
  .button-arrow::after {
    background: #000;
    content: '';
    height: 23px;
    position: absolute;
    width: 7px;
  }
  .button-next .button-arrow::after {
    bottom: 16px;
    left: 14px;
    transform: rotate(45deg);
  }
  .button-next .button-arrow::before {
    bottom: 5px;
    left: 14px;
    transform: rotate(-45deg);
  }
  .button-arrow {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #000;
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 0;
    width: 40px;
  }
  .button-prev .button-arrow::before {
    bottom: 3px;
    left: 17px;
    transform: rotate(45deg);
  }
  .button-prev .button-arrow::after {
    left: 17px;
    top: 4px;
    transform: rotate(-45deg);
  }
  .button-prev .button-arrow {
    left: 857px;
  }
}

.guideline {
  margin: 50px auto;
  text-align: center;
  width: 1000px;
}

.guideline-container {
  position: relative;
  text-align: center;
}

.guideline-container img {
  width: 100%;
}

.to-mainsite {
  cursor: pointer;
  display: block;
  position: absolute;
  width: 150px;
}

.to-mainsite:hover {
  opacity: 0.8;
}

.to-topleader {
  left: 346px;
  top: 760px;
}

.to-science {
  left: 686px;
  top: 640px;
}

.to-class {
  left: 665px;
  top: 771px;
}

#ui-id-2 {
  display: none;
}
