* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	text-align: center;
	font-size : 95%;
	color: #333;
	line-height: 120%;
	background-color: #fff;
	background-image: url(home/bg.jpg);
	background-repeat: repeat-x;
	font-family : 'メイリオ',sans-serif;
	border-top: solid 3px #00a0e9;

  	-webkit-text-size-adjust: 100%;
}

main {
	display: block;/*IE11以下ではmainタグ非対応のためcssでblock指定をする*/
}

img {
	vertical-align: top;
	border-width : 0px;
}

a:hover {
	color: #d10000;
	text-decoration: underline;
}

a {
	text-decoration: underline;
}

h1,h2,h3,h4,h5,h6 {
	padding: 0;
	margin: 0;
	clear: both;
}

ul,ol,dl,table {
	line-height: 150%;
	font-size: 100%;
	margin-bottom: 10px;
	margin-top: 0px;
}

table {
	margin: 0;
	border: 0;
}

th,td {
	line-height: 120%;
	color: #333;
}

iframe {
	border: 0;
}

p {
	line-height : 160%;
	margin: 0 10px;
	padding-bottom: 0.5em;
	font-size: 100%;
	text-align: justify;
}

h1 {
	margin: 0 0 30px 0;
	padding: 15px 20px;
	font-size: 110%;
	line-height: 150%;
	background-color: #00a0e9;
	border-radius: 7px;
	width: 100%;
	color: white;
	font-weight: normal;
	letter-spacing: 1px;
}

h2 {
	clear: both;
	margin: 60px 0 20px 0;
	padding: 8px 0 8px 8px;
	font-size: 120%;
	line-height: 150%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: silver;
	font-weight: bold;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #00a0e9;
	color: #00a0e9;
}

h3 {
	font-weight: bold;
	margin: 50px 10px 10px 10px;
	padding: 0 0 7px 0;
	color: #666666;
	font-size: 110%;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: silver;
	color: #00a0e9;
}

h4 {
	margin: 20px 10px 10px 10px;
	font-weight: bold;
	font-size: 95%;
}

h5 {
	margin: 10px 10px;
	font-weight: bold;
	font-size: 95%;
}

/*==========全体ラップ（フッタを除く全体）==========*/

#wrapper {
	padding: 0;
	margin: 0px auto 0px auto;
	max-width: 940px;
	text-align: center;
	clear: both;
	background-color: white;
	box-shadow: 0 0 5px 0 #000;
		position:relative;

}

/*==========ロゴ＆tel==========*/

#logo_tel {
	padding: 0 20px 0 20px;
	margin: 0;
	max-width: 940px;
	height: 60px;
	text-align: left;
}

#logo {
	padding: 0;
	margin: 0;
	max-width: 200px;
	height: auto;
	display: block;
	float: left;
}

.tel_box {
	height: 60px;
	padding-top: 10px;
	float: right;
}

.tel_text p {
	font-size: 85%;
	margin-bottom: 0px;
	line-height: 10px;
	text-align: center;
}

.tel_number {
	font-size: 130%;
	text-align: right;
	color : #00a0e9;
	font-family:'Arial Black','Arial', sans-serif;
	font-weight; bold;
}

/*==========グローバルメニュー==========*/

#global_menu_wrap {
	padding: 0;
	margin: 0;
	clear: both;
	max-width: 940px;
	background-color: #00a0e9;
	text-align: left;
}

ul#global_menu {
	margin: 0;
	padding: 0;
/*	overflow: auto;*/
    letter-spacing: -.4em; /* 文字間を詰めて隙間をなくす */
	display: inline-block;
	background-color: #00a0e9;
	color: #fff;
}

ul#global_menu li {
	margin: 0;
	padding: 0;
	/*float: left;*/
	letter-spacing: normal;/* 文字間を元に戻す */
	width: 180px;
	text-align: center;
	display: inline-block;
	position: relative;

}

ul#global_menu li a {
	text-decoration: none;
	display: block;
	border-right : 1px solid #fff;
	padding: 5px 0px;
	color: #fff;
}

ul#global_menu li a:hover {
	color: #fff;
	text-decoration: none;
	background-color: #236bbc;
}

ul#global_menu li a:active {
	color: #00a0e9;
	text-decoration: none;
	background-color: #fff;
}



/*==========ドロップダウンメニューを隠す==========*/
ul#global_menu li > ul {
    display: none;
}


/*==========ドロップダウンメニューを表示する場合==========
ul#global_menu li > ul {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 100%;
	left: 0;
	width: auto;
	border: 0;
	background-color: #00a0e9;
	color :#333;
	height: 0;
	overflow: hidden;
	
}

ul#global_menu li:hover > ul {
	height: auto;
	border: 0;
		box-shadow: 0 0 5px 0 #fff;

}

ul#global_menu li ul li a {
	border: 0;
	border-bottom: 1px solid #fff;
	padding-left: 10px;
    	text-align: left;
}

*/



/*==========ヘッダ画像==========*/

img#head_img {
	max-width: 100%;
}

/*==========パンくずリスト==========*/

