@charset "utf-8";

html{	height:100%;}

body{
	height:100%;
	margin:0;
    background:url(../img/bgPattern01.gif) fixed;
}
.contentsbox{
	max-width:840px;
    margin: 0 auto;
}

.quarter{	max-width:25%;}
.onethird{	max-width:33%;}
.half{	max-width:50%;}
.twothird{	max-width:66%;}

.pad15{	padding:15px;}
.pad25{	padding:25px;}

.half.pad25{	width:46%;padding:25px 2%;}
.onethird.pad25{	width:30%;padding:25px 1.5%;}


.box_right{	right:0;}
.box_bottom{bottom:0; top: auto !important; transform: translateY(0) !important;}
.box_top{top: 13% !important; transform: translateY(0) !important;}
.box_center{	margin-left:auto; margin-right:auto;}

.half.box_center{	left: 22.5%;    right: 22.5%;}

.cornerbox,
.cornerbox .contentsbox {
	position:relative;
}

.innerbox {
    position: relative;
    height: 100%;
/*    width: 80%;*/
}
.vertical-center {
    width: 100%;
    position: absolute;
    top: 52%;
    transform: translateY(-52%);
}
.box-absolute{
	width:100%;
	position:absolute;
}

.innercontents{
	background:rgba(255,255,255,.8);
	padding:15px;
	overflow: hidden;
}
.innercontents.noPad{
	padding:0;
}


.btnScroll {
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 20px;
    color: rgba(218, 28, 28, 0.75);
    font-size: 80px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%,0);

	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.btnScroll:hover {
    color: #f7af00;
}
.btnScroll img{
	max-width:100%;
}

#pageHeader{
	position:fixed;
	top:0;
	left:0;
	right: 0;
	width:100%;
	height:80px;
/*background: -moz-linear-gradient(top,  rgba(251, 205, 101,0.9) 0%, rgba(255,255,255,0.9) 10%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(top,  rgba(251, 205, 101,0.9) 0%,rgba(255,255,255,0.9) 10%,rgba(255,255,255,0.9) 30%,rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom,  rgba(251, 205, 101,0.9) 0%,rgba(255,255,255,0.9) 10%,rgba(255,255,255,0.9) 30%,rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbcd65', endColorstr='#00ffffff',GradientType=0 );*/
	z-index:10;

	-webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}

#pageHeader.ths {
	height: 90px;
    background:url(../img/bgTHSimage.png) no-repeat 0 100% rgba(118, 22, 27, 0.8);
}
#pageHeader p{
	color:#8b0f15;
	font-size: 30px;
    text-align: center;
    margin-top: 12px;
	letter-spacing: 1px;
	font-weight:bold;
	font-family: Century, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
}
#pageHeader p span{
	display:block;
	font-size: 12px;
	font-weight:normal;
	font-family: "Bodoni";
	margin-bottom:2px;
}
#pageHeader p img{
	max-height:80px;
}
#pageHeader .float_right{
	text-align:right;
	letter-spacing:2px;
	position:absolute;
	right:10px;
	top:15px;
	font-size: 15px;
}
#pageHeader .float_right span{
	font-family: "Bodoni";
	font-size: 30px;
	display:block;
	margin-top:5px;
}
.cornerbox header{
	position:absolute;
	width:100%;
	top:0;
	left:0;
	color:#fff;
}
#imgLogo{
	position:absolute;
	left:15px;
	top:10px;
}

#homeicon {
    position: fixed;
    top: 15px;
    right: 15px;
}
#homeicon a{
	color:#fff;
	font-size:48px;

	-webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}
.auto #homeicon a{color:#f5d738;}
.wrecker #homeicon a{color:#a32c15;
	-moz-text-shadow: 0px 0px 6px #feeabd;
    -webkit-text-shadow: 0px 0px 6px #feeabd;
    -ms-text-shadow: 0px 0px 6px #feeabd;
    text-shadow: 0px 0px 6px #feeabd;
}

#homeicon a:before{
    position: absolute;
    font-size: 10px;
    display: block;
    padding: 5px;
    /* font-weight: normal; */
    width: 60px;
    border: 1px solid white;
	top: 15px;
    right: 0;
    text-align: center;
    background: #fff5;
    color: #fff;

	filter: alpha(opacity=0);        /* ie lt 8 */
	-ms-filter: "alpha(opacity=0)";  /* ie 8 */
	-moz-opacity:0;                 /* FF lt 1.5, Netscape */
	-khtml-opacity: 0;              /* Safari 1.x */
	opacity:0;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#homeicon a:hover:before {
    right: 50px;
	filter: alpha(opacity=100);        /* ie lt 8 */
	-ms-filter: "alpha(opacity=100)";  /* ie 8 */
	-moz-opacity:100;                 /* FF lt 1.5, Netscape */
	-khtml-opacity: 100;              /* Safari 1.x */
	opacity:100;
}
.auto #homeicon a:before{	content:"チャンプオート";}
.wrecker #homeicon a:before{	content:"チャンプレッカー";}
.ths #homeicon a:before{	content:"ＴＨＳ";}
.clean #homeicon a:before{	content:"藤岡クリーンワークス";width: 90px;}


