@charset "UTF-8";


/* 電話
 * *********************************/

#contact .contact-phone {}
#contact .contact-phone-box {
	background: #FFF;
    padding: 60px;
	text-align: center;
	border-radius: 18px;
	box-shadow: 0 1px 12px 0 rgba(0, 0, 0, 20%);
}
#contact .contact-phone-box dl.phone-label {
	display: flex;
	align-items: center;
	    width: 73%;
    max-width: 520px;
	margin: 12px auto 0;
}
#contact .contact-phone-box dl.phone-label dt {
	width: 20%;
    max-width: 120px;
}
#contact .contact-phone-box dl.phone-label dd {
	width: 80%;
	max-width: 420px;
	padding-left: 60px;
	text-align: center;
	line-height: 1;
}
#contact .contact-phone-box dl.phone-label dd img.phone {
	width: 90%;
    max-width: 320px;
	margin: 0 auto;
}
#contact .contact-phone-box dl.phone-label dd span.close {
	margin-left: 9px;
}

@media screen and (max-width: 768px) {
	#contact .contact-phone-box {
		padding: 45px;
	}
	#contact .contact-phone-box dl.phone-label dt {
		width: 105px;
		font-size: .8em;
	}
	#contact .contact-phone-box dl.phone-label dt::after {
		right: -24px;
		border-left: 12px solid #E02100;
		border-top: 19px solid transparent;
		border-right: 12px solid transparent;
		border-bottom: 19px solid transparent;
	}
	#contact .contact-phone-box dl.phone-label dd {
		padding-left: 45px;
	}
}
@media screen and (max-width: 559px) {
	#contact .contact-phone-box {
		padding: 0;
		box-shadow: none;
	}
	#contact .contact-phone-box dl.phone-label {
		width: 80%;
	}
	#contact .contact-phone-box dl.phone-label dd {
		padding-left: 30px;
	}
	#contact .contact-phone-box dl.phone-label dd img.phone {
		width: 90%;
	}
	#contact .contact-phone-box dl.phone-label dd span.close {
		margin-left: 0;
	}
}
@media screen and (max-width: 440px) {
	#contact .contact-phone-box dl.phone-label {
		width: 100%;
	}
	#contact .contact-phone-box dl.phone-label dt {
		width: 75px;
	}
	#contact .contact-phone-box dl.phone-label dd {
		padding-left: 18px;
		font-size: .8em;
	}
	#contact .contact-phone-box dl.phone-label dd img.phone {
		width: 80%;
	}
}
@media screen and (max-width: 380px) {
	#contact .contact-phone-box dl.phone-label {
		width: 90%;
	}
	#contact .contact-phone-box dl.phone-label dd {
		padding-left: 0;
	}
}


/* メール
 * *********************************/

#contact .contact-mail {
	margin-top: 60px;
}
#contact .contact-mail .contact-mail-box {
	background: #FFF;
    padding: 60px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, 20%);
}
#contact .contact-mail .contact-mail-box .security {
	color: #E02100;
	font-size: .8em;
	margin-top: 30px;
}

@media screen and (max-width: 768px) {
	#contact .contact-mail .contact-mail-box {
		  padding: 0;
        box-shadow: none;
	}
}
@media screen and (max-width: 559px) {
	#contact .contact-mail .contact-mail-box .security {
		text-align: left;
		font-size: .9em;
	}
}
@media screen and (max-width: 440px) {
}
@media screen and (max-width: 380px) {
}
@media screen and (max-width: 320px) {
}


/* フォーム
 * *********************************/

#contact fieldset {
	padding: 30px;
	margin: 30px 0 0 0;
	border: none;
	border-top: 1px solid #E02100;
}
#contact fieldset legend {
	text-align: left;
    color: #E02100;
}
#contact fieldset .flex {
	padding: 22px 0;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ededed;
}
#contact fieldset .flex:last-child {
	border-bottom: none;
}
#contact fieldset .flex label {
	width: 220px;
	text-align: left;
	position: relative;
}
#contact fieldset .flex label span.required {
	color: #E02100;
    font-size: 1rem;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}
#contact fieldset .flex .input-item {
	width: calc(100% - 220px);
	text-align: left;
	padding-left: 30px;
}


