﻿ /*----------------------------------------------------------------- 
 茨城オリジナルコンテンツ
----------------------------------------------------------------- */

/* subpage
1カラムのコンテンツレイアウト
------------------------------ */
/* #container1Column
------------------------------ */

/*--color　薄い茶色　#F3EBDE　濃い茶色　#423119　--*/

/*上の特集*/
.top-book {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	width: 100%;
}
.top-book img {
    max-width: 250px;
    border: solid 1px #CCC;
    box-shadow: 0 2px 8px #ccc;
}
.single {
    width: 45%;
	text-align: center;
	margin: 5px;
}
.single div {
    margin: 25px 0 10px 0;
}
.single a {
    font-weight: 600;
}
.saishin {
    font-size: 25px;
    position: relative;
    padding: 3px;
    color: #423119;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    background: #e9c228;
    text-align: center;
}
.saishin:after {
    position: absolute;
    content: '';
    top: 70%;
    left: 46%;
    margin: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    transform: rotate(0deg);
    border-top: 40px solid #e9c228;
    z-index: 0;
}
.fl-tokusyu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	margin-bottom: 2em;
}
.top-r {
	width: 45%;
	text-align: left !important;
	margin: 5px;
}
.top-r h3 {
    text-align: center;
    background: #e60012;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    padding: 15px;
	position: inherit;
}
.top-r img{
	width: 45%
}
.fl-tokusyu div{
    display: flex;
    flex-wrap: wrap;
	width: 45%;
	margin: 0 10px;
}
.fl-tokusyu h4 {
    font-weight: bold;
    font-size: 18px;
    text-align: left !important;
    margin-bottom: 10px;
}
/*もっと見るボタン・一時置き場*/
.gover_vispace {
    left: 5%;
    margin-left: 70%;
	margin-top: 2em;
}
a.more-books {
    background: #423119;
    padding: 10px 35px;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 600;
}
a.more-books::before,
a.more-books::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
a.more-books,
a.more-books::before,
a.more-books::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
a.more-books:hover {
	letter-spacing: 3px;
}
@media (max-width: 600px) {
	.gover_vispace {
		text-align: center;
		left: initial;
		margin-left: initial;
	}
}
/*動画*/
.mv-list {
	margin: 5em 0 1.5em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.mv-list iframe {
    box-shadow: 0 0 12px #808080ad;
    max-width: 100%;
    margin: 0 10px;
}
/*背景色・一旦白*/
#content {
    background-color: #fff;
}
#container1Column {
	max-width: 1280px;
	margin: 0 auto;
	color: #333;
    font-family: "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
a {
    text-decoration: none;
}
/*ジャンプボタン*/
.erea-jump {
    margin-top: 5%;
}
div #areanavi {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: space-between;
}
/*共通の指示*/
.jump-btn {
	font-weight: bold;
	color: #423119 !important;
	position: relative;
	padding: 1em 0.6em;
	border-radius: 5px;
	text-align: center;
	margin: 9px;
	width: 130px;
	transition: 0.3s;
}
.jump-btn:hover {
	opacity: 0.7;
	transition: 0.3s;
}
.jump-btn a {
    display: block;
    color: #fff !important;
}
/* 緑　観光 
.jump03 {
	background: -webkit-repeating-linear-gradient(-45deg, #f2ffe0, #f2ffe0 4px,#e4ffbf 3px, #e4ffbf 8px);
	background: repeating-linear-gradient(-45deg, #e4ffbf, #e4ffbf 4px,#f2ffe0 3px, #f2ffe0 8px);
}

.jump05 {
	background: -webkit-repeating-linear-gradient(-45deg, #f2ffe0, #f2ffe0 4px,#e4ffbf 3px, #e4ffbf 8px);
	background: repeating-linear-gradient(-45deg, #e4ffbf, #e4ffbf 4px,#f2ffe0 3px, #f2ffe0 8px);
}

.jump06 {
	background: -webkit-repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
	background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
}

.jump04 {
	background: -webkit-repeating-linear-gradient(-45deg, #ffe1db, #ffe1db 4px,#ffb2a3 3px, #ffb2a3 8px);
	background: repeating-linear-gradient(-45deg, #ffb2a3, #ffb2a3 4px,#ffe1db 3px, #ffe1db 8px);
}

.jump02 {
	background: -webkit-repeating-linear-gradient(-45deg, #edf6ff, #edf6ff 4px,#dbeeff 3px, #dbeeff 8px);
	background: repeating-linear-gradient(-45deg, #edf6ff, #edf6ff 4px,#dbeeff 3px, #dbeeff 8px);
}

.jump01 {
	background: -webkit-repeating-linear-gradient(-45deg, #f7f7f7, #f7f7f7 4px,#eaeaea 3px, #eaeaea 8px);
	background: repeating-linear-gradient(-45deg, #eaeaea, #eaeaea 4px,#f7f7f7 3px, #f7f7f7 8px);
}*/





