/* VSページをメインの水色基調で統一（20251019） */

:root{
  --header-h: 72px;
  --bg: #0a1a22;
  --fg: #eaf7ff;
  --muted: #a7c4d6;
  --accent: #63CBE6;
  --accent-ink:#9be7ff;
  --surface:#0f2735;
  --card:#0f2430;
  --border: rgba(255,255,255,.10);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0,0,0,.55);
}

/* competition-form.css v=2025-10-19-d */
/* テーマ(styles.css)でほぼ統一済み。ここではVSページ固有の微調整のみ */

.page-vs .subheading{ font-size:18px }
.page-vs .vs-form .btn{ min-width: 260px }


*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--fg);
  background:
    radial-gradient(900px 500px at 0% -5%, #143246 0%, transparent 60%),
    radial-gradient(900px 500px at 100% -5%, #0c2a3b 0%, transparent 60%),
    var(--bg);
  font-family: 'Montserrat','Noto Sans JP',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.85;
}

/* Header */
.site-header{
  position:fixed; inset:0 0 auto 0; height:var(--header-h);
  backdrop-filter:saturate(150%) blur(10px);
  background:linear-gradient(to bottom, rgba(8,15,20,.75), rgba(8,15,20,.35));
  border-bottom:1px solid var(--border);
  z-index:50;
}
.site-header .inner{
  max-width:1200px; margin:0 auto; height:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.02em; color:#fff; font-size:20px; }
.brand span{ color:var(--accent-ink); }
.brand-logo{ display:block; height:32px; width:auto; }
@media (max-width:640px){ .brand-logo{ height:28px; } }
.main-nav a{
  display:inline-block; margin-left:18px; font-weight:800; font-size:14px;
  color:#fff; position:relative; padding:8px 4px; opacity:.96;
}
.main-nav a.active,.main-nav a:hover{ color:var(--accent-ink); opacity:1; }
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .25s;
}
.main-nav a:hover::after,.main-nav a.active::after{ transform:scaleX(1); }

/* Sections */
.section{ padding:120px 0; scroll-margin-top: calc(var(--header-h) + 32px) }
.container{ max-width:1200px; margin:0 auto; padding:0 16px }
.section-title{
  display:inline-block; font-size:28px; margin:0 0 22px; padding-bottom:12px; font-weight:900;
  border-bottom:3px solid var(--accent);
}

/* Cards / VS list */
.vs-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.vs-card{
  background:linear-gradient(180deg, rgba(10,30,45,.88), rgba(8,22,33,.88));
  border:1px solid var(--border); border-radius:22px; box-shadow:var(--shadow);
  padding:22px;
}
.vs-card .vs-title{ font-weight:900; font-size:18px; margin:6px 0 10px; }
.vs-card .vs-meta{ color:var(--muted); font-size:13px; margin:0 0 14px; line-height:1.7; }
.vs-card .vs-rule{ margin:8px 0 18px; color:#cfefff }
.vs-card .btn{ display:block; margin:4px auto 0; }   /* 中央揃え */

.vs-grid-2{ display:grid; grid-template-columns:1.2fr .8fr; gap:22px }

/* Form */
.vs-form .fld{ display:block; margin-bottom:14px; }
.vs-form .fld span{ display:block; font-weight:900; margin-bottom:6px; }
.vs-form input,.vs-form select,.vs-form textarea{
  width:100%; padding:12px 14px; background:#0b0f12; color:#fff; border:1px solid var(--border); border-radius:12px;
}
.vs-result{ margin-top:10px; color:#a5f3fc; font-weight:700; }
.muted{ color:var(--muted); }
.small{ font-size:12px; }

/* Buttons */
.btn{
  display:inline-block; border-radius:14px; padding:12px 18px; cursor:pointer;
  color:#001219; background:var(--accent); border:1px solid transparent; font-weight:900;
  box-shadow:var(--shadow);
}
.btn-wide{ display:block; width:min(680px,92vw); text-align:center; padding:20px 28px; border-radius:28px; margin:12px auto 0; font-size:18px; }

/* Footer */
.site-footer{ border-top:1px solid var(--border); padding:30px 0; background:#081017 }
.site-footer .inner{ max-width:1200px; margin:0 auto; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:14px }
.site-footer .x-link{
  display:inline-grid; place-items:center; width:38px; height:38px; color:#fff;
  background:#0c151c; border:1px solid var(--border); border-radius:10px;
}
.site-footer .x-link:hover{ color:var(--accent); }

/* Reveal */
[data-reveal]{ opacity:0; transform:translateY(-18px); transition:opacity .7s ease, transform .7s ease; }
[data-reveal].in{ opacity:1; transform:translateY(0) }

/* Responsive */
@media (max-width:1024px){
  .vs-list{ grid-template-columns:1fr 1fr; }
  .vs-grid-2{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .vs-list{ grid-template-columns:1fr; }
}
