/**
 * 年齢認証画面をプラグインの仕様に合わせて調整。
 */
 
.age-verifying #wrapper {
  display: none;
}

.age-gate {
  background-position: center center;
  background-size: 100% auto;
  background-repeat: repeat-y;
  height: 100%;
  padding: 15px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center!important;
  justify-content: center!important;
  -ms-flex-align: center!important;
  align-items: center!important;
  text-align: center;
}

.age-gate-form {
  max-width: none;
  padding: 0;
}

.age-gate-heading {
  display: none;
}

.age-gate-submit-yes,
.age-gate-submit-no {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  border: 1px solid #000;
  font-size: 19px;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 0;
  cursor: pointer;
}

.age-gate-submit-yes {
  background-color: #ff0000;
}

.age-gate-submit-no {
  background-color: #31a7e0;
}

@media screen and (max-width: 767px) {
  .age-gate {
    background-image: url(../img/bg_main_sp.png);
  }

  .age-gate-submit-yes {
    margin-top: 50px !important;
  }

  .age-gate-submit-yes,
  .age-gate-submit-no {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
  }
}

@media screen and (min-width: 768px) {
  .age-gate {
    background-image: url(../img/bg_main.png);
    background-repeat: repeat;
    background-size: auto;
  }
}

@media (min-height: 600px) {
  .age-gate {
    height: 100vh;
  }
}

@media (min-width: 960px) {
  .age-gate-submit-yes,
  .age-gate-submit-no {
    font-size: 18px;
    border-width: 2px;
    margin: 70px 60px 0;
    padding: 20px 0;
    width: 260px;
    -webkit-transition: background 0.3s ease, color 0.3s ease;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .age-gate-submit-yes:hover {
    color: #ff0000;
    background-color: #000;
  }
  .age-gate-submit-no:hover {
    color: #31a7e0;
    background-color: #000;
  }
}
