@charset "utf-8";


/* =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, h7, h8, h9, 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;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
background-color: #f5f5f5;
/* background-image: url(images/haikei.png); */
border-top:8px solid #3B5998;
border-bottom:8px solid #3B5998;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#3B5998;text-decoration:none;}
a:hover{color:#627aac;}
a:active, a:focus{outline:0;}

a[href^="http"] {
  background:url(images/linkico.png) no-repeat right center;
  padding-right:14px;
  margin-right:5px;
}

/* 全体
------------------------------------------------------------*/
#wrapper{
margin:12px auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
margin-bottom:37px;
width:100%;
}

.inner2{
margin:0 auto;
width:100%;
font-size:14px;
text-align:center;
}

.inner2 p{
background-color:#ffffff;
padding:20px;
}


/*************
/* ヘッダー
*************/
h1{
font-size:12px;
line-height:1.5;
font-weight:normal;
}

#header{
overflow:hidden;
padding:5px 0 0;
background-color:#fff;
background-clip:padding-box;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:15px 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
font-family:"Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo span{
font-size:12px;
font-weight:normal;
}

.info{
float:right;
padding:15px 0;
}

.tel strong{
font-size:14px;
font-weight:bold;
}

/**************************
/* トップナビゲーション
**************************/

#menuheader{
overflow:hidden;
padding:0px;
background-image:url(images/haikei0.png);
background-clip:padding-box;
}

ul#topnav{
clear:both;
overflow:hidden;
margin:0 auto 1px;
background:#3B5998;
background-image:url(images/haikei0.png);
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
}

ul#topnav a{
width:174px;
font-size:14px;
text-align:center;
display:block;
padding:5px;
color:#fff;
border-left:1px solid #fff;
}

ul#topnav li:first-child a{border:0;}

ul#topnav li.active a,ul#topnav a:hover{
font-weight:bold;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
clear:both;
line-height:0;
}

#mainBanner .inner .inner2{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
position: relative;
/*
-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.5);
-moz-box-shadow: 1px 2px 4px rgba(0,0,0,.5);
box-shadow: 1px 1px 4px rgba(0,0,0,.5);
*/
padding: 0px;
background: white;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
z-index:100;
color:#3B5998;
background:url(images/tp.png);
}

.subImg .slogan{
left:auto;
right:10px;
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
}

.slogan h3{
font-size:14px;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}



/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:0px 0;
overflow:hidden;
}

* html .gridWrapper{height:1%;}

.gridWrapper h1{
text-align:left;
padding:5px 10px;
font-size:18px;
margin-bottom:8px;
margin-top:7px;
line-height: 150%;
border-bottom:1px solid #627aac;
}

.grid{
float:left;
border-right:1px solid #fff;
}

.colDark,.colLight{
padding-bottom:1px;
}

.colDark h3,.colLight h3{
text-align:center;
padding:5px 10px;
font-size:14px;
color:#fff;
background:#627aac;
}

.colDark h3{
background:#3B5998;
}

.colDark:hover > h3{background:#627aac;}

.grid p{
padding:0px 0px;
text-align:center;
}

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-top:1px solid #fff;
border-bottom:1px solid #dbdbdb;
}

.grid li:first-child{border-top:0;}
.grid li:last-child{border-bottom:0;}

.gridWrapper img{
max-width:100%;
height:auto;
position: relative;
/*
-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.5);
-moz-box-shadow: 1px 2px 2px rgba(0,0,0,.5);
box-shadow: 1px 1px 2px rgba(0,0,0,.5);
*/
padding: 0px;
background: white;
}

.gridWrapper a:hover img{
opacity: 0.5;
}


/* フッター内のグリッド(3カラム) */

#footer .grid{
background:transparent;
}

#footer .col3 ul{margin:0 0 10px 5px;}

#footer .col3 li{
padding:0 7px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border:0;
}


/*************
メイン コンテンツ
*************/
section.content{
margin-bottom:20px;
font-size:14px;
overflow:hidden;
}

* html section.content{height:1%;}

section.content article{
padding:10px;
overflow:hidden;
background:#fff;
}

* html section.content article{height:1%;}

section.content p{
margin-bottom:5px;
letter-spacing : 0.1em;
}