/* 緑　観光 */
.jump03 {
	background: #13ae67;
	color: #fff !important;
}
/* 黄緑　医療 */
.jump05 {
	background: #8fc31f;
	color: #fff !important;
}
/* オレンジ　その他 */
.jump06 {
	background: #f39800;
	color: #fff !important;
}
/* 赤　子育て */
.jump04 {
	background: #db527e;
	color: #fff !important;
}
/* 青 広報 */
.jump02 {
	background: #007ab4;
	color: #fff !important;
}
/* グレー movie */
.jump01 {
	background: #555;
	color: #fff !important;
}
/* グレー movie */
.jump07 {
	background: #916abb;
	color: #fff !important;
}




.cf li {
	margin: 10px;
}
/*見出しのデザイン*/
/* ほこまる見出し */
h2:before{
    background: url(../img/subpage/hitachiootaebooks/character.png) no-repeat;
	content: '';
	display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    background-size: 100%;
}
.content-name {
	font-size: 1.4rem;
	position: relative;
	padding: 0.3em 0.6em;
	border-radius: 7px;
	color: #423119;
	font-weight: bold;
	margin-left: auto;
    margin-right: auto;
	width: 90%;
	text-align: center;
}
/* 吹き出し三角 */
h2:after {
	position: absolute;
	content: '';
	top: 85%;
	left: 150px;
	margin: 0;
	bottom: -30px;
	right: 30px;
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 20px solid transparent;
	transform: rotate(-30deg);
}

/*
h2.jump01:after {
	border-top: 40px solid #e4ffbf;
}
h2.jump02:after {
	border-top: 40px solid #ffe4b1;
}
h2.jump03:after {
	border-top: 40px solid #ffb2a3;
}
h2.jump04:after {
	border-top: 40px solid #dbeeff;
}
h2.jump05:after {
	border-top: 40px solid #eaeaea;
}*/

.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: 204px;
	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;
	max-height: 180px;
}
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;
}
.fx-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: white;
    border: none;
    border-radius: 5px;
	z-index: 1000;
}
.fx-top:hover {
      -webkit-animation: bounce 2s ease-in-out;
  animation: bounce 2s ease-in-out;
}
/*動画*/
h3 {
	position: relative;
	margin-bottom: 1em;
}

