﻿/*-----------------------------------------------------	*/
/*	for all						*/
/*-----------------------------------------------------	*/


/* ------ General Settings ------ */


img {
	max-width: 100%;
	height: auto;
	width: auto\9;
}

a:hover {
	opacity: 0.7;
}

body {
	text-align: left;
	margin: 0;
	padding: 0;
	line-height: inherit;
	background: url(../images/common/bg_header.gif) repeat-x;
}

.text-center {
	text-align: center;
}

#wrapper {
	max-width: none;
	padding: 0px;
}

.sp {
	display: none;
}

.clr {
	clear: both;
}




/*-----------------------------------------------------	*/
/*	for - 768px					*/
/*-----------------------------------------------------	*/


@media screen and (max-width: 768px) {

body {
	min-width: inherit;
	background:none;
	position:relative;
}

#wrapper {
	width: 100%;
	left:0;
	margin-left:0;
	overflow: hidden;
}

a:hover {
	opacity: 1;
}

.pc {
	display: none;
}


.sp {
	display:inherit;
}

/* ------ Header ------ */

header {
	width: 95%;
	height: 65px;
	position:relative;
	margin:0 auto 20px auto;
	border-bottom: 1px solid #e0e0e0;
}

#logo {
	width: 145px;
	position:absolute;
	top: 33px;
	left: 0;
}

#logo a {
	width: 100%;
	height: 24px;
	background: url(../images/index/sp_logo.jpg) no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	text-align: left;
	background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
}

header h1 {
	position:absolute;
	top: 8px;
	left: 0;
	font-size: 100%;
	text-align: left;
	margin-bottom:10px;
	font-size:86%;
}

.hRead {
	position: absolute;
	top: 30px;
	right: 0px;
	width: 45%;
	text-align: right;
}


.hRead li {
	line-height: 1.2;
}


/* ------ Contents ------ */

#contents {
	width: 95%;
	margin: 0 auto;
	text-align: left;
	overflow:visible;
	position: relative;
}

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


/*ページトップへ*/


.pagetop {
	height: 25px;
}

.pagetop a {
	background: url(../images/common/btn_pagetop.gif) no-repeat;
	width: 98px;
	height: 14px;
	float: right;
	text-indent: -9999px;
	display: block;
	overflow: hidden;
	background-size: 98% auto;
	-webkit-background-size: 98px auto;
	-moz-background-size: 98px auto;
}

/* ------ Footer ------ */


footer,#index footer {
	width: 100%;
	margin: 0 auto;
	clear:both;
}


#footer-inner {
	padding-top:5px;
	
}

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

.flogo {
	width: 300px;
	height: 36px;
	float: none;
	background: none;
	text-indent:inherit;
	margin-bottom:5px;
	text-align:left;
}

.flink {
	width: 300px;
	float: none;
	text-align: left;
	background: none;
	height: 28px;
	text-indent:inherit;
	margin-bottom:10px;
}

footer #downer {
	border-top-width: 1px;
	width: 100%;
	border-top-style: solid;
	border-top-color: #ff460d;
	margin: 0 auto 6px auto;
	padding-top:4px;
	text-align:center;
}

/* ------ Page ------ */

/*index*/


body#index {
	overflow: hidden;
}

#index #wrapper {
	background:none;
	height: auto;
}

#index #contents {
	height: auto;
}

#index #contents {
	overflow: hidden;
	position: relative;
}

#contBox-1 {
	width: 100%;
	height:auto;
	margin:0 auto;
	top:inherit;
	left:inherit;
	background: url(../images/index/sp_main01.jpg) left top no-repeat #fff;
	background-size: 100% auto;

}

#contBox-1 .idxMain {
	display:none;
}


#contBox-thks {
	width: 100%;
	height:auto;
	margin:0 auto;
	top:inherit;
	left:inherit;
	background: url(../images/index/sp_main01.jpg) left top no-repeat #fff;
	background-size: 100% auto;

}

#contBox-thks .idxMain {
	width: 95%;
	text-align:center;
	margin : 0 auto;
	padding-top: 40px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 40px;
	background-color: rgba(255,255,255,0.9);  

}
#contBox-thks .idxMain dt {
	font-size:180%;
	line-height:1.5em;
	color: #333;
	margin-bottom: 40px;
}

#contBox-thks .idxMain .thtx {
	font-size:125%;
	line-height:1.5em;
	color: #666;
	margin-bottom: 40px;
}

#contBox-thks .idxMain .topbtn {
	display: block;
	width: 50%;
	font-size:18px;
	font-weight:bold;
	padding: 10px 20px;
	margin: 10px auto;
	color: #e90000;
	text-align: center;
	cursor: pointer;
	border: 3px solid #e90000;
	background: #ffffff;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}
