.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.modal .modal-bg {
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.modal .modal-wrap {
  left: 50%;
  position: absolute;
  top: calc(50% + 15px);
  transform: translate(-50%, -50%);
  max-width: 375px;
  width: calc(100% - 40px);
  background: #fff;
  border-radius: 10px;
  padding: 16px 0;
}

.modal .modal-wrap .modal-inner {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 0 16px;
}

.btn-wrap {
  margin: 30px 0;
}

.btn-wrap .btn {
  border-radius: 40px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: calc(100% - 20px);
  padding: 10px;
  margin: auto;
  cursor: pointer;
}

.btn-wrap .btn.btn-white {
  background: #fff url("/mi02/common/img/icon_arrow.svg") no-repeat center right 15px/14px;
  border: 1px solid #ddd;
  color: #333;
}

.btn-wrap .btn.btn-white:hover {
  background-color: #ececec;
}

.btn-wrap .btn + .btn {
  margin-top: 16px;
}

#years-old-check .modal-wrap {
  padding: 24px 0;
}

.modal#years-old-check .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 4px;
  margin: 0;
}

.modal#years-old-check .btn-wrap .btn + .btn {
  margin-top: 0;
}

.modal#years-old-check .btn-wrap .btn.btn-white {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.5;
}

#years-old-check .modal-wrap .modal-inner p {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  margin-bottom: 20px;
}

.under20-icon {
  position: absolute;
  bottom: 3px;
  left: 6px;
  width: 18px;
  height: 26px;
  z-index: 1;

  /* アイコン画像を背景に設定 */
  background-image: url("/mi02/common/img/stop_under20_icon.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* サイズに合わせて画像を縮小 */
}

p#stop-under20-message {
  color: #666666;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}

p#stop-under20-message.is-hidden {
  display: none;
}
