@charset "utf-8";
/*
Theme Name: 
Theme URI: 
Description: まよいせんのサイト用テーマ
Version: 1.0
Author: miyabi
Author URI: 
*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font: 13px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background: url(images/body_bg.jpg);
}

* html body {     
background: url(null) fixed;    
}

/* リンク設定
------------------------------------------------------------*/
a{
text-decoration: underline;
color: #00A0C6;
}

a:hover, a:active{
color: #00CCCC;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{zoom: 1;}




/* レイアウト
------------------------------------------------------------*/
#wrapper{
	width:1000px;
	margin:0 auto 40px;
	overflow:hidden;
	}

	.inner{
		margin:10px auto;
		width:1000px;
		}

#header{
	overflow:hidden;
	margin: 0 auto;
	padding: 15px 0 15px;
	}

#content{
	float:left;
	width:700px;
	}

#sidebar{
	float:right;
	width:280px;
	}

#footer{
	padding: 20px 0;
	clear:both;
	}
		
	#footer #inner{
		width: 1000px;
		margin: 0 auto;
		overflow:hidden;
		}


@media screen and (max-width: 800px){

#wrapper{ width: 95%; }
#header{ width: 95%; }
#sidebar{ width: 27%; }
#footer{ background: none; padding: 0 0 10px;}

	.inner{ width:95%; }
	
	#footer #inner{	width: 95%; }

#content{
	float:left;
	width:68%;
	}

}

@media screen and (max-width: 640px){

#wrapper{ width: auto; margin: 0 auto;}
#header{ width: 95%; }
#content{ width: auto; float: none; margin:10px;}
#sidebar{ width: auto; float: none; margin:10px;}
#footer{ background: none; padding: 0 0 10px;}

	.inner{ width:95%; }
	
	#footer #inner{	width: 95%; }

}

/* 共通スタイル
*****************************************************/

img{
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
	}

.apeal01{ color: #FF0000; }
.clear{ clear: both;}

ul.list01{ margin: 10px 0; }
ul.list01 li{ list-style: disc inside; }

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{
margin: 0px 15px 10px 0px;
display:inline;
}

.alignright{float:right;}
.alignleft{float:left;}

.movie-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.movie-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 800px){

img.alignleft{
	width: 40%;
	height: auto:
	}
	
}



/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
	margin-bottom: 10px;
	font-size:80%;
	font-weight:normal;
	}
	

/* ロゴ (サイトタイトル)
----------------------------------*/
#header p#logo{
	float: left;
	}


/* メインメニュー
------------------------------------------------------------*/
#header ul.mainnavi{
	float: right;
	margin-top: 25px;
	}

#header ul.mainnavi li{
	float: left;
	padding: 0 15px;
	}


/* トップページ　メイン画像
----------------------------------*/

#mainImg{
	clear:both;
	line-height:0;
	text-align:center;
	margin: 0 0 20px;
	}
	
@media screen and (max-width: 800px){

#header p#logo{
	float: none;
	text-align: center;
	}
	
#header ul.mainnavi{
	float: none;
	margin-top: 20px;
	text-align: center;
	}

#header ul.mainnavi li{
	width: 25%;
	height: auto;
	padding: 0;
	}
		
}

@media screen and (max-width: 640px){

#header p#logo{
	float: none;
	text-align: center;
	}
	
#header ul.mainnavi{
	float: none;
	margin-top: 20px;
	text-align: center;
	}

#header ul.mainnavi li{
	width: 50%;
	height: auto;
	padding: 0;
	}
		
}


/* トップページ
*****************************************************/

div.two-col{
	overflow: hidden;
	margin-bottom: 20px;
	}

	div.news{
		background: url(images/top_bg_news.png) no-repeat;
		float:left;
		max-width: 300px;
		height: 272px;
		padding: 60px 20px 20px;
		}

		div.news ul{
			overflow: scroll;
			overflow-x: hidden;
			height: 270px;
			}
			
		div.news ul li{
			border-bottom: 1px solid #EEE;
			margin-bottom: 8px;
			padding-bottom: 8px;
			}

	div.movie{
		background: url(images/top_bg_movie.png) no-repeat;
		float:right;
		max-width: 300px;
		height: 272px;
		padding: 60px 20px 20px;
		}
		
		.youtube{
			position:relative;
			padding-bottom: 56.25%;
			padding-top:30px;
			height:0;
			overflow:hidden;
			}
	
		.youtube iframe{
			position:absolute;
			top:0;
			left:0;
			width:100%;
			height:100%;
			}
		
		div.movie span.title{
			pading: 8px 0;
			font-weight: bold;
			}
		
		div#appreach-box{
		    background: #fff;
		    margin-bottom: 20px;
		    padding: 12px;
			}	
			
		div#appreach-appname {
		    margin-bottom: 10px;
		    font-weight: bold;
			}

