@charset "utf-8";
/* 持ち込み_白老緑丘保育園 お問い合わせ（デザインがないので、下層ページとトップのお問い合わせの帯に合わせた） */

.contact{
	max-width: 960px;
}

.contact .page_lead{
	text-align: center;
}

/* 電話（緑の角丸の箱） */
.contact_tel{
	margin-top: 50px;
	padding: 34px 20px 30px;
	text-align: center;
	color: #ffffff;
	background-color: #709e18;
	border-radius: 16px;
}

.contact_tel_title{
	font-size: 17px;
	font-weight: 700;
}

.tel_link{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	font-family: "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.tel_link .icon_tel{
	width: 30px;
	height: 30px;
}

.contact_info{
	width: fit-content;
	margin: 14px auto 0;
	font-size: 15px;
	line-height: 1.8;
	text-align: left;
}

.contact_info div{
	display: flex;
	gap: 1em;
}

.contact_info dt{
	flex-shrink: 0;
}

.contact_info dt::after{
	content: "：";
}

/* 送ったあと・送れなかったとき */
.contact_done{
	margin-top: 60px;
	padding: 40px 20px;
	text-align: center;
	background-color: #f2f9e6;
	border-radius: 16px;
}

.contact_done_title{
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: 700;
	color: #312b17;
}

.contact_error{
	margin-top: 40px;
	padding: 14px 20px;
	color: #ffffff;
	background-color: #c0392b;
}

/* フォーム（薄い黄緑の角丸の箱） */
.contact_form{
	margin-top: 60px;
	padding: 50px 60px;
	background-color: #f2f9e6;
	border-radius: 16px;
}

.contact_form dl{
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px 30px;
	align-items: start;
}

.contact_form dt{
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #312b17;
}

.contact_required{
	padding: 0 8px;
	font-size: 11px;
	line-height: 1.8;
	color: #ffffff;
	background-color: #ff9a2d;
}

.contact_form input,
.contact_form textarea{
	width: 100%;
	padding: 10px 14px;
	font: inherit;
	font-size: 16px;
	letter-spacing: 0.04em;
	background-color: #ffffff;
	border: 1px solid #bab7b5;
	border-radius: 4px;
}

.contact_form input:focus,
.contact_form textarea:focus{
	outline: 2px solid #709e18;
	outline-offset: 0;
	border-color: #709e18;
}

/* 迷惑な送信をはじく欄（人には見せない） */
.contact_hp{
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact_note{
	margin-top: 30px;
	font-size: 14px;
	text-align: center;
}

.contact_submit{
	margin-top: 30px;
	text-align: center;
}

/* 送信（橙の角丸。トップのフォームのボタンと同じ色） */
.contact_submit button{
	min-width: 300px;
	min-height: 64px;
	padding: 10px 40px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #ffffff;
	background-color: #ffb22d;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.contact_submit button:hover{
	opacity: 0.8;
}





/* ------ スマホ・タブレット ------ */
@media screen and (max-width: 1000px){

	.contact .page_lead{
		text-align: left;
	}

	.contact_tel{
		margin-top: 30px;
		padding: 22px 15px;
	}

	.contact_tel_title{
		font-size: 14px;
	}

	.tel_link{
		font-size: 26px;
	}

	.tel_link .icon_tel{
		width: 22px;
		height: 22px;
	}

	.contact_info{
		font-size: 13px;
	}

	.contact_form{
		margin-top: 30px;
		padding: 30px 18px;
	}

	.contact_form dl{
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.contact_form dt{
		font-size: 14px;
	}

	.contact_form input,
	.contact_form textarea{
		font-size: 16px; /* 16px より小さいと、iPhone で入力のときに画面が拡大される */
	}

	.contact_note{
		font-size: 12px;
		text-align: left;
	}

	.contact_submit button{
		min-width: 0;
		width: 100%;
		max-width: 300px;
		font-size: 16px;
	}
}
