﻿/* リーググリッド - 2×2レイアウト */
.league-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* モバイルはデフォルトで1列 */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .league-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列グリッドに変更 */
    }
}

/* 横長カードデザイン */
.league-card {
    display: flex;
    flex-direction: column; /* モバイルではデフォルトで縦並び */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 280px
}

@media (min-width: 768px) {
    .league-card {
        flex-direction: row; /* タブレット以上では横並び */
    }
}

/* リーグ番号 */
.league-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 900;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* リーグ画像 */
.league-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 180px;
}

@media (min-width: 768px) {
    .league-image {
        width: 40%; /* タブレット以上では横幅40% */
        min-height: unset;
    }
}

.league-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* リーグコンテンツ */
.league-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1.5;
}

.league-title-area {
    margin-bottom: 15px;
}

.league-title {
    margin: 0;
    line-height: 1.3;
}

.league-name-jp {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 5px;
}

.league-name-en {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* リーグごとのカラー設定 */

.japan-league {
    background: rgba(255, 0, 0, 0.08);
}

.colosseum-league {
    background: rgba(255, 215, 0, 0.1);
}

.fresh-league {
    background: rgba(255, 0, 255, 0.08);
}

.bigbang-league {
    background: rgba(16, 35, 255, 0.08);
}

/* リーグタグライン */
.league-tagline {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-light);
    opacity: 0.9;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* リーグフッター */
.league-footer {
    margin-top: auto;
    text-align: right;
    padding-top: 15px;
}

.league-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .league-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

.league-card:hover {
    transform: translateY(-10px);
}

/* 注釈セクション */
.league-info-note {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

    .league-info-note p {
        flex: 1;
        margin: 0;
        font-size: 1.05rem;
        color: var(--text-light);
        line-height: 1.6;
    }

/* 背景グラフィック要素 */
.league-graphics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.orbit-1 {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
    animation: rotate 60s linear infinite;
}

.orbit-2 {
    width: 700px;
    height: 700px;
    bottom: -350px;
    right: -350px;
    animation: rotate-reverse 80s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* レスポンシブ調整 */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2.5rem;
    }

    .league-info-note {
        flex-direction: column;
        text-align: center;
    }

    .league-card {
        flex-direction: column;
    }

    .league-image {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .league-name-jp {
        font-size: 1.2rem;
    }

    .league-name-en {
        font-size: 0.75rem;
    }
}


/* リーグ概要エリア */
.league-overview {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 30px;
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.overview-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.overview-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

    .overview-features li {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

        .overview-features li:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-3px);
        }

    .overview-features h4 {
        margin: 0 0 8px 0;
        font-size: 1.15rem;
        color: var(--light-color);
        font-weight: 700;
    }

    .overview-features p {
        margin: 0;
        font-size: 1rem;
        line-height: 1.6;
        opacity: 0.9;
    }

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .league-overview {
        padding: 25px 20px;
    }

    .overview-features li {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
    }

    .overview-features i {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .overview-lead {
        font-size: 1.3rem;
    }

    .overview-features h4 {
        font-size: 1.1rem;
    }

    .overview-features p {
        font-size: 0.95rem;
    }
}
