@charset "utf-8";
/* 持ち込み_白老緑丘保育園 トップページ */

/* ------ メインビジュアル（写真に、白い角丸の帯に入った縦書きのキャッチコピー） ------ */
.main{
	position: relative;
	background-color: #f8f8f8;
}

.main_img img{
	display: block;
	width: 100%;
	height: 700px;
	object-fit: cover;
}

.main_copy{
	position: absolute;
	top: 92px;
	left: calc(50% - 460px);
}

/* 行（縦書きの列）ごとに白い角丸の帯を敷く。列のあいだは少し空ける */
.catchcopy{
	font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 2.7;
	letter-spacing: 0.14em;
	color: #4a442d;
	writing-mode: vertical-rl;
}

.catchcopy span{
	padding: 18px 13px;
	background-color: #ffffff;
	border-radius: 30px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}



/* ------ ブログ（写真のカードが4つ並ぶ） ------ */
.blog{
	padding-top: 86px;
}

.blog_list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
	margin-top: 52px;
}

.blog_item a{
	display: block;
}

.blog_item a:hover{
	opacity: 0.75;
}

.blog_img{
	aspect-ratio: 273 / 183;
	overflow: hidden;
	background-color: #f2f9e6;
}

.blog_img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog_meta{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 16px;
	line-height: 1.5;
}

.blog_date{
	font-size: 17px;
	color: #709e18;
}

.blog_category{
	padding: 1px 12px;
	font-size: 13px;
	color: #ffffff;
	background-color: #709e18;
}

.blog_category:empty{
	display: none;
}

.blog_title{
	margin-top: 10px;
	font-size: 17px;
	line-height: 1.6;
}



/* ------ 園について（写真と文章が左右交互。写真は画面の端まで。文章のうしろに黄色と緑の丸） ------ */
.about{
	padding-top: 120px;
	overflow: hidden;
}

.about_list{
	margin-top: 56px;
}

.about_item{
	display: flex;
	align-items: center;
	gap: 76px;
}

.about_item + .about_item{
	margin-top: 100px;
}

.about_img{
	flex: 0 0 47%;
	aspect-ratio: 902 / 443;
	overflow: hidden;
	border-radius: 0 30px 30px 0;
	background-color: #efefef;
}

.about_img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about_body{
	position: relative;
	z-index: 0;
	flex: 1;
	min-width: 0;
	padding: 56px max(30px, calc(50vw - 600px)) 56px 0;
}

/* 黄色の大きな丸と、緑の小さな丸（文章の右うしろ） */
.about_body::before,
.about_body::after{
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
}

.about_body::before{
	top: -10px;
	right: max(0px, calc(50vw - 640px));
	width: 450px;
	height: 396px;
	background-color: #fffedf;
}

.about_body::after{
	bottom: -40px;
	right: max(0px, calc(50vw - 680px));
	width: 220px;
	height: 194px;
	background-color: #dce7c8;
	opacity: 0.9;
}

/* 2つ目ごとに、写真を右に、文章を左にする */
.about_item:nth-child(even){
	flex-direction: row-reverse;
}

.about_item:nth-child(even) .about_img{
	border-radius: 30px 0 0 30px;
}

.about_item:nth-child(even) .about_body{
	padding: 56px 0 56px max(30px, calc(50vw - 600px));
}

.about_item:nth-child(even) .about_body::before{
	right: auto;
	left: max(0px, calc(50vw - 660px));
}

.about_item:nth-child(even) .about_body::after{
	right: auto;
	left: max(0px, calc(50vw - 700px));
}

.about_title{
	font-size: 24px;
	font-weight: 700;
	line-height: 2.1;
	letter-spacing: 0.08em;
	color: #312b17;
}

.about_text{
	margin-top: 26px;
	font-size: 16px;
	line-height: 2;
}



/* ------ ご案内（カードが3つ並ぶ。写真の下に緑の札の見出し） ------ */
.guide{
	padding: 120px 0 130px;
}

