/* =========================================================
   NOJI — 共通テーマファイル  noji-base.css
   各 HTML ファイルの </style> タグの直後に読み込む。
   インラインスタイルより後に来るため、変数を正しく上書きする。
   ========================================================= */

/* ── Premium Japanese font: Shippori Mincho B1 ── */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;600&display=swap');

/* ─────────────────────────────────────────────────────────
   カラー変数の更新（視認性を大幅に改善）
   ───────────────────────────────────────────────────────── */
:root {
  /* 本文テキスト: 0.40 → 0.72（コントラスト向上） */
  --t2: rgba(224, 221, 217, 0.72);
  /* ラベル・補足: 0.18 → 0.40（判読性確保） */
  --t3: rgba(224, 221, 217, 0.40);
  /* 極細ライン: 0.08 → 0.13 */
  --t4: rgba(224, 221, 217, 0.13);
  /* BeArise アクセント: 0.44 → 0.68 */
  --ba-t: rgba(200, 220, 204, 0.68);
  /* おいのりさま アクセント: 0.40 → 0.68 */
  --oi-t: rgba(218, 202, 155, 0.68);
  /* 明朝体フォント変数 */
  --fs: 'Shippori Mincho B1', 'Noto Serif JP', Georgia, serif;
}

/* ─────────────────────────────────────────────────────────
   本文・説明文 → 高品質明朝体に変更
   UI要素（ロゴ・ナビ・ラベル）はそのまま Zen Kaku Gothic New
   ───────────────────────────────────────────────────────── */

/* TOP ページ: Artist Statement 本文 */
.statement-body {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 0.06em;
  line-height: 2.1;
}

/* BeArise / おいのりさま: ストーリー本文 */
.story {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.06em;
  line-height: 2.2;
  white-space: pre-line;
}

.story-jp {
  font-family: var(--fs);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 2.2;
}

.story-en {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.04em;
  line-height: 2.0;
}

/* About: ステートメント・プロフィール本文 */
.statement-text {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.05em;
  line-height: 2.2;
}

.bio-text {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.05em;
  line-height: 2.3;
}

/* Education: 理念文・情報テキスト */
.philosophy {
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.05em;
  line-height: 2.2;
}

.info-content {
  font-family: var(--fs);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.0;
}

/* 展示歴: タイトル */
.history-title {
  font-family: var(--fs);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

/* CTA テキスト（フォームへのリード） */
.cta-text {
  font-family: var(--fs);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

/* Contact: リードコピー */
.ci-lead {
  font-family: var(--fs);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.9;
}

/* ─────────────────────────────────────────────────────────
   ライトボックス（BeArise・おいのりさま共通）
   ───────────────────────────────────────────────────────── */
.noji-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 19, 22, 0.97);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.noji-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.noji-lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}
.noji-lb-close {
  position: fixed;
  top: 28px;
  right: 36px;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 3px;
  color: var(--t2);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--f);
  transition: color 0.2s;
}
.noji-lb-close:hover { color: var(--t1); }
.noji-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t2);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--f);
  transition: color 0.2s;
  padding: 20px;
}
.noji-lb-nav:hover { color: var(--t1); }
.noji-lb-prev { left: 16px; }
.noji-lb-next { right: 16px; }
