//簡単フォーム
.simple_form_wrap .inner {
	width: 80%;
	max-width: 1200px;
	margin: auto;
}

.simple_form_wrap .lead {
	position: relative;
	display: inline-block;
	text-align: center;
	color: white;
	background-color: #ff6a2b;
	line-height: 1;
	padding: 15px 40px;
	border-radius: 36px;
	font-size: 36px;
	letter-spacing: 0.1em;
	font-weight: 800;
	margin: 0 auto 30px;
	z-index: 5;

	@media (max-width: 960px) {
		font-size: 24px;
	}

	@media (max-width: 750px) {
		width: 100%;
		font-size: 18px;
		padding: 15px 0px;
		margin-bottom: 15px;
	}
}

.simple_form_wrap .area {
	width: 100%;
	position: relative;
	margin-bottom: 100px;

	@media (max-width: 750px) {
		margin-bottom: 20px;
	}
}

.simple_form_wrap .area_head {
	position: relative;
	z-index: 4;
	display: block;
	font-size: 36px;
	font-weight: 800;
	color: white;
	letter-spacing: 0.1em;
	background-color: #176247;
	padding: 20px 0;
	
	@media (max-width: 960px) {
		font-size: 24px;
	}

	@media (max-width: 750px) {
		font-size: 18px;
		padding: 10px 0;
	}
}

.simple_form_wrap .area_content {
	background-color: white;
	padding: 20px 30px 50px;
	border: 1px solid #176247;
	position: relative;
	z-index: 5;

	@media (max-width: 750px) {
		padding: 20px;
	}
}

.simple_form_wrap .area_city {
	font-size: 24px;
	letter-spacing: 0.1em;
	font-weight: 600;

	@media (max-width: 750px) {
		font-size: 16px;
	}
}

.simple_form_wrap .woman {
	position: absolute;
	top: -71%;
	right: 3%;
	z-index: 3;

	@media (max-width: 1200px) {
		top: -88%;
	}

	@media (max-width: 750px) {
		width: calc(150 / 750 * 100%);
		height: auto;
		top: -30vw;
	}
}

.simple_form_wrap .content {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;

	@media (max-width: 750px) {
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: center;
	}
}

.simple_form_wrap .left {
	width: 50%;
	margin-right: 30px;

	@media (max-width: 960px) {
		display: none;
	}

	@media (max-width: 750px) {
		width: 100%;
		display: block;
		margin-right: 0;
		margin-bottom: 40px;
	}
}

.simple_form_wrap .lead_image {
	width: 100%;
	max-width: 534px;
	height: auto;
}

.simple_form_wrap .tel_link {
	display: block;
	position: relative;
	margin-top: 15px;

	@media (max-width: 750px) {
		display: none;
	}
}

.simple_form_wrap .tel_image {
	width: 100%;
	max-width: 532px;
}

.simple_form_wrap .tel_num {
	font-size: 40px;
	font-weight: 800;
	position: absolute;
	top: 55%;
	left: 23%;
	color: white;
	white-space: nowrap;

	@media (max-width: 1200px) {
		font-size: 30px;
	}

	@media (max-width: 960px) {
		font-size: 20px;
	}
}

.simple_form_wrap .time {
	font-size: 18px;
	font-weight: 600;
	position: absolute;
	bottom: 21%;
	left: 23%;
	color: white;
	white-space: nowrap;
	@media (max-width: 1200px) {
		font-size: 12px;
	}
}

.simple_form_wrap .right {
	width: 50%;

	@media (max-width: 960px) {
		width: 100%
	}

	@media (max-width: 750px) {
		margin: auto;
	}
}

.simple_form_wrap .mw_wp_form_complete {
	line-height: 1.6;
	text-align: left;
}