.guide_list{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.guide_item{
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #c9c9c9;
	border-radius: 16px;
}

.guide_img{
	aspect-ratio: 382 / 252;
	overflow: hidden;
	background-color: #efefef;
}

.guide_img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.guide_name{
	align-self: flex-start;
	margin-top: -25px;
	position: relative;
	padding: 9px 40px 9px 40px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: #ffffff;
	background-color: #709e18;
}

.guide_text{
	flex: 1;
	padding: 30px 36px 0;
	font-family: "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.guide_btn{
	padding: 30px 20px 40px;
	text-align: center;
}



/* ------ お問い合わせ（黄緑の帯に白い角丸の箱） ------ */
.contact_band{
	padding: 90px 0;
	background-color: #bed496;
}

.contact_band_box{
	padding: 58px 60px 58px;
	background-color: #ffffff;
	border-radius: 30px;
}

.contact_band .title_en{
	color: #709e18;
}

.contact_band_lead{
	margin-top: 50px;
	font-size: 18px;
	line-height: 1.6;
	text-align: center;
}

.contact_band_hours{
	font-size: 18px;
	line-height: 1.6;
	text-align: center;
}

.contact_band_hours_label{
	margin-right: 1em;
}

.contact_band_btns{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1080px;
	margin: 50px auto 0;
}

.contact_band_btn{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 92px;
	padding: 10px 50px;
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	border-radius: 8px;
}

.contact_band_btn:hover{
	opacity: 0.85;
}

.contact_band_btn_form{
	font-size: 23px;
	background-color: #ffb22d;
}

.contact_band_btn_form .icon_mail{
	width: 30px;
	height: 22px;
}

/* 右の白い三角 */
.contact_band_btn_form::after{
	content: "";
	position: absolute;
	top: 50%;
	right: 28px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 13px solid #ffffff;
	transform: translateY(-50%);
}

.contact_band_btn_tel{
	font-family: "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
	font-size: 36px;
	letter-spacing: 0.02em;
	background-color: #709e18;
}

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





/* ------ 幅の狭い PC ------ */
@media screen and (max-width: 1260px){

	.main_copy{
		left: 18%;
	}

	.about_body::before{
		width: 380px;
		height: 340px;
	}
}





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

	/* 写真を縦に長めにして、キャッチコピーが写真に埋もれないよう、白い帯と大きめの文字にする */
	.main_img img{
		height: min(80vw, 520px);
	}

	.main_copy{
		top: 18px;
		left: 15%;
	}

	.catchcopy{
		font-size: 16px;
		line-height: 2.6;
		letter-spacing: 0.1em;
	}

	.catchcopy span{
		padding: 12px 9px;
		border-radius: 22px;
		box-shadow: 0 2px 6px rgba(74, 68, 45, 0.15);
	}

	.blog{
		padding-top: 56px;
	}

	.blog_list{
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 18px;
		margin-top: 30px;
	}

	.blog_meta{
		gap: 4px 8px;
		margin-top: 12px;
	}

	.blog_date{
		font-size: 13px;
	}

	.blog_category{
		padding: 0 8px;
		font-size: 10px;
	}

	.blog_title{
		margin-top: 6px;
		font-size: 14px;
	}

	.about{
		padding-top: 80px;
	}

	.about_list{
		margin-top: 30px;
	}

	.about_item,
	.about_item:nth-child(even){
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
	}

	.about_item + .about_item{
		margin-top: 60px;
	}

	.about_img{
		flex: none;
		width: 96%;
		aspect-ratio: 375 / 210;
		border-radius: 0 20px 20px 0;
	}

	.about_item:nth-child(even) .about_img{
		margin-left: auto;
		border-radius: 20px 0 0 20px;
	}

	.about_body,
	.about_item:nth-child(even) .about_body{
		padding: 20px 20px 30px;
	}

	.about_body::before{
		top: 0;
		right: 6%;
		width: 230px;
		height: 200px;
	}

	.about_body::after{
		bottom: 0;
		right: 2%;
		width: 110px;
		height: 96px;
	}

	.about_item:nth-child(even) .about_body::before{
		left: 10%;
	}

	.about_item:nth-child(even) .about_body::after{
		left: 2%;
	}

	.about_title{
		font-size: 18px;
		line-height: 1.8;
	}

	.about_text{
		margin-top: 16px;
		font-size: 14px;
		line-height: 1.9;
	}

	.guide{
		padding: 70px 0 80px;
	}

	.guide_list{
		grid-template-columns: 1fr;
		gap: 40px;
		max-width: 520px;
		margin: 0 auto;
	}

	.guide_name{
		margin-top: -22px;
		padding: 7px 30px;
		font-size: 19px;
	}

	.guide_text{
		padding: 22px 24px 0;
		font-size: 14px;
	}

	.guide_btn{
		padding: 24px 20px 30px;
	}

	.contact_band{
		padding: 50px 0;
	}

	.contact_band_box{
		padding: 40px 20px;
		border-radius: 20px;
	}

	.contact_band_lead{
		margin-top: 28px;
		font-size: 14px;
	}

	.contact_band_hours{
		font-size: 14px;
	}

	.contact_band_btns{
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 30px;
	}

	.contact_band_btn{
		min-height: 62px;
		padding: 8px 40px;
	}

	.contact_band_btn_form{
		font-size: 16px;
	}

	.contact_band_btn_form .icon_mail{
		width: 20px;
		height: 15px;
	}

	.contact_band_btn_form::after{
		right: 18px;
		border-top-width: 6px;
		border-bottom-width: 6px;
		border-left-width: 10px;
	}

	.contact_band_btn_tel{
		font-size: 25px;
	}

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