@charset 'UTF-8';

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

	コンタクトフォーム7　お問い合わせフォーム

■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */



/* ================================================================================

	PC・SP共通設定

================================================================================ */
	.wpcf7-acceptance {
    line-height: 45px;
}
	div.wpcf7 {
    margin-top: 40px;
}
.contact_form_wrap {
    padding: 120px 0;
}
.contact_f7 {
	width: 100%;
	max-width: 800px;
    margin: 0 auto;
	border: solid 1px #eeeeee;
}
div#wpcf7cpcnf {
    z-index: 0;
}
/* ボーダー色 */
.contact_f7 th,
.contact_f7 td {
	border-bottom: solid 1px #eeeeee;
}

/* 住所ボーダー非表示 */
.contact_f7 tr.address_cell th{
	border-bottom: none;
}
.contact_f7 tr.address_cell td {
	border-bottom: none;
	padding-bottom: 0;
}

/* 項目名 */
.contact_f7 th {
	text-align: left;
	font-weight: normal;
}

/* 必須 */
.contact_f7 th span.hissu {
	color: #fff;
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
    background: #cc0000;
    border-radius: 4px;
    font-weight: 500;
    padding: 0.1rem 0.6rem;
	float: right;
}

/* 入力エリア */
.contact_f7 td input[type="text"],
.contact_f7 td textarea {
	width: 100%;
	border: solid 1px #dddddd;
	padding: 12px;
    font-size: 16px;
	
}
div.wpcf7cp-btns {
    margin: 40px auto;
    text-align: center;
}
button.wpcf7cp-cfm-edit-btn {
    margin-right: 20px;
    margin-bottom: 20px;
	border: none;
    padding: 1.1em 1.5em;
}
.contact_f7 td input[type="tel"],
.contact_f7 td input[type="email"] {
	border: solid 1px #dddddd;
	padding: 12px;
	font-size: 16px;
}
.contact_f7 td input[type="date"] {
	border: solid 1px #dddddd;
	padding: 12px;
	font-size: 16px;
}

/* セレクトボタン */
.contact_f7 select {
	width: 150px;
	background: #ffffff;
	border: solid 1px #dddddd;
	padding: 5px;
}

/* ラジオボタン */
.contact_f7 span.wpcf7-list-item {
	display: block;
}
.contact_f7 span.wpcf7-list-item,
.contact_f7 span.wpcf7-list-item.first {
	margin: 0 1em 0 0;
}
.contact_f7 span.wpcf7-list-item label {
	cursor: pointer;
}
.contact_f7 input[type="radio"] {
	position: absolute;
	opacity: 0;
}
.contact_f7 .wpcf7-list-item-label:before {
	content: '';
	background: #fff;
	border-radius: 100%;
	border: 1px solid #dddddd;
	background-color: #ffffff;
	display: inline-block;
	width: 1em;
	height: 1em;
	position: relative;
	top: -0.1em;
	margin-right: 0.4em;
	vertical-align: middle;
	cursor: pointer;
	text-align: center;
	-webkit-transition: all 250ms ease;
	transition: all 250ms ease;
}
.contact_f7 input[type="radio"]:checked + .wpcf7-list-item-label:before {
	border-color: #cc0000;
	background-color: #cc0000;
	box-shadow: inset 0 0 0 2px #ffffff;
}

/* 送信ボタン */
.btn_submit {
	text-align: center;
}
.wpcf7 .ajax-loader,
.wpcf7-spinner,
.btn_submit span {
	position: absolute;
}
.btn_submit input[type="submit"],
.btn_submit input[type="button"] {
	background-color: #333333;
	color: #ffffff;
	border: none;
	cursor: pointer;
	cursor: hand;
	width: 25%;
	opacity: 1;
	transition-property: color,opacity,background-color;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
	transition-delay: 0s;
	border: none;
}
.btn_submit input[type="submit"]:hover,
.btn_submit input[type="button"]:hover {
	background-color: #666666;
}

/* チェックボックス */
.contact_f7 input[type="checkbox"],
.contact_f7_agree input[type="checkbox"] {
	vertical-align: 0.05em;
}
button.wpcf7cp-cfm-submit-btn {
    background: #da0000;
    color: #fff;
    font-weight: 800;
	border: none;
    padding: 1.1em 1.5em;
}
.wpcf7-radio {
	    line-height: 240%;
}

/* 確認画面
----------------------------------------------- */
input:-webkit-autofill.wpcf7c-conf {
	-webkit-box-shadow: none !important;
	border: none !important;
	background: transparent !important;
}
input:-webkit-autofill.wpcf7c-conf:focus {
	border: none !important;
}
.wpcf7c-conf {
	background: transparent !important;
	border-color: transparent !important;
	color: inherit;
}
.wpcf7c-conf:focus {
	border-color: transparent !important;
}
#wpcf7cpcnf table {
    margin: 0 auto;
    text-align: left;
    max-width: 800px;
    width: 100%;
	border: solid 1px #eeeeee;
}
#wpcf7cpcnf table p {
	    font-size: 16px;
}
#wpcf7cpcnf table th {
    padding: 12px;
    background: #f5f5f5;
	width: 40%;
  
}
#wpcf7cpcnf table td {
    border: solid 1px #eee;
    padding: 10px;
}

