/**
 * H/MIX GALLERY — info-page.css
 * 情報ページ共通スタイル（Terms / Composer / Contact / History）
 * 演出より可読性・信頼感を優先する
 */

/* ─── ダークテーマ変数スコープ（library-page--dark 依存）─── */
body.library-page--dark {
  background-color: var(--color-bg, #0b1510);
  color: var(--color-text, #e8f5ec);
}

/* ─── ページヒーロー ─── */
.info-hero {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(100, 180, 130, 0.12);
}

.info-hero__eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--color-text-dim, #6e8f76);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.info-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-green-light, #9adfb4);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.info-hero__title-ja {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--color-text-dim, #6e8f76);
  margin-top: 0.4rem;
}

.info-hero__updated {
  font-size: 0.68rem;
  color: var(--color-text-dim, #6e8f76);
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

/* ─── コンテンツレイアウト ─── */
.info-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ─── パンくず ─── */
.info-breadcrumb {
  font-size: 0.70rem;
  color: var(--color-text-dim, #6e8f76);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
}
.info-breadcrumb a {
  color: var(--color-text-dim, #6e8f76);
  text-decoration: none;
}
.info-breadcrumb a:hover {
  color: var(--color-green-light, #9adfb4);
}
.info-breadcrumb span {
  margin: 0 0.5em;
  opacity: 0.45;
}

/* ─── セクション ─── */
.info-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(100, 180, 130, 0.08);
}
.info-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-section__heading {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-green-light, #9adfb4);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.info-section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text, #e8f5ec);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.info-section__body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--color-text-muted, #b0c8b8);
}

.info-section__body p {
  margin-bottom: 1em;
}
.info-section__body p:last-child {
  margin-bottom: 0;
}

/* ─── h3 小見出し ─── */
.info-h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--color-text, #e8f5ec);
  letter-spacing: 0.06em;
  margin: 1.75rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-green, #7ecb95);
}

/* ─── リスト ─── */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}
.info-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted, #b0c8b8);
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
}
.info-list li::before {
  content: '·';
  position: absolute;
  left: 0.3rem;
  color: var(--color-green, #7ecb95);
}

/* ─── 注記ボックス ─── */
.info-note {
  background: rgba(100, 200, 140, 0.06);
  border: 1px solid rgba(100, 180, 130, 0.18);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-dim, #6e8f76);
  line-height: 1.8;
  margin: 1.25rem 0;
}
.info-note strong {
  color: var(--color-green-light, #9adfb4);
  font-weight: 500;
}

/* ─── 料金テーブル ─── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.85rem;
}
.info-table th {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  color: var(--color-text-dim, #6e8f76);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(100, 180, 130, 0.18);
}
.info-table td {
  padding: 0.65rem 0.75rem;
  color: var(--color-text-muted, #b0c8b8);
  border-bottom: 1px solid rgba(100, 180, 130, 0.06);
  line-height: 1.6;
}
.info-table td:last-child {
  color: var(--color-green-light, #9adfb4);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.info-table tr:last-child td {
  border-bottom: none;
}

/* ─── フォームフレーム ─── */
.info-form-block {
  background: rgba(14, 26, 18, 0.80);
  border: 1px solid rgba(100, 180, 130, 0.16);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.25rem 0;
}

.info-form-row {
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-muted, #b0c8b8);
  line-height: 1.7;
}
.info-form-row strong {
  color: var(--color-text, #e8f5ec);
  font-weight: 500;
}

/* ─── ボタン ─── */
.info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.80rem;
  letter-spacing: 0.08em;
  color: rgba(120, 210, 155, 0.88);
  background: rgba(40, 100, 65, 0.15);
  border: 1px solid rgba(80, 160, 110, 0.30);
  border-radius: 3px;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  margin-top: 1rem;
}
.info-btn:hover {
  color: rgba(160, 235, 190, 0.96);
  border-color: rgba(100, 190, 140, 0.55);
  background: rgba(50, 120, 80, 0.25);
  box-shadow: 0 0 10px rgba(80, 180, 120, 0.15);
  text-decoration: none;
}
.info-btn--amber {
  color: rgba(210, 148, 62, 0.88);
  background: rgba(140, 90, 18, 0.12);
  border-color: rgba(200, 130, 45, 0.30);
}
.info-btn--amber:hover {
  color: rgba(255, 184, 88, 0.96);
  border-color: rgba(255, 148, 45, 0.50);
  background: rgba(160, 100, 18, 0.22);
  box-shadow: 0 0 10px rgba(255, 160, 60, 0.18);
}

/* ─── 区切り線 ─── */
.info-divider {
  border: none;
  border-top: 1px solid rgba(100, 180, 130, 0.08);
  margin: 2rem 0;
}

/* ─── プロフィール専用 ─── */
.composer-profile {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.composer-profile__emblem {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(100, 180, 130, 0.25);
  background: rgba(14, 26, 18, 0.90);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.composer-profile__emblem-text {
  font-family: 'Cinzel', serif;
  font-size: 0.90rem;
  letter-spacing: 0.10em;
  color: var(--color-green-light, #9adfb4);
}

.composer-profile__emblem-year {
  font-size: 0.55rem;
  letter-spacing: 0.10em;
  color: var(--color-text-dim, #6e8f76);
  font-family: 'Noto Sans JP', sans-serif;
}

.composer-profile__info {
  flex: 1;
  min-width: 0;
}

.composer-profile__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text, #e8f5ec);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.composer-profile__name-en {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-text-dim, #6e8f76);
  margin-bottom: 1rem;
}

.composer-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.composer-profile__tag {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--color-green, #7ecb95);
  background: rgba(100, 200, 140, 0.08);
  border: 1px solid rgba(100, 180, 130, 0.20);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
}

/* ─── 更新履歴テーブル ─── */
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-list__item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(100, 180, 130, 0.06);
  font-size: 0.85rem;
  line-height: 1.7;
}
.history-list__item:last-child {
  border-bottom: none;
}
.history-list__date {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--color-text-dim, #6e8f76);
  padding-top: 0.2rem;
}
.history-list__desc {
  color: var(--color-text-muted, #b0c8b8);
}
.history-list__desc strong {
  color: var(--color-text, #e8f5ec);
  font-weight: 500;
  display: block;
  margin-bottom: 0.1rem;
}

/* ─── 年グループ見出し ─── */
.history-year {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--color-green, #7ecb95);
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(100, 180, 130, 0.14);
}
.history-year:first-child {
  margin-top: 0;
}

/* ─── SNSリンク ─── */
.info-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ─── レスポンシブ ─── */
@media (max-width: 560px) {
  .info-hero {
    padding: 4rem 1.25rem 2rem;
  }
  .info-body {
    padding: 2rem 1.25rem 5rem;
  }
  .composer-profile {
    flex-direction: column;
    gap: 1.5rem;
  }
  .info-table th,
  .info-table td {
    padding: 0.5rem 0.5rem;
    font-size: 0.80rem;
  }
  .history-list__item {
    grid-template-columns: 5rem 1fr;
  }
}
