/*パララックスの設定
---------------------------------------------------------------------------*/
div.parallax{
	height:700px;
	width:100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size:cover;	
	}
.content2{
	padding:30px 0;
	}
.pbox{
	max-width: 1200px;
        margin: 0 auto;	
	}
.pbox h2{
	padding-top: 10%;
	font-size: 48px;
	color: #dc143c;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox h3{
	padding-top: 10%;
	line-height: 1.6;
	font-size: 28px;
	color: #00008b;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox p {
	line-height: 1.6;
	font-size: 28px;
	color: #000;
	font-weight: bold;
	}
.pbox p .wh{
	line-height: 1.2;
	font-size: 28px;
	color: #fff;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox p .yel{
	line-height: 1.2;
	font-size: 30px;
	color: #ffff00;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox ul li{
	padding: 0em 15px 15px;
	list-style: none;
	font-size: 24px;
	margin-left: 5%;
	color: #000;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
}
.pbox img {
	text-align: center;
	width: 98%;
	}
.right img {
	width: 50%;
	}

.parallax_img_1{
	background:url(../images/p1.jpg);	
	}
.parallax_img_2{
	background:url(../images/p2.jpg);	
	}
.parallax_img_3{
	background:url(../images/p3.jpg);	
	}
div.parallax2{
	height:500px;
	width:100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size:contain;	
	}
.parallax_img_4{
	background:url(../images/p4.jpg);	
	}	
	
/*全体の設定（本体と同じです） 最小限
---------------------------------------------------------------------------*/
/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #666;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 17px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*同上*/
}
a:hover {
	color: #353baf;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*inner共通
---------------------------------------------------------------------------*/
.inner {
	max-width: 1400px;	/*サイトの最大幅。「#mainimg」のmax-widthと揃える。*/
	margin: 0 auto;
	padding: 0 3%;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	border-top: 4px solid #353baf;	/*上の線の幅、線種、色*/
}
header .inner {
	height: 120px;	/*高さ*/
}
/*ロゴ画像*/
header #logo img {
	width: 300px;	/*画像幅*/
	float: left;	/*左に回り込み*/
	margin-top: 20px;	/*画像の上に空ける余白。上下のバランスをここで調整して下さい。*/
}

/*ヘッダー右側の電話番号ブロック
---------------------------------------------------------------------------*/
/*ブロック全体*/
#contact {
	float: right;		/*右に回り込み*/
	margin-top: 12px;	/*ブロックの上にあける余白。上下のバランスをここで調整して下さい。*/
	width: 350px;		/*ブロック幅*/
	border-radius: 6px;	/*角丸のサイズ*/
	padding: 5px;		/*ボックス内の余白*/
	border: 1px solid #dcdcdc;	/*枠線の幅、線種、色*/
	text-align: center;			/*文字をセンタリング*/
}
/*TEL*/
.tel {
	letter-spacing: 0.2em;	/*文字間隔を広くする設定。通常がいいならこの行削除。*/
	font-size: 20px;		/*文字サイズを大きく*/
}
/*TELの受付時間の小文字部分*/
.tel span {
	display: block;
	font-size: 11px;		/*文字サイズを小さく*/
	letter-spacing: 0.1em;	/*文字間隔*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	clear: both;
	overflow: hidden;
	background: #353baf;	/*背景色*/
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	width: 16.6%;	/*メニュー幅（100÷6個=16.6%）　もし４個にするなら100÷4=25%になる。*/
	padding-top: 5px;	/*この数字と「#menubar li a」のpaddingの１つ目(7px)の数字を足した合計が「#menubar li a」の３つ目の数字(12px)になるようにする。*/
}
#menubar li a {
	display:  block;
	text-decoration: none;
	text-align: center;
	color: #fff;	/*文字色*/
	padding: 7px 0px 12px;	/*上、左右、下への余白。上の「#menubar li」のpadding-topの解説と合わせて読んで下さい。*/
}
/*マウスオン時、現在表示中メニュー*/
#menubar li a:hover,
#menubar li.current a {
	background: #fff;	/*背景色*/
	color: #353baf;		/*文字色*/
	border-radius: 8px 8px 0px 0px;	/*角丸のサイズ。左上、右上、右下、左下への順。*/
}
/*スマホ用メニューを表示させない*/
#menubar-s {
	display: none;
}
/*３本バーアイコンを表示させない*/
#menubar_hdr {
	display: none;
}

