/* ▼dポイント獲得モーダル用▼ */
.p-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.p-modal__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.p-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.8); */
  cursor: pointer;
}

.p-modal img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 4em);
  max-width: 1000px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.p-modal-close {
  position: absolute;
  top: 10%;
  right: 2em;
  width: 8em;
  height: 8em;
  z-index: 201;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

/* モーダル閉じる ✕ボタン */
.p-modal-close:before,
.p-modal-close:after {
  content: "";
  display: block;
  position: absolute;
  width: 4.8em;
  height: 0.3em;
  background-color: rgb(255, 255, 255);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.p-modal-close:before {
  top: 3.6em;
  left: 1.6em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.p-modal-close:after {
  top: 3.6em;
  right: 1.6em;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 閉モーダル用クラス JSでこのクラスをモーダルに追加してモーダルを閉じる */
.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ▲dポイント獲得モーダル用▲ */

.target_attention {
  color: #333;
  margin: 10px auto;
  padding: 15px;
  width: 90%;
  border: double #ddd;
  text-align: center;
}

.target_attention .target_title {
  font-weight: bold;
  padding-bottom: 12px;
}

.target_attention .link {
  display: block;
  padding-top: 7px;
}

.target_attention a {
  text-decoration: underline;
  color: #ad0837;
}

.target_attention a:visited {
  color: #ad0837;
}

.target_attention_2 {
  color: #333;
  margin: 0 auto 10px;
  padding: 15px;
  width: 90%;
  border: #fde700 4px solid;
  background-color: #fff;
}

.target_attention_2 .target_title {
  text-align: center;
  font-weight: bold;
  color: #ff0000;
  font-size: 18px;
}

.sitelink_bnr {
  width: 90% !important;
  margin: 12px auto;
  display: block;
}

#popup {
  display: none;
}

.popup-open {
  cursor: pointer;
}

.popup-overlay {
  display: none;
}

#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;
  /* 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;
}