@charset "utf-8";

body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
img {
	max-width: 100% !important;
	height: auto !important;
}


/*フォントサイズ*/
body {
	font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-size: 87.5%; /*14px*/
	letter-spacing: 0;
	background: url("../img/bg.jpg") repeat-x left top;
}
#wrap {
	font-size: 100%;
	color: #2E302E;
}
table {
	font-size:inherit;
}
/*フォントサイズ*/

.clearfix:after {
	content: " "; 
	display: block;
	height: 0.1px; 
	font-size: 0.1em; 
	clear: both;
	visibility: hidden;
}
*+html .clearfix{
  height:1%;
}
* html .clearfix,{
   height: 1%;
}

/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*共通*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
a {
	color: #040404;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:hover img {
	opacity:0.8;
	filter: alpha(opacity=80);
}
.clear {clear: both;}

.pd10 {padding: 10px;}

.fl_r {float: right;}
.fl_l {float: left;}

.tx_ac {text-align: center;}
.tx_ar {text-align: right;}

/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*フッター固定用css*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
html,body{
	height:100%;
	margin:0;
	padding:0;

/*　検証　一時コメントアウト
	overflow: auto;
*/

}

#wrap {
	position: relative;
	height: 100%;
	min-height: 100%;

}

body > #wrap {
	height: auto;
}

#contener {
	padding-bottom:250px;
}

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;

}

div#content {
	width: 980px;	
	margin: 0 auto;

	line-height: 1.5;
}


/*--------------ビジュアルエディター用-----------------*/

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {

	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
	max-width: 622px; /* caption width - 10px */
}
.wp-caption p.wp-caption-text {
	color: #777;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #777;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}





header {

}
footer {

}
#main {

}
#main_box {
	width: 100%;

}
#side {
	width: 300px;

}



/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*ヘッダー*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
#top_hed {
	height: 100px;
}
#top_hed h1 {
	padding: 20px 0;
}

/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*top_index*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/

#top_index {
	margin-bottom: 30px;

}
#top_index li {
	width: 300px;
	height: 360px;
	float: left;
	margin-right: 40px;
}
#top_index li:last-child {
	margin-right: 0;
}
#top_index li a {
	width: 300px;
	height: 360px;
	display: block;
	position: relative;

}
#top_index li a span {
	width: 300px;
	height: 360px;
	display: block;
	position: absolute;
	z-index: 2;
	background: rgba(0,0,0,0.5);
}
#top_index li a:hover span {
	background: transparent;
}



#top_index li a img {
	position: absolute;
}

#top_index li a:hover img {
	opacity:1;
	filter: alpha(opacity=100);
}


#top_index li a img.text {
	z-index: 3;
	left: 30%;
	top: 12%;
}
#top_index li:last-child a img.text {
	left: 15%;
	top: 18%;
}

#top_index li a img.bg {
	z-index: 1;
}

/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*group_link*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
#group_link {
}
#group_link h2 {
	color: #004996;
	font-size: 140%;
	font-weight: normal;
	margin-bottom: 20px;
}
#group_link ul {
	display: table;
	width: 100%;
	table-layout: fixed;
}
#group_link ul li {
	display: table-cell;
}
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/*footer*/
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
#footer {
	background: url("../img/ft_bg.gif") repeat-x left top;
	padding-top: 120px;
	padding-bottom: 20px;
}
#footer div.inr {
	width: 980px;
	margin: 0 auto;
	position: relative;
}
#footer div.inr dl {
	color: #004996;
}
#footer div.inr dl dt {
	font-size: 130%;
}
#footer div.inr dl dd span {
	display: block;
}
#footer div.inr dl dd span.tel {
	font-size: 130%;
}

#footer div.inr small {
	position: absolute;
	right: 0;
	top: 20px;
	color: #004996;
	font-weight: bold;
}
