/*------------------------------------
.hmv
------------------------------------*/
.hmv__inner {
	background-image: url("../images/day/hmv-img.jpg");
}
.hmv__ttl {
	background-color: #fffbf3;
}
.hmv__ttl::before,
.hmv__ttl::after {
	background-image: url("../images/hmv-bg_yl.png");
}


/*--------------------------------------------------------------------------
#day
--------------------------------------------------------------------------*/
#day {
	background-color: #fffbf3;
}
#day .ttl {
	font-size: 36px;
	text-align: center;
	margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
	#day .ttl {
		font-size: 25px;
		margin-bottom: 30px;
	}
}


/*------------------------------------
.nav
------------------------------------*/
.nav {
	position: relative;
	padding: 120px 0 250px;
}
.nav::after {
	content: "";
	position: absolute;
	bottom: 0;
	background-image: url("../images/wave_wh.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
	padding-bottom: 5.2083%;
}
.nav .container {
	max-width: 1260px;
}
.nav__flex {
	display: flex;
	justify-content: space-between;
	position: relative;
}
.nav__flex .tit {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	margin: auto;
}
.nav__flex .tit p {
	position: relative;
	font-size: 25px;
	font-weight: 700;
	writing-mode: vertical-rl;
	-ms-writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	margin: auto;
}
.nav__flex a {
	position: relative;
	width: 28.9855%;
	min-width: 400px;
}
.nav__flex figure {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.nav__flex figure::before {
	content: "";
	position: absolute;
	top: 0;
	background-image: url("../images/rounded-bg_yl.svg");
	background-position: right bottom;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.nav__flex img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nav__flex figcaption {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 20px;
	left: 0;
	background-color: #fb9500;
	width: fit-content;
	height: 50px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: #fff;
	margin-left: auto;
	padding: 0 20px;
	z-index: 1;
}
.nav__arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	position: absolute;
	right: 10px;
	bottom: 10px;
	background-color: #fb9500;
	border-radius: 50%;
	width: 63px;
	height: 63px;
	transition: .3s cubic-bezier(.4,.4,0,1);
	z-index: 2;
}
a:hover .nav__arrow {
	background-color: transparent;
	border: 1px solid #fb9500;
	transform: scale(1.1, 1.1);
}
.nav__arrow::before {
	content: "";
	background-image: url("../images/rounded-arrow.svg");
	background-position: 50%;
	background-size: cover;
	width: 14px;
	height: 14px;
}
a:hover .nav__arrow::before {
	background-image: url("../images/rounded-arrow_yl.svg");
}
@media screen and (max-width: 1200px) {
	.nav__flex {
		gap: 40px;
	}
	.nav__flex .tit {
		position: static;
		transform: none;
		margin: 0;
	}
	.nav__flex .tit p {
		font-size: 2.083vw; /*25px*/
	}
	.nav__flex a {
		width: 100%;
		min-width: auto;
	}
	.nav__flex figcaption {
		font-size: 2.083vw;
	}
}
@media screen and (max-width: 768px) {
	.nav {
		padding: 50px 0 70px;
	}
	.nav__flex {
		flex-wrap: wrap;
		gap: 30px 20px;
	}
	.nav__flex .tit {
		position: static;
		transform: none;
		width: 100%;
	}
	.nav__flex .tit p {
		font-size: 16px;
		text-align: center;
		writing-mode: horizontal-tb;
		-ms-writing-mode: horizontal-tb;
		-webkit-writing-mode: horizontal-tb;
	}
	.nav__flex a {
		width: calc((100% - 20px) / 2);
	}
	.nav__flex figure::before {
		background-size: 70px;
	}
	.nav__flex figcaption {
		top: 0;
		height: 30px;
		font-size: 14px;
		padding: 0 15px;
	}
	.nav__arrow {
		width: 32px;
		height: 32px;
	}
	.nav__arrow::before {
		width: 10px;
		height: 10px;
	}
}


/*------------------------------------
.teacher
------------------------------------*/
.teacher__head {
	position: relative;
	margin-bottom: 50px;
	z-index: 0;
}
.teacher__head::before {
	content: "";
	position: absolute;
	right: 3.65vw;
	background-color: #fffbf3;
	width: 100%;
	height: 400px;
	z-index: -1;
}
.teacher__head::after {
	content: "";
	display: block;
	position: absolute;
	top: 380px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	background-image: url("../images/day/arrow.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 80px;
	height: 47px;
	z-index: 1;
}
.teacher__inner {
	display: flex;
	gap: 80px;
	position: relative;
	max-width: 1260px;
	width: calc(100% - 7.29vw);
	margin: auto;
	padding-top: 80px;
	z-index: 1;
}
.teacher__inner .img {
	min-width: 350px;
	width: 500px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.teacher__inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.teacher__inner strong {
	display: block;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 30px;
}
.teacher .container {
	max-width: 1260px;
}
.teacher-list {
	margin-bottom: 100px;
}
.teacher__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 60px;
	position: relative;
	background-color: #fffbf3;
	padding: 4.1667vw; /*80px*/
	margin-left: 5.2083vw; /*100px*/
}
.teacher__row:nth-child(even) {
	margin: 0 5.2083vw 0 0; /*100px*/
}
.teacher__row:not(:last-child) {
	margin-bottom: 5.2083vw; /*100px*/
}
.teacher__row .txt {
	width: 100%;
}
.teacher__row h3 {
	font-size: 24px;
}
.teacher__row p:not([class]) {
	margin-top: 10px;
}
.teacher__row .img {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 400px;
}
@media screen and (max-width: 1200px) {
	.teacher__row .img {
		max-width: 480px;
	}
}
@media screen and (max-width: 768px) {
	.teacher__head::before {
		right: 7.29vw;
		height: 100%;
	}
	.teacher__head::after {
		top: auto;
		bottom: -10px;
		width: 40px;
		height: 23px;
	}
	.teacher__inner {
		flex-wrap: wrap;
		gap: 30px;
		padding: 50px 0;
	}
	.teacher__inner .img {
		min-width: auto;
		width: 100%;
		aspect-ratio: 3 / 2;
	}
	.teacher__inner .txt {
		padding: 0 40px;
	}
	.teacher__inner strong {
		font-size: 22px;
	}
	.teacher-list {
		margin-bottom: 50px;
	}
	.teacher__row {
		flex-direction: column;
		gap: 20px;
		padding: 9.1146vw 6.5104vw; /* 70px 50px*/
	}
	.teacher__row h3 {
		font-size: 22px;
	}
	.teacher__row .img {
		gap: 10px;
	}
}


/*------------------------------------
#teacher1
------------------------------------*/
#teacher1 {
	position: relative;
	background-color: #fff;
	padding: 80px 0 250px;
}
#teacher1::after {
	content: "";
	position: absolute;
	bottom: 0;
	background-image: url("../images/wave_rd.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
	padding-bottom: 5.2083%;
}
@media screen and (max-width: 768px) {
	#teacher1 {
		padding-bottom: 100px;
	}
}


/*------------------------------------
#teacher2
------------------------------------*/
#teacher2 {
	background-color: #fef6f5;
	padding: 80px 0 200px;
}
#teacher2 .teacher__head::before,
#teacher2 .teacher__row,
#teacher2 .teacher__msg {
	background-color: #fff;
}
@media screen and (max-width: 768px) {
	#teacher2 {
		padding-bottom: 120px;
	}
}


