@charset 'UTF-8';

.cookie-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  color: #fff;
  background: rgba(22, 31, 55, 0.97);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.24);
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
}

.cookie-notice__inner {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cookie-notice__message {
  color: #fff;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.cookie-notice__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-notice__link:hover {
  opacity: 0.8;
}

.cookie-notice__link:focus-visible,
.cookie-notice__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cookie-notice__button {
  flex: 0 0 auto;
  min-width: 144px;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  color: #16203a;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.cookie-notice__button:hover {
  opacity: 0.86;
}

@media screen and (max-width: 767px) {
  .cookie-notice {
    padding: 14px 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .cookie-notice__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-notice__message {
    font-size: 13px;
    line-height: 1.7;
  }

  .cookie-notice__button {
    width: 100%;
    min-width: 0;
    padding: 10px 16px;
  }
}
