/* ============================================================
   common.css — 株式会社ミナッティ 共通スタイル
   index.html / company.html 両ページで読み込む
   ============================================================ */

/* ===== CSS変数 ===== */
:root {
  --bg:          #0d0d0d;
  --bg2:         #111111;
  --bg3:         #161616;
  --surface:     #1c1c1c;
  --border:      #2e2e2e;
  --accent:      #e8ff47;
  --accent-dim:  rgba(232, 255, 71, 0.12);
  --white:       #ffffff;
  --text:        #cccccc;
  --text-strong: #eeeeee;
  --text-muted:  #777777;
  --font-display: 'Syne', sans-serif;
--font-heading: 'Bebas Neue', 'Syne', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;
}

/* ===== リセット ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
}

/* ===== ナビゲーション ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.82; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}
/* モバイルメニュー展開時 */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 57px; left: 0; right: 0;
  background: rgba(11, 11, 11, 0.98);
  padding: 28px 28px 36px;
  gap: 20px;
  z-index: 199;
  border-bottom: 1px solid var(--border);
}
.nav-links.open a { font-size: 0.9rem; }

/* ===== ボタン ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(232, 255, 71, 0.22);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== セクション共通 ===== */
section { padding: 120px 48px; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title .en {
  font-family: var(--font-heading);
  font-weight: 400;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  color: var(--white);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.section-bar {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin: 22px 0;
}
.section-lead {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2.1;
  max-width: 640px;
}

/* ===== タグ ===== */
.tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(232, 255, 71, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===== フッター ===== */
footer {
  background: #090909;
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
}
.footer-logo span { color: var(--white); }
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.74rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ===== アニメーション ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s, transform 0.75s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== レスポンシブ共通 ===== */
@media (max-width: 920px) {
  nav { padding: 16px 22px; }
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 80px 22px; }
  footer { padding: 32px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
/* ===== AIセクション カラーオーバーライド ===== */
#ai {
  --accent: #47f0ff;
  --accent-dim: rgba(71, 240, 255, 0.12);
}
/* ===== クリエイターセクション カラーオーバーライド ===== */
#creator {
  --accent: #ff47c8;
  --accent-dim: rgba(255, 71, 200, 0.12);
}
#creator  .tag{
  border: 1px solid rgba(235, 80, 255, 0.3);
}