﻿@charset "utf-8";  
/*------------------------------------------------------------ 
    CONTACT css
------------------------------------------------------------*/  

#detailHd{ background-image:url(../img/visual.jpg);}

#contactInner{
	width:100%;
	max-width:1000px;
	margin:85px auto 50px;
	padding:20px 0;
	border-top:1px solid #666;
	border-bottom:1px solid #666;
}

#contactTbl{ width:100%;}

#contactTbl th{
	width:135px;
	text-align:left;
	padding:18px 60px 18px 15px;
	vertical-align:top;
	color:#333;
	line-height:44px;
	font-size:134%;
	font-weight:bold;
}

#contactTbl .required{ position:relative;}

#contactTbl .required:before{
	display:block;
	content:"必須";
	width:50px;
	height:30px;
	text-align:center;
	line-height:30px;
	color:#fff;
	font-size:13px;
	background:#CC3333;
	position:absolute;
	right:0;
	top:25px;
}

#contactTbl td{
	padding:18px 20px 18px 80px;
	vertical-align:top;
}

.input{
	width:100%;
	max-width:387px;
	height:44px;
	font-size:134%;
	padding:0 10px;
	border:1px solid #C4C4C4;
	border-radius:5px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

.textarea{
	width:100%;
	max-width:697px;
	height:300px;
	font-size:134%;
	padding:10px;
	resize:none;
	overflow:auto;
	border:1px solid #C4C4C4;
	border-radius:5px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

#submit{
	width:auto;
	max-width:590px;
	height:60px;
	margin:0 auto;
	padding:0 10px 50px;
}

#submit a{
	display:block;
	width:100%;
	height:100%;
	text-align:center;
	line-height:60px;
	color:#fff;
	font-size:150%;
	font-weight:bold;
	background:#2F599F;
}

#alert-contents{
	display:none;
	background:#CC3333;
	padding:10px;
	border-radius:10px;
	margin:0 10px 10px;
	text-align:left;
}

#alert-contents p{
	line-height:1.6;
	font-size:117%;
	color:#fff;
}

.alert{ background:#FDEBEC!important;}

/*------------------------------------------------------------ 
    MediaQuery 
------------------------------------------------------------*/  


/* SP */
@media screen and (max-width: 560px){

#contactInner{
	margin:40px auto 30px;
	padding:10px 0;
}

#contactTbl th{
	display:block;
	width:auto;
	padding:10px 60px 0 10px;
	line-height:30px;
	font-size:117%;
}

#contactTbl .required:before{
	font-size:11px;
	right:10px;
	top:10px;
}

#contactTbl td{
	display:block;
	width:auto;
	padding:10px;
}

.input{
	max-width:100%;
	font-size:117%;
}

.textarea{
	height:200px;
	font-size:117%;
}

#submit{
	max-width:300px;
	height:45px;
}

#submit a{
	line-height:45px;
	font-size:134%;
}

}
