@charset "utf-8";
/*
Thema Name: 岡崎オープンガーデン
Author: As1pi
Description: 岡崎オープンガーデンのテーマです。
*/

/* 全体 */

body{
	margin: 0 auto;
	font-family: helvetica, arial, 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif;
	font-size:16px;
	background-image: url("/wp-content/themes/opengarden/img/bg.jpg");
}

h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0 }

/* タイトルヘッダー */
#title{
	margin: 0 auto;
	width: 100%;
	background-color: #72211e;
	text-align:center;
}

p.titlejpg{
	max-width: 1000px;
	max-height:250px;
	margin: 0 auto;
}

p.titlejpg img{
	width:100%;
}

/* トップ挨拶部分 */
#aisatsu{
	max-width: 1000px;
	min-height: 540px;
	margin: 5px auto;
	background-image:url("/wp-content/themes/opengarden/img/aisatsu-bg.png");
	background-size: 100% 100%;
	position: relative;
}

#message{
	position: absolute;
	left: 100px;
	top: 50px;
	max-width: 650px;
	line-height: 24px;
}

#message h1{
	color:#72211e;
}

#message p{
	text-indent:16px;
	text-align: justify;
	text-justify: inter-ideograph;
}

#kaicho{
	position: absolute;
	left: 770px;
	top: 100px;
	text-align:center;
	font-weight:bold;
	font-size:15px;
}

.readmore{
	display:none;
}

/* イベント新着情報 */
#topnews{
	max-width:970px;
	margin: 0 auto;
	padding: 10px;
	border: solid 5px #72211e;
	background-color:#ffffcc;
}

#topnews h2, #topmain h2{
	font-size:21px;
	color: #72211e;
}

#topnews hr, #topmain hr{
	border-color: #72211e;
}

.migi{
	text-align: center;
}

/* メイン地域を選ぶ */

#topmain{
	max-width:1000px;
	margin: 10px auto;
}

#area{
	float:left;
	max-width: 600px;
}

#image{
	float:right;
	margin: 30px 0 0 0;
}

/* フッター */
#footer{
	clear:both;
	margin: 0 auto;
	padding-top: 10px;
	width: 100%;
	background-color: #72211e;
}

#contact{
	max-width:1000px;
	margin: 0 auto;
	color: #ffffff;
	font-size:18px;
}

#address{
	float:left;
	width:500px;
}

#tel{
	float:left;
}

#mail{
	clear:both;
}

#otoiawase img{
	vertical-align:middle;
}

#mail a{
	color:#ffffff;
	text-decoration:none;
}

/* お庭一覧ヘッダー部分 */
.keisen{
	border: 3px #72211e solid;
}

.keisen2{
	clear:both;
	border: 2px #72211e solid;
}

.keisen3 {
	border: 1px #72211e solid;
	width:1000px;
}

#arealist{
	width:1000px;
	margin: 0 auto;
}

.areabox{
	width:197px;
	margin: 0 auto 5px;
	border-left: 1px #72211e solid;
	border-right: 1px #72211e solid;
	float:left;
	text-align:center;
	font-size:18px;
	font-weight: bold;
}

.areaboxl{
	border-left: 2px #72211e solid;
}

.areaboxr{
	border-right: 2px #72211e solid;
}

.areabox a{
	color:#72211e;
	text-decoration:none;
}

#arealist ul{
	list-style:none;
	margin: 0;
    padding: 0;	
}

.menutitle{
	display:none;
}

input[type="checkbox"].bellows{
    display: none;/* チェックボックスの非表示 */
}

/* お庭一覧タイトル画像 */
#gardentitle{
	width:1000px;
	margin:0 auto;
	height:150px;
	position:relative;
}

#gardenimg{
	position:absolute;
}

#gardennext{
	bottom:0;
	left:450px;
	position:absolute;
}

#gardengotop{
	bottom:0;
	right:0;
	position:absolute;
}

/*　お庭一覧　*/

.gardenmain{
	clear:both;
	width:980px;
	margin:0 auto;
	border: 1px #72211e solid;
	padding: 10px;
	background-color: #ffffcc;
}

