:root{
  --bg:#0b0d16;
  --panel:#11142a;
  --text:#e9ecff;
  --muted:#aab1d6;
  --line:rgba(255,255,255,.12);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: radial-gradient(1200px 700px at 30% -10%, rgba(140,170,255,.22), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(255,255,255,.10), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.7;
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1100px, 92vw); margin:0 auto; }

.site-header{
  position:sticky; top:0;
  background: rgba(11,13,22,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.brand{ display:flex; gap:10px; align-items:center; font-weight:700; }
.brand-mark{ opacity:.9; }
.brand-name{ letter-spacing:.02em; }

.nav{ display:flex; gap:16px; font-size:14px; }
.nav a{ opacity:.85; }
.nav a:hover{ opacity:1; }

.hero{ padding:48px 0 18px; }
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}

/* ロゴは上段で横断（PCもスマホも） */
.hero-logo{
  grid-column: 1 / -1;
  margin: 0 0 4
px;
}

.kicker{ margin:0 0 8px; color:var(--muted); letter-spacing:.12em; text-transform:uppercase; font-size:12px; }
h1{ margin:0 0 12px; font-size: clamp(26px, 3.2vw, 40px); line-height:1.25; }
.lead{ margin:0 0 18px; color:var(--muted); }

.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
}
.btn:hover{ background: rgba(255,255,255,.16); }
.btn.ghost{ background: transparent; }

.hero-logo img {
  max-width: 420px;
  width: 80%;
}

.hero-visual {
  max-width: 400px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.placeholder{
  border:1px dashed rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  display:flex; align-items:center; justify-content:center;
  min-height: 420px;
  color: var(--muted);
  text-align:center;
  padding:18px;
}
.placeholder.small{ min-height: 160px; }

.section{ padding: 22px 0 32px; }
.section-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:14px;
}
h2{ margin:0 0 10px; font-size:22px; }
.text{ color:var(--muted); margin:0; }

.link{ color: #dfe4ff; opacity:.9; }
.link:hover{ opacity:1; text-decoration: underline; }

.cards{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:14px;
  margin-top:14px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding:12px;
}
.card h3{ margin:10px 0 6px; font-size:15px; }
.card p{ margin:0; color:var(--muted); font-size:13px; }

/* メンバーカード画像 */
.card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* 立ち絵想定（1024x1536） */
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
}

/* 画像そのもの */
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 顔を上に寄せる */
  display: block;
}

/* うっすら光を乗せる（星感） */
.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120px 160px at top right,
    rgba(180,200,255,.22),
    transparent 60%
  );
  pointer-events: none;
}

.story-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.story-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding:14px;
}
.story-card h3{ margin:0 0 6px; font-size:16px; }
.story-card p{ margin:0; color:var(--muted); font-size:13px; }

.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  color:var(--muted);
}
.footer-inner{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.muted{ opacity:.75; }

.about-box{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(255,255,255,0.10);
}

.story-full details{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.10);
  border-radius:18px;
  padding:12px 14px;
  margin-top:12px;
}

.story-full summary{
  cursor:pointer;
  font-weight:700;
  opacity:.95;
}

.story-full summary:hover{ opacity:1; }
.story-full p{ margin:10px 0 0; }


@media (max-width: 680px){
  .hero-inner{ grid-template-columns: 1fr; }

  /* スマホ順：ロゴ→KV→文章 */
  .hero-logo{ order: 0; }
  .hero-visual{ order: 1; }
  .hero-copy{ order: 2; }

  .cards{ grid-template-columns: repeat(2, 1fr); }
  .story-grid{ grid-template-columns: 1fr; }
}

