﻿ @charset "UTF-8";
 
 /* すべてのページに適用される　*/
 
* {
 padding: 0;
 margin: 0;
 box-sizing: border-box;
}

html {
	font-family: sans-serif;
}
html * {
	box-sizing: border-box;
}
body {
  margin: 0 0 0 0;
	background-color:#ffffff;;
}

.img {
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}


/*グロナビ用のサンプルCSSコード */
header{ 
  width:100%;
  background-color:#ffffff;
  padding:0 10%;
  margin: 15px 0 15px 0;
  display:flex;  /*ロゴとulを横に並べる*/
  justify-content:space-between;  /*両端に配置*/
  align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる*/
  /*position:fixed;  /*ヘッダーの位置を固定*/
  /*top:0;  /*ヘッダーの位置を固定（上0）*/
  /*left:0; /*ヘッダーの位置を左固定（左０）*/
}
a {	
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
}
ul.topbar {
  list-style: none;
  display: flex;
}
li {
  margin-left:40px;
}
a:hover{
  /*background: #94b4fa; （色を変える場合） */
  opacity:0.3;  /*（不透明度50％の場合）*/
}
/*　グローバルメニュー終了　*/


/*　ゲーム一覧　*/
.gameline{
	display:inline-block;
  list-style: none;  /* ulの点を消す*/
  text-align:left;
	margin:3px;
}
.gameline li{
	display:inline-block;
  text-align:left;
	margin:3px;
}
.toptext{
  font-size: 15px;
	text-align:left;
	font-weight:bold;
}
dt{
  font-size: 12px;
  float: left;
}
dd{
  font-size: 12px;
  margin-left: 60px;
}
.gameimg{
  width: 300px;
  display: flex;
}
/*　ゲーム一覧　終了*/


/*　body　内容*/
h1 {
  margin: 0; padding: 0;
  font-size: 20px;
}
h2 {
  margin: 25px 0 20px 0;
  font-size: 25px;
  color: #000000;
  font-weight: bold;
  text-align:center;
}
.wrapper {
	margin: 0 auto 0 auto;
	max-width: 980px;
}
hr {
    height: 1px;
    background-color: rgb(207, 207, 207);
    margin: 0 auto 10px auto;
    width: auto;
    border: none;
}

/* フッター内容 */
.footermenu{
  display: flex;  /*横並びにする*/
  justify-content: center;  /*左によってしまうので中央に寄せる*/
  margin: 15px 0 5px 0;
}
ul.footer {
  list-style: none;
  display: flex;
}
a.footersub{
  font-size: 13px;
  font-weight: normal;
}
.copyright{
  text-align: center;
  font-size: 12px;
}


@media screen and (max-width: 930px){
  header{
    flex-direction: column; /*縦に並べる*/
    padding:0.5% 2%;  /* ロゴ上下に4%の余白　左右に2%の余白*/
    align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる*/
    margin: 0 0 0 0;
  }
  
  /* スライダーはじめ */
 .container {
    position: relative;
    margin:5px auto 20px auto;
  }
}

@media screen and (max-width: 767px){

  /*全体　-ナビゲーション-  */
  .wrapper {
	  margin: 0 8px;
  }

  header{
    flex-direction: column; /*縦に並べる*/
    padding:1% 2%;  /* ロゴ上下に4%の余白　左右に2%の余白*/
    align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる */
    justify-content:space-between;  /*両端に配置*/
  }
  a {	
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 15px;
  }
  nav,ul{
    width:100%;   /*　nav,ulの横幅を100％*/
    justify-content: center;  /*左によってしまうので中央に寄せる*/
    margin:0;
    padding:0;
    align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる */
  }
  li{
    margin:0;
    padding:8px;
  }

  /* ゲーム　という文字*/
  h2 {
    margin: 15px 0 10px 0;
    font-size: 25px;
    color: #000000;
    font-weight: bold;
    text-align:center;
  }

  /* ゲームリスト一覧　テキスト　画像　調整*/
  .gameimg{
    text-align: center;
  }
  .toptext{
    font-size: 15px;
    font-weight:bold;
    margin: 0 0 0 50px;
  }
  dl{
    margin: 0 0 0 50px;
  }
  .gameline{
    display:inline-block;
    text-align:center;
    margin:3px;
  }
}