/* chip-makers.org — gateway page */
/* 色は紺・白・グレーの三色に絞る。ピンク／グリーンはロゴ(favicon)の中だけ。 */
/* 線とボタンは紺で引き締める。独立CSS。tech-scout.css等には依存しない。 */

:root {
  --bg: #ffffff;
  --ink: #14213d;       /* 引き締めた紺（本文・見出し） */
  --dim: #5a6b86;       /* サブテキスト */
  --faint: #8a97ac;     /* 注記 */
  --line: #e3e8f0;      /* 極細の罫（グレー1本） */
  --ink-hover: #0d1730;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }

header {
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.site-name img { height: 20px; width: auto; display: block; }

.lang-switch { font-size: 0.82rem; display: flex; gap: 0.5rem; align-items: center; }
.lang-switch a { color: var(--dim); font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch .current { color: var(--faint); }
.lang-switch .sep { color: var(--line); }

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}

.gate { max-width: 620px; text-align: center; }

.hero-mark {
  width: 88px;
  height: auto;
  margin: 0 auto 1.6rem;
  display: block;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 1.6rem;
  color: var(--ink);
}

/* 合図（符牒）：飾りなし。字間を開けて紺で凛と一行だけ置く */
.aizu {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin: 0 0 2.4rem;
}

.subtitle {
  color: var(--dim);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  margin: 0 0 2.6rem;
}

.about {
  color: var(--dim);
  font-size: 0.92rem;
  text-align: left;
  line-height: 1.95;
  margin: 0 auto 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

/* ボタン：塗りなしの紺枠。ホバーで紺が埋まる（反転） */
.enter {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.18s ease, color 0.18s ease;
}
.enter:hover { background: var(--ink); color: #fff; }

.note { color: var(--faint); font-size: 0.78rem; margin-top: 1.3rem; letter-spacing: 0.01em; }

footer {
  padding: 1.3rem 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--faint);
  font-size: 0.78rem;
}
footer a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line); }
footer a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  .aizu { font-size: 1rem; }
  .hero-mark { width: 72px; }
  main { padding: 3.5rem 1.2rem; }
  footer { flex-direction: column; gap: 0.4rem; }
}