section.content p strong {
background: linear-gradient(transparent 75%, #F2D0DA 75%);
color: #333;
font-weight: bold;
padding: 0 3px;
}

section.content ul{
list-style: disc inside;
overflow:hidden; //モダンブラウザ用
zoom:1; //IE用
}

section.content li{
padding:1px 0;
}

h3.heading,#sub .grid h3{
padding:5px 10px;
font-size:14px;
color:#fff;
background:#3B5998;
    -webkit-box-shadow: 0 8px 6px -6px #777;
       -moz-box-shadow: 0 8px 6px -6px #777;
            box-shadow: 0 8px 6px -6px #777;
}

#main h3.heading,#sub .col2 h3{background:#3B5998;}

h4.heading,#sub .grid h4{
padding:5px 10px;
font-size:16px;
background:#f8f8ff;
border-bottom:1px #3B5998 solid;
border-left:6px #3B5998 solid;
}

#main h4.heading,#sub .col2 h4{background:#f8f8ff;}

h5.heading{
font-weight: bold;
padding:0px 5px;
border-left:10px #EBB848 solid;
margin-bottom:8px;
margin-top:8px;
overflow:hidden; //モダンブラウザ用
zoom:1; //IE用
}

#main h5.heading{background:#f8f8ff;}

h6.heading{
font-weight: bold;
padding:0px 5px;
margin-bottom:8px;
margin-top:8px;
overflow:hidden; //モダンブラウザ用
zoom:1; //IE用
}

h6:before {
  content: url("images/check.png");
}

h7.heading{
font-weight: bold;
padding:0px 5px;
margin-bottom:8px;
margin-top:8px;
overflow:hidden; //モダンブラウザ用
zoom:1; //IE用
}

h7:before {
  content: url("images/ques.gif");
}

h8.heading,#sub .grid h8{
padding:5px 10px;
font-size:16px;
font-weight: bold;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 1px;
}

.alignright{
float:right;
clear:right;
margin:3px 1px 10px 10px;
}

img.frame,#gallery img{
border:0px solid #3B5998;
}

#gallery .gridWrapper{padding:0;}
#gallery .grid{border:0;background:none;}

#gallery img{
margin:1px;
}

section#gallery{overflow:visible;}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:0px auto;
background:#fff;
}

table.table th,table.table td{
padding:5px;
border:1px solid #627aac;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#627aac 4px solid
}

table.table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#3B5998;
}


/*************
/* フッター
*************/

#footer{
overflow:hidden;
padding:20px 0 10px;
background-color:#fff;
background-clip:padding-box;
border-top:2px solid #3B5998;
}

#footer .copyright{font-size:11px;}



/* PC用 */
@media only screen and (min-width:960px){
	#wrapper,.inner,.inner2,ul#topnav{
	width:940px;
	padding:0;
	}
	
	#wrapper{
	padding-bottom:20px;
	}
	
	#main{
	float:right;
	width:690px;
	}
	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}
	
	/* グリッド */
	.grid{width:310px;margin:1px;}
	.col2{width:469px;padding-bottom:12px;}
	.col3{width:600px;}

	#gallery .grid{
	width:32%;
	margin:2px;
	padding:0;
	}

	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	#header h1,#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	border-right:1px solid #627aac;
	border-bottom:1px solid #627aac;
	box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav a{
	width:100%;
	border:0;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}
	
	#mainBanner{width:100%;}

	.grid{
	width:50%;
	margin:0px;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}
	
	.col2{
	float:none;
	width:100%;
	margin:0 0 20px;
	}
	
	.grid img{
	float:left;
	margin-right:0px;
	}
	
	#gallery .grid{
	width:50%;
	padding:2px;
	}
	
	#gallery .grid img{
	float:none;
	}
	
	section.content{padding:0 10px;}
	
	section.content img{
  max-width:90%;
	height:auto;
	}
	
	#sub .grid{padding-bottom:20px;}
	
	#footer{padding:15px;}
	
	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.grid{width:100%;}

	.colDark{width:50%;}

	.colLight{width:50%;}

	.grid img{
	float:none;
	margin:1px;
	}
	
	.grid p{text-align:left;}
	
	img.frame,#gallery img{border-width:1px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0px;
	}
	
	#footer .grid p{text-align:center;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{padding-top:10px;}
  .info{padding:10px 0;}
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #627aac;
	width:50%;
	}	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner h2,#mainBanner h3{font-size:80%;}
}