@charset "UTF-8";

/* 全体の設定 */
html {
    scroll-behavior: smooth;
}
body {
    font-size: 100%;
    font-family: sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #000;
    line-height: 1.7;
}

/* リンク */
a {
    font-weight: bold;
    text-decoration: none;
    color: #007BFF;
    transition: .3s;
}
a:hover {
    color: #f22;
}

/* コンテンツコンテナ */
.contents-container {
    display: flex;
}

/* アサイドコンテナ */
.aside-container {
    padding: 100px 30px 0;
    flex-basis: 25%;
}

/* ナビゲーションコンテナ */
.nav-container {
    font-size: calc(0.5vw + 0.9rem);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    list-style: none;
    position: fixed;
}
.nav-container li {
    border: 2px solid #432;
    padding: 20px;
    border-radius: 10px;
}
.nav-container li a {
    display: block;
}

/* メインコンテナ */
main {
    flex-basis: 75%;
    max-width: 960px;
}
main h2 {
    font-size: calc(0.5vw + 1.2rem);
    color: #e33;
    padding: 5px 0;
    margin: 15px 0;
    border-bottom: 3px solid #e33;
    border-top: 3px solid #e33;
}
main p {
    font-size: calc(0.5vw + 0.9rem);
    font-weight: bold;
}

/* チーム分けコンテナ */
.team-divide-container {
    margin: 50px 0;
}
.inner-team-divide-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    margin: 15px 0;
}
.inner-team-divide-container textarea {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #000;
}
.inner-team-divide-container button {
    font-size: calc(0.5vw + 1.1rem);;
    font-weight: bold;
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin-left: 20px;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}
.inner-team-divide-container button:hover {
    color: #f22;
}
.team-divide-result-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.team-divide-result-container h3 {
    margin-top: 20px;
    font-size: calc(0.5vw + 1.0rem);;
}
.team-divide-result-container .team {
    font-size: calc(0.5vw + 0.9rem);;
}

/* ビンゴコンテナ */
.bingo-make-container {
    margin: 50px 0;
}
.bingo-make-container .description {
    margin-top: 10px;
}
.select-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    margin-bottom: 15px;
}
.select-container input {
    display: none;
}
.select-container label {
    margin-top: 15px;
    padding: 30px 0;
    color: #fff;
    background-color: #777;
    transition: .3s;
}
.select-container label:hover {
    background-color: #333;
}
.select-container input:checked + label {
    background-color: #000;
}

/* 生成されたビンゴ */
#bingo-board {
    display: grid;
    margin: 50px auto;
}
#bingo-board img {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #000;
}

/* ファイター一覧コンテナ */
.fighters-container {
    margin: 30px 0;
}
.filter-save-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
#filter-name {
    margin: 20px 0;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #000;
}
#save-filter {
    font-size: calc(0.5vw + 1.0rem);
    font-weight: bold;
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}
#save-filter:hover {
    color: #f22;
}
#filter-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#filter-list .inner-filter-list button {
    font-size: calc(0.5vw + 0.9rem);;
    font-weight: bold;
    transition: .3s;
}
#filter-list .inner-filter-list button:hover {
    transform: scale(1.1);
    color: #f22;
}
#fighters-gallery {
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
}
#fighters-gallery img {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #000;
}

/* コピーライト(フッター) */
.copyright {
    background-color: #432;
    color: #fff;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: center;
    padding: 32px 0;
    margin: 48px 0 0;
    width: 100%;
    border-top: 2px solid #000 ;
}

