@charset "UTF-8";

/* カラーパレット（既存テーマから移植） */
:root {
  --bg: #0f1113;
  --panel: #121416;
  --muted: #9aa3ad;
  --text: #e6eef6;
  --accent: #ff9900;
  --accent-2: #ffb84d;
  --shadow: rgba(0,0,0,0.6);
}

/* ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #111;
  color: #ddd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* リンク */
a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

/* ヘッダー（ざっくり） *//* ===========================
   Header / Logo 強化 (Spotifyライト対応)
   =========================== */

.gmd-header {
    padding: 28px 0 16px;
  text-align: center;
  background: transparent;
}

.site-title a {

  font-size: 36px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
}

/* 下のライン */
.site-title a::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* サブタイトル（副題） */
.site-subtitle {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

/* SP 調整 */
@media (max-width: 768px) {
  .site-title a {
    font-size: 28px;
  }
  .site-title a::after {
    width: 44px;
    height: 2px;
    margin-top: 8px;
  }
  .site-subtitle {
    font-size: 13px;
  }
.gmd-header {
    padding: 6px 0;
}
}




/* メインコンテナ共通 */
.front-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px 40px;
}

/* セクション */
.front-section {
  margin-bottom: 20px;
}

/* 共通セクションタイトル */
.section-title {
  font-size: 1.75rem;
  margin: 0 0 24px;
  text-align: center;
  color: var(--text);
}

/* アルバムカード（アーカイブと共通） */
.soundtrack-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* PC: 4列 */
  gap: 20px;
}

@media (max-width: 768px) {
  .soundtrack-gallery {
    grid-template-columns: repeat(2, 1fr); /* SP: 2列 */
  }
}

.gallery-item {
  position: relative;
  display: block;
  background: var(--panel);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.65);
}

/* 画像を正方形でトリミング */
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

/* タイトル 2行省略 */
.gallery-item .item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;

  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.4;
  height: 2.8em;
}

.gallery-item:hover .item-title {
  opacity: 1;
}

/* 「もっと見る」ボタン */
.more-wrap {
  text-align: center;
  margin-top: 20px;
}

.btn-more {
  display: inline-block;
  padding: 12px 25px;
  background: #232f3e; /* 濃紺 */
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.2s ease;
  min-width: 200px;
}

.btn-more:hover {
  background: #37475a;
}





/* ================================
   FOOTER BASE
================================ */
.gmd-footer {
    background: #0d0f12; /* 少し深い黒 */
    padding: 40px 20px;
    margin-top: 80px; /* 他セクションと分離 */
    color: #ccc;
}

.gmd-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

/* ================================
   FOOTER NAV
================================ */
.gmd-footer-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gmd-footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: 0.2s ease;
    text-decoration: none;
}

.gmd-footer-nav a:hover {
    color: #fff;
}


/* ================================
   FOOTER SOCIAL (next to Contact)
================================ */
.gmd-footer-nav .footer-social-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;            /* X / note 間の詰め */
    margin-left: -12px;  /* nav全体のgap(28px)が効くので少し戻す（任意） */
    white-space: nowrap; /* X/noteが別行に割れない */
}

.gmd-footer-nav .footer-social-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;     /* navと統一 */
    text-decoration: none;
    transition: 0.2s ease;
}

.gmd-footer-nav .footer-social-links a:hover {
    color: #fff;
}

.gmd-footer-nav .footer-social-sep {
    color: rgba(255, 255, 255, 0.35);
}


/* ================================
   COPYRIGHT
================================ */
.gmd-footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ================================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 600px) {
    .gmd-footer {
        padding: 32px 16px;
    }
    .gmd-footer-nav {
        gap: 20px;
    }
}





/* =========================================================
 * Album Card Component
 *  - フロント最新アルバム
 *  - アルバム一覧（archive-soundtrack）
 *  - 検索結果（search）
 *  - タクソノミー一覧（game_title / series / maker / artist）
 * ======================================================= */

/* どのページでも使える汎用グリッド */
.gmd-album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* PC 4列 */
  gap: 20px;
}

/* スマホ・タブレットは 2列 */
@media (max-width: 768px) {
  .gmd-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* 1枚のカード */
.gmd-album-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #181a1f;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    background 0.16s ease-out;
}

/* 軽く浮かせる（ズーム無し） */
.gmd-album-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  background: #1d2027;
}

/* ジャケット部（正方形） */
.gmd-album-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gmd-album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト部 */
.gmd-album-body {
  padding: 8px 10px 9px;
  display: flex;
  align-items: flex-start;
}

/* タイトル：2行で省略表示 */
.gmd-album-title {
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
  color: #f7f7f7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.45em * 2);
}

/* 1行でも余白が“スカスカ”に見えないよう微調整 */
.gmd-album-body {
  min-height: 3.0em; /* 行数に関わらず、ある程度の厚みを確保 */
}


/* ============================
   Static Pages (About / Policy / Contact)
============================ */

.static-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* タイトルエリア */
.static-page-header {
  text-align: center;
  margin-bottom: 32px;
}

.static-page-title {
  font-size: 24px;            /* 22 -> 24 */
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 本文 */
.static-page-content {
  font-size: 15.5px;          /* 14 -> 15.5 */
  line-height: 1.9;           /* 2.0 -> 1.9 */
  color: #ddd;
}

/* 見出し */
.static-page-content h2 {
  margin-top: 56px;
  margin-bottom: 20px;
  font-size: 19px;            /* 17 -> 19 */
  font-weight: 600;
  border-left: 4px solid #777;
  padding-left: 14px;
}

.static-page-content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 16.5px;          /* 15 -> 16.5 */
  font-weight: 600;
}

/* 段落 */
.static-page-content p {
  margin-bottom: 18px;
}

/* リスト */
.static-page-content ul {
  margin: 16px 0 24px 20px;
}

.static-page-content li {
  margin-bottom: 10px;        /* 8 -> 10 */
  line-height: 1.85;          /* 追加：箇条書きの読みやすさ */
}

/* リンク */
.static-page-content a {
  color: #7aa2ff;
  text-decoration: underline;
}

.static-page-content a:hover {
  opacity: 0.85;
}

/* 商標注記（About / Policy のみで表示） */
.static-page-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.static-page-note-title {
  margin: 0 0 10px;
  font-weight: 600;
  color: #e0e0e0;
  letter-spacing: 0.02em;
}

.static-page-note-body {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 768px) {
  .static-page {
    padding: 48px 16px 72px;
  }

  .static-page-title {
    font-size: 22px;          /* 20 -> 22 */
  }

  .static-page-content {
    font-size: 15px;          /* 13.5 -> 15 */
    line-height: 1.85;        /* 追加 */
  }

  .static-page-content h2 {
    font-size: 18px;          /* 追加：SPでも見出しが埋もれない */
  }

  .static-page-content h3 {
    font-size: 16px;          /* 追加 */
  }
}
