@charset "utf-8";

/* ********************************************* */
/**切り替え用CSS　～768px：SP　769px～：PC
各ページで使用（1ページごと）
/* ********************************************* */
@media (max-width: 768px) {
	#grayBody{
		background-color:#f2f2f2;
	}
}
/******************************
見出し
******************************/
h1.form{
	padding:10px 0 8px 8px;
	background-color:#F9F9F9;
	border-left:10px solid #124fa9;
	font-size:250%;
	margin: 20px 0 50px 0;
}

@media (max-width: 768px) {
	h1.form{
		padding:4px 0 4px 3px;
		border-left:5px solid #124fa9;
		font-size:145%;
		margin:10px 0 20px 0;
	}
}



/* エラーチェック（validater.js）用 */
/* ------------------------------------*/
.msgbox{
	position:absolute;
	display: inline-block;
	margin: 1.7em 0;
	padding: 7px 10px;
	min-width: 120px;
	max-width: 100%;
	background:rgba(255,0,0,0.8);
	border-radius: 5px;
}

.msgbox:before{
	content: "";
	position: absolute;
	top: -14px;
	left: 30px;
	margin-left: -15px;
	border: 8px solid transparent;
	border-bottom: 8px solid rgba(255,0,0,0.8);
}

.msgbox p{
	margin: 0;
	padding: 0;
	color:#fff;
	font-weight:bold;
}

.msgbox + input,
.msgbox + select{
	background:rgba(255,0,0,0.2);
}


/******************************
オリジナル・既製共通
******************************/
table {
	width: 100%;
	border-collapse: collapse;
}

#MailForm th,
#MailForm td {
	padding: 15px;
	border: 1px solid #cccccc;
}

#MailForm th {
	width: 130px;
	text-align: center;
	background-color: #D5EAFF;
}

@media (max-width: 768px) {
	table {
		width: 296px;
		border-collapse: collapse;
		margin: 0 auto;
	}
	
	#MailForm th,
	#MailForm td {
		display: block;
		padding: 0;
		border: none;
	}
	#MailForm th {
		width: auto;
		text-align: left;
		background-color: transparent;
		margin-bottom: 5px;
	}
}

div#err{
	color:#ff0000;
	font-weight:bold;
	border:none;
	background-color:#FFCECE;
}

/* input テキスト */
input[type=text] {
	height: 22px;
}

/* テキストエリア */
textarea {
	width: 450px;;
}

@media (max-width: 768px) {
	/* 項目大見出し */
	#MailForm th.formTitle{
		font-size: 140%;
		margin-bottom: 20px;
	}
	
	/* 任意アイコン */
	.niniIcon {
		background: #0F72CD;
		padding: 2px 6px;color: #FFFFFF;
		font-size: 86%;
		border-radius: 0.2em;
		margin-right: 10px;
		font-weight: bold;
	}
	/* 必須アイコン */
	.hissuIcon {
		background: #F11F22;
		padding: 2px 6px;
		color: #FFFFFF;
		font-size: 86%;
		border-radius: 0.2em;
		margin-right: 10px;
	}
	
	/* モーダル用文言 */
	.tokushuFont{
		font-size: 75%;
		color: #585858;
	}
	
	/* セレクトボックス */
	.selectBox select {
		width: 100%;
		padding: 5px;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		font-size: 1em;
		border: 1px solid #929292;
		background: #ffffff;
		background: url(../images/form/select_arrow02.png) right 50% no-repeat, -webkit-linear-gradient(top, #ffffff 1%, #f6f6f6 50%, #dddddd 100%);
		background: url(../images/form/select_arrow02.png) right 50% no-repeat, linear-gradient(to bottom, #ffffff 1%, #f6f6f6 50%, #dddddd 100%);
		background-size: contain;
		font-weight: bold;
		color: #515151;
	}
	/* テキストエリア */
	textarea {
		width: 95%;
	}
	/* input テキスト */
	input[type=text] {
		-webkit-appearance: none;
		appearance: none;
		display: inline-block;
		height: 34px;
		padding: 0 8px;
		background: #fff;
		border: 1px solid #d9d9d9;
		border-top: 1px solid #c0c0c0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-border-radius: 1px;
		-moz-border-radius: 1px;
		border-radius: 1px;
	}
}

/******************************
オリジナルマグネットフォーム
******************************/
/*サイズ*/
@media (max-width: 768px) {
	p.labelAnime {
		position: relative;
	}
	.labelAnime > input {
		width: 100px;
		background: #fff;
		border-radius: 0;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		color: #333;
	}
	.labelAnime > input, .labelAnime > label {
		-webkit-transition: all .2s;
		transition: all .2s;
		font-size: 15px;
	}
	.labelAnime > label.tateText {
		position: absolute;
		top: .7em;
		left: .5em;
		color: #aaa;
		line-height: 1;
	}
	.labelAnime > label.yokoText {
		position: absolute;
		top: .7em;
		left: .5em;
		color: #aaa;
		line-height: 1;
	}
	.labelAnime > input:focus {
		padding-left: .5em;
	}
	.labelAnime > input:focus + label {
		bottom: -1.5em;
		font-size:60%;
	}
}

/* spフッター */
.footGrayArea {
	width: 100%;
	background-color: #cccccc;
	padding-top: 5px;
	padding-bottom: 5px;
	display: -webkit-box;
	display: -moz-box;
}
#btnTel {
	-moz-box-flex: 1.0;
	-webkit-box-flex: 1.0;
}
#btnTel p {
	width: 130px;
	margin: 0 auto;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	background-color: #eee;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.88, #eee), color-stop(0.00, #fdfdfd));
	background: -webkit-linear-gradient(top, #fdfdfd 0%, #eee 88%);
	background: -moz-linear-gradient(top, #fdfdfd 0%, #eee 88%);
	background: linear-gradient(to bottom, #fdfdfd 0%, #eee 88%);
	font-size: 85%;
	text-align: center;
	border: solid 1px #ff5c5c;
}
#btnTel p a {
	background: url(../images/sp-ico-tel.png) no-repeat 5% 50%;
	text-shadow: 1px 1px 0 #ddd;
	display: block;
	padding: 5px 0;
	color: #fc3d3d;
	text-decoration: none;
}

/******************************
既製品フォーム
******************************/
#ShowcaseAreaLeft{
	float:left;
	width:350px;
}
#ShowcaseAreaRight{
	float:left;
	width:400px;
}
#ShowcaseArea dt{
	text-align:right;
	width:7em;
	float:left;
	padding:11px 0 0 0;
	border-top:1px dotted #b9c9ba;
	font-weight: bold;
}
#ShowcaseArea dd{
	padding:10px 5px;
	margin-left:7em;
	border-top:1px dotted #b9c9ba;
}

