/**
 * Cookie同意バナーのスタイル
 */

 #cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 20px 0;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent-content {
  max-width: 270px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.cookie-consent-content p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-consent-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
}

#cookie-accept-btn {
  border-radius: 2px;
  background: linear-gradient(180deg, #e56000 0%, #f2973a 100%);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 140px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 43px;
}

#cookie-accept-btn:hover {
  opacity: 0.85;
}

/* ✗ボタンのスタイル */
.cookie-close-btn {
  position: absolute;
  right: 12px;
  top: 20px;
  width: 24px;
  height: 24px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  margin-left: 15px;
}

/* ✗印をCSSで作成 - 左上から右下への線 */
.cookie-close-btn::before,
.cookie-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background-color: #fff;
}

/* 左上から右下への線 */
.cookie-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 右上から左下への線 */
.cookie-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ホバー時に✗印の色を少し明るく */
.cookie-close-btn:hover::before,
.cookie-close-btn:hover::after {
  background-color: #fff;
  width: 16px;
}

@media (min-width: 768px) {
  .cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .cookie-consent-content p {
    margin: 0;
    flex: 1;
    text-align: left;
    font-size: 14px;
  }

  .cookie-consent-actions {
    margin-top: 0;
    margin-left: 20px;
    justify-content: flex-end;
  }
  #cookie-accept-btn {
    min-width: 120px;
    height: 44px;
  }

  /* デスクトップでの✗ボタンの位置調整 */
  .cookie-close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .pc-none {
    display: none;
  }
}

#bl_form > div {
  padding: 40px 16px;
  width: 100%;
}

@media (min-width: 768px) {
  #bl_form > div {
    padding: 60px 0;
    width: 900px;
  }
}
