@charset "UTF-8";

.contactCtsArea{
	width: 860px;
	margin: 0 auto;
	padding: 0 30px 120px;
}
.contactTxtArea{
	margin-bottom: 50px;
	padding: 60px;
	background-color: var(--bgc-beige);
	border-radius: 20px;

	.txt{
		text-align: center;
	}

	.btnBase{
		margin-top: 30px;
	}
}
.contactForm{
	> .txt{
		margin-top: 30px;
	}
	
	.btnBase{
		margin-top: 30px;
	}
}

/* form
============================== */
.dlistForm{
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 50px;

	> div{
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

	dt{
		display: flex;
		align-items: center;
		padding: 0 10px;
		font-size: 1.6rem;
		font-weight: var(--fw-bold);

		/* 必須項目 */
		&.required{
			&::after{
				content: "必須";
				display: inline-block;
				margin-left: 5px;
				padding: 5px 12px;
				font-size: 1.0rem;
				line-height: 1.0;
				color: #fff;
				background-color: #ff0000;
				border-radius: 13px;
			}
		}
	}

	/* 入力・選択エリア */
	input[type="text"],
	select,
	textarea{
		width: 100%;
		padding: 15px;
		font-family: var(--ff-jp-gothic);
		font-size: 1.5rem;
		color: #000;
		border: 1px solid var(--c-grey);
		border-radius: 10px;
		-webkit-appearance: none;
		appearance: none;
		&:focus{
			outline-color: var(--c-orange);
		}
		&::placeholder {
			color: var(--c-grey);
		}
	}

	/* セレクトエリア */
	select{
		background-color: transparent;
		cursor: pointer;
	}

	dd{
		/* セレクトボタン */
		&.allow{
			position: relative;
			cursor: pointer;
			&::before{
				content: "";
				width: 44px;
				height: calc(100% - 10px);
				background-color: var(--c-orange);
				border-radius: 5px;
				position: absolute;
				top: 50%;
				right: 5px;
				transform: translateY(-50%);
				z-index: -1;
			}
			&::after{
				content: "";
				display: block;
				width: 8px;
				height: 8px;
				border-top: 2px solid #fff;
				border-right: 2px solid #fff;
				position: absolute;
				top: 21px;
				right: 23px;
				transform: rotate(135deg);
				z-index: -1;
				transition: top 0.2s;
			}
			@media (hover: hover){
				&:hover{
					&::after{
						top: 23px;
					}
				}
			}
		}
		
		&.txt{
			padding: 0 10px;
		}
	}
}

/* formzu
============================== */
#formzu{
	iframe {
		width: 100%;
		height: 1500px;
		border: none;
	}
	.comform-wrap {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		padding: 0;
	}
}


/*
	iPhone13ランドスケープ セーフエリア
	（SafeLandLeft：47　/　SafeLandRight：47）
	844 - 94 = 750　※750px以上でPC表示
-----------------------------------------------------------------------------------------------*/
@media screen and (width < 750px){
	.contactCtsArea{
		width: 100%;
		max-width: 500px;
		padding: 0 20px 40px;
	}
	.contactTxtArea{
		/* margin-bottom: 80px; */
		padding: 30px;
	
		.txt{
			text-align: left;
		}
	
		.btnBase{
			margin-top: 20px;
		}
	}
	.contactForm{
		> .txt{
			margin-top: 20px;
		}
		
		.btnBase{
			margin-top: 20px;
		}
	}
	
	/* form
	============================== */
	.dlistForm{
		margin-top: 40px;
	
		dt{
			padding: 0 5px;
			font-size: 1.5rem;
		}
	
		/* 入力・選択エリア */
		input[type="text"],
		select,
		textarea{
			padding: 12px;
			font-size: 1.4rem;
			border-radius: 5px;
		}
	
		dd{
			/* セレクトボタン */
			&.allow{
				position: relative;
				cursor: pointer;
				&::before{
					width: 36px;
					border-radius: 2px;
				}
				&::after{
					top: 17px;
					right: 19px;
				}
			}
			
			&.txt{
				padding: 0 5px;
			}
		}
	}

	/* formzu
	============================== */
	#formzu{
		iframe {
			height: 500px;
		}
	}
}