@charset "UTF-8";
#cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,.9);
  /*border-top: 1px solid #ccc;*/
  z-index: 9999;
  font-family: 游ゴシック, YuGothic, ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, Arial, メイリオ, Meiryo, sans-serif;;
}
.cookie-revoke-container,
.cookie-notice-container {
  position: relative;
  margin: 0 auto;
  padding: 30px 5.33333vw;
  display: inline-flex;
  justify-content: space-between;
  gap: 2%;
  max-width: 1530px;
  text-align: left;
}
#cookie-notice .cookie-revoke-container {
  justify-content: center;
}
#cn-notice-text  {
  margin: 0;
  font-size: 13px;
  color: #fff;
  line-height: 2;
  width: 75%;
}

#cn-notice-text a {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
}

#cn-notice-text a:hover {
  opacity: 0.6;
}

#cn-notice-buttons {
  display: inline-flex;
  text-align: right;
  gap: 5%;
  align-items: start;
  margin: 0;
  width: 25%;
  justify-content: flex-end;

}

.cn-set-cookie.cn-button {
  padding: 5px 20px;
  border: none;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
}

.cn-set-cookie.cn-button:hover {
  opacity: 0.7;
}

#cn-revoke-cookie,
#cn-accept-cookie {
  background: #f3d552!important;
  color: #000!important;
  white-space: nowrap;
}

#cn-refuse-cookie {
  background: #e0e0e0!important;
  color: #000!important;
  white-space: nowrap;
}

#cn-close-notice {
  position: absolute;
  top: 21px;
  right: 8px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}
.cn-close-icon:after, .cn-close-icon:before {
  background-color: #fff;
}

#cookie-notice .cookie-revoke-container,
#cookie-notice .cookie-notice-container,#cookie-notice .cookie-revoke-container {
  display: inline-flex;
}


@media (max-width: 768px) {
    #cookie-notice .cookie-notice-container,
    #cookie-notice .cookie-revoke-container,
    #cookie-notice .cookie-revoke-container {
      display: block;
    }

    #cookie-notice .cn-button:not(.cn-button-custom) {
      margin: 0;
    }
#cookie-notice .cookie-revoke-container,
    .cookie-notice-container {
    padding: 5% 5% 1%;
    display: block;
    }

    #cn-notice-text  {
    font-size: 3.5vw;
    width: 98%;
    }

    #cn-notice-text a,
    #cookie-notice,
    #cookie-notice .cn-button:not(.cn-button-custom)  {
    font-size: 3.5vw;
    }
    #cookie-notice .cn-button:not(.cn-button-custom) {
          width: 45%;
    }
    #cookie-notice .cn-button + .cn-button {
      margin-left: 3%;
    }
    #cn-notice-buttons {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    gap: 15%;
    text-align: center;
    }
    #cn-notice-buttons {
      width: 100%;
    }

    .cn-set-cookie.cn-button {
    padding: 8px 30px;
    font-size: 2.7vw;
    font-size: 3.5vw;
    }

    #cn-close-notice {
    top: 21px;
    right: 20px;
    font-size: 36px;
    }

    #cn-revoke-buttons button,
    #cn-notice-buttons button{
      padding: 18.5px 10px!important;
    }
    #cn-revoke-buttons button {
      display: block!important;
      margin: 20px auto 0!important;
    }
    #cn-refuse-cookie {
      margin-top: 20px!important;
    }
  #cn-revoke-buttons {
    width: 100%;
  }
}

@media (max-width: 425px) {
  #cookie-notice .cookie-revoke-container,
    .cookie-notice-container {
    padding: 60px 12vw 20px;
    padding: 30px 10%;
    display: block;
    }
    #cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom),
    #cn-notice-text,
    #cn-notice-text a   {
    font-size: 3.5vw;
    }

    #cn-notice-buttons {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 20px auto 0;
    width: 100%;
    }

    .cn-set-cookie.cn-button {
    width: 100%;
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    height: auto;
    }

    #cn-refuse-cookie {
      margin: 20px 0 0;
    }

    #cn-close-notice {
    position: absolute;
    top: 21px;
    right: 15px;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    }
}
.top-main {
  overflow: hidden;
}