@charset "utf-8";

/* ------------------------
　http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after ,q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ------------------------ */


/*
スマホ: 320px - 480px 
タブレット: 480 - 768px
PC: 768px以上
*/

/* 共通の設定 */

body{
	color:#333;
	font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Arial, Verdana, Sans-Serif;
	line-height:1.5;
	background:#f8f4f1;
	-webkit-text-size-adjust: none;
/*	width: 95%; */
	margin:0 auto;
}

/* html{background:#3f4360;}　*/

a{color:#3f4360;text-decoration:none;}
a:hover{color:#292d48;}
a:active, a:focus{outline:0;}

#wrapper{
	margin:0 auto;
	padding:0 1%;
	width:95%;
	position:relative;
}

.inner{
	margin:0 auto;
	width:100%;
}


/* ヘッダー部共通 */
#header{
	padding:10px 0 15px;
	overflow:hidden;
	background:#3f4360;
	border-bottom:1px solid #292d48;
	color:#fff;
}

* html #header{height:1%;}

#header h1{
	font-size:12px;
	font-weight:normal;
	color:#fff;
}

#header .logo{
	float:left;
	padding:20px 0 0;
}

.logo a{
	font-size:20px;
	font-weight:bold;
	line-height:1;
	color:#fff;
}

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

ul#headerMenu{
	float:right;
	overflow:hidden;
}

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

ul#headerMenu li{
	float:left;
	margin:0 5px;
	text-align:center;
}

ul#headerMenu a{
	font-size:13px;
	display:block;
	padding:20px 10px;
	color:#fff;
}

ul#headerMenu span{
	color:#cdcdcd;
	font-size:10px;
}

ul#headerMenu li.active a,ul#headerMenu a:hover{
	background:#292d48;
	border-radius:5px;
}


/* 本文　共通 */
#container {
}

#main {
}

section.content{
	padding:19px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	border-radius:6px;
	background:#fff;
	overflow:hidden;
	font-size:14px;
}

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

section.content p{margin-bottom:5px;}

h3.heading{
	padding-left:7px;
	margin-bottom:10px;
	font-size:16px;
	border-left:5px solid #3f4360;
	color:#3f4360;
}

section.content img{
	max-width:90%;
	height:auto;
}

#main a{
	color:#292d48;
	text-decoration:underline;
}

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

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

.aligncenter{
  display: block;
  margin-left: auto;
  margin-right: auto;	
  white-space: nowrap; 
}

.impact {	
	padding: 0 2px;
	margin: 23px 0;
	line-height: 23px;
	font-weight: bold;
	background: url(images/line.png) repeat 0px 0px;
}

.centerbold {	
	padding: 0 2px;
	margin: 15px 0;
	font-weight: bold;
	text-align:center;
}

.bold {	
	padding: 0 2px;
	margin: 10px 0;
	font-weight: bold;
	color:#454545;
}

.in_title {	
	padding: 0 2px;
	margin: 23px 0;
	font-weight: bold;
}

.normal{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;;
	font-weight: normal;
}

.small{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: xx-small;;
	font-weight: normal;
	line-height:50%;
}

img.frame,#gallery img{
	border:4px solid #fff;
	box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .grid{padding:5px 0 0;}

#image_middle img { vertical-align:middle; }

figure.imagebox {
float: left;
padding-right: 20px;
}

figure.rightbox {
float: right;
}

figcaption {
font-variant: small-caps;
}

/* フッター部共通 */
#footer{
	clear:both;
	padding:20px 0;
	overflow:hidden;
	background:#3f4360;
	border-top:1px solid #292d48;
	color:#fff;
}

* html #footer{height:1%;}

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

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

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

/* フッター内のグリッド(3カラム) */
#footer .grid{
background:transparent;
}

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

/* 料金表のためのテーブルスタイル　*/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #292d48;
vertical-align: middle !important;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#4f6390;
border-left:#292d48 5px solid
}

table.table td{border-left:#292d48 3px double}

/* 料金表のためのテーブルスタイル(指定法人用))　*/
table.table2{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table2 th,table.table2 td{
padding:5px;
border:1px solid #292d48;
vertical-align: middle !important;
}

table.table2 th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#4f9090;
border-left:#292d48 5px solid
}

table.table2 td{border-left:#292d48 3px double}

/* グリッド */
.gridWrapper{
padding-bottom:10px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.grid h3{
padding:20px 5px;
text-align:center;
color:#fff;
border-radius:5px 5px 0 0;
background:#3f4360;
}

.grid p{
	padding:5px 5px;
}

.gridWrapper img{
	max-width:100%;
	height:auto;
}


/* sub メニュー */
#sub {
	background: #f9f9f9;
}
#sub ul{padding:10px;}

#sub li{
	padding-top:8px;
	padding-bottom:8px;
	border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
	border:0;
	margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{
	padding-bottom:7px;
}

#sub ul.list li{
	clear:both;
	margin-bottom:5px;
	padding:5px 0;
	overflow:hidden;
}

#sub li.active{
	background:#e9edfc;
	border-radius:5px;
}

#sub a:hover{
	background:#d9ddf8;
	border-radius:5px;
	text-decoration:underline;
}


* html #sub ul.list li{height:1%;}

#sub ul.list li img{
	float:left;
	margin-right:10px;
}

#sub ul.list li{
	font-size:12px;
	line-height:1.35;
}


#sub h2{
		background: #3f4360;
		color:#fff;
    text-align: center;
}

#headerNav ul {
    list-style: none;
    overflow: hidden;
}

#headerNav li {
    float:left;
    width: 33%;
    text-align: center;
}

img {
    max-width: 100%;
}

.movie {
    position: relative;
    height: 0;
    padding-top: 56.25%; /* 16:9 */
}

iframe {
    height: 100%;
    position: absolute;
    left:0;
    top:0;
    width:100%;
}


/* footerNav */

#footerNavLink {
    float: right;
}

/* タブレットのスタイル */
@media all and (min-width: 480px) {
    #headerNav {
        display: block;
    }
    #QRcode {
    display: block;
　		}
		#gotoSP{
　		display: none;
　		}

}

/* PCのスタイル */

/*
all: 980px
sub: 200px
margin: 15px
main: 765px
*/

@media all and (min-width: 768px) {
    #container {
        overflow: hidden;
    }
    #main {
        float: left;
        width: 78.0612245%;
    }
    #sub {
        float: right;
        width: 20.4081633%; /* 200px / 980px * 100 */
    }
}

/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	/* グリッド共通 ベース:トップページ3カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:10px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
/*	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	*/
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:20%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}

	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0;
	border-top:1px solid #292d48;
	border-right:1px dashed #292d48;
	 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 li.active a,ul#topnav a:hover{border-radius:0;}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p,#sub .grid li{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
　#QRcode {
    display: none;
　}
　#gotoSP{
　		display: yes;
　}
}

/* スマホのスタイル 今回はディレクトリに　こちらのページでは全部表示 */
/*
#headerMenu {
    display: none;
}
*/


/* スマートフォン 縦(ポートレート) */

@media only screen and (max-width:480px){
  ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px dashed #292d48;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}