.simple-form {
    position: relative;
    padding: 25px 15px 40px;
    background-color: white;
    width: 100%;
    max-width: 570px;

	@media (max-width: 750px) {
		width: 90%;
	}

	&::before {
		content: '';
		display: block;
		width: 105%;
		height: 19.5%;
		background-image: url('../images/simple_form_head.png');
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		position: absolute;
		top: -12%;
		left: 50%;
		transform: translateX(-50%)
	}

    .simple-form_parts {
        border: 1px solid #f6f6f6;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: start;
        padding: 10px 10px 10px 30px;
		margin-bottom: 10px;

		@media (max-width: 750px) {
			flex-wrap: wrap;
			flex-direction: column;
			padding: 10px;
		}

        .simple-form_label {
            width: 160px;
			font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-right: 15px;
            color: #050505;

			@media (max-width: 750px) {
				width: 120px;
				padding-right: 0;
			}

            .form_title {
				width: auto !important;
                font-size: 20px;
				color: black;
				background: white;
				padding: 0;

				@media (max-width: 750px) {
					font-size: 16px;
				}
            }
            .form_red {
                color: white;
                border-radius: 5px;
                background-color: red;
                line-height: 1;
                letter-spacing: 0;
				font-size: 11px;
                padding: 3px 8px;
				margin: 0;
            }
            .form_blue {
                color: white;
                border-radius: 5px;
                background-color: #88abda;
                line-height: 1;
                letter-spacing: 0;
				font-size: 11px;
                padding: 3px 8px;
				margin: 0;
            }
        }

        .form_text {
            width: calc(370 / 542 * 100%);
            height: 37px;
			padding: 10px 0;
            display: flex;
            align-items: center;

			@media (max-width: 750px) {
				width: 100%;
			}

			input {
				width: 100% !important;
				height: 36px !important;
				border-radius: 0 !important;
				border: none !important;
				background-color: #f6f6f6;
			}

			.error {
				margin-top: 11px !important;
				line-height: 1.2;
			}
        }

		.form_text_area {
			width: calc(370 / 542 * 100%);
			padding: 10px 0;
            display: flex;
            align-items: center;
            text-algin: left;

			@media (max-width: 750px) {
				width: 98%;
			}

			textarea{
				width: 100% !important;
				border-radius: 0 !important;
				border: none !important;
				background-color: #f6f6f6;
				padding: 10px 5px;
			}
		}

    }
	.form_buttons {
		margin-top: 30px;
		display: flex;
		flex-direction: row;
		justify-content: space-around;

		br {
			display: none;
		}

		.ct_submit[name="submitConfirm"] {
			margin: 0;
			background: #ef002d;
			color: white;
			font-size: 19px;
			font-weight: 800;
			line-height: 1;
			width: 212px;
			height: 53px;
			border-radius: 22px;
			cursor: pointer
		}

		.ct_submit[name="submitBack"] {
			margin: 0;
			background: #1d719d;
			color: white;
			font-size: 19px;
			font-weight: 800;
			line-height: 1;
			width: 150px;
			height: 40px;
			border-radius: 22px;
			cursor: pointer
		}


		.ct_submit[name="submit"] {
			margin: 0;
			background: #ef002d;
			color: white;
			font-size: 19px;
			font-weight: 800;
			line-height: 1;
			width: 150x;
			height: 40px;
			border-radius: 22px;
			cursor: pointer
		}
	}
	.simple_form_policy_btn {
		font-size: 16px;
		cursor: pointer;
		.link {
			border-bottom: 1px solid #333333;
		}
	}
}


// プライバシーポリシー
@keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .policy_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    height: 100vh;
    background-color: rgb(0 0 0 / 80%);
    
    .modal_content{
        position: relative;
        width: 80vw;
		max-width: 1200px;
        margin: 5vh auto;
        background-color: white;
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
        transform: translateY(100%); /* 初期状態で画面外に配置 */

		@media (max-width: 750px) {
			margin: 5vh 3vw 0 3vw;
		}

        &.active {
            opacity: 1;
            transform: translateY(0);
            animation: slideInUp 0.5s ease forwards;
        }
    }

    .modal_close {
        position: absolute;
        top: 20px;
		font-size: 50px;
        right: -40px;
        cursor: pointer;
    }

	.ct_policy {
		border: 0;
		border-radius: 0;
		width: 100%;
        height: 70vh;
        padding: 40px 30px;
        overflow-y: auto;
	}

	.policy_title {
		border-radius: 0px;
		background: none;
		font-size: 36px;
		color: black;

		@media (max-width: 750px) {
			font-size: 18px;
		}
	}
	.policy_text {
		height: auto !important;
		line-height: 1.6 !important; 
	}
}