@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/* ここからモーダル用CSS */

.modalCheck {
  display: none;
}

.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.7;
  background-color: #000;
  z-index: 2;
}
.modalBg label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

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

.modalInner {
  overflow: auto;
  position: relative;
  height: 100%;
  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);
}

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

#modal01:checked ~ .modalWindow #modal01Con {
  opacity: 1;
  visibility: visible;
}

.modalTtl {
    width: 100%;
    padding: 0.7em 0 0.6em;
    font-size: 1.6em;
    text-align: center;
    letter-spacing: 2px;
    color: #fff;
    background: #082f50;
}
.modalText {
    padding: 1.5em;
    background: #fff;
}

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

@media (max-width: 750px) {

  .modalTtl { font-size: 1.2em;}

  .modalCloseBtn label { padding: 0.15em 0.5em;}

  .modalText .modalCover { margin: 0 -1em 1em;}

  .modalText { padding: 1em;}
}
