/* game.php */

th {
    width: 100px;
    white-space: nowrap;
}

.star {
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC;
    /* グレーカラー 自由に設定化 */
    /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star::before,
.star::after {
    content: '★★★★★';
}

.star::after {
    position: absolute;
    z-index: 1;
    top: 1px;
    left: 1px;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32;
}

.star[data-star="0"]::after {
    width: 0%;
}

.star[data-star="1"]::after {
    width: 9.8%;
}

.star[data-star="2"]::after {
    width: 20%;
}

.star[data-star="3"]::after {
    width: 29.3%;
}

.star[data-star="4"]:after {
    width: 40%;
}

.star[data-star="5"]::after {
    width: 49.2%;
}

.star[data-star="6"]::after {
    width: 60%;
}

.star[data-star="7"]::after {
    width: 68.4%;
}

.star[data-star="8"]::after {
    width: 80%;
}

.star[data-star="9"]::after {
    width: 88.5%;
}

.star[data-star="10"]::after {
    width: 100%;
}


/* brand.php発売予定リスト */

.gamebox {
    width: 95%;
    margin: 15px auto;
    border-left: 3px dashed #EE51AB;
    border-right: 3px dashed #EE51AB;
}

.titlebox {
    margin: 0 20px;
}

.supplbox {
    width: 250px;
    margin: 0 0 0 auto;
    padding: 0 10px 0 0;
    text-align: center;
}

.sellday,
.model {
    display: inline-block;
}

.staffbox {
    margin: 0 20px;
}

.brandname {
    width: 250px;
    margin: 0 0 0 auto;
    padding: 0 10px;
    text-align: center;
}

.sellday {
    width: 100px;
    margin: 0;
    padding: 0 10px;
    text-align: center;
}

.model {
    width: 80px;
    margin: 0;
    padding: 0 10px;
    text-align: center;
}


/* 背景 */

h2 {
    color: #FFFFFF;
    background-color: #EC7589;
    padding: 0 0 0 20px;
    margin: 0 0 10px 0;
}

section {
    margin: 10px 0;
    padding: 0 0 10px 0;
}


/* レスポンシブル */

@media screen and (min-width: 960px) {
    body {
        width: 960px;
        margin: 0 auto;
    }
}


/* モーダルウィンドウ */

.modal-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    max-height: 80%;
    background-color: #dfdddd;
    border-radius: 5px;
    z-index: 11;
    padding: 16px;
    overflow: auto;
}

input[name="title"],
input[name="furigana"],
input[name="url"] {
    width: 400px;
    height: 20px;
}


/* 閉じるボタン */

.button-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    padding: 1em;
    background-color: #c96931;
    color: #eaeaea;
    border-radius: 20rem;
    cursor: pointer;
}


/* オーバーレイ */

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
}