@charset "UTF-8";
/*------------------------
お問い合わせ
------------------------*/
#contact{
	background: var(--bg);
}
#contact .top-lead {
	font-size: 4vw;
	text-align: justify;
	margin-bottom: 4vw;
}
#contact .top-lead span.border{
	color: #ff0000;
	text-decoration: underline;
}

#contact .privacy-area{
	background: #fff;
	padding: 3vw;
	font-size: 3.73vw;
	margin-bottom: 6vw;
}
#contact .privacy-area a{
	display: inline-block;
	text-decoration: underline;
}

/* コンタクトフォーム */
#contact table {
	margin-bottom: 6%;
	border-top: 1px solid #c8c8c8;
}
table tr {
	border-bottom: 1px solid #c8c8c8;
}
table tr th{
	display: block;
	background: #dcdcdc;
	padding: 3% 4.5% 3.3%;
	line-height: 1;
	font-weight: 500;
}
table tr td {
	display: block;
	background: #fff;
	padding: 4.5% 4vw 6vw;
	line-height: 1.56;
}
#contact table .placeholder {
	display: block;
	font-size: 3.73vw;
	color: var(--black);
	margin-bottom: 2%;
}

#contact .wpcf7-list-item{
	width: 100%;
	display: block;
	margin: 0px 0 3% 0;
}
#contact table label{
	cursor: pointer;
}
input[type="submit"] {
	width: 100%;
	background: var(--bg_grad);
	background: var(--bg_grad2);
	color: #fff;
	font-size: 4.54vw;
	height: 15.33vw;
	display: flex;
	font-family: 'Noto Sans JP';
	justify-content: center;
	align-items: center;
}
/*------------------------
サンクスページ
------------------------*/
#thanks h2 {
	font-size: 5.33vw;
	margin-bottom: 3vw;
	line-height: 1.4;
}
#thanks p {
	font-size: 4vw;
	line-height: 1.7;
	margin-bottom: 6vw;
}
#thanks .btn a{
	width: 70%;
}
#thanks .btn a::after {
	-webkit-transform: rotate( 45deg);
	transform: rotate( 45deg);
	right: auto;
	left: 4vw;
}


/*========= モーダル表示のためのCSS ===============*/
.popup-content{
	visibility: hidden;
	opacity : 0;
}

#open-box:checked ~ .popup-content{
	visibility: visible;
	opacity : 1;
	transition: .3s;
}
#open-box:checked ~ .overlay {
	background: rgb(51, 51, 51,.8);
	display: block;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	transition: .3s;
	z-index: 9999;
}
.inner .popup-content .ttl-wrap h2{
	font-size: 4.8vw;
}
.popup-content .in-box{
	max-height: 112vw;
	overflow-y: scroll;
	font-size: 3.73vw;
	padding: 4vw;
}
.popup-content .lead{
	font-weight: 500;
	margin-bottom: 3vw;
	font-size: 4vw;
}
.popup-content .item .box{
	margin-bottom: 3vw;
}
.popup-content .item .ttl {
	font-size: 4vw;
	margin-bottom: 1vw;
	font-weight: 500;
}
.popup-content .item .textarea{
	font-size: 3.43vw;
}
.open-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 75%;
	height: 8vw;
	font-size: 3.43vw;
	margin-bottom: 2vw;
	background: var(--bg);
	color: var(--navy);
	font-weight: bold;
	border-radius: 5px;
}
.open-btn:hover{
	opacity: .7;
}
label.close-btn {
	position: absolute;
	top: -15px;
	right: -14px;
	background: #383c3c;
	color: aliceblue;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	line-height: 1.6;
	cursor: pointer;
	font-size: 20px;
}
.fa-times-circle {
	position: relative;
	top: -2px;
	left: -2px;
	font-size: 1.9em;
	color: #00bcd4;
}
.popup-content{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	height: auto;
	background-color: #fff;
	z-index: 9999;
	transition: .1s;
	padding: 2vw;
}


@media (orientation: landscape){
	.popup-content{
		width: 70%;
	}
}

input#open-box{display: none;}

#contact .popup-content section{
    background: #fff;
    padding: 0;
	margin-bottom: 8vw;
}