/* =========================
   2boxes.css — clean template
   ========================= */

/* 1) Background / base */
body.twoboxes.twoboxes-bg{
  background:#0b0f18 url("../img/2boxes-bg.png") center center / cover fixed no-repeat !important;
  color:#fff;
}

/* 2) Layout */
.page-wrap{
  padding:56px 16px 80px;
  max-width:1100px;
  margin:0 auto;
}
.hero{
  margin:10px 0 20px;
  display:flex;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.hero h1{
  font:600 36px/1 "Shippori Mincho B1", serif;
  margin:0;
}

/* 3) UI bits */
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid #fff3;
  background:#0007;
  font:600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.notice{
  margin:16px 0 28px;
  padding:12px;
  border:1px dashed #fff3;
  border-radius:10px;
  background:#0007;
  backdrop-filter:blur(4px);
}
.progress{
  height:6px;
  border-radius:999px;
  background:#fff1;
  overflow:hidden;
  margin-top:10px;
}
.progress > i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#ffb84d,#ff5e5e,#ff66ff);
}
.cta-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.btn{
  display:inline-flex; align-items:center; gap:6px; padding:8px 12px;
  border-radius:8px; border:1px solid #fff2; background:#000a; color:#fff; text-decoration:none;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
  font-size:14px; line-height:1;
  transition:transform .18s, filter .18s, box-shadow .18s;
}
.btn:hover{ transform:translateY(-2px); filter:brightness(1.06); box-shadow:0 8px 20px rgba(0,0,0,.45); }

/* 4) ToTop button */
.to-top{
  position:fixed; right:1rem; bottom:3rem; z-index:1000;
  width:42px; height:42px; font:600 14px/42px system-ui;
  border:1px solid #fff2; border-radius:10px;
  background:#0007; backdrop-filter:blur(2px); color:#fff;
  box-shadow:0 4px 10px #0005; cursor:pointer;
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s;
}
.to-top.show{ opacity:1; pointer-events:auto; }
.to-top:hover{ transform:translateY(-2px); }

/* 5) TOP badge */
.top-logo-btn{
  position:fixed; top:12px; left:12px; z-index:2000; display:inline-block;
}
.top-logo-btn img{
  width:140px !important; height:auto !important; display:block; border-radius:12px;
}
@media (max-width:1024px){ .top-logo-btn img{ width:130px !important; } }
@media (max-width:640px){
  .top-logo-btn{ top:8px; left:8px; }
  .top-logo-btn img{ width:112px !important; }
}

/* 6) Footer (unified) */
footer{
  background:rgba(0,0,0,.7);
  padding:20px 0;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.2);
}
.footer-inner{
  max-width:1200px; margin:0 auto;
  display:flex; justify-content:center; align-items:center; gap:1.5rem; flex-wrap:wrap;
}
.footer-copy{ font-size:.9rem; color:#ccc; margin:0; }
.to-top-btn{
  display:inline-block; font-size:1rem; color:#ccc; text-decoration:none;
  border:1px solid rgba(255,255,255,.4); padding:6px 10px; border-radius:4px;
  transition:background .3s ease, color .3s ease;
}
.to-top-btn:hover{ background:rgba(255,255,255,.15); color:#fff; }
