.content {
  max-width: 1080px;
  width: 92%;
  margin: 3em auto;
}
.content .ttl {
  margin-bottom: 0.5em;
  padding-bottom: 0.25em;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.3;
  border-bottom: 1px solid #dedede;
}
.content p {
  margin-bottom: 1em;
  line-height: 1.7;
}

.modalCheck {
  display: none;
}

.mainVisual.main02 {
  background: url(https://unsplash.it/1024/768?image=40) no-repeat 50% 50%;
  background-size: cover;
}

label {
  cursor: pointer;
}

.btn {
  text-align: center; 
/* isk追記 */
    position: absolute;
    padding-bottom: 30px;
    margin: 0 auto;
    right: 0%;
    left: 0%;
}
#top_display .btn .close{
  font-size:16px;
  margin-top: 20px;
  color:#333;
  text-decoration:underline;
  font-weight:bold;
  display: block;
}

.modalWrap, .modalBg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  z-index: 10;
}

.modalWrap {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s cubic-bezier(1, 0, 0, 1);
  transition: 0.3s cubic-bezier(1, 0, 0, 1);
  -webkit-transition-property: opacity;
  transition-property: opacity;
  will-change: opacity;
}

.modalBg {
  cursor: pointer;
  opacity: 0.15;
  background-color: #000;
  z-index: 2;
}
.modalBg label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.modalCon {
  position: absolute;
  top: 5%;
  left: 0;
  right: 0;
  width: 92%;
  max-width: 640px;
  height: 80%;
  margin: auto;
  z-index: 3;
}

.modalInner {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  height: 100%;
  padding: 0 1.5em 1.5em;
  cursor: default;
  background-color: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
box-sizing: border-box;
}

.modalCloseBtn {
  position: absolute;
  top: 0;
  right: 0;
}
.modalCloseBtn label {
  display: inline-block;
  padding: 0.5em;
  color: #333;
  text-decoration: none;
  font-size: 2em;
}

.modalCheck:not(:checked) ~ .wrapper .modalWrap {
  opacity: 0;
  visibility: hidden;
}

.modalCheck:checked ~ .wrapper > *:not(.modalWrap) {
  -webkit-filter: blur(3px);
          filter: blur(3px);
}

#modal00:checked ~ .wrapper #modal00Con {
  opacity: 1;
  visibility: visible;
}

#modal01:checked ~ .wrapper #modal01Con {
  opacity: 1;
  visibility: visible;
}
#modal03:checked ~ .wrapper #modal03Con {
  opacity: 1;
  visibility: visible;
}


#modal02:checked ~ .wrapper #modal02Con {
  opacity: 1;
  visibility: visible;
}
#modal04:checked ~ .wrapper #modal04Con {
  opacity: 1;
  visibility: visible;
}

.modalTtl {
  padding: 2em 0.5em 1.5em;
  font-size: 2em;
  line-height: 1.3;
  text-align: center;
}

.modalText .modalCover {
  margin: 0 -1.5em 1em;
}
.modalText p {
  margin-bottom: 1em;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .content {
    margin: 1.5em auto;
  }

  .modalInner {
    padding-left: 1em;
    padding-right: 1em;
  }
  .modalText .modalCover {
    margin: 0 -1em 1em;
  }
}
