@charset "utf-8";
/******************************/

/** コンタクトフォームの装飾 **/

/******************************/

/*　フォーム全体　*/

#cf7-area {
	padding: 20px 0;
	width: 100%;
	margin: 0 auto;
	font-family: "遊ゴシック", "ヒラギノ角ゴ", "メイリオ", "MS Pゴシック", sans-serif;
	text-align: left;
}

.cf7-item {
	/*display: flex;
	align-items: flex-start;
	justify-content: flex-start;*/
	margin: 0 0 1.75em;
}

.cf7-q {
/*	width: 30%;*/
	margin: 0 0 10px 0px;
}
/*
.cf7-a {
	width: 60%;
}*/

/*　見出し　*/

.form-heading {
	width: 100%;
	background-color: #193560;
	border-left: 1em solid #EBDE67;
	border-radius: 2px;
	color: #ffffff;
	font-weight: bold;
	padding: 1em .8em;
	margin: 0 0 2em;
}

.form-heading p {
	margin: 0;
}

/* 各項目共通 */


#cf7-area label {
	font-weight: bold;
	font-size: 14px;
}

#cf7-area input[type="text"], #cf7-area input[type="email"], #cf7-area input[type="tel"], #cf7-area textarea, #cf7-area select{
	height: 45px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    width: 100% !important;
    padding: 6px 12px;
}

#cf7-area input[type="text"]:focus, #cf7-area input[type="email"]:focus, #cf7-area input[type="tel"]:focus, #cf7-area textarea:focus {
	border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

#cf7-area input[type="checkbox"], #cf7-area input[type="radio"] {
	appearance: auto;
}

.wpcf7-radio{
	display: flex;
}

#cf7-area .wpcf7-list-item {
	display: block;
}

#cf7-area textarea {
	height: 200px;
	padding: 0.625em 0.4375em;
}

.cf7-accept-check {
	text-align: center;
	margin: 50px auto;
}

.cf7-submit {
	width: 40%;
	margin: 0 auto;
	text-align: center;
}

#cf7-area input[type="submit"] {
	width: 100%;
	background-color: #EBDE67;
	color: #333;
	border-radius: 30px;
	font-size: 1.2em;
	padding: 1em 10px;
	border:none;
	font-weight: bold;
	transition: background .3s;
}

#cf7-area input[type="submit"]:hover {
	background-color: #48B0A9;;
}

.cf7-btn {
	width: 40%;
	margin: 0 auto;
	text-align: center;
}

/*　必須ラベル　*/

.cf7-req {
	font-size: 0.8em;
    padding: 0.05em 0.25em 0.1em 0.25em;
    border-radius: 0.3em;
	background: #df6f5f;
	color: #ffffff;
	margin-right: 5px;
	display: inline-block;
}

/*.cf7-req{
	position: relative;
    top: 3px;
    color: #ff1c1c;
    margin-left: 2px;
    display: inline;
}*/

.cf7-yellow {
	font-size: 0.8em;
    padding: 0.05em 0.25em 0.1em 0.25em;
    border-radius: 0.3em;
	background: #f5b555;
	color: #ffffff;
	margin-right: 5px;
	display: inline-block;
}

.note{
	color:#e03e2d;
	margin: 0 0 20px 10px;
}

.note a{
	color: #2a6496;
    text-decoration: underline;

}

.wpcf7-checkbox{
	display: flex;
    flex-wrap: wrap;
    flex-flow: column;
}

.name{
	display: flex;
}

.name .cf7-item{
	width: 50%;
	padding-right: 10px;
}

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

	.cf7-item {
		display: block;
	}

	#cf7-area label {
		display: block;
		margin-bottom: 10px;
	}

	.cf7-q {
		width: 100%;
		margin: 0;
	}

	.cf7-a {
		width: 100%;
	}

	#cf7-area input[type="text"], #cf7-area input[type="email"], #cf7-area input[type="tel"], #cf7-area textarea, #cf7-area select {
		margin-left: 0;
		width:100%;
	}
	
	.cf7-submit {
		width: 90%;
	}

	.wpcf7-radio{
		flex-flow: column;
	}
}