/* ========== 時計本体 ========== */
.clock {
	--size: 40px;
	--hour: 0;
	--min: 0;
	
	position: relative;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	border: 4px solid #a46305;
	box-sizing: border-box;
}
#teacher2 .clock {
	border-color: #8d3949;
}
@media screen and (max-width: 768px) {
	.clock {
		--size: 30px;
	}
}

/* 中心の丸 */
.clock::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 4px;
	transform: translate(-50%,-50%);
	border-radius: 50%;
	background: #a46305;
	z-index: 3;
}
#teacher2 .clock::before {
	background: #8d3949;
}

/* 分針 */
.clock::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 6%;
	width: 3px;
	height: 42%;
	transform-origin: 50% 100%;
	transform: translateX(-50%) rotate(calc(var(--min) * 6deg));
	background: #a46305;
	border-radius: 999px;
	z-index: 1;
}
#teacher2 .clock::after {
	background: #8d3949;
}

/* 時針 */
.clock .hour-hand {
	position: absolute;
	left: 50%;
	top: 18%;
	width: 4px;
	height: 30%;
	transform-origin: 50% 100%;
	transform: translateX(-50%) rotate(calc(var(--hour) * 30deg + var(--min) * 0.5deg));
	background: #a46305;
	border-radius: 999px;
	z-index: 2;
}
#teacher2 .clock .hour-hand {
	background: #8d3949;
}