/* ================================================================================

	PC設定

================================================================================ */
@media (min-width: 768px) {

	/* プライバシーポリシー
	----------------------------------------------- */
	.privacy_policy {
		position: relative;
		background-color: #f5f5f5;
		padding: 40px;
		margin: 0 auto 40px;
	}
	.privacy_policy h3 {
		font-size: 1.2em;
		font-weight: bold;
	}


	/* コンタクトフォーム
	----------------------------------------------- */
	.contact_form_wrap p {
       font-size:16px;
	}
	.contact_form_wrap .tel_wrap {
        margin: 0px 20px 80px 40px;
	}
	.contact_form_wrap .tel{
		position: relative;
    	padding-left: 45px;
		font-size: 50px;
	}
	.contact_form_wrap .tel:before {
		  content: url(../img/svg/phone.svg);
		  vertical-align: middle;
		  position:absolute;
			width: 40px;
			left: 0;
			top: 21px;
}

	.contact_form_wrap .tel_wrap .time {
		    font-size: 20px;
    		margin-top: 16px;
	}
	.contact_form_wrap .policy {
		color:blue;
	}
	.contact_f7 {
	}
	.contact_f7 th,
	.contact_f7 td {
		padding: 15px;
	}
	.contact_f7 th {
	width: 40%;
    vertical-align: middle;
    background: #f5f5f5;
	}

	/* ラジオボタン */
	.contact_f7 input[type="radio"] {
		vertical-align: 0.05em;
	}

	/* 郵便番号 */
	.contact_f7 input#zip1 {
		width: 100px;
	}
	.contact_f7 input#zip2 {
		width: 160px;
	}

	/* 入力エリア */
	.contact_f7 td input[type="date"] {
		height: 28px;
	}

	/* プライバシーポリシーに同意する */
	.contact_f7_agree {
		text-align: center;
		margin-top: 30px;
	}
	.contact_f7_agree .wpcf7-list-item {
		margin: 0;
	}
	.wpcf7-list-item input[type="checkbox"] {
		transform: scale(2);
		margin: 0 12px 0 0;
}

	/* 送信ボタン */
	.btn_submit {
		margin-top: 30px;
	}
	.btn_submit input {
		padding: 15px 60px;
		font-size: 18px;
	}
}





/* ================================================================================

	SP設定

================================================================================ */
@media (max-width: 767px) {
	.contact_form_wrap {
  	 	 padding: 12vw 0;
	}	

	/* プライバシーポリシー
	----------------------------------------------- */
	.privacy_policy {
		position: relative;
		background-color: #f5f5f5;
		padding: 4vw;
		margin: 0 auto 6vw;
	}
	.privacy_policy h3 {
		font-size: 1.2em;
		font-weight: bold;
	}


	/* コンタクトフォーム
	----------------------------------------------- */

	.contact_form_wrap p {
          font-size: 4vw;
	}
	.contact_form_wrap .tel_wrap {
           margin: 0px 20px 80px 10px;
	}
	.contact_form_wrap .tel{
		position: relative;
        padding-left: 15px;
    	font-size: 9vw;
	}
	.contact_form_wrap .tel:before {
		  content: url(../img/svg/phone.svg);
		  vertical-align: middle;
		  position:absolute;
			width: 36px;
			left: -20px;
			top: 5px;
}
	
	.contact_form_wrap .tel_wrap .time {
			font-size: 20px;
			margin-top: 5px;
	}
	.contact_form_wrap .policy {
		color:blue;
	}
	.contact_f7 {
		border:none;
	}
.contact_f7 td input[type="tel"], .contact_f7 td input[type="email"] {
    width: 100%;
}
	#wpcf7cpcnf table th,
	#wpcf7cpcnf table td {
    padding: 12px;
    display: block;
    width: 100%;
}
	.contact_f7 th,
	.contact_f7 td {
		padding: 15px 0;
	}
	.contact_f7 th,
	.contact_f7 td {
		width: 100%;
		display: block;
	}
	.contact_f7 th {
		    padding: 3%;
   			 background: #f5f5f5;
	}
	.contact_f7 td {
		padding-bottom: 5%;
	}
	.btn_submit input[type="submit"], .btn_submit input[type="button"] {
    width: 80%;
    padding: 20px;
    font-size: 18px;
	}
.wpcf7-list-item input[type="checkbox"] {
    transform: scale(2);
    margin: 0 12px 0 0;
}
	/* ラジオボタン */
	.contact_f7 input[type="radio"] {
		vertical-align: 0.01em;
	}
	.contact_f7 span.wpcf7-list-item {
		margin: 0.5em 0 0 0 !important;
	}

	/* 郵便番号 */
	.contact_f7 input#zip1 {
		width: 36%;
	}
	.contact_f7 input#zip2 {
		width: 42%;
	}

	/* プライバシーポリシーに同意する */
	.contact_f7_agree {
		text-align: center;
		margin-top: 6vw;
	}
	.contact_f7_agree .wpcf7-list-item {
		margin: 0;
	}

	/* 送信ボタン */
	.btn_submit {
		margin-top: 6vw;
	}
	.btn_submit input {
		padding: 15px 40px;
	}
}