/*ドロップダウンメニュー用
---------------------------------------------------------------------------*/
/*ドロップダウンブロックの設定*/
#menubar ul.ddmenu {
	position:absolute;
	visibility: hidden;
	z-index: 100;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.15);	/*ボックスの影。右に、下に、広げる幅、0,0,0は黒の事で0.15は透明度15%の事。*/
	background: #333;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒の事で0.8は透明度80%の事。*/
	width: 14%;	/*プルダウン背景の幅。お好みで変更してもらってOKです。*/
	padding: 10px;	/*ボックス内の余白*/
	border-radius: 8px;	/*角丸のサイズ*/
	border: 2px solid #fff;	/*枠線の幅、線種、色*/
}
/*メニュー１個あたりの設定*/
#menubar ul.ddmenu li {
	padding-top: 0;
	width: 100%;	/*幅*/
	height: 2em;	/*高さ*/
	overflow: hidden;	/*上の高さを超えた時に非表示にする設定。文字数が増えた時にレイアウトが崩れないための設定ですが、文字を全て表示させたいならこの行と上の行を削除。*/
}
#menubar ul.ddmenu li a {
	background: transparent;	/*背景色をリセットする*/
	border-radius: 0;
	text-align: left;	/*文字を左寄せ*/
	padding: 0 10px;	/*上下、左右への余白*/
	color: #fff;	/*文字色*/
}
/*マウスオン時*/
#menubar ul.ddmenu li a:hover {
	border-radius: 0;
	background: #fff;	/*背景色*/
	color: #353baf;		/*文字色*/
}
/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background: #353baf;	/*背景色*/
	color: #fff;	/*文字色*/
	font-size: 85%;	/*文字サイズ*/
}
footer a {
	color: #fff;
}
footer a:hover {
	color: #fff;
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	clear: both;
	margin: 0px auto;
	text-align: center;
	font-size: 11px;
}
/*１行分の設定*/
#footermenu ul li{
	display: inline;
	padding: 0px 3px;
}
#footermenu a{
	text-decoration: none;
}
#footer a:hover {
	color: #ffd700;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #333;	/*背景色*/
}
#copyright a {
	text-decoration: none;
}
/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
	padding-top: 40px;
}
#pagetop a {
	color: #fff;		/*文字色*/
	font-size: 20px;	/*文字サイズ*/
	background: #353baf;	/*背景色*/
	text-decoration: none;
	text-align: center;
	display: block;
	float: right;
	width: 60px;	/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 10px;	/*角丸のサイズ*/
	border: 3px solid #fff;	/*枠線の幅、線種、色*/
	box-shadow: 0px 5px 15px rgba(0,0,0,0.2);	/*ボックスの影*/
	margin-bottom: 20px;
}
/*マウスオン時*/
#pagetop a:hover {
	background: #fff;	/*背景色*/
	color: #353baf;		/*文字色*/
}
/*上にくっついてる追随メニュー
---------------------------------------------------------------------------*/
#tmenu{
	clear: both;  
}

