/* --- クッキーポリシーポップアップ --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 36px;
  z-index: 9999;
  border: 1px solid #0064BC;
  background-color: #0064BC;
  padding: 15px;
  max-width: 476px;
  width: 100%;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  font-family: "Shippori Mincho B1", "Shippori Mincho", serif;
}

.cookie-popup:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background-color: #fff;
  background-image:
    url(../img/00_common/fixedCta-bg.webp),
    linear-gradient(rgba(211, 228, 205, 0.13), rgba(211, 228, 205, 0.13));
  background-repeat: repeat, no-repeat;
  z-index: 1;
  overflow: hidden;
}

.cookie-popup:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top right, #8EFFAA, transparent 70%);
  filter: blur(30px);
  z-index: 2;
  pointer-events: none;
}

.cookie-popup__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.cookie-popup__text {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #000;
  text-align: left;
  white-space: nowrap;
}

.cookie-popup__text p {
  margin: 0;
  padding: 0;
}

.cookie-popup__link {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cookie-popup__link:hover {
  opacity: 0.7;
}

.cookie-popup__buttons {
  display: flex;
  gap: 12px;
}

.cookie-popup__button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 26px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.cookie-popup__button span {
  display: inline-block;
  position: relative;
  z-index: 3;
}

.cookie-popup__button:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .cookie-popup {
    bottom: calc(30px + env(safe-area-inset-bottom, 0) + 12px);
    left: 50%;
    gap: 16px;
    transform: translateX(-50%);
    padding: 8px 15px 7px;
    width: auto;
    max-width: 396px;
  }

  .cookie-popup__inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: min(2.4vw, 20px);
  }

  .cookie-popup__text {
    font-size: 10px;
    line-height: 1.4;
  }

  .cookie-popup__button {
    width: 60px;
    height: 24px;
    font-size: 10px;
  }
}