@media (max-width: 768px) {
	#ShowcaseArea {
		width: 296px;
		margin: 0 auto 20px;
	}
	#ShowcaseAreaLeft{
		float:none;
		width: 296px;
		margin-bottom: 10px;
	}
	#ShowcaseAreaRight{
		float: none;
		width: 296px;
	}
	#ShowcaseArea dt{
		text-align: left;
		width: 100%;
		float: none;
		padding:11px 0 0 0;
	}
	#ShowcaseArea dd{
		padding: 0 0 5px;
		margin-left: 10px;
		border-top: none;
	}
	#ShowcaseArea dd.itemInfo input{
		background-color: #f2f2f2;
		border: none;
	}
}


/******************************
生地サンプルフォーム
******************************/
#ksMainImg {
	text-align: center;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	#ksMainImg img {
		width: 100%;
		max-width: 546px;
		height: auto;
	}
}

/******************************
既製品フォーム
******************************/
#ShowcaseAreaLeft{
	float:left;
	width:350px;
}
#ShowcaseAreaRight{
	float:left;
	width:400px;
}
#ShowcaseArea dt{
	text-align:right;
	width:7em;
	float:left;
	padding:11px 0 0 0;
	border-top:1px dotted #b9c9ba;
	font-weight: bold;
}
#ShowcaseArea dd{
	padding:10px 5px;
	margin-left:7em;
	border-top:1px dotted #b9c9ba;
}

@media (max-width: 768px) {
	#ShowcaseArea {
		width: 296px;
		margin: 0 auto 20px;
	}
	#ShowcaseAreaLeft{
		float:none;
		width: 296px;
		margin-bottom: 10px;
	}
	#ShowcaseAreaRight{
		float: none;
		width: 296px;
	}
	#ShowcaseArea dt{
		text-align: left;
		width: 100%;
		float: none;
		padding:11px 0 0 0;
	}
	#ShowcaseArea dd{
		padding: 0 0 5px;
		margin-left: 10px;
		border-top: none;
	}
	#ShowcaseArea dd.itemInfo input{
		background-color: #f2f2f2;
		border: none;
	}
}

/******************************
フォーム調整用
******************************/
.formFinishText{
	margin: 30px 20px 80px 20px;
}

@media (max-width: 768px) {
.formFinishText{
	margin: 20px 10px 30px 10px;
}
}

.btnConfirm a
{
	width:232px;
	height:61px;
	display:block;
	margin:0 auto;
	background-image:url(../images/btn/btn_confirm_on.gif);
}
.btnFinish a
{
	width:232px;
	height:61px;
	display:block;
	margin:0 auto;
	background-image:url(../images/btn/btn_finish_on.gif);
}