/*----------------------------------------------------------------------------
******************************************************************************
共通スタイル
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
	background: url(../images/body_bg.jpg);
}

.layout {
	margin: 0 auto;
}

/* ==== Backgraund === */
#wrap {
	margin: 0 auto;
	border-top: 10px solid #00008B;
}
/* ==== Header === */
#hd {
	background: #E3E3E3;
}
header {
	background:url(../images/hd_bg.png) no-repeat center right;
}
/* ==== Navigation === */
#nav {}
#nav ul {}
#nav li {}

/* ==== contact === */
#contact {
	border: 1px solid #CCC;
	margin-top: 20px;
	box-sizing:border-box;
	padding-bottom: 10px;
	background: url(../images/contact_bg.png) no-repeat right bottom #C4EAF9;
	text-align:center;
}
#contact_ttl {
	padding:10px 0 ;
	margin-bottom: 10px;
	background: #3DB8EB;
	border-bottom: 1px solid #CCC;
}
p#contact_ttl {
	text-shadow: 1px 1px 1px #00008B;
	color: #FFF;
	font-size: 1.3em;
	font-weight: bold;
}

/* ==== Content === */
#con {
	background: url(../images/bg.jpg) repeat-x;
	padding-top:20px;
}

#main {}
/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main a img{
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}
/*ボーダー*/
.bd {
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 10px 15px;
	background:#FFFFFF;
}
/* ==== pagetop === */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 10px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

/* ==== Footer === */
#ft {
	margin-top:30px;
	padding-top: 35px;
	padding-bottom: 35px;
	text-align: center;
	background: #00008B;
	color:#FFFFFF;
}
/*----------------------------------------------------------------------------
Head
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {}
h2 {
	position:relative;
	margin: 0em 0 0.5em 0;
	padding: 0.9em 0 0.9em 2.5em;
	font-size: 1.8em;
	font-weight: bold;
	color: #333;
	border: 2px solid #CCC;
	border-radius: 3px;
	/*背景グラデーション*/
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(226,226,226,1) 51%, rgba(204,204,204,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(226,226,226,1) 51%,rgba(204,204,204,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(226,226,226,1) 51%,rgba(204,204,204,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}
h2:before{
	content: "\e900";
    position: absolute;
	top: 50%;
    left: 15px;
    margin-top: -14px;	
	font-family: 'icon';
	font-size: 1.2em;
	color:#1E78D0;
	font-weight:normal;
}
h2 .h2_s {
	font-size: 0.6em;
	margin-left: 1em;
}
h3 {
	margin: 1.4em 0 0em 0;
	font-size: 1.2em;
	font-weight:bold;
	box-sizing:border-box;
	padding: 0.8em 0 0.8em 1.1em;
	border: 1px solid #CCC;
	border-left: 8px solid #00008B;
	/*背景グラデーション*/
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 49%, rgba(228,228,228,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 49%,rgba(228,228,228,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 49%,rgba(228,228,228,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-9 */
}
h4 {
	font-size: 1.1em;
	padding: 0.1em 0 0.1em 0em;
	margin: 1.0em 0 0.5em 0;
	border-bottom: 3px solid #00008B;
}
h5 {
	font-size: 1.1em;
	margin: 10px 0px;
}
	
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img { margin: 0;padding: 0;background: none;border: none; }

/*----------------------------------------------------------------------------
Original
----------------------------------------------------------------------------*/
/* ==== Index === */

/* ==== Last update === */
#i_news {
	background:#FFFFFF;
	height:230px;
	overflow-y: scroll; 
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
}
#i_news table {}
#i_news table td {
	vertical-align: top;
	padding: 0px 10px 10px 15px;
	border-bottom: 1px solid #CCC;
}
#i_news table td a{
	text-decoration: none;
}
#i_news table td.date {
	font-weight:bold;
	padding: 10px 10px 5px 15px;
	border-bottom:none;
}
/* ==== links === */
#links ul{
	margin:0;
	padding:0;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}
#links ul li {
	list-style:none;
	position: relative;
	border-bottom: 1px dotted #CCCCCC;
	padding: 1.0em 0.5em 1.0em 3.5em;
}
#links ul li:last-child {
	border-bottom: none;
}
#links ul li a{
	text-decoration:none;
	color: #000;
	font-weight:bold;
}
#links ul li:before{
	content: "\e901";
    position: absolute;
	top: 50%;
    left: 15px;
    margin-top: -12px;	
	font-family: 'icon';
	font-size: 1.5em;
	color:#1E78D0;
}
#links ul li a:hover {
	color: #1E78D0;
}






/*----------------------------------------------------------------------------
******************************************************************************
スマホのスタイル
******************************************************************************
----------------------------------------------------------------------------*/
@media screen and (max-width:599px){
/* ==== Base === */
.layout {width: 94%;}
/* ==== Header === */
#hd {
	height: 90px;
}
#left_box {
	width:100%;
}
/* ==== h1 img === */
.logo_pc {
	display:none;
}
.logo_tl {
	display:none;
}
.logo_sp {
	display:block;
} 
h1 {
	position: absolute;
	top:20px;
	left:15px;
	z-index: 1000000; /*meanmenuのz-indexが999999*/
}
h2 {
	font-size: 1.5em;
}
h3 {}

/* ==== Content === */
#con {}
#main {
	width: 100%;
}

/* ==== Index === */

/* ==== Last update === */

/* ==== Navigation === */
/*スタイルはmean.css*/

