/******* wrapper *******/

#wrapper{
	text-align: left;
	overflow: hidden;
}

*:first-child+html #wrapper{
	width: 100%;
	height: 100%;
	text-align: left;
	overflow: hidden;
}

.hdn{
	display: none;
}

#scrn{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 800px;
	overflow: hidden;
	background: url(../cmn/base_bg.png) repeat-x top left;
	zoom: 1;
	z-index: -1;
}


/******* header *******/

header{
	width: 100%;
	height: 35px;
	background: #000000;
	border-top: solid 3px #006666;
	position: relative;
	top: -30px;
	left: 0px;
	z-index: 5;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}


nav{
	margin: auto;
}
nav img{
	width: 60px;
}
nav ul{
	float: right;
}
nav ul li{
	height: 35px;
	overflow: hidden;
	text-align: center;
	float: left;
}
nav ul li a{
	height: 35px;
	display: block;
}


@media only screen and (min-width : 300px) {
nav{
	width: 300px;
}
nav ul{
	width: 300px;
}
nav ul li{
	width: 60px;
}
nav ul li a{
	width: 60px;
}
}

@media only screen and (min-width : 481px) and (max-width : 640px) {
nav{
	width: 480px;
}
nav ul{
	width: 480px;
}
nav ul li{
	width: 96px;
}
nav ul li a{
	width: 96px;
}
}

@media only screen and (min-width : 641px) and (max-width : 899px) {
nav{
	width: 640px;
}
nav ul{
	width: 640px;
}
nav ul li{
	width: 128px;
}
nav ul li a{
	width: 128px;
}
}

@media only screen and (min-width : 900px) {
nav{
	width: 900px;
}
nav ul{
	width: 600px;
}
nav ul li{
	width: 120px;
}
nav ul li a{
	width: 120px;
}
}


/******* contents *******/

#contents{
	position: relative;
	width: 85%;
	margin: 10px auto;
}

@media only screen and (min-width : 900px) {
#contents{
	width: 900px;
}
}

#contents:after{
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}

#logo{
	position: relative;
	width: 100%;
	margin-bottom: 20px;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

@media only screen and (min-width : 900px) {
#logo{
	position: absolute;
	width: 272px;
}
}

#logo img{
	width: 100%;
}

#main{
	position: relative;
	top: 35px;
	left: 0px;
}

@media only screen and (min-width : 900px) {
#main{
	left: 350px;
	width: 500px;
}
}

#area1,#area2,#area3,#area4{
	position: relative;
	padding-bottom: 30px;
}

#area2{
	min-height: 600px;
}

#area5{
	position: relative;
	padding-bottom: 50px;
}

@media only screen and (min-width : 641px) {
#area5{
	min-height: 800px;
	padding-bottom: 100px;
}
}

.ctsbox{
	position: relative;
}

/******* top(area1) *******/

@media only screen and (min-width : 768px) {
#area1 h2{
	width: 500px;
	height: 50px;
	background: url(../cmn/mi_top.png) no-repeat top left;
	text-indent: -9999px;
}

#area1 h3.ttl2,
#area1 h3.ttl3{
	font-size: 120%;
}
}


#area1 h3{
	color: #336699;
}

#info_area{
	margin-top: 10px;
}

dl.info{
	border-top: dotted 1px #999999;
	padding-top: 10px;
}

dl.info dt span{
	color: #66ccff;
	font-weight: normal;
}

dl.info dd{
	border-bottom: dotted 1px #999999;
	margin-bottom: 1em;
}


/******* works(area2) *******/

@media only screen and (min-width : 768px) {
#area2 h2{
	width: 500px;
	height: 26px;
	background: url(../cmn/mi_work.png) no-repeat top left;
	text-indent: -9999px;
}
}

#item-box{
	position: relative;
	width: 80%;
	margin: auto;
}

@media only screen and (min-width : 640px) {
#item-box{
	width: 300px;
}
}

.item{
	position: absolute;
	top: 20px;
	left: 0px;
	z-index: 1;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

.thumb,
.thumb2{
	display: block;
	width: 100%;
	margin: auto;
}

@media only screen and (min-width : 321px) and (max-width : 640px) {
.thumb,
.thumb2{
	width: 80%;
}
}

.thumb img{
	width: 100%;
	-moz-box-shadow: 2px 2px 2px #cccccc;
	-webkit-box-shadow: 2px 2px 2px #cccccc;
	-o-box-shadow: 2px 2px 2px #cccccc;
	box-shadow: 2px 2px 2px #cccccc;
}

.thumb2 img{
	width: 100%;
}


#area2 h3{
	color: #336699;
	margin-top: 1em;
}


.detail{
	width: 100%;
	margin: auto;
}

@media only screen and (max-width : 640px) {
dl.itemdata{
    font-size: 12px;
}
}

dl.itemdata dt{
	width: 80px;
	padding: 3px 0px;
	font-weight: bold;
	line-height: 1em;
	margin-bottom: 0;
	float: left;
}

dl.itemdata dd{
	padding: 3px 0px;
	padding-left: 80px;
}

#btn_bck{
	position: absolute;
	top: 360px;
	left: 0px;
	width: 20px;
	height: 20px;
	z-index: 3;
	cursor: pointer; 
}

