@charset "UTF-8";
/* CSS Document */

/*
	学生のみなさまへメッセージ
-----------------------------------------------------------------------------------------------*/
/* header
============================== */
@media print, screen and (min-width:813px){
	#headerWrapper .titMenu.message{
		color: var(--clrBase);
	}
	#headerWrapper .titMenu.message::after{
		opacity: 1;
	}
}

/* kv
============================== */
#kvWrapper{
	margin-bottom: 80px;
	position: relative;
}
#kvWrapper .inBox{
	width: var(--wBase);
	height: 650px;
	padding: 0 30px;
	margin: 0 auto;
	position: relative;
}

/* 飾り文字 */
#kvWrapper .inBox::before,
#kvWrapper .inBox::after{
	display: block;
	height: 450px;
	position: absolute;
	bottom: 0;
	left: 30px;
}
#kvWrapper .inBox::before{
	content: "MESSAGE";
	display: flex;
	justify-content: center;
	align-items: center;
	border-right: 1px solid #fff;
	writing-mode: vertical-rl;
	width: 50px;
	color: var(--clrBase);
	font-size: 1.3rem;
	font-family: var(--fEn);
	font-weight: 700;
	z-index: 2;
}

/* 背景色 */
#kvWrapper .inBox::after{
	content: " ";
	width: calc((100vw - 1140px)/2 + 1140px);
	min-width: calc(100% - 30px);
	background-color: var(--clrBrown10);
	z-index: 1;
}

/* ph */
#kvWrapper .ph{
	display: block;
	object-fit: cover;
	object-position: center top;
	width: calc((100vw - 1140px)/2 + 870px);
	min-width: calc(100% - 300px);
	max-width: initial;
	height: 450px;
	position: absolute;
	bottom: 60px;
	left: 300px;
	z-index: 2;
}

/* tit */
.titKv{
	text-shadow: #fff 1px 0 10px;
	font-size: 6rem;
	font-family: var(--fZen);
	font-weight: 700;
	line-height: 110%;
	position: relative;
	top: 110px;
	left: 90px;
	z-index: 3;
}

/* anm */
.titKv{
	opacity: 0;
	animation: anmFadeLeft 1s ease 1s forwards;
}
#kvWrapper .inBox::after{/* 背景色 */
	opacity: 0;
	animation: anmFadeRight 1s ease 1s forwards;
}
#kvWrapper .inBox::before{/* 飾り文字 */
	opacity: 0;
	animation: anmFadeIn 1s ease 1.5s forwards;
}
#kvWrapper .ph{
	opacity: 0;
	animation: anmFadeRight 1s ease 1.3s forwards;
}

/* phArea
============================== */
.phArea{
	position: relative;
}

/* txtBox */
.phArea .txtBox{
	background-color: #fff;
	position: relative;
	z-index: 2;
}

/* ph */
.phArea figure{
	z-index: 1;
}

/* POLICY */
@media print, screen and (min-width:813px){
	.phArea.policy .txtBox{
		width: 860px;
		padding: 50px 50px 0 50px;
		margin: -80px auto 0 auto;
	}
}


@media screen and (max-width:812px){
	/*
		学生のみなさまへメッセージ
	-----------------------------------------------------------------------------------------------*/
	/* kv
	============================== */
	#kvWrapper{
		margin-bottom: 40px;
	}
	#kvWrapper .inBox{
		height: 475px;
		padding: 0 20px;
	}

	/* 飾り文字 */
	#kvWrapper .inBox::before,
	#kvWrapper .inBox::after{
		height: 280px;
		left: 0;
	}
	#kvWrapper .inBox::before{
		width: 40px;
		font-size: 1.2rem;
	}

	/* 背景色 */
	#kvWrapper .inBox::after{
		width: 100vw;
		min-width: 100vw;
	}

	/* ph */
	#kvWrapper .ph{
		width: calc(100vw - 60px);
		min-width: calc(100vw - 60px);
		height: 280px;
		bottom: 50px;
		left: 60px;
	}

	/* tit */
	.titKv{
		max-width: 500px;
		font-size: 3.4rem;
		top: 60px;
		left: initial;
	}

	/* パンクズ */
	#olistPan{
		max-width: 460px;
	}

	/* phArea
	============================== */
	.phArea{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px 0;
	}
	
	/* ph */
	.phArea figure{
		width: 100vw;
	}
}


/* landscape / iPad mini */
@media screen and (max-width:812px) and (min-width: 520px){
	#kvWrapper .ph{
		object-position: center -30px;
	}
}