:root {
  --index-lvl-4: 50000;
  --clr-black-0: #fff;
  --clr-black-10: #eee;
  --clr-primary-100: #0067b8;
  --clr-primary: var(--clr-primary-100);
  --clr-white: var(--clr-black-0);
  --clr-gradient-100: linear-gradient(54deg, #0061b3 0%, #0089d0 54.86%, #008bd2 100%);
  --clr-border: var(--clr-black-10);
  --base-font: "YakuHanJP", "Zen Kaku Gothic New", "Noto Sans JP", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", sans-serif;
}

.p-cookie {
  position: fixed;
  bottom: 90px;
  z-index: 50000;
  z-index: var(--index-lvl-4);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.5em;
}

@media only screen and (max-width: 1023.9px) {
  .p-cookie {
    bottom: 76px;
    left: 50%;
    width: 96.25%;
    box-shadow: 4px 4px 5px 0 rgb(0 0 0 / 10%);
    transform: translateX(-50%);
  }
}

@media print, screen and (min-width: 1024px) {
  .p-cookie {
    font-size: 16px;
  }
}

.p-cookie.-remove {
  display: none;
}

.p-cookie__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 770px;
  padding: 12px 14px;
  margin: 0 auto;
  background: var(--clr-white);
  border-radius: 6px;
}

@media print, screen and (min-width: 1024px) {
  .p-cookie__inner {
    width: 97%;
    max-width: 1280px;
    height: 72px;
    box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  }
}

.p-cookie__desc {
  font-size: 10px;
}

@media print, screen and (min-width: 1024px) {
  .p-cookie__desc {
    font-size: 15px;
  }
}

.p-cookie__desc a {
  color: var(--clr-primary);
}

.p-cookie__right {
  display: flex;
  gap: 10px;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-flex-line-pack: justify;
}

.p-cookie__button {
  --color-bg: var(--clr-gradient-100);
  --color-text: #fff;
  --color-hover-bg: #444;
  --color-hover-font: #fff;

  position: relative;
  box-sizing: border-box;
  display: block;
  width: 80px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  background: var(--color-bg) !important;
  border-radius: 4px;
  transition: color cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s,
    background-color 0.3s, opacity 0.25s;
}

@media print, screen and (min-width: 1024px) {
  .p-cookie__button {
    width: 180px;
    padding: 12px 0;
    font-size: 16px;
  }
}

.p-cookie__button:hover {
  opacity: 0.8;
}

.p-cookie__button.-white {
  --color-bg: #fff;
  --color-text: var(--clr-primary);
  --color-hover-bg: #eee;

  border: 1px solid var(--clr-border);
}

@media print, screen and (min-width: 1024px) {
  .p-cookie__button.-white {
    --color-text: #000;
  }
}

.p-cookie__button.-white:hover {
  background-color: var(--color-hover-bg) !important;
}

body #cookie-notice,
body #cookie-notice .cn-button:not(.cn-button-custom) {
  font-family: var(--base-font);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

body #cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 100000;
  width: 95%;
  min-width: auto !important;
  max-width: 1280px;
  height: auto;
  line-height: 20px;
  letter-spacing: 0;
  background: white !important;
  border-radius: 6px;
  box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  transform: translateX(-50%);
}

@media only screen and (max-width: 1023.9px) {
  body #cookie-notice {
    bottom: 20px;
    max-width: 770px;
  }
  body:has(.c-business-float-button) #cookie-notice {
    bottom: 70px;
  }
}

body #cookie-notice,
body #cookie-notice * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body #cookie-notice.cn-animated {
  -webkit-animation-duration: 0.5s !important;
  animation-duration: 0.5s !important;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

body #cookie-notice.cn-animated.cn-effect-none {
  -webkit-animation-duration: 1ms !important;
  animation-duration: 1ms !important;
}

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

body #cookie-notice.cookie-notice-hidden .cookie-notice-container,
body #cookie-notice.cookie-revoke-hidden .cookie-revoke-container {
  display: none;
}

body .cn-position-top {
  top: 0;
}

body .cn-position-bottom {
  bottom: 0;
}

body .cookie-notice-container {
  z-index: 2;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 30px;
  font-size: 15px;
  color: black !important;
  text-align: left;
}

