#popup {
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open {
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}

.popup-overlay {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.popup-window {
  /*width: 90vw;
  max-width: 560px;*/
  padding: 20px;
  background-color: #ffffff;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*.popup-text {
  margin: 0;
}

.popup-text:not(:last-of-type) {
  margin-bottom: 1em
}*/

.popup-close {
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
}

label {
    margin: 0 !important;
    line-height: 0 !important;
    padding-bottom: 0 !important;
}
#txt_label {
    /*border-bottom: 1px solid #000000;*/
    text-decoration: underline;
    transition: all 0.3s;
}
#txt_label:hover {
    opacity: 0.6;
    text-decoration: none;
}

@media only screen and (max-width: 980px) {
#txt_label {
    font-size: 100% !important;
}
}