#btn_nxt{
	position: absolute;
	top: 360px;
	right: 0px;
	width: 20px;
	height: 20px;
	z-index: 3;
	cursor: pointer; 
}

/******* office(area3) *******/

@media only screen and (min-width : 768px) {
#area3 h2{
	width: 500px;
	height: 26px;
	background: url(../cmn/mi_office.png) no-repeat top left;
	text-indent: -9999px;
}
}

dl.cmndata{
	
}

dl.cmndata dt{
	width: 80px;
	padding: 8px 0px;
	line-height: 1em;
	margin-bottom: 0;
	float: left;
}

dl.cmndata dd{
	padding: 8px 0px;
	padding-left: 80px;
	border-bottom: dotted 1px #999999;
	line-height: 1.3em;
}

dl.cmndata dd ul li{
	padding-left: 6px;
	background: url(../cmn/listmark.gif) no-repeat top left;
	margin-bottom: 0.4em;
	line-height: 1.2em;
}


/******* access(area4) *******/

@media only screen and (min-width : 768px) {
#area4 h2{
	width: 500px;
	height: 26px;
	background: url(../cmn/mi_access.png) no-repeat top left;
	text-indent: -9999px;
}
}

#mapbox{
	width: 100%;
	height: 140px;
	border: solid 1px #999999;
	margin: 20px 0;
	overflow: hidden;
}

@media only screen and (min-width : 768px) {
#mapbox{
	height: 200px;
}
}



/******* form(area5) *******/

@media only screen and (min-width : 768px) {
#area5 h2{
	width: 500px;
	height: 26px;
	background: url(../cmn/mi_form.png) no-repeat top left;
	text-indent: -9999px;
}
}

#area5 form{
	margin: 10px 0 10px;
}

fieldset{
	margin-bottom: 0.8em;
}

fieldset label,
fieldset input,
fieldset span{
	float: left;
	display: block;
}

legend{
	font-weight: bold;
	padding-bottom: 0.3em;
	display: block;
}

label{
	margin-left: 5px;
}

fieldset span{
	margin-left: 5px;
}

.field{
	width: 100%;
	overflow: auto;
	padding: 3px 0px;
	background: #eeeeee;
	border-radius: 4px;
	border: solid 1px #cccccc;
}

input.lng{
	width: 70%;
	margin-right: 3px;
	float: right;
}

textarea.lng{
	width: 70%;
	margin-right: 3px;
	float: right;
}

input[type="text"],
textarea{
	border: solid 1px #99aaee;
	padding: 3px;
	background: #ffffff;
	border-radius: 3px;
	
	background: -webkit-gradient(
	linear,
	left top,left bottom,
	from(#eee),to(#fff));
	-webkit-border-radius: 3px;
	-webkit-box-shadow: 1px 1px 1px #ffffff;
	/** FF **/
	background: -moz-linear-gradient(
	top,#eee.#fff);
	-moz-border-radius: 3px;
	-moz-box-shadow: 1px 1px 1px #ffffff;
	/** IE **/
	filter:progid:DXImageTransform.Microsoft.gradient
	(startColorstr=#ffeeeeee,endColorstr=#ffffffff);
	zoom: 1;
}

input[type="submit"]{
	width: 140px;
}

/***
.field2{
	width: 498px;
	overflow: auto;
	margin: 5px 0px;
	padding: 4px 0px;
	background: #ff6600;
	border-radius: 4px;
	border: solid 1px #cccccc;
}

label.error{
	width: 450px;
	text-align: center;
	color: #339999;
	font-weight: bold;
	margin-top: 3px;
	clear: both;
}
***/

#endmsg{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
	padding: 0.5em 0 0;
	background: -moz-linear-gradient(#039, #36c);
	background: -webkit-gradient(linear, left top, left bottom, from(#039), to(#36c));
	border: solid 1px #6699ff;
	border-radius: 5px;
	-moz-box-shadow: 3px 3px 5px #999999;
	-webkit-box-shadow: 3px 3px 5px #999999;
	-o-box-shadow: 3px 3px 3px 5px #999999;
	box-shadow: 3px 3px 5px #999999;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

@media only screen and (max-width : 899px) {
#endmsg{
	font-size: 120%;
}
}

@media only screen and (min-width : 900px) {
#endmsg{
	font-size: 120%;
	left: 20px;
	width: 460px;
}
}

/******* footer *******/

#pagetop{
	position: absolute;
	bottom: 0px;
	right: 3px;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	z-index: 5;
}

#pagetop img{
	width: 100px;
}

#ltinfo{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 22px;
	color: #ffffff;
	line-height: 22px;
	text-align: center;
	background: #666699;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

footer{
	position: relative;
	bottom: -30px;
	left: 0px;
	width: 100%;
	height: 30px;
	background: #000000;
	border-bottom: solid 3px #006666;
	text-align: center;
	z-index: 5;
	-ms-filter: "alpha(opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

footer:after{
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}

footer #copyright{
	width: 100%;
	height: 30px;
	font-size: 10px;
	line-height: 30px;
	background: none;
	text-indent: 0;
	text-align: center;
	color: #ffffff;
	margin: auto;
}

@media only screen and (min-width : 900px) {
footer #copyright{
	width: 900px;
	background: url(../cmn/copyright.gif) no-repeat;
	text-indent: -9999px;
}
}




