:root{
  --bg: #0b0f14;
  --panel: #101826;
  --text: #e7eef8;
  --muted: #a9b6c7;
  --line: rgba(231, 238, 248, 0.12);
  --accent: #66d9ef;
  --accent2: #a6e22e;

  --max: 920px;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(102,217,239,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(166,226,46,.14), transparent 55%),
              var(--bg);
  line-height: 1.85;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.7);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand .title{
  font-size: 18px;
  letter-spacing: .06em;
  font-weight: 700;
}
.brand .sub{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(231,238,248,.06);
  text-decoration: none;
  color: var(--text);
}

.hero{
  padding: 34px 0 18px;
}
.hero h1{
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: .04em;
}
.hero p{
  margin: 0;
  color: var(--muted);
}

.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0 40px;
}

.card{
  background: linear-gradient(180deg, rgba(16,24,38,.92), rgba(16,24,38,.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(102,217,239,.35);
}
.card .meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(231,238,248,.16);
  background: rgba(231,238,248,.06);
  color: var(--muted);
}
.badge .dot{
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--accent);
  display: inline-block;
}
.card h2{
  margin: 10px 0 8px;
  font-size: 18px;
  letter-spacing: .03em;
}
.card p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.card .link{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: var(--text);
}
.card .link span{
  color: var(--accent);
}

.content{
  padding: 28px 0 52px;
}

.story-header{
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.story-header h1{
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: .04em;
}
.story-header .meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.story{
  background: linear-gradient(180deg, rgba(16,24,38,.90), rgba(16,24,38,.70));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}

.story p{
  margin: 0 0 12px;
  font-size: 16px;
}
.story p:last-child{ margin-bottom: 0; }

.story hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.story-nav{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(231,238,248,.16);
  background: rgba(231,238,248,.06);
  color: var(--text);
  font-weight: 600;
}
.btn:hover{
  text-decoration: none;
  border-color: rgba(102,217,239,.35);
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 780px){
  .grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 26px; }
  .story-header h1{ font-size: 24px; }
}