/*

div.news{
	background: url(images/top_news_bg.png) no-repeat;
	height: 242px;
	padding: 110px 50px 0;
	}
	
	div.news ul li{
		overflow: hidden;
		padding: 10px 0;
		border-bottom: 1px solid #DDD;
		}
	
	div.news span.ymd{
		margin-right: 20px;
		}
		
	div.news p.new-title{
		}

*/
		
p.banner{
	margin-bottom: 10px;
	text-align: center;
	}


@media screen and (max-width: 800px){

	div.news{
		max-width: 200px;
		height: auto;
		margin-bottom: 10px;
		}
		
		div.news ul li{
			border-bottom: 1px solid #EEE;
			margin-bottom: 8px;
			padding-bottom: 8px;
			}

	div.movie{
		float:right;
		max-width: 200px;
		height: auto;
		}
	
}

@media screen and (max-width: 320px){

	div.news{
		max-width: 300px;
		height: auto;
		float: none;
		}

	div.movie{
		max-width: 300px;
		height: auto;
		float: none;
		}
	
}
		
/* 固定ページ
*****************************************************/

.block{
	background: #FFF;
	padding: 30px;
	}

h2{
	font-size: 200%;
	color: #333;
	border-bottom: 1px dotted #CCC;
	font-weight: normal;
	margin-bottom: 20px;
	padding-bottom: 5px;
	}

h3{
	font-size: 130%;
	color: #333;
	font-weight: bold;
	margin-bottom: 10px;
	}

h4{
	font-size: 110%;
	font-weight: bold;
	color: #71151b;
	margin-bottom: 8px;
	}


div.content{
	overflow: hidden;
	margin: 0 0 30px;
	}
	
	div.border{
		border-bottom: 1px dotted #CCC;
		padding-bottom: 10px;
		}
		

@media screen and (max-width: 800px){

.block{
	margin-bottom: 20px;
	padding: 20px;
	}

}

@media screen and (max-width: 640px){

.block{
	margin-bottom: 20px;
	padding: 20px;
	}

}



/* サイドバー　ウィジェット
*****************************************************/

#sidebar p{
	margin-bottom: 10px;
	}
	
#sidebar div.tw-area{
	background: url(images/side_tw_bg.png) no-repeat;
	padding: 60px 20px 0;
	overflow: hidden;
	height: 440px;
	}
	
#sidebar #twitter-widget-0{
	margin-bottom: 20px!important;	
	}

	
@media screen and (max-width: 800px){

#sidebar div.tw-area{
	background: none;
	padding: 10px 10px 0;
	overflow: hidden;
	width: 90%;
	height: auto;
	}
}

/* フッター
*****************************************************/

#footer ul.footnavi li{
float: left;
margin-right: 25px;
padding-right: 25px;
border-right: 1px solid #CCC;
}

#footer p.copy{
float: right;
}

@media screen and (max-width: 800px){

#footer ul.footnavi li{ display: none;}
#footer p.copy{ float: none; text-align: center; font-size: 80%; }
	
}

/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* フォーム
------------------------------------------------------------*/
input[type=text], textarea{
vertical-align:middle;
max-width:80%;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
}

textarea{
height:auto;
line-height:1.5;
}

input[type=submit], input[type=reset], input[type=button]{
padding:3px 10px;
background: #878787;
background: -moz-linear-gradient(top, #878787 0%, #6f6f6f 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#878787), color-stop(100%,#6f6f6f));
background: -webkit-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: -o-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#6f6f6f',GradientType=0 );
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:110%;
font-weight: bold;
color:#fff;
}

input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover{
background: #878787;
background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f6f6f), color-stop(100%,#878787));
background: -webkit-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: -o-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787',GradientType=0 );
cursor:pointer;
}

*:first-child + html input[type=submit]{padding:3px;}


/* その他
------------------------------------------------------------*/
	
#sidebar ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 30px 0;
padding:10px 10px 10px 17px;
background: #FFF;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

#searchform input[type=text]{
line-height:1.7;
height:24px;
width:90px;
vertical-align:bottom;
}

/* カレンダー */
#calendar_wrap table{margin:0 auto;width:90%;}
#calendar_wrap table caption{padding:10px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;}
#calendar_wrap table th:nth-child(6),#calendar_wrap table td:nth-child(6){color:#0034af;}
#calendar_wrap table th:nth-child(7),#calendar_wrap table td:nth-child(7){color:#950000;}
#calendar_wrap table td#prev{text-align:left;}
#calendar_wrap table td#next{text-align:right;}
#calendar_wrap a{font-weight:bold;}
