@charset "utf-8";

/* 何もしていない時の背景 */
.btn_hover3 {
    background-color: #111;/*背景色*/
    -webkit-transition: all 0.3s ease;/*ふわっとさせる間隔 Google Chrome、Safari*/
    -moz-transition: all 0.3s ease;/*ふわっとさせる間隔 Firefox*/
    -ms-transition: all 0.3s ease;/*ふわっとさせる間隔 IE*/
    -o-transition: all 0.3s ease;/*ふわっとさせる間隔 Opera*/
    transition: all  0.3s ease;/*ふわっとさせる間隔*/
    padding:8px 0;/*文字と背景の余白*/
    width: 150px;/*ボタン幅*/
    color: #fff;/*文字の色*/
    text-align: center;/*文字を揃える位置*/
    border-radius: 3px;/*背景の角丸半径*/
    cursor: pointer;/*ホバー時にカーソルの形状をポインターに*/
    border: 1px solid white;
    font-size: 13px;
}

/* マウスオーバーした際の背景 */
.btn_hover3:hover {
    background-color :#fff;/*背景色*/
    color: #111;
}


/* ニュース欄 */
.top-banner{
    display: flex;
    flex-wrap:wrap;
}
.top-banner li {
    width: calc(100%/3);/*←画像を横に4つ並べる場合*/
    padding: 5px;/*←画像の左右に5pxの余白を入れる場合*/
    box-sizing:border-box;
}
.top-banner li img {
    max-width:100%; /*画像のはみだしを防ぐ*/
    height: auto; /*画像の縦横比を維持 */
}

@media only screen and (max-width: 768px) {
    .top-banner li {
        padding:0 10px;
    }
}



.footer-banner{
    display: flex;
    flex-wrap:wrap;
}

.footer-banner li {
    width: calc(100%/4);/*←画像を横に4つ並べる場合*/
    box-sizing:border-box;
    padding: 1px;
}

.gamepage-banner{
    display: flex;
    flex-wrap:wrap;
}

.gamepage-banner li {
    width: calc(100%/2);/*←画像を横に4つ並べる場合*/
    box-sizing:border-box;
    padding: 1px;
}

.flex {
    display: flex; /*横並び*/
}
.flex .image {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}
.flex .text {
    margin: 0 0 0 20px;
    padding: 0;
}

h2{
    color: #FFFFFF;
    font-family: Serif;
}

p{
    font-family: Serif;
}

a{
    font-family: Serif;
}