/* ΣE研 共通スタイルシート / Sigma_E Lab Shared Stylesheet */
:root {
  --bg:        #080c18;
  --bg2:       #0f1422;
  --bg3:       #161d30;
  --cyan:      #00d8ff;
  --magenta:   #e040fb;
  --gold:      #f0c040;
  --text:      #dde3f0;
  --text-muted:#8892aa;
  --border:    rgba(0,216,255,0.15);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 60px;
  background: rgba(8,12,24,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--cyan); text-decoration: none;
  display: flex; align-items: baseline; gap: 0.4rem;
}
.logo span { color: var(--text); font-size: 0.75rem; font-weight: 300; }
nav { display: flex; gap: 1.5rem; }
nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.05em; transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--cyan); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  flex-direction: column; align-items: center;
  background: rgba(8,12,24,0.97);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); text-decoration: none;
  padding: 0.9rem 2rem; width: 100%; text-align: center;
  font-size: 1rem; border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: var(--bg2); color: var(--cyan); }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: 60px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(to bottom, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; line-height: 1.3;
}
.page-hero h1 em {
  display: block; margin-top: 0.3rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.08em; color: var(--text-muted);
}
.page-hero p {
  margin-top: 0.8rem; font-size: 0.88rem; color: var(--text-muted); max-width: 700px;
}

/* ── MAIN CONTENT ── */
main { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

/* ── SECTION ── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; line-height: 1.3;
  margin-bottom: 0.3rem;
}
.section-title-en {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.1em; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.divider {
  width: 36px; height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--magenta));
  margin-bottom: 2rem;
}

/* ── CARDS ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(0,216,255,0.35); transform: translateY(-3px); }
.card-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ── TABLE ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.info-table th, .info-table td {
  padding: 0.8rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  color: var(--cyan); font-weight: 500; white-space: nowrap;
  width: 120px; font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em; font-size: 0.82rem;
}
.info-table a { color: var(--cyan); text-decoration: none; }
.info-table a:hover { text-decoration: underline; }

/* ── QUOTE ── */
.quote-block {
  border-left: 3px solid var(--cyan);
  padding: 1.2rem 1.5rem; margin: 1.5rem 0;
  background: rgba(0,216,255,0.04);
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem; line-height: 1.9; color: var(--text);
}
.quote-block em {
  display: block; margin-top: 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic; font-size: 0.82rem; color: var(--text-muted);
}

/* ── KEYWORD ── */
.kw {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 2px;
  border: 1px solid var(--border); font-size: 0.74rem;
  letter-spacing: 0.04em; color: var(--cyan);
  background: rgba(0,216,255,0.05); margin: 0.2rem 0.2rem 0.2rem 0;
}
.kw-list { margin: 1rem 0; }

/* ── BUTTON ── */
.btn {
  display: inline-block; padding: 0.7rem 1.6rem;
  font-size: 0.82rem; letter-spacing: 0.08em; font-weight: 500;
  text-decoration: none; border-radius: 2px; transition: 0.25s; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem; text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a {
  font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 0.72rem; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  main { padding: 2rem 1rem 4rem; }
  .info-table th { width: 90px; }
}
