@charset "Shift_JIS";

/* ========BASIC======== */
*{
font-family:Verdana, Helvetica, sans-serif;
color:#333;
}

body{
margin:0;
padding:0;
font-size:75%;
text-align:center;
line-height:1.4em;
letter-spacing:1px;
background:#fff url(../image/bg.gif) 50% 50% repeat-y fixed;
border-top:10px solid #cc0000;
}

br{
letter-spacing:normal;
}

a{
color:#333;
text-decoration:none;
}

a:hover{
color:#cc0000;
text-decoration:none;
}

img{
border:0;
}

h1,h2,h3,h4,h5,h6{
margin:0;
}

.font_b_red {
color:#cc0000;
font-weight:bold;
}

.text-right{
padding-top:0px;
text-align:right;
}

/* ========TEMPLATE FRAMEWORK======== */
div#top{
width:780px;
margin:0 auto;
text-align:left;
}

div#header{
width:780px;
height:60px;
background:#fff url(../image/bg_head.gif) 0% 0% no-repeat;
border-bottom:1px solid #cc0000;
margin-bottom:10px;
}

div#contents{
width:760px;
clear:both;
margin:0 10px;
}

div#main{
width:560px;
float:left;
}

div#sub{
width:180px;
float:right;
}

div#footer{
width:780px;
clear:both;
background:#fff;
border-top:1px solid #666;
margin-top:10px;
}

/* 回り込み解除 */
div#contents:after{
content:"";
display:block;
height:0;
clear:both;
visibility:hidden;
}

/* ========HEADER CUSTOMIZE======== */
div#header h1{
font-size:170%;
margin:0;
line-height:60px;
padding:0 10px;
}

.hide{
position:absolute;
left:-1000em;
width:900em;
}


/* ========MAIN CONTENTS CUSTOMIZE======== */
div#main a{
color:#0000ff;
}

div#main a:hover{
border:0;
color:#cc0000;
}

div#main h2 {
font-size:140%;
color:#cc0000;
padding:2px;
font-weight:bold;
border-bottom:2px solid #cc0000;
margin-bottom:10px;
}

div#main h3 {
margin-bottom:2px;
font-size:110%;
border-bottom:1px dotted #cc0000;
}

div#main h4 {
margin-bottom:2px;
font-size:100%;
font-weight:bold;
}

div#main p{
margin:0 0 1em 0;
}

div#main .center {
text-align:center;
margin-top:10px;
margin-bottom:15px;
}

div#main .title {
text-align:left;
margin-top:10px;
margin-bottom:15px;
}

div#main .indent00 {
margin-left:20px;
margin-top:10px;
margin-bottom:15px;
text-align:center;
}

div#main .indent01 {
margin-left:20px;
margin-top:10px;
margin-bottom:15px;
}


/*------ etc. */
.clear{
	clear:both;
}


/* ボックス赤枠 */
div#main .box_1{ 
border:1px solid #cc0000;
margin:0.5em 0;
padding:5px;
}

/* ボックス枠なし背景色ピンク */
div#main .box_2{ 
margin:0.5em 0;
padding:5px;
background:#fbccd3;
}

/* table その他一覧 */
.table0{
}
.table0 td,.table0 th{
border:none;
background-color:#ffffff;
padding-bottom:10px;
}
.table0 th{
padding-left:6px;
padding-right:10px;
}
.table0 tr{
text-align:left;
vertical-align:top;
}

/* 画像（左側配置ボーダーなし） */
.imgbox_left_none {
	margin: 0px 20px 1em;
	float: left;
}

.p_right {
	margin-right: 10px;
	text-align:right;
}


/* table 一般的なもの */
.table1{
	margin:0.5em 2px 15px;
	border-left:solid 1px #000000;
}
.table1 td,.table1 th{
	padding:4px;
	border-right:solid 1px #000000;
	text-align:left;
	vertical-align:top;
}
.table1 td{
	border-bottom:solid 1px #000000;
}
.table1 th{
	background-color:#eeeeee;
	text-align:center;
	border-top:solid 1px #000000;
	border-bottom:solid 1px #000000;
}







.box_3{ background:url("image/st2.gif"); border:1px dotted #ccc; color:#191919; margin:0.5em 0; padding:5px; }





/* ========MENU CUSTOMIZE======== */
div#menu ul {
margin:0;
padding:0;
}

div#menu li {
list-style-type:none;
margin:0;
padding:0;
}

div#menu li a{
display:block;
width:172px;
color:#333;
line-height:26px;
border-top:1px solid #cc0000;
border-bottom:none;
padding-left:8px;
background:url(../image/arrow.gif) 0 8px no-repeat;
}

div#menu li a:hover{
color:#333;
border-bottom:none;
border-top:1px solid #cc0000;
padding-left:8px;
background:#ffffff url(../image/arrow.gif) 0 8px no-repeat;
}

div#menu .logo1{
padding-top:25px;
padding-bottom:15px;
margin-top:25px;

text-align:center;
margin-left:auto;
margin-right:auto;
}
div#menu .logo2{
margin-top:20px;
text-align:center;
margin-left:auto;
margin-right:auto;
}


/* ========SUB CONTENTS CUSTOMIZE======== */
div#sub h2 {
margin-top:15px;
font-size:100%;
color:#fff;
padding:2px;
font-weight:bold;
background:#cc0000;
}

/* ========FOOTER CUSTOMIZE======== */
div#totop{
text-align:right;
padding:10px 10px 0 0;
}

div#footerMenu{
padding:10px 0;
}

div#footerMenu a{
color:#333;
}

div#footerMenu a:hover{
border:0;
color:#cc0000;
border-bottom:1px solid #cc0000;
}

div#footerMenu ul{
margin:0;
padding:0;
list-style:none;
}
div#footerMenu li{
display:inline;
margin:0 0 0 10px;
padding-left:8px;
background:url(../image/arrow.gif) 0 2px no-repeat;
}

address{
color:#333;
text-align:center;
font-size:80%;
padding:20px 0;
background:#f1f1f1;
border-top:2px solid #ddd;
}

/* ======== 会社概要・会社沿革の表（tb3）======== */ 
.tb3{
	margin-left: 10px;
	background-color: #333333;
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
}
.tb3-cell1 {
	width: 100px;
	padding: 4px;	
	background-color: #EEEEEE;
	font-size: 100%;
	color: #333333;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
}
.tb3-cell2 {
	padding: 4px;	
	background-color: #FFFFFF;
	font-size: 100%;
	color: #333333;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
}



/* ========IMAGE GALLERY（作品集）======== */

.gallerycontainer{
margin-left:20px;
margin-bottom:30px;
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid #999999;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}


/* ボックス右フロート
---------------------------------------------*/
.floatright {
	float:right;
}
