/* Cookieモーダルのスタイル */
.cookieModal {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;
  background-color: #fff;
  border: 2px solid #004ea2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px 20px 20px;
  z-index: 10;
  transition: all .3s ease;

  &.is-scrollHidden {
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  .cookieModal {
    bottom: 8px;
    width: 72%;
    padding: 5px 8px 5px;
  }
}

.cookieModal__close {
  display: block;
  border: none;
  background: none;
  width: 45px;
  height: 45px;
  margin-left: auto;
  padding: 10px;
}

.cookieModal__closeInner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.cookieModal__closeInner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 100%;
  height: 2px;
  background: #000;
  transform-origin: center;
  transform: rotate(45deg);
}

.cookieModal__closeInner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 100%;
  height: 2px;
  background: #000;
  transform-origin: center;
  transform: rotate(-45deg);
}

.cookieModal__text {
  text-align: center;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0;
  font-weight: bold;
  color: #000;
}

@media screen and (max-width: 768px) {
  .cookieModal__text {
    font-size: 10px;
  }
}

.cookieModal__btnBox {
  text-align: center;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 18px;
}

@media screen and (max-width: 768px) {
  .cookieModal__btnBox {
    gap: 10px;
    margin-top: 4px;
  }
}

.cookieModal__rejectBtn {
  border: none;
  background: none;
  display: block;
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  transition: all .3s ease;
}

@media screen and (max-width: 768px) {
  .cookieModal__rejectBtn {
    font-size: 10px;
    padding-block: 3px;
  }
}

@media screen and (min-width: 768px) {
  .cookieModal__rejectBtn:hover {
    opacity: 0.7;
    background: rgba(0,0,0,.3);
    color: #fff;
  }
}

.cookieModal__acceptBtn {
  border: none;
  text-align: center;
  background: linear-gradient(135deg, #03a3ff 0%, #0074db 50%, #004ea2 100%);
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  width: 100%;
  padding-block: 11px;
  transition: all .3s ease;
}

@media screen and (max-width: 768px) {
  .cookieModal__acceptBtn {
    font-size: 10px;
    padding-block: 3px;
  }
}

@media screen and (min-width: 768px) {
  .cookieModal__acceptBtn:hover {
    opacity: 0.7;
  }
}