.gardenmain img{
	margin: 0 2px;
}

.gazou{
	float:left;
}

.bassui{
	display:inline-block;
	vertical-align:top;
	float:left;
	width:850px;
}

.gardenmain p{
	clear:both;
}

.pagenations{
	width:1000px;
	margin: 0 auto;
}

/* 投稿ページ一覧 */
#gotop{
	width:1000px;
	margin: 0 auto;
	text-align:right;
}

/* 投稿ページ */
.postmain h1{
	font-size:21px;
	color:#72211e;
}

.postnavi{
	width:1000px;
	margin:0 auto;
}

.gopostlist{
	float:left;
}

.postgotop{
	float:right;
}

.postmain img{
	vertical-align:top;
}

.postmain p{
	padding:3px 0;
}



/* タブレット用CSS */
@media screen and ( max-width:1024px ){
	
	/* 全体 */
	body{
		background-size:cover;
	}
	
	/*トップ挨拶部分*/
	#aisatsu{
		background-color: #f1e6d3;
		background-image: none;
		min-height:10px;
	}
	
	#message{
		position:static;
		max-width:none;
		padding: 10px;
	}
	
	#kaicho{
		position:static;
	}	
	.readmore{
		display:inline;
	}
	
	.hidden{
		display:none;
	}
	
	/* メイン地域を選ぶ */
	#area,#image{
		float:none;
		text-align:center;
	}
	
	#area{
		max-width:1024px;
	}
	
	#area img{
		width:100%;
	}
	
	/* フッター */
	#address{
		width:auto;
		float:none;
	}
	
	#tel{
		float:none;
	}
	
	/* お庭一覧ヘッダー部分 */
	#arealist{
		width:auto;
		margin: 0 auto;
	}
	
	.areabox{
		width:auto;
		float:none;
		border: 0;
	}
	
	.menutitle{
		display:block;
		text-align:center;
		font-size:18px;
		font-weight: bold;
		margin: 0 auto;
	}

	/* ▽▽アコーディオン開閉指定▽▽ */
	input[type="checkbox"].bellows + ul{
		height: 0;/* チェックが入っていない時の高さ */
		overflow: hidden;
	}
	 
	input[type="checkbox"].bellows:checked + ul{
		height: auto;/* チェックが入っているときの高さ */
	}
	/* △△アコーディオン開閉指定△△ */
	
	#arealist ul {
	/* メニュー開閉時アニメーション */
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
	}
	
	.keisen3{
		width:100%;
	}
	
	/* お庭一覧タイトル画像 */
	#gardentitle{
		width:auto;
		height:auto;
		position:static;
		margin: 0 auto;
	}
	
	#gardenimg{
		position:static;
	}
	
	#gardennext{
		position:static;
		float:left;
	}

	#gardengotop{
		position:static;
		float: right;
	}

	/*　お庭一覧　*/
	.gardenmain{
		width:auto;
	}
	
	.bassui{
		width:75%;
	}

	.pagenations{
		width:auto;
	}
	
	/* 投稿ページ一覧 */
	#gotop{
		width:auto;
	}
	
	/* 投稿ページ　*/
	.postnavi{
		width:auto;
	}
}

/* スマホ用CSS　*/
@media screen and ( max-width:480px ){

	/*トップ挨拶部分*/
	#message h1{
		font-size:21px;
	}
	
	/* メイン地域を選ぶ */	
	#image img{
		width:100%;
	}
	
	/* お庭一覧タイトル画像 */
	#gardenimg img{
		width:100%;
	}
	
	/* お庭一覧 */
	.bassui{
		width:60%;
	}

}

/************************************
** ページネーション
************************************/
.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}
 
.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background: #72211e;
}
 
.pagination a:hover{
color:#fff;
background: #3279BB;
}
 
.pagination .current{
padding:6px 9px 5px 9px;
background: #3279BB;
color:#fff;
}

/************************************
**　YouTubeスマホ対応
************************************/
.youtube {
position: relative;
width: 100%;
padding-top: 56.25%;
}
.youtube iframe{
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}
