/* Cookie の同意の帯と、「Cookie設定」のパネル（js/consent.js が表示する）。 */
.tk-cc-bar, .tk-cc-modal{
  --tk-ink:#16232E; --tk-steel:#3A5169; --tk-paper:#EDEFF1; --tk-brass:#B8823D; --tk-brass-dark:#96692F;
  --tk-muted:#5B6672; --tk-hair:rgba(22,35,46,0.14);
  font-family:'Noto Sans JP', sans-serif; letter-spacing:normal; -webkit-text-size-adjust:100%;
}

/* 画面下部の帯 */
.tk-cc-bar{ position:fixed; left:0; right:0; bottom:0; z-index:150; background:rgba(237,239,241,0.92); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:#1B222A; border-top:1px solid rgba(22,35,46,0.28); box-shadow:0 -2px 10px rgba(0,0,0,0.08); }
.tk-cc-bar-in{ max-width:1200px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; gap:24px; }
.tk-cc-bar-text{ flex:1 1 auto; margin:0; font-size:13px; line-height:1.8; color:#1B222A; }
.tk-cc-bar-btns{ flex:0 0 auto; display:flex; align-items:center; gap:10px; }
.tk-cc-spacer{ width:100%; }

.tk-cc-btn{ min-width:120px; padding:11px 18px; font-size:13.5px; font-weight:700; font-family:inherit; line-height:1.4; cursor:pointer; border:1px solid var(--tk-ink); text-align:center; }
.tk-cc-btn-main{ background:var(--tk-ink); color:#fff; }
.tk-cc-btn-main:hover{ background:var(--tk-brass-dark); border-color:var(--tk-brass-dark); }
.tk-cc-btn-sub{ background:transparent; color:#1B222A; }
.tk-cc-btn-sub:hover{ color:#2F6FA6; border-color:#2F6FA6; }
.tk-cc-inline{ background:none; border:none; padding:0; margin:0; font-size:inherit; font-family:inherit; line-height:inherit; color:#1B222A; text-decoration:underline; cursor:pointer; }
.tk-cc-inline:hover{ color:var(--tk-brass-dark); }
.tk-cc-bar button:focus-visible, .tk-cc-modal button:focus-visible, .tk-cc-modal a:focus-visible{ outline:2px solid var(--tk-brass); outline-offset:2px; }

/* 「Cookie設定」のパネル */
.tk-cc-modal{ position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(22,35,46,0.6); }
.tk-cc-box{ position:relative; background:var(--tk-paper); color:#1B222A; width:100%; max-width:640px; max-height:calc(100vh - 40px); overflow-y:auto; padding:32px; box-shadow:0 20px 50px rgba(0,0,0,0.3); font-size:14px; line-height:1.9; }
.tk-cc-x{ position:absolute; right:12px; top:10px; width:36px; height:36px; background:none; border:none; font-size:24px; line-height:1; color:var(--tk-muted); cursor:pointer; font-family:sans-serif; }
.tk-cc-x:hover{ color:var(--tk-ink); }
.tk-cc-h{ font-size:20px; color:var(--tk-ink); margin:0 36px 14px 0; padding-bottom:14px; border-bottom:1px solid var(--tk-hair); }
.tk-cc-h3{ font-size:14px; color:var(--tk-steel); margin:18px 0 4px; }
.tk-cc-box p{ margin:0 0 8px; font-size:13.5px; line-height:1.9; }
.tk-cc-box a{ color:var(--tk-steel); text-decoration:underline; }
.tk-cc-box p.tk-cc-status{ margin:20px 0 8px; padding:0; background:none; font-weight:400; font-size:12px; line-height:1.6; color:var(--tk-muted); }
.tk-cc-actions{ display:flex; gap:12px; }
.tk-cc-actions .tk-cc-btn{ flex:1; }
.tk-cc-actions .tk-cc-btn-sub2{ background:transparent; color:var(--tk-ink); }
.tk-cc-actions .tk-cc-btn-sub2:hover{ color:#2F6FA6; border-color:#2F6FA6; }

/* フッターの「Cookie設定」リンク */
.tk-cc-open{ color:inherit; text-decoration:underline; cursor:pointer; }
.tk-cc-open:hover{ color:#fff; }
.footer-bottom{ flex-wrap:wrap; gap:6px 16px; }
footer .wrap .tk-cc-open{ color:rgba(255,255,255,0.7); }
.footer-links a.tk-cc-open{ color:rgba(255,255,255,0.68); text-decoration:none; }
.footer-links a.tk-cc-open:hover{ color:var(--brass); }

@media (max-width:760px){
  .tk-cc-bar-in{ flex-direction:column; align-items:stretch; gap:12px; padding:14px 16px; }
  .tk-cc-bar-btns{ flex-wrap:wrap; }
  .tk-cc-bar-btns .tk-cc-btn{ flex:1 1 40%; min-width:0; }
  .tk-cc-box{ padding:24px 18px; }
  .tk-cc-actions{ flex-direction:column-reverse; }
}
