@charset "UTF-8";

/* ============================================================
   Cookie同意バナー
   表示・非表示は js/analytics.js が hidden 属性で切り替えます。
   既定で隠すため display は指定しません（display を指定すると
   hidden 属性が効かなくなるため）。
   ============================================================ */

.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  padding: clamp(.9rem, 2.5vw, 1.3rem) clamp(16px, 4vw, 40px);
  background: rgba(38, 34, 31, .96);
  color: rgba(255, 255, 255, .82);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .25);
}
.consent__inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  gap: clamp(.8rem, 2vw, 1.6rem);
}
.consent__text {
  margin: 0;
  flex: 1 1 24rem;
  font-size: .78rem; line-height: 1.9; letter-spacing: .04em;
}
.consent__text a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }

.consent__actions { display: flex; gap: .6rem; flex: none; }
.consent__btn {
  padding: .6em 1.6em;
  font: inherit;
  font-size: .76rem; letter-spacing: .1em;
  color: #fff;
  background: none;
  border: 1px solid #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.consent__btn:hover { background: #fff; color: #26221f; }
.consent__btn--ghost { border-color: rgba(255,255,255,.4); }
.consent__btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.consent__btn:focus-visible { outline: 2px solid #a35540; outline-offset: 2px; }

@media (max-width: 560px) {
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .consent__btn { transition: none; }
}
