﻿/*----------------------------------------------------------------- 
 茨城オリジナルコンテンツ
----------------------------------------------------------------- */

/* subpage
1カラムのコンテンツレイアウト
------------------------------ */
/* #container1Column
------------------------------ */
#content {
    background-color: #E3FCFC;
}
#container1Column {
	max-width: 1200px;
	margin: 0 auto;
	color: #333;
    font-family: "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
a {
    text-decoration: none;
}
h2 {
    position: relative;
    margin: 0 auto;
    background: #f2fffd;
    box-shadow: 0px 0px 0px 5px #f2fffd;
    border: dashed 2px #0277BD;
    padding: 0.4em;
    width: 85%;
    font-size: 1.3rem;
    color: #0277BD;
    font-weight: bold;
}
h2:after {
    position: absolute;
    content: '';
    left: -7px;
    top: -7px;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #E3FCFC #E3FCFC #a8d4ff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}
.logo img {
    width: 100%;
}
.align-center {
    text-align: center;
}
.shelf {
    margin-top: 50px;
}
ul.bookList {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}
ul.bookList li {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 30px 24px;
}
ul.bookList li div {
	height: 217px;
	width: 100%;
	position: relative;
}		
ul.bookList li div img {
    max-width: 100%;
	border: solid 1px #CCC;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px #ccc;
    z-index: 1;
}
ul.bookList li div img:hover {
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.2);
    transform: translateY(-3px);
    webkit-transition: all ease-in-out .35s;
    transition: all ease-in-out .35s;
}
ul.bookList li p {
    margin-top: 0.25em;
	height: 1.5em;
	font-size: 85%;
	font-weight: bold;
    line-height: 1.4;
}
li.single {
    max-width: 152px;
}
li.double {
	max-width: 300px;
}
li.double div {
    width: 86%!important;
    margin: 0 auto;
    padding: 0 12px;
    background-color: #ffff99;
}
.book-shelf-l {
	margin: 0!important;
	position: relative;
    top: -5px;
}
.book-shelf {
	margin: 0!important;
	position: relative;
    top: -5px;
	left: -7px;
}
.book-shelf-l img,.book-shelf img {
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.6));
}
.book-shelf img {
	width: 110%!important;
	max-width: 110%!important;
}
.nav-contents {
    margin-top: 50px;
    height: 785px;
    background-image : url(../img/subpage/hitachi-sea-side-park-ebooks/sns-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
}
.nav-contents p img:hover {
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.2);
    transform: translateY(-3px);
    webkit-transition: all ease-in-out .35s;
    transition: all ease-in-out .35s;
}
.sns-box {
    display: flex;
    justify-content: center;
    padding-top: 100px;
}
.sns-box div {
    margin: 20px;
}
.sns-box-sp {
    padding-top: 80px;
}
.sns-box-sp div {
    margin-top: 80px;
    margin-bottom: 65px;
}
@media screen and (max-width: 400px) {
    .nav-contents {
        height: 627px;
    }
    .sns-box-sp div {
        margin: 60px auto 54px;
    }
}
@media screen and (max-width: 503px) {
    ul.bookList li {
        margin: 16px 24px;
    }
    li.double {
        max-width: 100%;
    }
    li.double div {
        margin: 0 auto;
        border-left: none;
        border-right: none;
    }
    .book-shelf-l {
        position: relative;
	    left: 0;
    }
}
@media screen and (max-width: 679px) {
    .happ_pc {
        display: none;
    }
    .sns-box {
        display: none;
    }
}
@media screen and (min-width: 680px) {
    #hitachi-sea-side-park-ebooks {
        background-color: #E3FCFC;
    }
    .happ_mobile {
        display: none;
    }
    .sns-box-sp {
        display: none;
    }
}
.footer_navi ul li a {
    color: #FFFFFF;
    height: 16px;
    padding: 0 15px 0 8px;
    margin: 0 5px 0 0;
    position: relative;
    width: auto;
    font-size: 13px;
    text-decoration: none;
    border-left: 1px solid #ddd;
}
.copyright {
    text-align: center;
    color: #FFF;
	width: 90%;
	margin: 10px auto;
}
