@charset "utf-8";
/**********************************
  お問い合わせフォーム(Contact Form 7)
  CF7のフォーム編集画面側で、以下と同じ id/dl・dt・dd構造を使用する前提のスタイル
**********************************/
.wpcf7-form{
	width : 960px;
	margin : 50px auto;
	padding : 10px 0;
	background : #ffffff;
	border : 1px solid #cccccc;
	border-radius : 7px;
	box-shadow : 0 0 7px rgba( 0, 0, 0, 0.2 );
}

.wpcf7-form dl{
	width : 90%;
	margin : 0 auto;
	overflow : hidden;
}

.wpcf7-form dl dt{
	clear : both;
	width : 30%;
	float : left;
	border-top : 1px solid #cccccc;
	padding : 15px 0;
	text-align : right;
	overflow : hidden;
}

.wpcf7-form dl dd{
	width : 65%;
	float : right;
	border-top : 1px solid #cccccc;
	padding : 15px 0 15px 5%;
}

.wpcf7-form dl dt:first-child,
.wpcf7-form dl dt:first-child+dd{
	border : none;
}

.wpcf7-form dl dt span{
	display : block;
	text-align : right;
	font-size : 85%;
	color : #831325;
}
@media only screen and ( max-width : 768px ) {
.wpcf7-form dl dt span{
	display : block;
	text-align : center;
	font-size : 85%;
	color : #831325;
}
}

.wpcf7-form dl dt span.required,
.wpcf7-form dl dt span.optional{
	display : inline-block;
	float : left;
	color : #ffffff;
	line-height : 1;
	padding : 8px 9px;
	border-radius : 3px;
}

.wpcf7-form dl dt span.required{
	background : #831325;
	border : 1px solid #831325;
}

.wpcf7-form dl dt span.optional{
	background : #a5a5a5;
	border : 1px solid #a5a5a5;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"]{
	max-width : 90%;
	height : 2em;
	padding : 2px 2%;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	margin-top : 7px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus{
	box-shadow : 0px 0px 5px #55ccff;
	border : 1px solid #55ccff;
	background : #ffffff;
}

.wpcf7-form ul li input[type="radio"],
.wpcf7-form ul li input[type="checkbox"]{
	margin-right : 10px;
	margin-top : 7px;
}

.wpcf7-form ul li:first-child input[type="radio"],
.wpcf7-form ul li:first-child input[type="checkbox"]{
	margin-top : 0px;
}

.wpcf7-form select{
	font-size : 100%;
	font-family : inherit;
	margin-top : 10px;
}

.wpcf7-form textarea{
	display : block;
	width : 90%;
	max-width : 90%;
	height : 200px;
	padding : 2px 2%;
	resize : vertical;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
}

.wpcf7-form ul{
	list-style-type : none;
}

.wpcf7-form ul li label:hover{
	cursor : pointer;
}

.wpcf7-form input#company{
	width : 60%;
}

.wpcf7-form input#name_1,
.wpcf7-form input#name_2,
.wpcf7-form input#postal,
.wpcf7-form input#phone{
	width : 30%;
}

.wpcf7-form input#mail_address{
	width : 80%;
}

.wpcf7-form input#address{
	width : 90%;
}

.wpcf7-form div#form_submit{
	width : 50%;
	margin : 0 auto;
	padding : 15px 0;
	border-top : 1px solid #cccccc;
}

.wpcf7-form input[type="submit"]{
	padding : 9px 15px;
	vertical-align : middle;
	line-height : 1;
	background : #831325;
	border : 1px solid #831325;
	border-radius : 3px;
	color : #ffffff;
	font-family : inherit;
	-webkit-appearance : none;
	font-size : 100%;
	cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover{
	background : #932F42;
	border : 1px solid #932F42;
}

/* --responsive----------------------------------------------------------------------------------------------------------------- */

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

.wpcf7-form{
	width : 95%;
}

.wpcf7-form dl{
	overflow : visible;
}

.wpcf7-form dl dt{
	width : auto;
	float : none;
	text-align : center;
	padding : 10px 0 5px;
	font-weight : bold;
}

.wpcf7-form dl dd{
	width : auto;
	float : none;
	text-align : center;
	border-top : none;
	padding : 0px 0 13px 0px;
}
.wpcf7-form textarea{
	display : block;
	width : 90%;
	max-width : 90%;
	height : 200px;
	margin-left :20px;
	padding : 2px 2%;
	resize : vertical;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
}
.wpcf7-form dl dd ul li{
	width : auto;
	text-align : center;
}

.wpcf7-form dl dt span{
	font-weight : normal;
}

.wpcf7-form dl dt span.required,
.wpcf7-form dl dt span.optional{
	margin-right : 1em;
	margin-bottom : 2em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"]{
	margin-top : 0px;
}

.wpcf7-form select{
	margin-top : 0;
}

.wpcf7-form input#phone{
	width : 50%;
}
.wpcf7-form div#form_submit{
	width : 50%;
	margin : 0 auto;
	padding : 15px 0;
	border-top : 1px solid #cccccc;
	margin-left : 40%;
}

}

/* ===================================
   CF7標準の送信結果・バリデーションメッセージ
=================================== */
.wpcf7-response-output{
	margin : 20px auto 0;
	max-width : 600px;
	padding : 12px 16px;
	border-radius : 4px;
	font-size : 14px;
}
.wpcf7-mail-sent-ok{
	background-color : #e6f7ea;
	color : #1e7e34;
	border : 1px solid #b3e6c0 !important;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng{
	background-color : #fdecea;
	color : #c0392b;
	border : 1px solid #f5c6cb !important;
}
.wpcf7-not-valid-tip{
	display : block;
	color : #ff0000;
	font-size : 85%;
	margin-top : 3px;
}