@media only screen and (max-width: 1023.9px) {
  body .cookie-notice-container {
    padding: 12px 14px !important;
    font-size: 10px;
    line-height: 1.6;
  }
}

body .cookie-revoke-container {
  z-index: 1;
  width: 100%;
  padding: 15px 30px;
}

body .cn-close-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  display: none;
  width: 15px;
  height: 15px;
  padding: 10px;
  margin-top: -10px;
  cursor: pointer;
  outline: 0;
  opacity: 0.5;
}

body .cn-close-icon:hover {
  opacity: 1;
}

body .cn-close-icon::after,
body .cn-close-icon::before {
  position: absolute;
  top: 3px;
  width: 2px;
  height: 15px;
  content: ' ';
  background-color: grey;
}

body .cn-close-icon::before {
  transform: rotate(45deg);
}

body .cn-close-icon::after {
  transform: rotate(-45deg);
}

body #cookie-notice {
}

body #cookie-notice .cn-revoke-cookie {
  margin: 0;
}

body #cookie-notice .cn-button {
  display: inline-block;
  margin: 0 0 0 10px;
}

body #cookie-notice .cn-button:not(.cn-button-custom) {
  --color-bg: var(--clr-gradient-100);
  --color-text: #fff;
  --color-hover-bg: #444;
  --color-hover-font: #fff;

  position: relative;
  box-sizing: border-box;
  display: block;
  width: 80px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  background: var(--color-bg) !important;
  border-radius: 4px;
  transition: color cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s,
    background-color 0.3s, opacity 0.25s;
}

@media print, screen and (min-width: 1024px) {
  body #cookie-notice .cn-button:not(.cn-button-custom) {
    width: 180px;
    padding: 16px 0;
    font-size: 16px;
  }
}

body #cookie-notice .cn-button:not(.cn-button-custom):hover {
  opacity: 0.8;
}

body #cookie-notice .cn-button:not(.cn-button-custom)#cn-refuse-cookie {
  --color-bg: #fff;
  --color-text: var(--clr-primary);
  --color-hover-bg: #eee;

  border: 1px solid var(--clr-border);
  margin-left: 0;
}

@media print, screen and (min-width: 1024px) {
  body #cookie-notice .cn-button:not(.cn-button-custom)#cn-refuse-cookie {
    --color-text: #000;
  }
}

body #cookie-notice .cn-button:not(.cn-button-custom)#cn-refuse-cookie:hover {
  background-color: var(--color-hover-bg) !important;
}

body .cn-text-container {
  margin: 0 0 6px;
}

body .cn-text-container a {
  color: var(--clr-primary);
}

body .cn-buttons-container,
body .cn-text-container {
  display: inline-block;
}

body #cookie-notice.cookie-notice-visible.cn-effect-fade,
body #cookie-notice.cookie-notice-visible.cn-effect-none,
body #cookie-notice.cookie-revoke-visible.cn-effect-fade,
body #cookie-notice.cookie-revoke-visible.cn-effect-none {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

body #cookie-notice.cn-effect-fade,
body #cookie-notice.cn-effect-none {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

body #cookie-notice.cookie-notice-visible.cn-effect-slide,
body #cookie-notice.cookie-revoke-visible.cn-effect-slide {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

body #cookie-notice.cn-effect-slide {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown;
}

body #cookie-notice.cookie-notice-visible.cn-position-top.cn-effect-slide,
body #cookie-notice.cookie-revoke-visible.cn-position-top.cn-effect-slide {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

body #cookie-notice.cn-position-top.cn-effect-slide {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}

body .cookie-notice-container #cn-notice-buttons {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slideInUp {
  from {
    visibility: visible;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes slideInDown {
  from {
    visibility: visible;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@media all and (width <= 900px) {
  body .cookie-notice-container #cn-notice-buttons {
    display: flex;
  }

  body .cookie-notice-container #cn-notice-text {
    display: block;
  }

  body #cookie-notice .cn-button {
    margin: 0 5px 5px;
  }
}

@media all and (width <= 480px) {
  body .cookie-notice-container,
  body .cookie-revoke-container {
    padding: 15px 25px;
  }
}