.ie #contBox-thks .idxMain .topbtn{
	border:1px #ccc solid;
}
#contBox-thks .idxMain .topbtn:hover{
	color: #FFF;
	background: #e90000;
}


#contBox-2 {
	width: 100%;
	height: auto;
	margin:0 auto;
	top:inherit;
	left:inherit;
	background: url(../images/index/sp_main02.jpg) left top no-repeat #fff;
	background-size: 100% auto;
}

#contBox-3 {
	width: 100%;
	margin:0 auto;
	height:auto;
	padding-right:0;
	position:relative;
	background: url(../images/index/sp_main03.jpg) left top no-repeat #f8fafb;
	background-size: 100% auto;
}

#contBox-3 .top_content-inner{
	width:100%;
	margin:0 auto;
	padding-right:0px;
}

#contBox-3 .txt_block{
	margin-top:0px;
	margin-bottom:12px;
	margin-left: 0px;
	margin-right: 12px;
	padding-left: 15px;
	background: #f8fafb;
}

#index #contBox-3 p{
	width:100%;
}

#index #contBox-4 {
	width:100%;
	margin:15 auto;
	height: auto;
	padding-right:0px;
	position:relative;
}

#contBox-4 .top_content-inner{
	width:100%;
	margin:0 auto;
	padding-right:0px;
}

#contBox-4 .company{
	margin-top:0px;
	margin-bottom:12px;
	margin-left: 0px;
	margin-right: 12px;
	padding-left: 15px;
	padding-right: 15px;
	background: #f1f1f1;
}

.company td {
	display:block;
	width:280px;
	background-color:#f1f1f1;
	padding-top: 8px;
	padding-left: 12px;
}

.company .ans {
	width: auto;
	background-color: #FFF;
}

.company .map {
	width: auto;
	background-color: #FFF;
}

#index #contBox-5 {
	width:100%;
	margin:0 auto;
	height: auto;
	padding-right:0px;
	position:relative;
}

#contBox-5 .idxMain {
	width:95%;
	margin:0 auto;
	padding-right:0px;
}

#contBox-5 .idxMain .sp {
	width:100%;
	margin:0 auto;
	padding-right:0px;
}

#contBox-5 .idxMain dd {
	width:100%;
	margin:0 auto;
	padding-right:0px;
	margin-bottom:15px;
}

#contBox-5 .idxMain .lead {
	width:auto; 
   margin-top:15px;
   padding-left:0px;
   padding-right:0px;
   
}

#contBox-5 .top_content-inner{
	width:100%;
	margin:0 auto;
	padding-right:0px;
}

#contBox-5 .contact {
	width:100%;
}

#contBox-5 .contact tr .tit {
	font-size:24px;
	color: #dd282b;
	font-weight: bold;
}

#contBox-5 .contact tr td dl dt {
	font-size:18px;
	color: #dd282b;
	margin-bottom: 8px;
	font-weight: bold;
}

#contBox-5 .contact tr td dl dd {
	font-size:14px;
}

.company td,.contact td,.formBox td {
	padding:12px;
}

.company tr,.contact tr,.formBox tr {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E8E8E8;
}

#contBox-5 .contact ,#contBox-5 .formBox{
	margin-top:0px;
	margin-bottom:0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 15px;
	padding-right: 15px;
	background: #FFF;
}

.tel{
	display: block;
	font-size:125%;
	font-weight:bold;
	padding: 10px 20px;
	margin: 10px auto;
	color: #e90000;
	text-align: center;
	cursor: pointer;
	border: 3px solid #e90000;
	background: #ffffff;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */  
}
.ie .tel{
	border:1px #ccc solid;
}

.tel:link{
	color:#e90000;
}

.tel:hover{
	color: #FFF;
	background: #e90000;
}

.formBox td {
	display:block;
	background-color:#f1f1f1;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 12px;
}

.formBox .ans {
	width: 280px;
	font-size: 100%;
	line-height: 1.8em;
	display: block;
	background-color: #FFF;
	margin-bottom:6px;
}

.formBox .white {
	background-color: #FFF;
}

.white .quest {
	width: 280px !important;
}

.formBox .privacy {
	width: 280px !important;
}

.formBox textarea {
	width: 98%;
	margin:0 auto;
}

.sp .sp_btn_white {
	display: block;
	font-size:125%;
	font-weight:bold;
	padding: 10px 20px;
	margin: 10px auto;
	color: #e90000;
	text-align: center;
	cursor: pointer;
	border: 3px solid #e90000;
	background: #ffffff;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;

}
.ie .sp_btn_white{
	border:1px #ccc solid;
}
.sp_btn_white:hover{
	color: #FFF;
	background: #e90000;
}

}
