/* Who We Are List Page Styles - ホームページの"本日のライブ"形式 */

/* パンくずナビ */
.breadcrumb {
    background-color: #111;
    padding: 25px 0;
    border-bottom: 1px solid #333;
}

.breadcrumb a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .separator {
    color: #666;
    margin: 0 10px;
}

.breadcrumb .current {
    color: #fff;
    font-weight: bold;
}

/* バンド一覧ヘッダー */
.bands-header {
    margin-bottom: 40px;
    text-align: center;
}

.bands-title {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 15px 0;
}

.bands-count {
    color: #ffcc00;
    font-size: 16px;
    font-weight: normal;
}

/* 絞り込み検索セクション */
.filter-section {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.filter-form {
    max-width: 100%;
}

.filter-row {
    display: flex;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.filter-select:disabled {
    background: #222;
    color: #666;
    cursor: not-allowed;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn-search {
    background: #ffcc00;
    color: #333;
}

.filter-btn-search:hover {
    background: #e6b800;
    transform: translateY(-1px);
}

.filter-btn-reset {
    background: #6c757d;
    color: white;
}

.filter-btn-reset:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 絞り込み検索のレスポンシブ対応 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        justify-content: center;
        margin-top: 10px;
    }
    
    .filter-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Who We Are専用バンド一覧（テーブル形式） */
.who-we-are-bands-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.who-we-are-header-table {
    display: grid;
    grid-template-columns: 80px 2.2fr 2.8fr 100px 100px 80px 120px 120px;
    gap: 15px;
    padding: 20px 40px;
    background-color: #444;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    /* .who-we-are-bands-listと完全に同じ制約を適用 */
    max-width: calc(1200px - 40px);
    margin: 0 auto 20px auto;
}

/* Who We Areヘッダー項目の個別配置調整 */
.who-we-are-header-table .header-photo {
    text-align: left;
    padding: 0;
    position: relative;
    left: -10px;
}

.who-we-are-header-table .header-name {
    text-align: left;
    padding: 0;
    position: relative;
    left: -10%;
}

.who-we-are-header-table .header-overview {
    text-align: left;
}

.who-we-are-header-table .header-region {
    text-align: left;
    padding: 0;
    position: relative;
    left: 50px;
}

.who-we-are-header-table .header-city {
    text-align: left;
    padding: 0;
    position: relative;
    left: 35px;
}

.who-we-are-header-table .header-year {
    text-align: left;
    padding: 0;
    position: relative;
    left: 30px;
}

.who-we-are-header-table .header-genre {
    text-align: center;
}

.who-we-are-header-table .header-subgenre {
    text-align: left;
    padding: 0;
    position: relative;
    left: 40px;
}

.who-we-are-band-item {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 80px 2.2fr 2.8fr 100px 100px 80px 120px 120px;
    gap: 15px;
    align-items: center;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.who-we-are-band-item:hover {
    background-color: #444;
}

/* バンド写真 */
.band-photo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.band-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    color: #666;
    font-size: 20px;
}

/* バンド名 */
.band-name a {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.band-name a:hover {
    color: #ffcc00;
}

.band-intro {
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
    line-height: 1.4;
}

/* その他の項目 */
.band-overview,
.band-region,
.band-city,
.band-year,
.band-genre,
.band-subgenre {
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.band-overview {
    text-align: left;
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
}

.band-genre,
.band-subgenre {
    color: #cccccc;
    font-size: 14px;
}

/* バンドが見つからない場合 */
.no-bands {
    text-align: center;
    padding: 80px 20px;
    color: #ccc;
}

.no-bands-icon {
    font-size: 64px;
    color: #666;
    margin-bottom: 30px;
}

.no-bands h3 {
    font-size: 28px;
    color: #fff;
    margin: 0 0 15px 0;
}

.no-bands p {
    font-size: 16px;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #ffcc00;
    color: #000;
}

/* ページネーション */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Laravelのページネーションスタイル */
.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: flex;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 45px;
}

.pagination a:hover {
    background-color: #ffcc00;
    color: #000;
}

.pagination .active span {
    background-color: #ffcc00;
    color: #000;
}

.pagination .disabled span {
    background-color: #222;
    color: #666;
    cursor: not-allowed;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .who-we-are-header-table,
    .who-we-are-band-item {
        grid-template-columns: 60px 2.5fr 1.5fr 100px 100px 80px 120px 120px;
        gap: 15px;
        padding: 15px;
    }
    
    .band-photo {
        width: 50px;
        height: 50px;
    }
    
    .who-we-are-header-table {
        font-size: 12px;
    }
    
    .band-name a {
        font-size: 16px;
    }
    
    .band-intro {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .bands-header-table {
        display: none;
    }
    
    .band-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
        padding: 20px;
    }
    
    .band-item > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #444;
    }
    
    .band-item > div:last-child {
        border-bottom: none;
    }
    
    .band-photo {
        width: 80px;
        height: 80px;
        margin: 0 auto 15px;
    }
    
    .band-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .band-name::before {
        content: "バンド名:";
        font-size: 12px;
        color: #ccc;
        font-weight: normal;
    }
    
    .band-members::before {
        content: "メンバー数:";
        font-size: 12px;
        color: #ccc;
    }
    
    .band-region::before {
        content: "地域:";
        font-size: 12px;
        color: #ccc;
    }
    
    .band-city::before {
        content: "活動都市:";
        font-size: 12px;
        color: #ccc;
    }
    
    .band-year::before {
        content: "結成年:";
        font-size: 12px;
        color: #ccc;
    }
    
    .band-genre::before {
        content: "ジャンル:";
        font-size: 12px;
        color: #ccc;
    }
    
    .band-subgenre::before {
        content: "サブジャンル:";
        font-size: 12px;
        color: #ccc;
    }
    
    .bands-title {
        font-size: 28px;
    }
    
    .bands-count {
        font-size: 14px;
    }
    
    .breadcrumb {
        padding: 10px 0;
        font-size: 12px;
    }
    
    .breadcrumb .separator {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 40px 10px;
    }
    
    .bands-title {
        font-size: 24px;
    }
    
    .band-photo {
        width: 60px;
        height: 60px;
    }
    
    .band-name a {
        font-size: 16px;
    }
    
    .band-intro {
        font-size: 11px;
    }
    
    .band-item {
        padding: 15px;
    }
    
    .no-bands {
        padding: 60px 15px;
    }
    
    .no-bands-icon {
        font-size: 48px;
    }
    
    .no-bands h3 {
        font-size: 24px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 14px;
    }
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.band-item {
    animation: fadeInUp 0.4s ease-out;
}

.band-item:nth-child(1) { animation-delay: 0.05s; }
.band-item:nth-child(2) { animation-delay: 0.1s; }
.band-item:nth-child(3) { animation-delay: 0.15s; }
.band-item:nth-child(4) { animation-delay: 0.2s; }
.band-item:nth-child(5) { animation-delay: 0.25s; }
.band-item:nth-child(6) { animation-delay: 0.3s; }
.band-item:nth-child(7) { animation-delay: 0.35s; }
.band-item:nth-child(8) { animation-delay: 0.4s; }
.band-item:nth-child(9) { animation-delay: 0.45s; }
.band-item:nth-child(10) { animation-delay: 0.5s; }

/* カスタムページネーション */
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-info {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.custom-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-pagination .pagination li {
    display: flex;
}

.custom-pagination .pagination a,
.custom-pagination .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 45px;
    font-size: 14px;
}

.custom-pagination .pagination a:hover {
    background-color: #ffcc00;
    color: #000;
}

.custom-pagination .pagination .active span {
    background-color: #ffcc00;
    color: #000;
}

.custom-pagination .pagination .disabled span {
    background-color: #222;
    color: #666;
    cursor: not-allowed;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .pagination-info {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .custom-pagination .pagination a,
    .custom-pagination .pagination span {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 12px;
    }
}