/* 入力項目 */
#contact input {
	font-family: sans-serif;
	padding: 12px;
}
#contact input.postcode {
	width: 150px;
	padding-left: 38px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><text x="0" y="14" font-size="16" fill="black">〒</text></svg>') no-repeat left 12px center;
}
#contact textarea.consultation {
    width: 100%;
    height: 180px;
	border: none;
}

#contact .privacy-policy {
	text-align: center;
	    margin-top: 18px;
}
#contact .privacy-policy .wpcf7-list-item {
	display: block;
	margin: 18px 0 0 0;
	text-align: center;
}
#contact .privacy-policy .wpcf7-list-item label {
	background: #ededed;
    display: inline-block;
    padding: 18px 30px;
    border-radius: 70px;
	line-height: 1;
}
#contact .privacy-policy .wpcf7-list-item label input.acceptance {
	width: 20px;
	height: 20px;
	margin: 0 12px 0 0;
	vertical-align: middle;
}

/* 送信ボタン */
#contact .btnSend {
	display: inline-block;
	height: 90px;
	min-width: 400px;
	background-image: -webkit-linear-gradient(left, #E02100 0%, #DD7600 100%);
	background-image: linear-gradient(to right, #E02100 0%, #DD7600 100%);
	color: #FFF;
	padding: 12px 28px;
	font-size: 1.6em;
	line-height: 1;
	border-radius: 90px;
	border: none;
}
#contact .btnSend:hover {
	opacity: .7;
	transform: scale(1.03);
}

@media screen and (max-width: 834px) {
	#contact fieldset {
		padding: 30px 0;
	}
	#contact fieldset .flex label {
		width: 200px;
	}
	#contact fieldset .flex .input-item {
		width: calc(100% - 200px);
	}
	#contact .energy .wpcf7-list-item,
	#contact .question .wpcf7-list-item {
		width: calc(100% / 2);
	}
}
@media screen and (max-width: 559px) {
	#contact fieldset {
		margin-top: 18px;
	}
	#contact fieldset .flex {
		flex-direction: column;
	}
	#contact fieldset .flex label {
		width: 100%;
		margin-bottom: 6px;
	}
	#contact fieldset .flex label span.required {
		position: static;
        transform: none;
        vertical-align: middle;
        display: inline-block;
        margin-left: 6px;
	}
	#contact fieldset .flex .input-item {
		width: 100%;
		padding: 0;
	}
	#contact input.postcode {
		width: 100%;
	}
	#contact textarea.consultation {
		height: 280px;
	}
	
	/* 送信ボタン */
	#contact .btnSend {
		min-width: 100%;
		max-width: 100%;
	}
}


/* 送信完了ページ */
#contact .contact-completed {
	text-align: center;
}

@media screen and (max-width: 559px) {
	#contact .contact-completed {
		text-align: left;
	}
}

/************************************************
 * プラグイン
 * *********************************************/

/* Contact Form 7
 * *********************************************/
.wpcf7-list-item.first { /*チェックボックスの最初*/
	margin-left: 0 !important;
}
.wpcf7-spinner { /*スピナー*/
	display: none !important;
}
.wpcf7-not-valid-tip,
.error .error-message { /* 日時のエラーメッセージ */
	border-radius: 5px;
	background-color: #FFE4E0;
	color: #E02100;
	display: block;
	font-size: .6em !important;
	font-family: sans-serif !important;
	margin-top: 0;
	padding: 9px 18px;
	position: relative;
}
.wpcf7-not-valid-tip::before,
.error .error-message::before { /* 日時のエラーメッセージ */
	content: "";
	border: 10px solid transparent;
	border-bottom: 12px solid #FFE4E0;
	position: absolute;
	top: -20px;
	left: 5%;
}

/* 日時のエラーメッセージ */
.error .wpcf7-not-valid-tip {
    display: none;
}
.error .error-message {
    display: none;
}
.error:has(.wpcf7-not-valid-tip) .error-message { /* .error内に.wpcf7-not-valid-tipがあるときにエラーメッセージを表示 */
    display: block;
}


/* Drag and Drop Multiple File Upload for Contact Form 7
 * *********************************************/

.codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn { /*添付*/
	background: #ededed;
	padding: 3px 12px;
	display: inline-block;
	border-radius: 30px;
}


/* zipaddr-jp
 * *********************************************/

div#autozip {
	display: none !important;
}
