.agegate_modal p {
  display: block;
  -webkit-margin-before: 0;
          margin-block-start: 0;
  -webkit-margin-after: 0;
          margin-block-end: 0;
  -webkit-margin-start: 0px;
          margin-inline-start: 0px;
  -webkit-margin-end: 0px;
          margin-inline-end: 0px;
}
.agegate_modal span {
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 1;
  font-weight: 400;
}
.agegate-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #333333;
  opacity: 0.5;
  top: 0px;
  left: 0px;
  z-index: 2147483630;
}
.agegate_modal {
  position: fixed;
  background-color: #fff;
  z-index: 2147483635;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: #333333;
}
.sapporo_logo {
  display: block;
  background-image: url("/common/img/layout/logo.svg");
  background-repeat: no-repeat;
}
#agegate-textJp {
  text-align: center;
}
#agegate-textEn {
  text-align: center;
}
#agegate-text__ask {
  color: #b89118;
  text-align: center;
}
#agegate-text__askEn {
  color: #b89118;
  text-align: center;
}
.agegate-button__wrap {
  text-align: center;
}
#agegate-yes {
  background-color: #16181a;
  color: #ffffff;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}
#agegate-no {
  background-color: #16181a;
  color: #ffffff;
  position: relative;
  margin-left: 10px;
  cursor: pointer;
}
.agegate_modal .button-text {
  position: absolute;
  font-weight: bold;
}
.agegate_modal .button-textJp {
  position: absolute;
}
.agegate_modal .button-textEn {
  position: absolute;
}
.agegate_modal .agegate-check {
  background-color: #f1f2f6;
}
.agegate_modal .agegate-check p {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
}
.agegate_modal .agegate-checkbox {
  text-align: center;
}
.agegate_modal .color5 {
  color: #555555;
}
.agegate_modal .color7 {
  color: #777777;
}
.agegate_modal input[type=checkbox] {
  display: none;
  margin: 0;
  padding: 0;
}
.agegate_modal .check-label {
  position: relative;
  display: inline-block;
  padding: 0 0 0 42px;
  vertical-align: middle;
  cursor: pointer;
  z-index: 2;
}
.agegate_modal input[type='checkbox'] + .check-label:after {
  position: absolute;
  content: '';
  -webkit-transform: initial;
      -ms-transform: initial;
          transform: initial;
  top: 50%;
  display: block;
  border: 2px solid #d9d9d9;
  background-color: #fff;
}
.agegate_modal input[type='checkbox'] + .check-label:before {
  content: '';
  position: absolute;
  display: block;
  opacity: 0;
  top: 65%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border: none;
  border-right: 3px solid #d9d9d9;
  border-bottom: 3px solid #d9d9d9;
}
.agegate_modal .agegate-checkbox.active .check-label:before {
  opacity: 1;
  z-index: 3;
}
.agagate_modal input[type='checkbox'] + label::before {
  border: none;
  -webkit-transform: initial;
      -ms-transform: initial;
          transform: initial;
}
.agegate_modal input[type='checkbox'] + label:after {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
}
.agegate_modal input[type='checkbox']:checked + label::before {
  background-color: #ffffff;
}
@media screen and (min-width: 768px) {
  .agegate_modal .br-sp {
    display: none;
  }
  .agegate_modal {
    width: 780px;
    height: 680px;
    top: -webkit-calc(50% - 345px);
    top: calc(50% - 345px);
    left: -webkit-calc(50% - 390px);
    left: calc(50% - 390px);
  }
  .agegate_modal .sapporo_logo {
    width: 55px;
    height: 69px;
    margin: 40px auto 31px;
  }
  .agegate_modal #agegate-textJp {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .agegate_modal #agegate-textEn {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 10px;
  }
  .agegate_modal #agegate-text__ask {
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 3px;
  }
  .agegate_modal #agegate-text__askEn {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 25px;
  }
  .agegate_modal .agegate-button__wrap {
    margin-bottom: 20px;
    height: 95px;
  }
  .agegate_modal .agegate-button__wrap .button-text {
    font-weight: bold;
  }
  .agegate_modal #agegate-yes {
    width: 280px;
    height: 95px;
  }
  .agegate_modal #agegate-no {
    width: 280px;
    height: 95px;
  }
  .agegate_modal .button-text {
    top: 19px;
    left: 40px;
    width: 200px;
    font-size: 18px;
  }
  .agegate_modal .button-textJp {
    font-size: 13px;
    top: 45px;
    width: 200px;
    left: 40px;
  }
  .agegate_modal .button-textEn {
    font-size: 12px;
    width: 200px;
    left: 40px;
    bottom: 19px;
  }
  .agegate_modal .agegate-check {
    margin: 0px 100px;
    padding-top: 28px;
    padding-bottom: 25px;
  }
  .agegate_modal .agegate-check__warnJp {
    font-size: 13px;
    margin-top: 15px;
  }
  .agegate_modal .agegate-check__warnEn {
    font-size: 12px;
    margin-top: 5px;
  }
  .agegate_modal .agegate-check__warnEn.color7 {
    margin-top: 7px;
  }
  .agegate_modal .check-label {
    font-size: 14px;
  }
  .agegate_modal .check-label:after {
    left: 5px !important;
    margin-top: -14px;
    width: initial;
    height: initial;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
  }
  .agegate_modal .check-label:before {
    left: 15px;
    margin-top: -15px;
    width: 5px;
    height: 20px;
  }
  .agegate_modal .agegate-check__warnJp.color7.sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .agegate_modal .pc-br {
    display: none;
  }
  .agegate_modal {
    width: -webkit-calc(100% - 30px);
    width: calc(100% - 30px);
    top: 30px;
    left: 15px;
    padding-bottom: 10px;
    overflow-y: auto;
    height: -webkit-calc(100vh - 60px);
    height: calc(100vh - 60px);
  }
  .agegate_modal .sapporo_logo {
    width: 40px;
    height: 50px;
    margin: 20px auto 11px;
  }
  .agegate_modal #agegate-textJp {
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 0 auto;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .agegate_modal #agegate-textEn {
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 0 auto;
    font-size: 10px;
  }
  .agegate_modal #agegate-text__ask {
    margin-top: 10px;
    font-size: 18px;
  }
  .agegate_modal #agegate-text__askEn {
    font-size: 10px;
  }
  .agegate_modal #agegate-yes {
    height: 78px;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 20px auto 0px;
    display: block;
  }
  .agegate_modal #agegate-no {
    height: 78px;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 10px auto 0px;
    display: block;
  }
  .agegate_modal .agegate-button__wrap .button-text {
    font-size: 15px;
    top: 15px;
    left: 0px;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }
  .agegate_modal .button-textJp {
    font-size: 12px;
    top: 37px;
    left: 0px;
    width: 100%;
    text-align: center;
  }
  .agegate_modal .button-textEn {
    font-size: 10px;
    bottom: 15px;
    left: 0px;
    width: 100%;
    text-align: center;
  }
  .agegate_modal .agegate-check {
    margin: 10px 20px;
    padding: 25px;
  }
  .agegate_modal .agegate-check__warnJp {
    font-size: 12px;
    text-align: left;
    margin-top: 10px;
  }
  .agegate_modal .agegate-check__warnEn {
    font-size: 10px;
    text-align: left;
    margin-top: 6px;
  }
  .agegate_modal .check-label {
    font-size: 14px;
  }
  .agegate_modal .check-label:after {
    left: 12px !important;
    margin-top: -12px;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
  }
  .agegate_modal .check-label:before {
    left: 20px !important;
    margin-top: -15px;
    width: 5px !important;
    height: 20px !important;
  }
  .agegate_modal .agegate-check__warnJp.color7.pc {
    display: none;
  }
  .agegate_modal.beer {
    top: 100px;
  }
  .agegate_modal.beer .sapporo_logo {
    width: 100px;
    height: 125px;
    margin-bottom: 28px;
    margin-top: 50px;
  }
  .agegate_modal.beer #agegate-textJp {
    font-size: 35px;
    margin-bottom: 25px;
    width: -webkit-calc(100% - 100px);
    width: calc(100% - 100px);
  }
  .agegate_modal.beer #agegate-textEn {
    font-size: 25px;
    width: -webkit-calc(100% - 100px);
    width: calc(100% - 100px);
  }
  .agegate_modal.beer #agegate-text__ask {
    font-size: 45px;
    margin-top: 25px;
  }
  .agegate_modal.beer #agegate-text__askEn {
    font-size: 25px;
  }
  .agegate_modal.beer #agegate-yes {
    height: 192px;
    max-width: 1000px;
    width: -webkit-calc(100% - 100px);
    width: calc(100% - 100px);
    margin: 50px auto 0px;
    display: block;
  }
  .agegate_modal.beer #agegate-no {
    height: 192px;
    max-width: 1000px;
    width: -webkit-calc(100% - 100px);
    width: calc(100% - 100px);
    margin: 50px auto 0px;
    display: block;
  }
  .agegate_modal.beer .agegate-button__wrap .button-text {
    font-size: 40px;
    top: 45px;
  }
  .agegate_modal.beer .button-textJp {
    font-size: 31px;
    top: 100px;
  }
  .agegate_modal.beer .agegate-check {
    margin-top: 25px;
    padding: 62px;
    margin: 25px 50px;
  }
  .agegate_modal.beer .button-textEn {
    font-size: 25px;
    bottom: 30px;
  }
  .agegate_modal.beer .check-label {
    font-size: 35px;
  }
  .agegate_modal.beer .check-label:before {
    left: 10px;
    margin-top: -30px;
    width: 10px;
    height: 50px;
  }
  .agegate_modal.beer .check-label:after {
    left: -10px;
    margin-top: -25px;
    width: 45px;
    height: 45px;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
  }
  .agegate_modal.beer .agegate-check__warnEn {
    font-size: 25px;
  }
  .agegate_modal.beer .agegate-check__warnJp {
    font-size: 28px;
    margin-top: 25px;
  }
  .agegate_modal.beer .agegate-check__warnEn {
    font-size: 25px;
    margin-top: 15px;
  }
}