/* ========== 時計＋テキスト表示部分 ========== */
.clock-wrap {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}
.time {
	font-family: "Inter Tight", "Zen Kaku Gothic New", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: .05em;
	line-height: 1;
	color: #a46305;
}
#teacher2 .time {
	color: #8d3949;
}
@media screen and (max-width: 768px) {
	.clock-wrap {
		gap: 10px;
		margin-bottom: 10px;
	}
	.time {
		font-size: 22px;
	}
}


/*------------------------------------
.teacher__msg
------------------------------------*/
.teacher__msg {
	display: flex;
	justify-content: space-between;
	position: relative;
	background-color: #fffbf3;
	padding-bottom: 40px;
	box-shadow: 0px 4px 0px 0px #f5f2e5;
}
.teacher__msg .txt::after {
	content: "";
	position: absolute;
	top: -80px;
	right: 30px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#teacher1 .teacher__msg .txt::after {
	background-image: url("../images/day/kumi-bg.svg");
	width: 163px;
	height: 239px;
}
#teacher2 .teacher__msg .txt::after {
	background-image: url("../images/day/jinki-bg.svg");
	width: 113px;
	height: 236px;
}
.teacher__msg .img {
	width: 41.269%;
	border-radius: 0 0 20px 0;
	aspect-ratio: 2 / 1;
	overflow: hidden;
}
.teacher__msg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.teacher__msg .txt {
	width: 47.3%;
	margin-right: 7.14%;
	padding-top: 60px;
}
.teacher__msg h3 {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 28px;
	color: #a46305;
	margin-bottom: 20px;
}
#teacher2 .teacher__msg h3 {
	color: #8d3949;
}
.teacher__msg span {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .2em;
}
.teacher__msg span::before {
	content: "＼";
}
.teacher__msg span::after {
	content: "／";
}
.teacher__msg p {
	font-size: 18px;
}
@media screen and (max-width: 768px) {
	.teacher__msg {
		flex-direction: column;
	}
	.teacher__msg .txt::after {
		top: -50px;
		right: 0;
	}
	#teacher1 .teacher__msg .txt::after {
		top: -20px;
		right: 30px;
		width: 71px;
		height: 104px;
	}
	#teacher2 .teacher__msg .txt::after {
		top: -20px;
		right: 30px;
		width: 49px;
		height: 102px;
	}
	.teacher__msg .img {
		width: 95%;
		aspect-ratio: 2 / 1;
	}
	.teacher__msg .txt {
		width: 90%;
		margin: auto;
		padding-top: 30px;
	}
	.teacher__msg h3 {
		font-size: 25px;
		margin-bottom: 10px;
	}
	.teacher__msg span {
		font-size: 14px;
		letter-spacing: 0;
	}
	.teacher__msg p {
		font-size: 14px;
	}
}
