/* ============================================================
   Cookie同意バナー(画面最下部に固定表示)
   z-index: ヘッダー(100)・pagetop(90)より上、検索オーバーレイ(320)より下
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(27, 37, 71, .97); /* --c-navy ベース */
  color: #fff;
  box-shadow: 0 -4px 24px rgba(26, 28, 29, .18);
}
.cookie-consent[hidden] { display: none !important; }

.cookie-consent__inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.cookie-consent__text {
  margin: 0;
  flex: 1 1 480px;
  font-size: 14px;
  line-height: 1.8;
}
.cookie-consent__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-consent__link:hover { opacity: .8; }

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.cookie-consent__btn {
  appearance: none;
  cursor: pointer;
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  min-height: 42px;
  padding: 12px 26px;
  transition: opacity .2s ease;
  white-space: nowrap;
}
.cookie-consent__btn:hover { opacity: .85; }
.cookie-consent__btn--accept {
  border: 1px solid var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}
.cookie-consent__btn--decline {
  border: 1px solid rgba(255, 255, 255, .6);
  background: transparent;
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-consent__inner { padding: 14px 20px; }
  .cookie-consent__text { flex-basis: 100%; font-size: 13px; }
  .cookie-consent__actions { margin-left: 0; width: 100%; }
  .cookie-consent__btn { flex: 1; }
}