h3.align-center {
	margin-bottom: 30px;
	font-size: 1.4rem;
	font-weight: bold;
}
.back-color {
	background-color : #f7f7f7;
    background-size: cover;
    background-position: left bottom;
	padding-top: 20px;
    margin-top: 60px;
}
.movie-contents {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 50px;
}
.item {
    margin: 20px;
}
.bold {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}
.center {
    text-align: center;
}
iframe {
    box-shadow: 0 0 12px grey;
	max-width: 100%;
}
/*youtube移動ボタン*/
.hokota-youtube {
	text-align: center;
	margin-bottom: 8em;
	margin-top: 3em;
}
.hokota-youtube a{
	background: #423119;
    color: #fff !important;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
}
.hokota-youtube a:hover{
	letter-spacing: 3px;
}
.hokota-youtube a::before,
.hokota-youtube a::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.hokota-youtube a,
.hokota-youtube a::before,
.hokota-youtube a::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
@media (max-width: 780px) {
	.movie-contents {
		flex-direction: column;
		margin-bottom: 10px;
	}
}
@media (max-width: 400px) {
	.nav-contents {
		flex-direction: column;
	}
	.nav-contents div {
		margin-bottom: 20px;
	}
}
/*facebook周辺*/
.nav-contents {
    margin-top: 50px;
    height: 600px;/*エリアの高さ*/
}
.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: 30px;
}
.sns-box div {
    margin: 20px;
}
.sns-box-sp {
    padding-top: 30px;
}
.sns-box-sp div {
    margin-top: 30px;
    margin-bottom: 65px;
}
@media screen and (max-width: 895px) {
    .fl-tokusyu div {
    width: 100%;
		margin-bottom: 1em;
	}
	.top-r img {
    width: 100%;
}
}
@media screen and (max-width: 680px) {
    .top-r {
    width: 95%;
		margin-top: 2em;
}
	.single {
    width: 95%;
}
}
@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;
    }
	.fx-top img {
width: 50px;
height: auto;
}
	.fx-top {
    right: 5px;
}
}
@media screen and (max-width: 1049px) {
.mv-list iframe {
    width: 250px;
    height: 142px;
}
	
}
@media screen and (max-width: 809px) {
	.mv-list iframe {
    margin-top: 1em;
}
}
@media screen and (max-width: 539px) {
	.mv-list iframe {
    width: 360px;
    height: 204px;
}
}
@media screen and (max-width: 679px) {
    .happ_pc {
        display: none;
    }
    .sns-box {
        display: none;
    }
	
}
@media screen and (min-width: 680px) {
    .happ_mobile {
        display: none;
    }
    .sns-box-sp {
        display: none;

}
}
@media screen and (min-width: 679px) {
    .happ_mobile {
        display: none;
    }
    .sns-box-sp div {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 679px) {
	.btn_u {
		margin-top: -4em !important;
	}
	.back-color {
    padding-top: 150px;
}
}
.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;
}
.btn_u {
    padding-bottom: 4em;
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
}}

@media screen and (max-width: 468px) {
	.btn_u {
		width: 90%;
	}
	.city-web {
		width: 145px;
		font-size: 0.85rem;
		height: 60px;
	}
}

/* 1つだけ違うボタン　*/
.hp-main {
	background: #fff !important;
}
.city-web .text-color {
	color: #423119 !important;
}
.city-web img.hokomaru {
  display: inline-block;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.city-web:hover img.hokomaru{
  -webkit-animation: bounce 2s ease-in-out;
  animation: bounce 2s ease-in-out;
}
/*市サイト移動ボタン*/
.btn_u #areanavi li {
	width: 13%;
}
.city-web {
    background: #423119;
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    height: 70px;
	padding-top: 15px;
    width: 175px;
	margin: 8px;
	color: #fff !important;
	border: solid #423119 4px;
	transition: 0.3s;
}
.city-web:hover{
	opacity: 0.7;
	transition: 0.3s;
}
.city-web a {
	color: #fff !important;
	display: block;
}
@-webkit-keyframes bounce {
  5%  { -webkit-transform: scale(1.1, .8); }
  10% { -webkit-transform: scale(.8, 1.1) translateY(-5px); }
  15% { -webkit-transform: scale(1, 1); }
}
@keyframes bounce {
  5%  { transform: scale(1.1, .8); }
  10% { transform: scale(.8, 1.1) translateY(-5px); }
  15% { transform: scale(1, 1); }
}