﻿.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.seimitsu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    table-layout: fixed;

}

.seimitsu-table th,
.seimitsu-table td {
    border: 1px solid #ccc;
    padding: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seimitsu-table th {
    font-size: 10px;
    padding: 2px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    text-overflow: clip;
    position: relative;
    height: 30px;
}

/*テーブル列変更設定*/
.resizable {
    position: relative; 
}

.resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
}

.resize-handle:hover {
    background: #999;
}

/*テーブル詳細設定*/
.seimitsu-table col[data-col="0"] {
    width: 100px;
}

/* 曲名 */
.seimitsu-table col[data-col="1"] {
    width: 150px;
}

/* アーティスト */
.seimitsu-table col[data-col="2"] {
    width: 150px;
}

/* 点数 */
.seimitsu-table col[data-col="4"] {
    width: 50px;
}

/* その他 */
.seimitsu-table col[data-col="3"] {
    width: 30px;
}

/*ヘッダー部設定*/

.clear-filter-link {
    display: block;
    text-align: left;
}

.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.left-area {
    text-align: left;
}

.right-area {
    text-align: right;
}

.textarea {
    display: flex;
    align-items: center;
    gap: 10px;
}

.textarea-box {
    flex: 1;
}

.textarea-box input {
    width: 100%;
    box-sizing: border-box;
}


/*Card-UI*/
.score-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.15);

    border: 1px solid #ddd;
}

.song-name {
    font-size: 20px;
    font-weight: bold;
    color: #2b6ea6;
    margin-bottom: 5px;
}

.artist-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.total-score {
    font-size: 24px;
    font-weight: bold;
    color: #2b6ea6;
    margin-bottom: 10px;
}

.chart-sum {
    font-size: 16px;
    margin-bottom: 5px;
}

.radar-area {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.score-date {
    font-size: 12px;
    color: #888;
}

/* UI 設定*/

.pc-table {
    display: block;
}

.mobile-card {
    display: none;
}

@media (max-width: 768px) {

    .pc-table {
        display: none;
    }

    .mobile-card {
        display: block;
    }

    .song-name a {
    color: #2b6ea6;
    text-decoration: none;
    }

    .song-name a:hover {
        text-decoration: underline;
    }
}