/*
Theme Name: ゲーム
Version: 1.0
Author:Seiki Nishijima

  $Id: style.css,v1.0 $
*/
/*===========================================================================
-----------------------------------------------------------------------------
  共通 変数　ここから
-----------------------------------------------------------------------------
===========================================================================*/
:root {
  --color-moji: #777;
  --color-title: #222;
  --color-milk: #fff;

  --color-frame2: #deb887;

  --font-eiji: "Poppins", sans-serif;
}
/** スマートフォン用分岐 **/
@media screen and (max-width: 740px) {
  :root {
  }
}
/*===========================================================================
-----------------------------------------------------------------------------
  共通設定　ここから
-----------------------------------------------------------------------------
===========================================================================*/
html {
  -webkit-text-size-adjust: none;
  overscroll-behavior: none;
}
body {
  padding: 0 0 0 0;
  margin: 0 auto;
  text-align:center;
  background: var(--color-milk);
  color: var(--color-moji);
  font-size: 1.25vw;
}
#background {
  padding: 0 0 0 0;
  margin:0px auto;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#background section {
  width: 80vw;
  max-width: 1000px;
  margin: auto;
}
/** 小さい画面用分岐 **/
@media screen and (max-width: 1200px) {
  body {
    font-size: 16px;
  }
}
/*-----------------------------------*/
#background img {
  vertical-align: middle;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}
/*===========================================================================
-----------------------------------------------------------------------------
  共通ヘッダー・フッター設定　ここから
-----------------------------------------------------------------------------
===========================================================================*/
#background header ,
#background footer {
  margin: 5vw auto 3vw;
}
#background header h1 {
  text-align: center;
  font-weight: 500;
  margin-bottom: 2em;
}
#background header h1 small {
  display: block;
  text-align: center;
  font-family: var(--font-eiji);
  font-weight: 800;
  font-size: 3vw;
  line-height: 1.8em;
  color: var(--color-title);
}
#background footer address {
  display: block;
  text-align: center;
  font-family: var(--font-eiji);
  font-weight: 500;
  font-style: normal;
}
/** 小さい画面用分岐 **/
@media screen and (max-width: 1200px) {
  #background header h1 small {
    font-size: 2.25em;
    line-height: 1.2em;
    margin-bottom: 0.5em;
  }
}


/*===========================================================================
-----------------------------------------------------------------------------
  ゲーム一覧 設定　ここから
-----------------------------------------------------------------------------
===========================================================================*/
#background .games-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;/*
  align-items: center;*/
}
#background .games-list > .games {
  width: calc(33.33% - 50px);
  margin: 0 25px 50px;
}
/** スマートフォン用分岐 **/
@media screen and (max-width: 740px) {
#background .games-list > .games {
    width: calc(50% - 20px);
    margin: 0 10px 40px;
  }
}
/*------------------------------------
  中身 設定　ここから
-------------------------------------*/
#background .games figure {
  margin-bottom: 1em;
  border-radius: 10%;
  overflow: hidden;
  transition: all 0.5s ease;
}
#background .games dl {
  margin-bottom: 1em;
}
#background .games dt {
  font-family: var(--font-eiji);
  color: var(--color-title);
  text-align: center;
}
#background .games dd {
  font-size: 0.9em;
  text-align: center;
}
#background .games p {
  font-size: 0.9em;
  text-align: center;
  position: static;
}
#background .games p a {
  display: inline-block;
  padding: 0.5em 1.2em;
  line-height: 1em;
  border: 2px solid var(--color-title);
  border-radius: 1.1em;
  color: var(--color-title);
  font-family: var(--font-eiji);
  font-weight: 500;
  text-decoration: none;
  position: static;
}
#background .games p a:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
/*------------------------------------
  ホバーアクション設定　ここから
-------------------------------------*/
#background .games:hover figure {
  border-radius: 4%;
}
#background .games:hover figure > img {
  transform: scale(1.1);
}
#background .games:hover p a {
  border-radius: 0.4em;
  background: var(--color-title);
  color: var(--color-milk);
}
#background .games p a:hover {
  filter: Alpha(opacity=100);
  opacity: 1;
}



/*===========================================================================

  設定　ここから

===========================================================================*/


/*------------------------------------
  設定　ここから
-------------------------------------*/

/*-----------------------------------*/

/** 小さい画面用分岐 **/
@media screen and (max-width: 1200px) {
}
/** スマートフォン用分岐 **/
@media screen and (max-width: 740px) {
}