/* 基本のレイアウト　開始*/
body {
    font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ pro w3", "Hiragino kaku Gothic Pro", "MS P ゴシック", "MS PGothic", sans-serif;
    background-color: black;
    color: lime;
    font-size: 100%;
}
p {
    letter-spacing: 0.05em;
    line-height: 1.5em;
}
ol {
    letter-spacing: 0.05em;
    line-height: 1.5em;
    padding: 0 0 0 20px;
}
header, nav, #breadcrumb, .f-container, footer {
    margin: 0 auto 0 auto;
    max-width: 1000px;
}
header h1 {
    margin: 50px 0 25px 0;
    text-align: left;
}
nav ul {
    display: flex;
    justify-content: space-between;
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style-type: none;
}
nav li {
    width: 140px;
    margin: auto;
}
#breadcrumb ul{
    display: flex;
    justify-content: flex-end;
    margin: 40px 0 20px 0;
    list-style-type: none;
}
#breadcrumb ul li {
    width: 128px;
    text-align: center;
}
#breadcrumb ul li:nth-child(2n) {
    width: 80px;
}
/* 基本レイアウトの記述　終了 */

/* main領域の記述　開始*/
.f-container {
    display: flex;
    justify-content: space-between;
    margin:40px auto 0 auto;
}
.f-item1 {
    width: 79%;
    margin-right: 20px;
}
#contents img {
    margin: 0 0 10px 0;
    width: 100%;
    height: auto;
}
#sentence {
    margin: 25px 0 25px 0;
    width: 100%;
    height: auto;
}
.sentence {
    margin: 25px 0 25px 0;
    width: 100%;
    height: auto;
}
#days {
    margin: 0 0 0 0px;
}
#step {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-top: 40px;
    padding-left: 0;
}
/* main領域の記述　終了 */

/* sub領域の記述　開始 */
#sub {
    width: 21%;
    word-break: break-all;
}
/* sub領域の記述　終了 */

/* indexページの記述　開始 */
.hp-home {
    display: flex;
    justify-content: space-around;
}
.hp-profile {
    width: 49%;
    margin-left: 20px;
    padding-left: 20px;
}
.hp-topics {
    letter-spacing: 0.05em;
    line-height: 1.6em;
    width: 51%;
    margin-right: 10px;
}
.hp-topics ul {
    padding-left: 0;
}
.hp-topics ul li {
    list-style: none;
}
.hp-topics ul li:nth-child(odd){
    margin-top: 1em;
}
/* indexページの記述　終了 */

/* game_indexページの記述　開始 */
.game_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 79%;
}
.game_list {
    width: 31%;
    height: auto;
    margin: 0 5px; 0 15px;
}
.game_list ul {
    list-style: none;
    padding: 0 0 0 0;
}
.game_list img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.game_sp {
    display: none;
}
.nam li {
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    padding: 0 0 0 0;
}
#htheme {
    margin: 65px 0 0 0;
}
#ptheme {
    margin: 5px 0 10px 0;
}
.genre ul{
    display: flex;
    flex-wrap: wrap;
    font-size: 70%;
}
.genre ul li {
    list-style: none;
    width: 30%;
    padding: 0 15px 0 0;
}
/* game_indexページの記述　終了 */

/* blogページの記述　開始 */
.b-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 79%;
}
.b-box h3 {
    margin: 0 0 0 0;
}
#d_list {
    list-style: none;
    width: 79%;
}
#d_list li {
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    margin: 0 15px 5px 0;
    padding: 0 auto 0 auto;
}
/* blogページの記述　終了 */

/* footerの記述　開始 */
#foot {
    padding: 50px 0 0 0;
    margin: 0 0 150px 0;
}
form {
    padding-top: 5px;
}
input, textarea {
    background-color: black;
    color: #FF9900;
    border-color: white;
    border-width: 3px;
}
#botton input {
    background-color: grey;
    color: white;
}
input[type="text"] {
    width: 200px;
}
input[type="email"] {
    width:300px;
}
textarea {
    width: 420px;
    height: 115px;
    overflow-y: auto;
}
/* footerの記述　終了 */

/* aタグに関する記述　開始 */
a:link { color: lime; }
a:visited { color: lime; }
a:focus { color: #FF9900; }
a:hover { color: #FF9900; }
a:active { color: white; }
/* aタグに関する記述　終了 */

/* ドラグ中の文字配色　開始 */
::selection {
    background: lime;
    color: black;
}
/* ドラグ中の文字配色　終了 */


/* media-query記述　開始 */
@media (max-width: 480px) {
    header, nav, #breadcrumb, .f-container, .f-item1, .f-item2, footer {
        display: block;
        width: 95%;
    }
    nav, #contents {
        margin: 0 0 0 3%;
    }
    #breadcrumb {
        margin-left: 3%;
    }
    #top h1 {
        margin-left: 3%;
    }
    #sub {
        display: block;
        width: auto;
    }
    #step {
        margin: 40px 0 0 3%;
    }
    #foot p {
        margin-left: 0;
    }

/* ナビ */
    nav ul {
        display: inline-block;
    }
    nav li {
        width: 200px;
        letter-spacing: 0.05em;
        line-height: 2.5em;
    }

/* パンくずリスト*/
    #breadcrumb ul {
        padding-left: 0;
     }
    #breadcrumb ul li{
        text-align: initial;
        font-size: 75%;
        width: auto;
        margin-right: 3%;
     }
     #breadcrumb ul li:nth-child(2n) {
         width: auto;
     }

/* contents内容 */
    #contents h1 {
        font-size: 130%;
    }

/* indexページ */
    .hp-home {
        display: block;
    }
    .hp-profile {
        width: 100%;
        padding-left: 0;
        margin: 60px auto 0 3%;
    }
    .hp-topics {
        width: 100%;
        margin-left: 0;
        }
    .hp-topics h2 {
        margin-top: 40px;
        padding-left: 0;
    }
    .hp-topics ul {
        padding-left: 0;
    }
    #foot h3 {
        margin-left: 3%;
    }
    #foot p {
        margin-left: 3%;
    }
    #foot a {
        margin-left: 3%;
    }
     
/* gameページ */
    .game_box {
        display: block;
        width: 100%;
    }
    .game_list {
        width: 100%;
        height: auto;
    }
    .game_link {
        
        max-width:100%;
    }
    .game_sp {
        display: block;
    }
    .game_pc {
        display: none;
    }

/* blog前後ページリンク */
    #step {
        display: block;
        letter-spacing: 0.05em;
        line-height: 2em;
        font-size: 90%;
    }
}
/* media-query記述　終了 */
