/* ============================================================
   LGC OPEN CUP 公開サイト 共通CSS
   ホーム/参加方法/大会規約/大会履歴/運営の全ページで共有。
   ページ固有のCSSは各HTMLファイルの<style>に書く。
   ============================================================ */
:root{
  --navy-0:#030a14; --navy-1:#071427; --navy-2:#0c2141; --navy-3:#143567;
  --blue:#5aa7ea; --blue-dk:#1f4e8f; --red:#e8555c;
  --gold:#e0b44c; --gold-lt:#f7e0a1; --gold-dk:#8a6318;
  --ink:#eef2fb; --ink-soft:#9fb0d0; --line:rgba(255,255,255,.12);
  --surface:rgba(255,255,255,.04);
  --shadow:0 20px 60px rgba(0,0,0,.45);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--navy-0); color:var(--ink);
  font-family:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",sans-serif;
  line-height:1.8; -webkit-font-smoothing:antialiased;
}
a{color:var(--blue);}
img{max-width:100%; display:block;}
.wrap{max-width:1080px; margin:0 auto; padding:0 24px;}

/* background texture */
body::before{
  content:""; position:fixed; inset:0; z-index:-1;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(90,167,234,.16), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 10%, rgba(224,180,76,.10), transparent 60%),
    linear-gradient(180deg, var(--navy-0), var(--navy-1) 40%, var(--navy-0) 100%);
}

/* ---------- header（ロゴの下にナビ＝左上にまとまる形。nasef-nhec.jp を参考） ---------- */
header.site{
  position:sticky; top:0; z-index:40;
  padding:16px 24px 0; backdrop-filter:blur(10px);
  background:rgba(3,10,20,.82); border-bottom:1px solid var(--line);
}
header.site .head-row{
  display:flex; align-items:center; gap:16px;
}
header.site .brand{display:flex; align-items:center; gap:10px; font-family:"Shippori Mincho",serif; font-weight:800; font-size:19px; letter-spacing:.03em; color:var(--ink); text-decoration:none;}
header.site .brand img{height:32px; width:auto;}
header.site nav{
  display:flex; align-items:center; gap:24px; font-size:14px; font-weight:700;
  margin:10px 0 0; padding-bottom:12px;
}
header.site nav a{color:var(--ink-soft); text-decoration:none; padding-bottom:3px; border-bottom:2px solid transparent;}
header.site nav a:hover{color:var(--ink);}
header.site nav a.is-current{color:var(--gold); border-bottom-color:var(--gold);}
header.site .cta{
  display:inline-flex; align-items:center; gap:8px; padding:8px 18px; border-radius:999px;
  background:var(--blue-dk); color:#fff; font-weight:800; font-size:13px; text-decoration:none;
  border:1px solid rgba(255,255,255,.18); flex-shrink:0; margin-left:4px;
}
header.site .cta:hover{background:var(--blue);}
@media (max-width:720px){
  header.site nav{gap:14px; font-size:12.5px; flex-wrap:wrap;}
}

footer.site{
  padding:40px 24px; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center;
  color:var(--ink-soft); font-size:12.5px;
}
footer.site a{color:var(--ink-soft); text-decoration:none; border-bottom:1px solid var(--line);}
footer.site a:hover{color:var(--gold); border-bottom-color:var(--gold);}
footer.site .flinks{display:flex; gap:18px; flex-wrap:wrap;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 30px; border-radius:12px;
  font-weight:800; font-size:15.5px; text-decoration:none; transition:transform .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:linear-gradient(135deg,#5865F2,#4752C4); color:#fff; box-shadow:0 10px 30px rgba(88,101,242,.35);}
.btn-ghost{background:var(--surface); color:var(--ink); border:1px solid var(--line);}

/* ---------- sections（サブページ用の余白。独立ページはsection{padding:64px 0}のような
   タグ丸ごとの指定を持たないので、明示的にこのクラスで余白を持たせる） ---------- */
section{padding:64px 0;}
section.alt{background:linear-gradient(180deg, transparent, rgba(255,255,255,.02) 20%, transparent 80%); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.subpage{padding:72px 0 96px;}
.section-head{text-align:center; max-width:640px; margin:0 auto 48px;}
.section-head .eyebrow{font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:10px;}
.section-head h2{font-family:"Shippori Mincho",serif; font-weight:800; font-size:clamp(22px,3vw,30px); margin:0 0 12px; color:#fff;}
.section-head p{color:var(--ink-soft); font-size:15px; margin:0;}

.card{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:26px;
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 10px; font-size:16px; font-weight:900; color:#fff; display:flex; align-items:center; gap:10px;}
.card h3 .dot{width:8px; height:8px; border-radius:50%; background:var(--gold);}
.card p{margin:0; color:var(--ink-soft); font-size:14.5px;}

/* ---------- steps（参加方法） ---------- */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:760px){ .steps{grid-template-columns:1fr;} }
.step{
  position:relative; background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:30px 24px 24px;
}
.step .num{
  font-family:"Shippori Mincho",serif; font-weight:800; font-size:14px; color:var(--gold);
  display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border:2px solid var(--gold); border-radius:50%; margin-bottom:16px;
}
.step h3{margin:0 0 8px; font-size:16px; font-weight:900; color:#fff;}
.step p{margin:0; color:var(--ink-soft); font-size:14px;}

/* ---------- table / prize（日程） ---------- */
.table-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:var(--surface);}
table{width:100%; border-collapse:collapse; font-size:14px; min-width:420px;}
th,td{padding:12px 18px; text-align:left; border-bottom:1px solid var(--line);}
thead th{color:var(--gold); font-size:12px; letter-spacing:.06em; text-transform:uppercase; font-weight:800;}
tbody tr:last-child td{border-bottom:none;}
tbody tr:hover{background:rgba(255,255,255,.03);}
.prize{
  display:flex; align-items:center; gap:28px; background:linear-gradient(135deg, rgba(224,180,76,.12), transparent);
  border:1px solid rgba(224,180,76,.3); border-radius:18px; padding:32px;
}
@media (max-width:640px){ .prize{flex-direction:column; text-align:center;} }
.prize .icon{font-size:44px; flex:none;}
.prize h3{margin:0 0 6px; font-family:"Shippori Mincho",serif; font-size:20px; color:var(--gold-lt);}
.prize p{margin:0; color:var(--ink-soft); font-size:14.5px;}

/* ---------- final CTA band ---------- */
.cta-band{
  text-align:center; padding:80px 24px; border-radius:24px; margin:0 24px;
  background:linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border:1px solid var(--line);
}
.cta-band h2{font-family:"Shippori Mincho",serif; font-size:clamp(22px,3.4vw,32px); margin:0 0 14px; color:#fff;}
.cta-band p{color:var(--ink-soft); margin:0 0 30px;}
