/*全ページに適用する設定*/
html {
    font-size: 16px;
    font-family: sans-serif;
}
p,li,td{
    line-height: 1.7;
}

a:link{
    text-decoration: none;
}
a:visited{
    text-decoration: none;
}
a:hover{
    text-decoration: underline ;
}
a:active{
    text-decoration: underline;
}

img{
    max-width: 100%;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0 0 0 0;
}
/*全ページに適用-ヘッダー*/
.nav ul{
    margin: 10px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap:40px;
}
.nav a:link{
    color: #253958;
}
.nav a:visited{
    color: #253958;
}
.nav a:hover{
    text-decoration: none;
}
.nav a:active{
    text-decoration: none;
}
.container {
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  
  .main-contents {
    width: 80%;
    padding: 10px;
  }
  .right-menu {
    width: 20%;
    padding: 10px;
  }
  .sticky{
    position: sticky;
    top: 25px;
    bottom: 20px;
  }
/*全ページに適用-ヒーロー*/
.hero{
    text-align: center;
}
.hero.png{
    padding: 287px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
    background-image: url(../images/skycastle.png);
}
/*全ページに適用-メイン*/
main{
    margin: 90px auto 90px auto;
    max-width: 1000px;
}
body h2{
    margin: 60px 0 20px 0;
    border-bottom: 2px solid #253958;
    padding: 0 0 5px 0;
    color: #253958;
    font-size: 1.3rem;
}

/*すべてのページに適用-フッター*/
.gotop{
    text-align: center;
}
.copyright{
    margin-top: 20px;
    margin-bottom: 0px;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #253958;
    color: #ffffff;
    text-align: center;
}
/*個別のスタイル*/
/*index.html*/
.server-info{
    border-collapse: collapse;
}
.server-info th, .server-info td{
    border: 1px solid #DBDBDB;
    padding: 20px;
}
.server-info th{
    width: 112px;
    text-align: left;
    vertical-align: top;
}
/*pvp ranking*/
.rank-info{
    border-collapse: collapse;
}
.rank-info th, .rank-info td{
    border: 1px solid #DBDBDB;
    padding: 20px;
}
.rank-info th{
    width: 112px;
    text-align: left;
    vertical-align: top;
}
/*モバイル対応*/
@media (max-width: 767px){
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;
    }
    main {
        padding: 0 4%;
    }
    /*index.html*/
    .hero.index {
        padding: 28vh 0;
    }
}
/* パソコン・スマホ共通のCSS */
#PageTopBtn {
    position: fixed; /*ボタンの配置場所を固定*/
    bottom: -10px; /*下からのボタンの配置場所を指定*/
    right: 10px; /*右からのボタンの配置場所を指定*/
}
#PageTopBtn a {
    display: block; /*配置の調整*/
    text-decoration: none; /*文字の下線を消す*/
    color: #fff; /*文字の色*/
    background: #1f3134; /*ボタンの背景色*/
    text-align: center; /*文字を中央に配置*/
    border-radius: 5%; /*ボタンの角を少し丸くする*/
    outline: none; /*クリックしたときの黒い枠を消す*/
}
#PageTopBtn a:hover {
    text-decoration: none; 
    background: #1f3134; /*マウスオーバー時の背景色*/
}

/* パソコンで表示する場合のCSS */
@media (min-width: 768px) {
#PageTopBtn {
    font-size: 13px; /*文字のサイズ*/
}
#PageTopBtn a {
    width: 100px; /*ボタンの幅*/
    height: 70px; /*ボタンの高さ*/
    padding: 24px 0; /*文字の配置場所の調整*/
}
}

/* スマホで表示する場合のCSS */
@media (max-width: 767px) {
#PageTopBtn {
    font-size: 10px;
}
#PageTopBtn a {
    width: 70px;
    height: 50px;
    padding: 17px 0;
}
}
.twitter-tweet{
    margin:auto;
}

  footer{
	text-align: center;
	border-top: solid 1px #253958;
}
