#underCheckWhole {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  display: none;
}

.ageWrap {
  display: table;
  border-collapse: collapse;
  border: none;
  position: fixed;
  z-index: 999999;
  height: 100vh;
  width: 100%;
  left: 0px;
  top: 0px;
  background-color: rgb(255 255 255 / 88%);
  color: #2e2826;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}
.pop-content{
  background-color: #ffffff;
  padding:30px 20px;
  border-radius: 9px;
  border: 1px solid #d3d3d3;
  width:800px;
  margin-left: auto;
  margin-right: auto;
}
.ageWrap>* {
  display: table-cell;
  vertical-align: middle;
  padding: 15px;
}

.ageWrap .caution_memo {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  color: #141414;
  margin-top: 0;
  margin-bottom: 35px;
}

.ageWrap .caution {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}

.ageWrap .choice_buttons {
  margin-bottom: 10px;
  padding: 0;
  text-align: center;
}

.ageWrap .choice_buttons li {
  vertical-align: top;
  display: inline-block;
  margin-right: 20px;
  margin-left: 20px;
  text-align: center;
}

.ageWrap .choice_buttons a {
  font-size: 20px;
  line-height: 70px;
  font-weight: 600;
  color: #fff;
  background-color: #00a2ec;
  display: inline-block;
  height: 70px;
  width: 13em;
  padding: 0 0 0 0.5em;
  transition: background-color .3s;
  cursor: pointer;
}
.ageWrap .choice_buttons a:hover{
  color: #fff;
  background-color: #6d6d6d;
  text-decoration: none;
}

.ageWrap .check_keep {
  margin-bottom: 20px;
}

.ageWrap .check_keep label {
  cursor: pointer;
  color: #fff;
}
.ageWrap .info {
  color: #fff;
}

.ageWrap .corpName {
  margin-top: 25px;
}

.ageWrap .corpName img {
  width: 134px;
}

.ageWrap .link_info {
  color: #fff;
}
.age_clear {
  position: fixed;
  top:20%;
  left: 50%;
  transform: translateY(-20%) translateX(-50%);
  width: auto;
  height: auto;
  display: block;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #000;
  background-color: #fff;
  z-index: 999998;
  border-radius: 5px 10px;
  background: repeating-linear-gradient(45deg, #000000, #000000 14px, #FFD900 14px, #FFD900 28px);
  padding: 10px;
  cursor: pointer;
}
.age_clear span {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  display: block;
  pointer-events: none;
}

body.agecheck .kiji a:active {
  pointer-events: none;
}
body.agecheck .kiji a:hover {
  filter: blur(2px) !important;
}

@media all and (max-width: 480px) {
  .ageWrap {
      font-size:12px;
  }
.pop-content {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 9px;
    border: 1px solid #d3d3d3;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
  .ageWrap .caution_memo {
      font-size: 16px;
      margin-bottom: 18px;
    text-align:justify;
  }

  .ageWrap .caution {
      font-size: 18px;
      margin-bottom: 5px;
  }

  .ageWrap .choice_buttons {
      margin-bottom: 5px;
      font-size: 10px;
  }

  .ageWrap .choice_buttons li {
      margin-right: 5px;
      margin-left: 5px;
  }
    .ageWrap .choice_buttons li:first-of-type {
      margin-bottom:20px
  }

  .ageWrap .choice_buttons a {
      font-size: 14px;
      line-height: 35px;
      height: 35px;
      /* width: 117px; */
  }

  .ageWrap .check_keep {
      margin-bottom: 10px;
  }

  .ageWrap .corpName {
      margin-bottom: 0px;
  }

  .ageWrap .corpName img {
      width: 150px;
  }
  .age_clear {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
  }
}

@media all and (min-width: 481px)and (max-width: 750px) {
  .ageWrap {
      font-size:12px;
  }

  .ageWrap .caution_memo {
      font-size: 13px;
      margin-bottom: 18px;
  }

  .ageWrap .caution {
      font-size: 18px;
      margin-bottom: 5px;
  }

  .ageWrap .choice_buttons {
      margin-bottom: 5px;
      font-size: 10px;
  }

  .ageWrap .choice_buttons li {
      margin-right: 5px;
      margin-left: 5px;
  }

  .ageWrap .choice_buttons a {
      font-size: 14px;
      line-height: 35px;
      height: 35px;
      width: 117px;
  }

  .ageWrap .check_keep {
      margin-bottom: 10px;
  }

  .ageWrap .corpName {
      margin-bottom: 0;
  }

  .ageWrap .corpName img {
      width: 150px;
  }
}
</style>