@charset "utf-8";

/* ==========================================================
    GSAP用 描画最適化（アニメーションを滑らかに）
========================================================== */
.title h1,
.feature-text,
.table-text {
    will-change: transform, opacity, filter;
}


/* ==========================================================
    切り替えタブボタンのモダン化
========================================================== */
.tab-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-block;
    min-width: 200px;
    padding: 14px 24px;
    border-radius: 30px;
    background-color: #444444;
    /* 非アクティブ時は少し落ち着いたグレー */
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* 軽い影 */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-decoration: none;
}

/* アクティブ（選択中）のタブ */
.tab-btn.active {
    background-color: #ff77ff;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(255, 119, 255, 0.35);
    /* ピンクのグロウ（発光）エフェクト */
    transform: translateY(-2px);
    /* 少しだけ浮き上がる */
}

/* ホバー（マウスオーバー）時の動き */
.tab-btn:hover:not(.active) {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.tab-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* ==========================================================
    テーブル（表）のモダン化
========================================================== */
.table-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    background-color: #333333;
    /* 背景色より少し明るいグレーでカード状にする */
    border-radius: 12px;
    /* 角丸 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* 全体にフワッとした影 */
    padding: 20px 30px;
    overflow-x: auto;
    /* スマホ等で表がはみ出た場合は横スクロールさせる */
}

.table-text table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
    color: #e0e0e0;
}

/* 各セルの余白と下線 */
.table-text th,
.table-text td {
    padding: 20px 15px;
    border-bottom: 1px solid #4a4a4a;
    vertical-align: middle;
}

/* 最後の行は下線を消す */
.table-text tr:last-child th,
.table-text tr:last-child td {
    border-bottom: none;
}

/* --- 見出し行（一番上の行） --- */
.table-text tr:first-child th,
.table-text tr:first-child td {
    font-weight: bold;
    color: #ff77ff;
    /* アクセントカラー */
    border-bottom: 2px solid #ff77ff;
    /* 少し太めの線で区切る */
    padding-bottom: 15px;
}

/* --- 文字の揃え位置の調整 --- */
/* 作品名（一番左の列）は長いため「左揃え」にするのが今風のセオリー */
.table-text tr th:first-child,
.table-text tr td:first-child {
    text-align: left;
    font-weight: bold;
    width: 45%;
    /* 作品名の列幅を広めに確保 */
    line-height: 1.6;
}

/* --- 行のホバーエフェクト --- */
.table-text tr:not(:first-child) {
    transition: background-color 0.2s ease;
}

.table-text tr:not(:first-child):hover {
    background-color: rgba(255, 119, 255, 0.08);
    /* マウスを乗せるとうっすらピンクに光る */
}

/* --- リンクボタン（動画表示・ダウンロード用） --- */
.table-text a.yt,
.table-text a.dl-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #3f98ef;
    /* 青系のボタンカラー */
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

/* ホバー時のアクション */
.table-text a.yt:hover,
.table-text a.dl-btn:hover {
    background-color: #297acc;
    transform: scale(1.05);
    /* 少し大きくしてクリックを促す */
}


/* ==========================================================
    モバイル（スマホ）用調整
========================================================== */
@media (max-width: 800px) {
    .tab-buttons {
        gap: 15px;
    }

    .tab-btn {
        min-width: 100%;
        /* スマホでは縦並びにして押しやすく */
    }

    .table-text {
        padding: 15px 10px;
        border-radius: 8px;
    }

    .table-text th,
    .table-text td {
        padding: 15px 10px;
        font-size: 13px;
        /* スマホでも表が潰れないように最低幅を確保 */
        white-space: nowrap;
    }

    /* 作品名だけは折り返しを許可 */
    .table-text tr th:first-child,
    .table-text tr td:first-child {
        white-space: normal;
        min-width: 180px;
    }
}