#breadcrumb_list {
	padding: 5px 5px 5px 20px;
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #00a0e9;
	font-size: 87%;
	margin-bottom: 30px;
	text-align: left;
}

/*==========メイン領域==========*/

#main {
	max-width: 940px;
	padding: 0 20px 0 20px;
}

/*========================================左BOX（本文）========================================*/

#left_box {
	maragin: 0;
	padding: 0;
	width: 660px;
	float: left;
	text-align: left;
}

img.img_size_half {
	max-width: 50%;
}

img.img_size_full {
	max-width: 100%;
}

/*==========枠囲い==========*/

.wakugakoi {
	border: dotted #00a0e9 1px;
	margin: 10px; 
	padding: 10px;
}

.wakugakoi p {
	padding-bottom: 0px;
}

/*==========PDFアイコン==========*/

.pdf_icon {
	margin-right: 5px;
}




/*==========「お気軽に問い合わせください」電話＆メールフォーム==========*/

#tel_mailform_box {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 7px;
	width: 100%;
	clear: both;
	border-width: 2px;
	border-style: solid;
	border-color: #00a0e9;
	margin-top : 60px;
	box-shadow: 0px 0px 3px #999;
}

#tel_mailform_box p {
	text-align: center;
}

/*========================================右BOX========================================*/

#right_box {
	width: 210px;
	float: right;
	text-align: left;
}

.right_nav {
	clear: both;
	padding: 10px;
	box-shadow: 0px 0px 3px silver;
	border: solid 1px whitesmoke;
	background: #fafafa;
	line-height: 130%;
}

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

#right_box ul li a {
	display: block;
	margin: 0 0 0 0;
	padding: 10px 0 10px 0;
  	border-top: 3px double silver;
}

#right_box ul li ul {
	margin: 0;
	padding: 0;
}

#right_box ul li ul li a {
	margin: 0;
	padding: 10px 0 10px 1.5em;
	border: none;
}

#right_box ul li ul li a:before {
	display: inline-block;
	*display: inline;<!-- IE用のハック -->
	zoom: 1;<!-- IE用のハック -->
	vertical-align: middle;
	margin: 0 0 -0.1em -1.5em;
	/*以下マークつくる*/
	content:'';
	width:1em;
	height: 1em;
	background: #00a0e9;
	border-radius: 25%;
	margin-right: 0.2em;
}

/*==========ページの先頭へ戻る（to_top）==========*/

.to_top {
	clear: both;
	text-align: right;
	width: 100%;
	height: 50px;
	clear: both;
}

.to_top img {
	margin-top: 25px;
	margin-right: 0px;
	padding: 0;
	vertical-align: top;
}

/*========================================フッタ========================================*/


#footer {
	text-align: center;
	background-color: #444;
		border-top: solid 4px #00a0e9;
}

#footer_box {
	margin-left: auto;
	margin-right: auto;
	padding:30px 20px;
	max-width: 940px;
	background-color: #555;
	box-shadow: 0px 0px 3px #999;
}

#footer_box p {
	color: #ffffff;
	text-align: right;
}

#footer_box p small {
	font-size: 70%;
}


				.indent {
				margin-left: 0px;
				padding-top: 0pt;
				margin-top: 0px;
				padding-left: 0px;
				}

				.mini_wrap {
				padding-left: 10px;
				clear: both;
				max-width: 100%;
				}

				.notes {
				font-size: 90%;
				text-align: right;
				color: #999999;
				}



@media (max-width: 939px) {

	#left_box {
		width: 100%;
	}

	#right_box {
		width: 100%;
		clear: both;
		margin-top: 30px;
	}
	
	.right_nav {
		padding: 0px;
	}
	
	#right_box ul li a {
		display: block;
		padding: 10px 20px;
		border-top: none;
		border-bottom: 1px solid silver;
		background: #e8fbfb;
	}
	
	#right_box ul li a:hover {
		text-decoration: none;
		background-color: #fff;
	}
	
	#right_box ul li a:active {
		background-color: #ddd;
	}
	
	#right_box ul li ul li a {
		margin: 0;
		padding: 10px 40px;
		border-bottom: 1px solid silver;
	}
	
	#right_box ul li ul li:before {
		content: none;
	}
	
}

@media (max-width: 720px) {
	
	ul#global_menu li {
		width: auto;
	}

	ul#global_menu li a{
		padding: 5px 15px;
	}
	
	ul#global_menu li ul li a {
		width: 180px;
	}

}


@media (max-width: 639px) {

	img.img_size_half {
		max-width:100%;
	}

}


@media (max-width: 480px) {

	#logo_tel {
		padding: 0;
	}

	.right_nav {
		margin: 0 -20px;
	}

	#footer_box p {
		text-align: left;
	}
	


}


@media (max-width: 413px) {

	ul#global_menu li a {
		font-size: 80%;
		padding: 5px 10px;

	}
	
	#logo {
		max-width: 120px;
	}

	.tel_box {
		font-size: 60%;
		height: auto;
		padding-top: 5px;
	}
	
	#logo_tel {
		height: auto;
	}


}

