/*
Theme Name: Original Template
Author: Original Template
*/

.wpcf7-response-output,
.hidden-fields-container,
.screen-reader-response {
	display: none!important;
}

.frmBtn:disbled {
	background: #ccc;
}

/*===========================================
ローディング
===========================================*/

/* 共通設定：最初は両方隠す */
.loading-overlay,
.thank-you-overlay {
    display: none; 
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 100;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ローディング画面の背景と中身 */
.loading-overlay {
    background: rgba(255, 255, 255, 1);
	border-radius: 10px;
}

/* サンキュー画面の背景 */
.thank-you-overlay {
    background: #fff; /* 下のフォームを完全に隠すなら透過なし */
}

/* --- 表示の切り替えスイッチ --- */

/* 送信中(is-loading)クラスがついたらローディングを表示 */
.my-form-container.is-loading .loading-overlay {
    display: flex !important;
}

/* 送信完了(is-sent)クラスがついたらサンキュー画面を表示 */
.my-form-container.is-sent .thank-you-overlay {
    display: flex !important;
}

/* ぐるぐるの見た目（これはさっきと同じ） */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* 1. まずはサンキュー画面の「見た目」だけを作る */
.thank-you-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1.00);
    z-index: 10;
	border-radius: 10px;
	box-sizing:border-box;
	padding: 30px;
	display: none; 
}


.my-form-container.is-sent .thank-you-overlay {
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
	align-items: center;
}

.thankyou-title {
	font-size: 3rem;
	font-weight: bold;
	color: #ff321e;
	text-align: center;
	margin: 0 0 20px;
}

.thankyou-text {
	font-size: 1.4rem;
		text-align: left;
}

.thankyou-text br {
	display: none;
}

.thankyou-table {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	font-size: 1.5rem;
	margin: 20px 0;
	width: 100%;
	box-sizing: border-box;
}

.thankyou-table th {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 5px 10px;
	background: #000;
	color: #fff;
	text-align: center;
}

.thankyou-table td {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 10px;
	text-align: center;
}

@media screen and (max-width:1340px) {
	.thankyou-text {
		text-align: left;
	}
	.thankyou-text br {
		display: none;
	}
}







#thanks {
	background: #fff;
}
#thanks  .lwrMnTtl {
	color: #222;
}
#thanksContent .cntWrp {
	background: #fff;
	border-radius: 20px;
	padding: 60px 90px;
	max-width: 700px;
	margin: 0 auto;
}
.cntBtn {
	text-align: cemter;
	margin: 60px auto 0;
}
@media screen and (max-width: 1300px) {
	#thanks {
		padding-bottom: 30px;
	}
	#thanksContent .lwrPlcAra {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
@media screen and (max-width:767px) {
	#thanks {
		padding-top: 100px;
		padding-bottom: 30px;
	}
	#thanks  .lwrMnTtl {
		color: #222;
	}
	#thanksContent .lwrPlcAra {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#thanksContent .cntWrp {
		padding: 30px;
	}
	#thanksContent .thankyou-title {
		font-size: 2rem;
	}
	.cntBtn {
		text-align: cemter;
		margin: 30px auto 0;
	}
}