/* Homepage warning styles only; scoped to the member footer. */
#footer.member-warning-footer .pos-a {
  position: absolute;
}

#footer.member-warning-footer .text-hide {
  font-size: 0;
  text-indent: -5000px;
}

#footer.member-warning-footer #warnings {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12.5dvh;
  max-height: 90px;
  background: url(/images/common/warnings.jpg) center 0 repeat-x;
  z-index: 2;
}

#footer.member-warning-footer #warnings .text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/images/common/warnings-text.png) center center no-repeat;
  background-size: auto 100%;
}

#footer.member-warning-footer #warnings #cookiepolicy {
  display: none;
  position: absolute;
  top: -172px;
  right: 0;
  left: auto;
  width: 385px;
  height: 172px;
  color: #5a5a5a;
  font-size: 14px;
  text-align: justify;
  line-height: 25px;
  padding: 20px 25px;
  border: #e5e5e5 1px solid;
  border-right: 0;
  background: #ffffff;
  z-index: 2;
}

#footer.member-warning-footer #warnings #cookiepolicy .link {
  color: #5a5a5a;
  font-size: 14px;
  padding-bottom: 3px;
  border-bottom: #5a5a5a 1px solid;
}

#footer.member-warning-footer #warnings #cookiepolicy .close {
  position: absolute;
  top: -36px;
  right: 0;
  width: 35px;
  height: 35px;
  border: #e5e5e5 1px solid;
  border-right: 0;
  border-bottom: 0;
  background: url(/images/common/cookiepolicy-close.png) #fff center center
    no-repeat;
}

#footer.member-warning-footer #warnings #shortcut-find-kirin {
  top: -218px;
  left: 50%;
  width: 169px;
  height: 169px;
  background: url(/v2/images/common/icon-food-map.png) 0 0 no-repeat;
  background-size: 100% 100%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateX(504px) scale(0.4615);
  transform-origin: center center;
}

@media (max-width: 1000px) {
  #footer.member-warning-footer #warnings #shortcut-find-kirin {
    display: none;
  }
}

#footer.member-warning-footer #warnings #shortcut-find-kirin:hover {
  opacity: 1;
  background-image: url(/v2/images/common/icon-find-kirin.png);
  transform: translateX(504px) scale(1);
}

#footer.member-warning-footer .mb {
  display: none;
}
@media screen and (max-width: 1100px) {
  #footer.member-warning-footer .mb {
    display: block;
  }

  #footer.member-warning-footer #warnings {
    height: 63px;
    background-size: cover;
  }

  #footer.member-warning-footer #warnings {
    height: 63px;
  }

  #footer.member-warning-footer #warnings .text > p {
    display: block;
    overflow: hidden;
    pointer-events: none;
    text-align: center;
  }
  #footer.member-warning-footer #warnings .text {
  }
  #footer.member-warning-footer #warnings .text > p span {
    display: inline-block;
    height: 100%;
    color: #b6b6b6;
    font-size: clamp(18px, 6vw, 24px);
    font-weight: 300;
    line-height: 63px;
    letter-spacing: 3px;
    vertical-align: middle;
  }

  #footer.member-warning-footer #warnings .text > p span:nth-child(1) {
    padding-left: 3px;
    transform: scaleY(1.2);
  }

  #footer.member-warning-footer #warnings .text > p span:nth-child(3) {
    transform: scaleY(1.2);
  }

  #footer.member-warning-footer #warnings .text > p span img {
    width: 22px;
    margin-top: -2px;
    margin-right: 3px;
    vertical-align: middle;
  }
  #footer.member-warning-footer #warnings .text {
    background: none;
  }
}
/* Preserve the member footer's fixed bottom warning placement. */
#footer.member-warning-footer #warnings {position:fixed !important;top:auto !important;bottom:0 !important;}
#footer.member-warning-footer {min-height:min(12.5dvh,90px);}
@media (max-width: 1100px) {#footer.member-warning-footer {min-height:63px;}}

#footer.member-warning-footer #warnings .text p {margin:0;padding:0;}