#tmenu .topmenu {
 position: fixed;
	top: 20%;
	right: 10px;
	width: 10%;;	/*画像幅*/
}
#tmenu .topmenu ul{
	list-style: none;
}
#tmenu .topmenu ul li{
	margin: 5%;
}
#tmenu .topmenu ul .b1{
	background: #9faf35;	 /*背景色（古いブラウザ用）*/
	background: #9faf35;	/*背景色。padding-boxは、下で設定しているボーダーの半透明を反映する為に指定。*/
	border-radius: 8px;	/*角丸のサイズ*/
}
#tmenu .topmenu ul .b2{
	background: #35a5af;	 /*背景色（古いブラウザ用）*/
	background: #35a5af;	/*背景色。padding-boxは、下で設定しているボーダーの半透明を反映する為に指定。*/
	border-radius: 8px;	/*角丸のサイズ*/
}
/*ボタンのマウスオン時*/
#tmenu .topmenu ul .b1:hover{
	background: #ccad14;
}#tmenu .topmenu ul .b2:hover{
	background: #0088cc;
}
/*ボタン
---------------------------------------------------------------------------*/
.botan  a:hover img {opacity:0.8; filter: alpha(opacity=80);-ms-filter: "alpha( opacity=80 )";} 

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*ta1設定*/
.ta1 {
	width: 100%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px 15px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #f6f5f2;	/*背景色*/
	font-size: 18px;	/*文字サイズ*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 150px;	/*幅*/
	text-align: center;	/*センタリング*/
	font-weight: normal;
}
/*左側ボックスに画像を入れた場合の設定*/
.ta1 th img {
	width: 100%;
}
/*labelタグを２列表示にする*/
.ta1.cms td label {
	float: left;
	width: 50%;
}







/*パララックス　スマホ設定
---------------------------------------------------------------------------*/
@media screen and (max-width: 960px){
	.pbox{
		width:auto;
		}
	.right img {
	width: 90%;
	}
/*960px以下では4枚目のパララックスを外す*/	
div.parallax2{
	display: none;
	}

	
	}
	
/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){
/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
}
/*inner共通
---------------------------------------------------------------------------*/
.inner {
	width: auto;
}
#tmenu {
	display:none;
}
/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	border-bottom: 1px solid #dcdcdc;	/*下の線の幅、線種、色*/
}

/*ヘッダー右側の電話番号ブロック
---------------------------------------------------------------------------*/
/*ブロック全体を非表示にする*/
#contact {
	display: none;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューを非表示から表示に切り替える*/
#menubar-s {
	display: block;
}
/*メニュー１個あたりの設定*/
#menubar-s li {
	float: left;	/*左に回り込み*/
	width: 50%;		/*メニュー幅*/
	background-color: #fff;
}
#menubar-s li a {
	display: block;
	text-decoration: none;
	text-align: center;	/*文字をセンタリング*/
	padding: 15px 0;	/*上下、左右へのメニュー内の余白*/
	border-bottom: 1px solid #dcdcdc;	/*下線の幅、線種、色*/
	border-right: 1px solid #dcdcdc;	/*右線の幅、線種、色*/
}
/*偶数番目のメニューの右側の線を消す*/
#menubar-s li:nth-child(even) a {
	border-right: none;
}
/*PC用メニューを非表示にする*/
#menubar {
	display: none;
}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: absolute;
	top: 28px;		/*上から28pxの場所に配置*/
	right: 5%;		/*右から5%の場所に配置*/
	width: 30px;	/*幅*/
	border: 1px solid #000;	/*枠線の幅、線種、色*/
	padding: 12px 10px 5px;	/*上、左右、下へのボックス内余白*/
	background: #fff;		/*背景色*/
}
/*３本のバー（1本あたり）*/
#menubar_hdr span {
	display: block;
	border-top: 3px solid #000;	/*枠線の幅、線種、色*/
	margin-bottom: 7px;			/*バー同士の余白*/
}

/*スマホパララックス設定
---------------------------------------------------------------------------*/
div.parallax{
	height:auto;
	width:100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size:cover;	
	}
.content2{
	padding:2% 0;
	}
.pbox{
	max-width: 98%;
        margin: 0 auto;	
	}
.pbox h2{
	padding-top: 2%;
	font-size: 24px;
	color: #dc143c;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox h3{
	padding-top: 2%;
	line-height: 1.6;
	font-size: 16px;
	color: #00008b;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox p {
	line-height: 1.6;
	font-size: 16px;
	color: #000;
	font-weight: bold;
	}
.pbox p .wh{
	line-height: 1.2;
	font-size: 16px;
	color: #fff;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox p .yel{
	line-height: 1.2;
	font-size: 16px;
	color: #ffff00;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
	}
.pbox ul li{
	padding: 0em 15px 15px;
	list-style: none;
	font-size: 16px;
	margin-left: 5%;
	color: #000;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.2) 2px 2px 0;
}
.right img {
	width: 80%;
	}

}