@charset "utf-8";

/* ----------------------------------------------- */
/* chart_custom */
/* ----------------------------------------------- */


.popupArea {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  padding: 0;
}

#popup1 {
  /* label でコントロールするので input は非表示に */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.popup-open {
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}

.popup-open img {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.popup-open img:hover {
  opacity: 0.6;
}
.popup-overlay {
  /* input にチェックが入るまでは非表示に */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#popup1:checked ~ .popup-overlay{
  /* display: block; */
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.popup-window {
  position: relative;
  width: 90vw;
  background-color: #ffffff;
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 20px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  cursor: default;
  min-height: 74%;
  /* input にチェックが入るまでは非表示に */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.popup-window .chartBtn {
  margin: 0 auto 20px;
}
.popup-window .chartBtn li {
  border: 1px solid #CCC;
  margin-bottom: 10px;
}
.popup-window .chartBtn li.cr {
  color: #FFF;
  background: #333;
}
.popup-window .chartBtn li:last-of-type {
  margin-bottom: 0;
}
#popup1:checked ~ .popup-window {
  opacity: 1;
  visibility: visible;
  z-index: 10000;
}
.popup-text {
  margin: 0;
}
.popup-text img {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.popup-text picture {
  display: none;
}
.popup-text picture.popOpen {
  display: block;
}
.popup-text:not(:last-of-type) {
  margin-bottom: 1em;
}
.popup-close {
  cursor: pointer;
  position: absolute;
  bottom: -35px;
  right: 0;
}


@media only screen and (min-width: 961px) {
.popupArea {
    width: 100%;
    margin: 0 auto;
  }
 .planItem {
    width: 100%;
  }
 .popup-window {
    width: 80vw;
    max-width: 2000px;
    min-height: auto;
    top: 53%;
    padding: 0;
  }

 .popup-window .chartBtn {
    position: absolute;
    display: inherit;
    width: 38%;
    left: 4%;
    top: 54%;
    margin: 0 auto;
    padding: 0;
    z-index: 10005;
  }
 .popup-window .chartBtn li {
    border: 1px solid #CCC;
    margin-bottom: 10px;
    cursor: pointer;
  }
 .popup-window .chartBtn li.cr {
    color: #FFF;
    background: #333;
  }
 .popup-window .chartBtn li:last-of-type {
    margin-bottom: 0;
  }
 .popup-close {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: -35px;
  }
}



	