/* ビンゴ作成ボタン案2 */
@keyframes rainbow {
    0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0), rgba(255, 255, 0, 0), rgba(255, 0, 255, 0)); }
    95.0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 255, 0, 0.05), rgba(255, 0, 255, 0.05)); }
    95.5% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 255, 0, 0.1), rgba(255, 0, 255, 0.1)); }
    96.0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 255, 0, 0.2), rgba(255, 0, 255, 0.2)); }
    96.5% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 255, 0, 0.3), rgba(255, 0, 255, 0.3)); }
    97.0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.4), rgba(255, 255, 0, 0.4), rgba(255, 0, 255, 0.4)); }
    97.5% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.5), rgba(255, 255, 0, 0.5), rgba(255, 0, 255, 0.5)); }
    98.0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.6), rgba(255, 255, 0, 0.6), rgba(255, 0, 255, 0.6)); }
    98.5% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.7), rgba(255, 255, 0, 0.7), rgba(255, 0, 255, 0.7)); }
    99.0% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.8), rgba(255, 255, 0, 0.8), rgba(255, 0, 255, 0.8)); }
    99.5% { background: linear-gradient(135deg, rgba(0, 255, 255, 0.9), rgba(255, 255, 0, 0.9), rgba(255, 0, 255, 0.9)); }
    100% { background: linear-gradient(135deg, rgba(0, 255, 255, 1.0), rgba(255, 255, 0, 1.0), rgba(255, 0, 255, 1.0)); }
}
@keyframes gold-glow {
    0% { box-shadow: 0 0 0px rgba(0, 0, 0, 0), 0 0 0px rgba(0, 0, 0, 0); }
    95.0% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8) inset, 0 0 10px rgba(255, 215, 0, 0.8); }
    96.5% { box-shadow: 0 0 10px gold inset, 0 0 20px gold; }
    98.5% { box-shadow: 0 0 20px gold inset, 0 0 80px gold; }
    99.5% { box-shadow: 0 0 100px gold inset, 0 0 1000px gold; }
    100% { box-shadow: 0 0 10px gold inset, 0 0 10px gold; }
}
@keyframes rotating {
    95.0% { transform: rotate(0deg); }
    96.25% { transform: rotate(240deg); }
    97.5% { transform: rotate(-240deg); }
    98.75% { transform: rotate(540deg); }
    99.7% { transform: rotate(-3240deg); }
    100% { transform: rotate(-3240deg); }
}
#make-bingo {
    display: block;
    font-size: 2.0rem;
    font-weight: bold;
    width: 500px;
    margin: 30px auto 0;
    padding: 15px 0;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0), rgba(255, 255, 0, 0), rgba(255, 0, 255, 0));
    color: #000;
    border: 2px solid #000;
    transition: all 0.2s ease-in-out;
    text-shadow: 0 0 5px white;
}
#make-bingo:hover {
    color: #f22;
    animation: rainbow 200.0s infinite ease-in,
               gold-glow 200.0s infinite ease-in-out,
               rotating 200.0s infinite ease-in-out;
}

/* オプション実行ボタン */
#execute_active_option {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    width: 300px;
    margin: 30px auto 15px 0;
    padding: 15px 0;
    border-radius: 10px;
    color: #000;
    border: 2px solid #000;
    transition: all 0.2s ease-in-out;
}
#execute_active_option:hover {
    color: #f22;
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
    .aside-container {
        display: none;
    }
    main {
        flex-basis: 100%;
        margin: 0;
    }
    .inner-team-divide-container {
        grid-template-columns: repeat(1, 1fr);
        margin: 15px 0;
        gap: 15px;
    }
    .inner-team-divide-container button {
        max-width: 100%;
        width: 80%;
        margin: 0 auto;
        padding: 15px 0;
    }
    .filter-save-container {
        grid-template-columns: repeat(1, 1fr);
        margin: 15px 0;
        gap: 15px;
    }
    #filter-name {
        margin: 0;
    }
    #save-filter {
        max-width: 100%;
        width: 80%;
        margin: 0 auto;
        padding: 15px 0;
    }
    #make-bingo {
        display: block;
        font-size: calc(0.7vw + 1.3rem);
        font-weight: bold;
        width: 80%;
        margin: 30px auto 0;
        padding: 15px 0;
        border-radius: 10px;
        cursor: pointer;
        background: linear-gradient(135deg, rgba(0, 255, 255, 0), rgba(255, 255, 0, 0), rgba(255, 0, 255, 0));
        color: #000;
        border: 2px solid #000;
        transition: all 0.2s ease-in-out;
        text-shadow: 0 0 5px white;
    }
}