#top{
	z-index:100;
background: -moz-linear-gradient(top,  rgba(251, 205, 101,0.9) 0%, rgba(255,255,255,0.9) 3%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0) 70%);
background: -webkit-linear-gradient(top,  rgba(251, 205, 101,0.9) 0%,rgba(255,255,255,0.9) 3%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0) 70%);
background: linear-gradient(to bottom,  rgba(251, 205, 101,0.9) 0%,rgba(255,255,255,0.9) 3%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0) 70%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbcd65', endColorstr='#00ffffff',GradientType=0 );
}
#top .innercontents{
	background:none;
}
#top h2{
	margin:40px 0;
}

#top ul{
	max-width:1200px;
	margin:0 auto;
}
#top ul li{
	float:left;
	width:25%;
	text-align:center;
}
#top ul li img{
	max-width:95%;
}

#corner0{
	position:relative;
	background:url(../img/bgOrange.jpg) no-repeat fixed;
	background-size:cover;
}

#corner0 .vertical-center{
    background:#fff;
	margin-left:30px;
}
#corner0 .vertical-center img{
	max-width:100%;
}
#corner0 .vertical-center.box_right{
	background: none;
	/*right:30px;*/
}

.innerbox h3{
	font-weight:bold;
	font-family: Century, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
    font-size: 30px;
	margin-bottom:0.7em;
}
.innerbox h3 img{
	max-width:100%;
}

.cornerbox p{
	line-height:1.5;
}

#corner1{
	position:relative;
	background:url(../img/bgPattern02.gif) fixed;
	z-index:1;
}
#corner1 .innerbox{
	background:url(../img/bgAuto.jpg) no-repeat top right fixed;
	background-size: contain;
	position:relative;
}


#corner1 p{
	font-size:14px;
	line-height:1.5;
	text-align:left;
	margin-left:1em;
}
#corner1 .innercontents{
	background: rgba(170, 28, 27, 0.6);
    color: #fff;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
}
#corner1 .innerbox h3{
	margin-bottom:0;
}
#contents-auto{
	width:55%;
	margin-left:2%;
	max-width:700px;
}
#imgAutoBoard{
    margin-bottom: -10px;
    position: relative;
    z-index: 0;
    margin-top: 50px;
    width: 60%;
}
#autoService{
	position:relative;
	z-index:1;
}
#autoService,
#autoSalesEvent{
	overflow:hidden;
}
#autoService li{
	float:left;
	width:33.33%;
	text-align:center;
}
#autoSalesEvent li{
	float:left;
	width:50%;
	text-align:center;
}
#autoService li{
	float:left;
	width:33.33%;
	text-align:center;
}
#autoService li img,
#autoSalesEvent li img{
	max-width:100%;
}
#imgAutoCars{
	position:absolute;
	right:30px;
	bottom: 30px;
    max-width: 40%;
}


#corner2{
	background:url(../img/bgTHS.jpg) #fff no-repeat fixed 0 50%;
	background-size:cover;
	z-index:1;
	position: relative;
}
.tabview #corner2{
	background:none;
}
.tabview #corner2:before{
	content: "";
	width: 100%;
	height: 100vh;
	background: url(../img/bgTHS.jpg) #fff no-repeat 0 50%;
	background-size: cover;
	top: 0;
	z-index: -1;
	display: block;
}
.tabview #corner2.active:before{
	position: fixed;	
}
#corner2 .innerbox{
	padding-top:80px;
}
#corner2 .innercontents{
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
	background:none;
}

#corner2.cornerbox .innercontents p{
	font-size:1.8em;
	line-height:2;
}

#corner2 h3{
	margin-top:100px;
}
#thsBusImage{
	position:relative;
	min-height:300px;
}

#imgThsPhotos{
	max-width:45%;
	position:absolute;
	left:30px;
	top:80px;
}
#imgBusBig{
	max-width:50%;
	position:absolute;
	top:0;
	right:200px;
}
#imgBusHureai{
	max-width:35%;
	position:absolute;
	top:80px;
	right:10px;
}
#kashikiri p,
#hureaibus p,
#schoolbus p,
#minkanqq p{
	font-size:1.6em;
}
#kashikiri img{
	max-width:100%;
	vertical-align: middle;
}
#kashikiri > img{
	margin-bottom:20px;
}
#hureaibus img{
	max-width:100%;
	vertical-align: middle;
}
#schoolbus img{
	max-width:100%;
	vertical-align: middle;
}
#minkanqq > img{
	max-width:100%;
	vertical-align: middle;
	margin:0 2% 3%;
}
#hureaibus img#imgBusHureai-second{
	max-width:60%;
}
#ths-shinzyo{
	margin-bottom:200px;
}
#ths-shinzyo img{
	max-width:90%;
	margin-bottom:30px;
}
#ths-shinzyo p{
	letter-spacing:2px;
	font-size:2.4em;
}

