/* ==========================================================================
   K-SONG.JP 共通・完全版スタイルシート (index.css)
   Theme: Cyber Green (Post-Red Update)
   ========================================================================== */

:root {
    --accent: #00ff94;   /* 鮮烈なエレクトリック・グリーン */
    --accent-rgb: 0, 255, 148; /* 背景透過用RGB */
    --bg: #0a0a0a;       /* 漆黒 */
    --card-bg: #1a1a1a;   /* 濃いグレー */
    --border-color: #333;
    --text: #ffffff;
    --gray: #888;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- ヘッダー --- */
header {
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 2px solid var(--accent); /* グリーン・アンダーライン */
    padding: 0.3rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo { 
    text-decoration: none; 
    letter-spacing: 2px; 
    font-weight: 900; 
}
.logo-main { color: #fff; font-size: 1.5rem; }
.logo-sub { color: var(--accent); font-size: 1.5rem; }

/* 検索フォーム */
.search-form {
    display: flex;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 2px 10px;
    transition: 0.3s;
}

.search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
}

.search-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    outline: none;
    font-size: 0.85rem;
    width: 180px;
}

.search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: 0.3s;
}
.search-form button:hover { opacity: 1; transform: scale(1.1); }

/* --- コンテナ --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ヒーローセクション (アーカイブページ) --- */
.hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(rgba(0, 255, 148, 0.05), rgba(10, 10, 10, 1));
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
}

.lead-text-hero {
    color: var(--gray);
    letter-spacing: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- カテゴリーナビ --- */
.archive-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3.5rem;
}

.archive-nav a {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    text-decoration: none;
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.archive-nav a.active, .archive-nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
}

/* --- 動画グリッド (3列) --- */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 4rem;
}

.archive-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.archive-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-thumb iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.video-info { padding: 18px; }

.v-type-tag {
    display: inline-block;
    font-size: 0.6rem;
    background: #333;
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

.v-title {
    font-size: 0.95rem;
    font-weight: bold;
    height: 3em;
    line-height: 1.5;
    overflow: hidden;
    margin-bottom: 12px;
    color: #eee;
}

.v-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--gray);
    border-top: 1px solid #2a2a2a;
    padding-top: 10px;
}

/* --- ページネーション --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 6rem;
}

.pagination a {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
    text-decoration: none; color: #fff; border-radius: 50%;
    transition: 0.3s;
}

.pagination a.active { 
    background: var(--accent); 
    border-color: var(--accent); 
    color: #000; /* 緑背景には黒文字が一番見やすい */
    font-weight: bold;
}

.pagination a:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

.paging-dots { color: #444; padding: 0 5px; }

/* --- トップページ：ヒーロー --- */
.top-hero {
    padding: 9rem 1rem 6rem;
    text-align: center;
    background: radial-gradient(circle at center, #0d1a14 0%, #0a0a0a 100%);
}

.top-lead {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 6px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.top-hero h2 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
}

.section-title {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin: 4rem 0 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    font-weight: 900;
}

/* --- アーティストグリッド --- */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 6rem;
}

.artist-card {
    position: relative;
    height: 160px;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artist-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.2);
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: 0.6s;
}

.artist-card:hover .card-bg {
    filter: grayscale(0%) brightness(0.6);
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(10,10,10,1), transparent);
}

.artist-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.update-tag {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 6px;
}

/* アーティスト情報を緑色のアクセントカラーに変更 */
.artist-name { 
    color: var(--accent); /* ここを白から緑っぽ色に変更 */
    font-weight: bold; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    transition: color 0.3s ease; /* ホバー時に色を変えるなら */
}

/* ホバーした時に少し明るくしたり、白くしたりする演出を追加する場合 */
.artist-card:hover .artist-name {
    color: #fff; /* ホバー時は白く光るようにする（お好みで） */
}

/* --- アーティスト紹介 (Bio) --- */
.artist-bio-section {
    margin-bottom: 60px;
}

.bio-card {
    background: #121212;
    border-left: 5px solid var(--accent);
    padding: 35px;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.bio-title {
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 4px;
    font-weight: 900;
    margin-bottom: 20px;
}

.bio-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #ccc;
    margin-bottom: 25px;
}

.bio-meta {
    display: flex;
    gap: 30px;
    font-size: 0.8rem;
    color: var(--gray);
    border-top: 1px solid #222;
    padding-top: 20px;
}

.bio-meta strong { color: var(--accent); margin-right: 5px; }

.bio-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
}
.bio-link:hover { border-bottom-color: var(--accent); }

/* --- フッター --- */
footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: 1px solid #111;
    margin-top: 100px;
}

.footer-content { text-align: center; }

.footer-logo { margin-bottom: 30px; font-weight: 900; letter-spacing: 3px; }

.footer-disclaimer {
    font-size: 0.7rem;
    color: #555;
    line-height: 2;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--accent); }

.copyright {
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 2px;
}

/* --- サイト全体のアクセシビリティ向上 --- */
.site-footer {
    background-color: #000000 !important;
    color: #BBBBBB !important; /* コントラスト確保 */
}

.admin-link {
    color: #2ecc71 !important; /* 視認性の高いグリーン */
    font-weight: bold;
    text-decoration: underline;
}

.site-footer p {
    color: #CCCCCC !important;
}

/* 楽曲ボタンのコンテナ（横に並べる設定） */
.shortcut-links {
    display: flex;
    flex-wrap: wrap; /* 画面幅が狭くなったら自動で折り返す */
    gap: 12px;      /* ボタン同士の隙間 */
    margin: 20px 0 40px;
    justify-content: flex-start;
}

/* ゴールドボタンの見た目 */
.btn-gold {
    display: inline-block;
    padding: 12px 20px;
    background-color: #1a1a1a; /* 背景は黒っぽく */
    color: #d4af37;           /* 文字はゴールド */
    border: 1px solid #d4af37; /* ゴールドの枠線 */
    border-radius: 5px;       /* 角を少し丸く */
    text-decoration: none;    /* 下線を消す */
    text-align: center;
    transition: all 0.3s ease; /* マウスを乗せた時の動きを滑らかに */
    min-width: 120px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ボタンの中の英語名（smallタグ） */
.btn-gold small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* マウスを乗せた（ホバー）時の変化 */
.btn-gold:hover {
    background-color: #d4af37; /* 背景をゴールドに */
    color: #000;              /* 文字を黒に */
    transform: translateY(-2px); /* 少し上に浮き上がる */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); /* 光らせる */
}

/* セクションタイトルの装飾 */
.section-title {
    color: #d4af37;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
    margin: 40px 0 20px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 900px) {
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .archive-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .top-hero h2 { font-size: 2.8rem; }
    .header-inner { flex-direction: column; gap: 15px; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
}