/* ==== Footer === */
footer {
	font-size: 0.8em;
}
#main img{
	max-width:100%;
	height:auto;
}

.gallery{}
.gallery ul{
	overflow:hidden;
	margin:0!important;
	padding:0!important;
}
.gallery li{
	width:98%;
	margin:1%;
	list-style-type:none;
	margin:0!important;
	padding:0!important;
}
.gallery li img{
	width:100%;
}
.gallery02{}
.gallery02 ul{
	overflow:hidden;
	margin:0!important;
	padding:0!important;
}
.gallery02 li{
	width:98%;
	margin:1%;
	list-style-type:none;
	margin:0!important;
	padding:0!important;
}
.gallery02 li img{
	width:100%;
}
}



/*----------------------------------------------------------------------------
******************************************************************************
タブレットのスタイル
******************************************************************************
----------------------------------------------------------------------------*/
@media screen and (min-width:600px){
/* ==== Base === */
.layout {width: 96%;}
/* ==== Header === */
#hd {
	height: 110px;
}
#left_box {
	width:100%;
	box-sizing:border-box;
}
/* ==== h1 img === */
.logo_pc {
	display:none;
}
.logo_tl {
	display:block;
} 
.logo_sp {
	display:none;
} 
h1 {
	position: absolute;
	top:22px;
	left:10px;
	z-index: 1000000; /*meanmenuのz-indexが999999*/
}
h2 {}
h3 {}
/* ==== Content === */
#con {}
#main {
	width: 100%;
}
/* ==== Index === */
.bxslider img{
	width:100%;
}
/* ==== Last update === */

/* ==== Navigation === */
/*スタイルはmean.css*/

/* ==== Footer === */
.gallery{}
.gallery ul{
	overflow:hidden;
}
.gallery li{
	float:left;
	width:48%;
	margin:1%;
	list-style-type:none;
}
.gallery li img{
	width:100%;
}
.gallery02{}
.gallery02 ul{
	overflow:hidden;
}
.gallery02 li{
	float:left;
	width:31%;
	margin:1%;
	list-style-type:none;
}
.gallery02 li img{
	width:100%;
}
}

/*----------------------------------------------------------------------------
******************************************************************************
パソコンのスタイル
******************************************************************************
----------------------------------------------------------------------------*/
@media screen and (min-width:1025px){
/* ==== Base === */
.layout {
	width: 960px;
}

/* ==== Header === */
#hd {
	height: 110px;
}
header {
	height: 110px;
}
#left_box {
	width:220px;
	float:left;
	box-sizing:border-box;
}
/* ==== h1 === */
.logo_pc {
	display: block;
}
.logo_tl {
	display:none;
} 
.logo_sp {
	display: none;
} 
h1 {
	position:relative;
	top: 16px;
}
h2 {}
h3 {}
/* ==== Content === */
#con {	}
#main {
	width: 720px;
	float: right;
}
/* ==== Index === */

/* ==== Last update === */

/* ==== Navigation === */
#nav {
	width:220px;
	box-sizing:border-box;
}
#nav ul {}
#nav li {
	position:relative;
}
#nav li a{
	display:block;
	text-decoration:none;
	color: #fff;
	font-weight: normal;
	font-size: 14px;
	padding: 14px 15px ;
	margin-bottom:5px;
	border:1px solid #CCC;
	border-radius:3px;
	/* 背景グラデーション */
	background: rgb(51,51,162); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(51,51,162,1) 0%, rgba(51,51,162,1) 49%, rgba(0,0,139,1) 51%, rgba(0,0,139,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(51,51,162,1) 0%,rgba(51,51,162,1) 49%,rgba(0,0,139,1) 51%,rgba(0,0,139,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(51,51,162,1) 0%,rgba(51,51,162,1) 49%,rgba(0,0,139,1) 51%,rgba(0,0,139,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3333a2', endColorstr='#00008b',GradientType=0 ); /* IE6-9 */
}
#nav li .nav_s{
	font-size: 12px;
	margin-left: 10px;
}
#nav li a:hover,
#nav li.current a {
	color:#333333;
	font-weight:bold;
	/*背景グラデーション*/
	background: rgb(187,214,53); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(187,214,53,1) 0%, rgba(187,214,53,1) 49%, rgba(170,204,3,1) 51%, rgba(170,204,3,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(187,214,53,1) 0%,rgba(187,214,53,1) 49%,rgba(170,204,3,1) 51%,rgba(170,204,3,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(187,214,53,1) 0%,rgba(187,214,53,1) 49%,rgba(170,204,3,1) 51%,rgba(170,204,3,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bbd635', endColorstr='#aacc03',GradientType=0 ); /* IE6-9 */
}
/*ナビ矢印*/
#nav li:after { 
	content: "\e900";
    position: absolute;
	top: 50%;
    right: 10px;
    margin-top: -6px;	
	font-family: 'icon';
	font-size: 1.0em;
	color: #FFF;
}
/*ナビ矢印マウスオーバー*/
#nav li:hover:after,
#nav li.current:after { 
	color: #333;
}

/* ==== Footer === */
.gallery{}
.gallery ul{
	overflow:hidden;
}
.gallery li{
	float:left;
	width:48%;
	margin:1%;
	list-style-type:none;
}
.gallery li img{
	width:100%;
}
.gallery02{}
.gallery02 ul{
	overflow:hidden;
}
.gallery02 li{
	float:left;
	width:31%;
	margin:1%;
	list-style-type:none;
}
.gallery02 li img{
	width:100%;
}
}