#schoolbus{
	clear: both;
}

#markMedical{
	max-height:100px;
}


#corner3{
	background:url(../img/bgWrecker.jpg) no-repeat fixed;
	background-size:cover;
	z-index:1;
}
.tabview #corner3{
	background:none;
}
.tabview #corner3:before{
	content: "";
	width: 100%;
	height: 100vh;
	background: url(../img/bgWrecker.jpg) no-repeat;
	background-size: cover;
	top: 0;
	z-index: -1;
	display: block;
}
.tabview #corner3.active:before{
	position: fixed;	
}


#corner3 .innerbox{
	padding-top:180px;
}
#corner3.cornerbox .innercontents p{
	font-size:1.8em;
	line-height:2;
}
#corner3 .innercontents{
    background: rgba(18, 51, 95, 0.7);
    color: #fff;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
}
#corner3.cornerbox .innercontents p{
	margin-bottom:0;
}


#corner3 ul{
	overflow:hidden;
	max-width:1400px;
	margin:50px auto 100px;
	padding:2%;
}
#corner3 ul li{
	float:left;
	width:28%;
	min-height:160px;
	padding:20px 1%;
	margin-right:5%;
	text-align:center;
	background:#12335F;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
}
#corner3 ul li:nth-child(3){
	margin-right:0;
}
#corner3 ul li img{
	max-width:100%;
}/*
#corner3 ul li:first-child img.imgWrecker{
	margin-right:-3.5%;
	float:right;
	
}*/
#corner3 h4{
	margin-bottom:20px;
}
#corner3 li p{
	color:#fff;
	margin-bottom:1em;
	min-height: 3em;
}
#wreckerImage{
	position:relative;
	min-height:230px;
}
#imgWreckerPhotos{
	position:absolute;
	right:50%;
	top:10%;
	max-width:45%;
}
#imgWreckerTrack{
	position:absolute;
	left:52%;
	top:0;
	max-width:45%;
}


#corner4{
	background:url(../img/bgCrean.jpg) fixed center bottom no-repeat #00aaeb;
	background-size:cover;
	z-index:1;
}
.tabview #corner4{
	background:none;
}
.tabview #corner4:before{
	content: "";
	width: 100%;
	height: 100vh;
	background:url(../img/bgCrean.jpg) center bottom no-repeat #00aaeb;
	background-size: cover;
	top: 0;
	z-index: -1;
	display: block;
}
.tabview #corner4.active:before{
	position: fixed;	
}


#corner4 .innerbox{
	padding-top:150px;
	position:relative;
	overflow:hidden;
}
#corner4.cornerbox .innerbox p{
	font-size:1.8em;
	line-height:2;
}
#corner4 h3{
	margin:50px 0 100px 0;
}
#corner4 h4{
	font-size:3em;
	font-weight:bold;
	border-top:1px solid #fff;
	display:inline-block;
	border-bottom:1px solid #fff;
	margin-bottom:1em;
	color:#fff;
	line-height:1.3;
	padding: 0.5em 0;
	font-family: Century, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;

	-moz-text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.63);
	-webkit-text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.63);
	-ms-text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.63);
	text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.63);
}

#corner4 .half.pad25{
	padding:0 2%;
	z-index:4;
	position:relative;
	margin-bottom:50px;
}
#corner4 .half.pad25 p{
	-moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
	-webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
	-ms-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
}
#corner4 .half.pad25 img{
	max-width:90%;
}
#corner4 div.float_left{
	position:relative;
}
#corner4 div.float_left:after{
	content:"";
	height:100%;
	width:1px;
	display:block;
	position:absolute;
	right:-1px;
	top:0;
	background:#fff;
}
#corner4 .clearfloat{
	overflow:hidden;
	margin-bottom:150px;
	background:rgba(0, 147, 204, 0.5);
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
	position:relative;
	z-index:5;
	color:#fff;
}
#corner4 img.float_left{
	max-width: 40%;
    margin-top: -30px;
}

#imgCleanStaff{/*
	position:absolute;
	top: 50%;
	margin-bottom:-60%;
    left: 50%;
    margin-left: -68%;*/
    width: 55%;
	z-index:0;
}

