/* NoWords World - simple GitHub Pages template */
:root{
  --bg: #0b0f14;
  --panel: #111826;
  --panel2:#0f1622;
  --text: #e8eef7;
  --muted:#b6c2d6;
  --line:#203046;
  --accent:#ff8a00;
  --accent2:#ffb45a;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 980px;
  --font: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Noto Sans JP","Yu Gothic",sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,138,0,.25), transparent 55%),
    radial-gradient(1000px 700px at 110% 10%, rgba(255,180,90,.18), transparent 55%),
    var(--bg);
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:24px}
.header{
  display:flex; gap:16px; align-items:center; justify-content:space-between;
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,15,20,.78), rgba(11,15,20,.55));
  border-bottom:1px solid rgba(32,48,70,.55);
  z-index:10;
}
.brand{display:flex; gap:14px; align-items:center}
/* ヘッダーの丸ロゴ */
.logo{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 120px;   /* 伸び縮みさせない */
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1{font-size:18px; margin:0}
.sub{margin:2px 0 0; color:var(--muted); font-size:12px}
.nav{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid rgba(32,48,70,.8);
  border-radius:999px;
  color:var(--muted);
}
.nav a:hover{color:var(--text); border-color:rgba(255,138,0,.5)}

.hero{
  margin-top:18px;
  padding:26px;
  border:1px solid rgba(32,48,70,.85);
  background: linear-gradient(180deg, rgba(17,24,38,.85), rgba(15,22,34,.65));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero h2{margin:0 0 10px; font-size:28px}
.hero p{margin:0; color:var(--muted); line-height:1.7}
.cta{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-block; text-decoration:none;
  padding:10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#1b1206;
  font-weight:800;
}
.btn.ghost{
  background: transparent;
  border:1px solid rgba(255,138,0,.55);
  color:var(--text);
  font-weight:700;
}
.btn.ghost:hover{border-color:rgba(255,180,90,.7)}

.section{margin-top:26px}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap}
.section-head h3{margin:0; font-size:20px}
.section-head p{margin:0; color:var(--muted); font-size:13px}

.cards{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 760px){
  .cards{grid-template-columns: 1fr}
  .header{position:static}
}
.card{
  border:1px solid rgba(32,48,70,.85);
  border-radius: var(--radius);
  background: rgba(17,24,38,.7);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-body{padding:18px}
.card h4{margin:0 0 6px; font-size:18px}
.meta{margin:0 0 10px; color:var(--accent2); font-size:12px; font-weight:700}
.desc{margin:0; color:var(--muted); line-height:1.7}
.links{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.link{
  text-decoration:none;
  padding:8px 10px;
  border-radius: 12px;
  border:1px solid rgba(32,48,70,.9);
  color:var(--text);
}
.link:hover{border-color:rgba(255,138,0,.55)}
.link.disabled{
  opacity:.6;
  cursor:not-allowed;
}

.panel{
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(32,48,70,.85);
  border-radius: var(--radius);
  background: rgba(17,24,38,.65);
  box-shadow: var(--shadow);
}
.panel p{margin:0 0 10px; color:var(--muted); line-height:1.7}
.panel p:last-child{margin-bottom:0}
.hint{font-size:12px; color:#9fb0cb}

.footer{
  margin:30px 0 8px;
  padding-top:18px;
  border-top:1px solid rgba(32,48,70,.7);
  color:var(--muted);
}
.footer p{margin:0 0 6px}
.footer .small{font-size:12px}
/* カード内 links の画像を小さく */
.links img{
  width: 420px;        /* 好きなサイズに */
  height: auto;
  display: block;
  border-radius: 10px; /* 角丸いらなければ消す */
}
