@charset "utf-8";
/* ========================================
   同意バナー
======================================== */

#consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;

  transform: translateY(0);
  transition: transform 0.4s ease;
}

/* 同意後：画面下へスライド */
#consent-banner.is-hidden {
  transform: translateY(100%);
}

.consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.consent-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.consent-text a {
  color: #333;
  text-decoration: underline;
}

/* ========================================
   同意ボタン
======================================== */

#consent-button {
  flex-shrink: 0;
  min-width: 120px;
  padding: 10px 25px;

  border: none;
  border-radius: 4px;

  background: #FF0000;
  color: #fff;

  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: center !important;
}

#consent-button:hover {
  opacity: 0.85;
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

  .consent-inner {
    padding: 12px 15px;
    display: block;
    text-align: center;
  }

  .consent-text {
    margin-bottom: 10px;
    font-size: 13px;
  }

  #consent-button {
    width: 100%;
    max-width: 200px;
  }
}