#imgCleanCars{
	position:absolute;
	left: 52.5%;
    top: 470px;
    width: 55%;
	z-index:1;
}


#corner5{
	position:relative;
    background:url(../img/bgPattern01.gif) fixed;
	z-index:1;
}

#corner5 ul{
	max-width:1650px;
	margin:0 auto;
}
#corner5 ul li{
	float:left;
	width:25%;
	font-size:1.4em;
}
#corner5 ul li:nth-child(1) a{color:#8a5a00;}
#corner5 ul li:nth-child(2) a{color:#c10000;}
#corner5 ul li:nth-child(3) a{color:#0065b9;}
#corner5 ul li:nth-child(4) a{color:#016700;}

#corner5 ul li a{
	text-decoration:none;
}
#corner5 ul li img{
	max-width:95%;
	margin:0 auto 20px;
	display:block;
}

#corner5 .innerbox ul li h3{
	font-size:1.3em;
	line-height:1.5;
	text-align:center;
	margin-bottom:20px;
	min-height:2.5em;
	letter-spacing: -1px;
}
#corner5 .innerbox ul li h3 span{
	display:block;
}


#corner5 dl{
	line-height:1.5;
	padding-left:1em;
}
#corner5 dt{
	float:left;
	clear:left;
	width: 4em;
    text-align: right;
	font-weight: bold;
}
#corner5 dd{
	padding-left:5em;
	margin-bottom:0.5em;
}
#corner5 dd span{
	font-size: 0.8em;
	display: inline-block;
	padding: 2px .5em 4px;
    background: #ddd;
    color: #fff;
    vertical-align: top;
	transform: scale(0.7);
    transform-origin: left;
    margin-right: -1em;
    text-align: center;
    min-width: 5em;
}
#corner5 li:nth-child(1) dd span{background-color:#8a5a00;}
#corner5 li:nth-child(2) dd span{background-color:#c10000;}
#corner5 li:nth-child(3) dd span{background-color:#0065b9;}
#corner5 li:nth-child(4) dd span{background-color:#016700;}


#tblContact{
	font-size:1.6em;
	width:100%;
	margin:0 auto;
}
#tblContact .colorRed{
	color:#C10003;
}
#tblContact th,
#tblContact td{
	padding:5px 0;
	vertical-align:top;
}
#tblContact th{
	width:19%;
	padding:15px 0.5em 0 0;
	text-align:right;
}
#tblContact td{
	padding:15px 0.5em 0 0;
	text-align:left;
}
#toppage #tblContact td{
	padding:3px 5px;
}


#tblContact td input[type="text"],
#tblContact td input[type="email"],
#tblContact td textarea{
	width:90%;
	background:#fff;
	border:none;
	font-size:1.2em;
	padding:5px;
	-webkit-box-shadow: #ccc 0px 0px 3px;
	-moz-box-shadow: #ccc 0px 0px 3px;
	box-shadow: #ccc 0px 0px 3px;
}
#tblContact td textarea,
#tblContact td[colspan="3"] input[type="text"],
#tblContact td[colspan="3"] input[type="email"]{
	width:96%;
}
#tblContact label{
	display: inline-block;
    padding: 7px 0 0;
}
#tblContact td textarea{
	height:5em;
}
#toppage #tblContact td[colspan="4"],
#tblContact td[colspan="2"]{
	text-align:center;
}
#tblContact td input[type="submit"]{
    display: inline-block;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(255, 255, 255, 0.5);
    border: none;
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    text-decoration: none;
    padding: 15px 40px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    background: #e808a0;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}
#tblContact td input[type="submit"]:hover {
    background: #ff5d99;
    box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

#contact h2{
    color: #f95287;
    font-size: 30px;
	font-weight:bold;
}

#btnSpmenu {
    display: none;
}

@media screen and (max-height: 800px) {
.btnScroll {
	width: 80px;
    height: 32px;
    padding: 24px 0 24px;
}
.btnScroll img {
    width: 50px;
}
}
@media screen and (max-height: 700px) {
.listCatalog{ height:150px;}
.vertical-center {
    text-align: center;
    width: auto;
    position: relative;
    top: auto;
    transform:none;
	margin-top:80px;
	margin-bottom:80px;
}

}

@media screen and (max-height: 600px) {

}


@media screen and (max-width: 1400px) {
#itemlist{
	width:1400px;
}
#sidenavi{
    width: 150px;
	margin-top:0;
	top:auto;
	bottom:20px;
}
#sidenavi a.overwhite img{
	height:80px;
}
}

@media screen and (max-width: 1200px) {
#itemlist{
	width:1200px;
}
#sidenavi{
    width: 120px;
}
}
@media screen and (max-width: 1000px) {
#itemlist{
	width:800px;
}

}
