@charset "utf-8";
/*---------------------------------
リセットCSS
---------------------------------*/
* {
    margin: 0;
    padding: 0;
	text-decoration: none;
	list-style: none;
    box-sizing: border-box;
}

/*---------------------------------
全体設計
---------------------------------*/
body{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    background-color: #000; 
}

h1{
    color: #fff;
    margin:0px auto;
    padding:20px 0 20px 0;
    text-align: center;
    font-size:24px;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.8);
}

/*---------------------------------
インデックス
---------------------------------*/
#container{ 
    max-width:100%;
    margin:0px auto; 
}
header{
    height:900px;
    background: url("img/book.jpg")no-repeat center;
}

ul{
    max-width:100%;
    margin:0 auto;
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}
ul li{
    width:200px;
    border:1px solid #bbb;
    border-radius:0 5px 5px 0;
    background-color: #F0FFF0;
    margin:20px 20px;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.8);

}
ul li a{
    font-size:16px;
    padding:10px;
    text-align: center;
    color:#000;
    display: block;
}
/*---------------------------------
説明文
---------------------------------*/

.text{
    width:70%;
    display:block;
    margin:0 auto;
    font-size:24px;
    color:#fff;
}
.text a:link{
    color:#36BFB1;
}
.text a:visited{
    color:#36BFB1;
}
dl{
    padding:50px 0;
}
dt{
    font-size:20px;
}
dd{
    font-size:14px;
}
footer p{
    background-color: #014034;
    text-align: center;
    height:70px;
    line-height: 50px;
    border-bottom:20px solid #02735E;
    color:#fff;
}

/*---------------------------------
レスポンシブ対応
---------------------------------*/
/*Tablet View*/
@media (min-width: 768px){
    header{
        height:700px;
    }
    ul li{
        margin:30px 30px;
        background-color: #FAFAD2;
    }
    ul li a{
        color:#000;
    }
}
/*Desktop View*/
@media (min-width: 1024px){
    header{
        width:100%;
        height:840px;
        background: url("img/book3.jpg")no-repeat center;
    }
    h1{
        font-size:32px;
        font-weight:900;
        padding:60px 0 0px 0;
        margin-top:0px;
        color:#000;
        text-shadow: 0px 5px 5px rgba(0,0,0,0.8);
    }
    ul{
        width:300px;
        padding:0px 800px;
        flex-direction:column ;
    }
    ul li{
        margin:10px 10px;
        background-color: #E0FFFF;
    }
    ul li:hover{
        background-color: #fff;
    }
    ul li a:hover{
        color:#4169E1;
    }
    .text{
        padding-left:300px;
        display: none;
    }
}
