@charset "UTF-8";

/* -------------------------------------------------- */
/* PC */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* メッセージ */
/* -------------------------------------------------- */
#message {
	margin-bottom: 120px;
}

#messageContent {
	display: grid;
	grid-template-columns: 50% 1fr;
	align-items: start;
	grid-gap: 70px;
}

#messageImg img {
	width: 100%;
}

#message .txt {
	font-size: 1.8rem;
}

#message .txt+.txt {
	margin-top: 2em;
}

#message .name {
	margin-top: 2em;
	font-weight: 600;
	font-size: 2rem;
	text-align: right;
}

#message .name .small {
	font-size: 0.8em;
}


/* -------------------------------------------------- */
/* グラシアクリニックで働くメリット */
/* -------------------------------------------------- */
#merit {
	margin-bottom: 150px;
	padding-block: 150px;
	background: #fff;
}

#meritList {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 100px;
}

#meritList .item {
	padding-top: 60px;
	position: relative;
}

#meritList .txtBox {
	width: calc(100% - 140px);
	padding-block: 65px 70px;
	border-bottom: 1px solid #998a54;
	position: relative;
}

/* 枠線 */
#meritList .txtBox::before,
#meritList .txtBox::after {
	content: "";
	display: block;
	background: #998a54;
	position: absolute;
}

#meritList .txtBox::before {
	width: calc(100% - 380px);
	height: 1px;
	top: 0;
}

#meritList .txtBox::after {
	height: calc(100% - 330px);
	width: 1px;
	bottom: 0;
}

#meritList .meritListTit {
	margin-bottom: 30px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	font-size: 2.6rem;
	line-height: 1.7;
}

/* ナンバリング */
#meritList .meritListTit .num {
	padding-top: 0.3em;
	width: 3em;
	aspect-ratio: 1/1;
	color: #998a54;
	font-weight: 400;
	font-size: 3rem;
	line-height: 1;
	font-family: var(--font-family-en);
	flex-shrink: 0;
	position: relative;
}

#meritList .meritListTit .num::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: rotate(120deg);
	transform-origin: right;
	position: absolute;
	bottom: 5%;
	right: 70%;
}

#meritList .txt {
	font-size: 1.6rem;
	font-family: var(--font-family-sub);
	line-height: 2;
}

#meritList .txt+.txt {
	margin-top: 2em;
}

#meritList .img {
	position: absolute;
	top: 0;
}

#meritList .img img {
	width: 100%;
}

/* 奇数スタイル */
#meritList .item:nth-of-type(odd) .txtBox {
	margin-inline: auto 0;
	padding-inline: 400px 30px;
	border-right: 1px solid #998a54;
}

#meritList .item:nth-of-type(odd) .txtBox::before {
	right: 0;
}

#meritList .item:nth-of-type(odd) .txtBox::after {
	left: 0;
}

#meritList .item:nth-of-type(odd) .img {
	left: 0;
}

/* 偶数スタイル */
#meritList .item:nth-of-type(even) .txtBox {
	padding-inline: 80px 400px;
	border-left: 1px solid #998a54;
}

#meritList .item:nth-of-type(even) .txtBox::before {
	left: 0;
}

#meritList .item:nth-of-type(even) .txtBox::after {
	right: 0;
}

#meritList .item:nth-of-type(even) .img {
	right: 0;
}


/* -------------------------------------------------- */
/* 募集職種 */
/* -------------------------------------------------- */
#clinic {
	margin-bottom: 150px;
}

#clinic .clinicSec+.clinicSec {
	margin-top: 130px;
}

#clinic .clinicSecTit {
	margin-bottom: 30px;
	padding-left: 1em;
	font-weight: 600;
	font-size: 2.6rem;
	position: relative;
}

#clinic .clinicSecTit::after {
	content: "";
	display: block;
	width: 1px;
	height: 85%;
	background: #998a54;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto;
}

#clinic .clinicSecList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 100px 45px;
}

#clinic .clinicSecList .item a {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#clinic .clinicSecList .img {
	width: calc(100% - 25px);
	position: relative;
	z-index: 2;
}

#clinic .clinicSecList .img img {
	width: 100%;
	object-fit: contain;
}

#clinic .clinicSecList .txtBox {
	flex: 1;
	width: calc(100% - 25px);
	margin: -40px 0 0 auto;
	padding: 65px 80px 35px 30px;
	background: #f0e8dc;
	position: relative;
}

#clinic .clinicSecList .txtBox::after {
	content: "";
	display: block;
	width: 50px;
	aspect-ratio: 1/1;
	background: #fff url(../../img/common/icon_bk_arrow.svg) no-repeat center / min(40%, 16px);
	border-radius: 50%;
	position: absolute;
	top: calc(50% - 25px + 15px);
	right: 25px;
}

#clinic .clinicSecList .txt {
	font-weight: 600;
	font-size: 2.2rem;
}

#clinic .clinicSecList .sub {
	margin-top: 3px;
	font-weight: 600;
	font-size: 1.6rem;
}


/* -------------------------------------------------- */
/* 選考の流れ */
/* -------------------------------------------------- */
#flow {
	width: min(100%, 1200px);
	margin: 0 auto 150px;
	padding: 65px 55px;
	background: #f4f2ef;
}

#flowList {
	counter-reset: number;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 75px;
}

#flowList .item {
	padding: 40px;
	display: grid;
	grid-template-columns: 1fr 325px;
	align-items: center;
	grid-gap: 35px;
	background: #fff;
	border: 1px solid #dfd6c9;
	position: relative;
}

#flowList .item::before,
#flowList .item::after {
	content: "";
	display: block;
	-webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	position: absolute;
	right: 0;
	left: 0;
	margin: auto;
	pointer-events: none;
}

#flowList .item::before {
	width: 66px;
	height: 35px;
	background: #dfd6c9;
	top: 100%;
}

#flowList .item::after {
	width: 64px;
	height: 34px;
	background: inherit;
	top: calc(100% - 1px);
}

#flowList .item:last-of-type::before,
#flowList .item:last-of-type::after {
	content: none;
}

#flowList .tit {
	min-height: 60px;
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding-left: 80px;
	font-weight: 600;
	font-size: 2.4rem;
	position: relative;
}

#flowList .img img {
	max-width: 100%;
	object-fit: contain;
}

/* ナンバリング */
#flowList .tit::after {
	counter-increment: number;
	content: counter(number, decimal-leading-zero);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	background: #ae9b62;
	border-radius: 50%;
	color: #fff;
	font-weight: 400;
	font-size: 1.8rem;
	font-family: var(--font-family-en);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto;
}

#flowList .txt {
	font-size: 1.6rem;
	line-height: 2;
	font-family: var(--font-family-sub);
}

.contactWrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
}

.contactBox {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	flex-direction: column;
}

.contactLogo.fukuoka {
	width: 160px;
	padding: 14px 0 10px;
	display: flex;
	align-items: center;
}

.contactLogo.ginza {
	width: 170px;
	padding-bottom: 10px;
	display: flex;
	align-items: center;
}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {

	/* -------------------------------------------------- */
	/* メッセージ */
	/* -------------------------------------------------- */
	#message {
		margin-bottom: 80px;
	}

	#messageContent {
		grid-template-columns: 1fr;
		grid-gap: 30px;
	}

	#message .txt {
		font-size: 1.5rem;
	}

	#message .txt+.txt {
		margin-top: 1.3em;
	}

	#message .name {
		margin-top: 1.3em;
		font-size: 1.8rem;
	}


	/* -------------------------------------------------- */
	/* グラシアクリニックで働くメリット */
	/* -------------------------------------------------- */
	#merit {
		margin-bottom: 80px;
		padding-block: 80px;
	}

	#meritList {
		grid-gap: 50px;
	}

	#meritList .item {
		display: flex;
		flex-direction: column;
		padding-top: 0;
	}

	#meritList .txtBox {
		width: 95%;
		margin-top: -30px;
		padding: 60px max(20px, 5%) max(30px, 5%) !important;
	}

	/* 枠線 */
	#meritList .txtBox::before {
		width: 5%;
	}

	#meritList .txtBox::after {
		height: calc(100% - 60px);
	}

	#meritList .meritListTit {
		margin-bottom: 20px;
		gap: 0;
		font-size: 1.8rem;
	}

	/* ナンバリング */
	#meritList .meritListTit .num {
		font-size: 1.8rem;
	}

	#meritList .txt {
		font-size: 1.4rem;
	}

	#meritList .txt+.txt {
		margin-top: 1.3em;
	}

	#meritList .img {
		order: -1;
		width: 90%;
		position: static;
	}

	/* 偶数スタイル */
	#meritList .item:nth-of-type(even) .img {
		margin-inline: auto 0;
	}


	/* -------------------------------------------------- */
	/* 募集職種 */
	/* -------------------------------------------------- */
	#clinic {
		margin-bottom: 80px;
	}

	#clinic .clinicSec+.clinicSec {
		margin-top: 80px;
	}

	#clinic .clinicSecTit {
		margin-bottom: 20px;
		font-size: 2rem;
	}

	#clinic .clinicSecList {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 30px 15px;
	}

	#clinic .clinicSecList .img {
		width: 95%;
	}

	#clinic .clinicSecList .img img {
		height: auto;
	}

	#clinic .clinicSecList .txtBox {
		width: 95%;
		margin-top: -30px;
		padding: 45px min(20%, 50px) 20px 10px;
	}

	#clinic .clinicSecList .txtBox::after {
		width: min(13%, 30px);
		top: 50%;
		right: min(5%, 15px);
	}

	#clinic .clinicSecList .txt {
		font-size: 1.4rem;
	}

	#clinic .clinicSecList .sub {
		font-size: 1.1rem;
	}


	/* -------------------------------------------------- */
	/* 選考の流れ */
	/* -------------------------------------------------- */
	#flow {
		margin-bottom: 80px;
		padding: max(30px, 5%) 0;
	}

	#flowList {
		grid-gap: 50px;
	}

	#flowList .item {
		padding: max(20px, 5%);
		grid-template-columns: 1fr;
		grid-gap: 30px;
	}

	#flowList .tit {
		min-height: 45px;
		margin-bottom: 10px;
		padding-left: 60px;
		font-size: 1.8rem;
	}

	/* ナンバリング */
	#flowList .tit::after {
		width: 45px;
		height: 45px;
	}

	#flowList .txt {
		font-size: 1.5rem;
		line-height: 1.8;
	}

	#flow .img img {
		width: 100%;
	}

}


/* -------------------------------------------------- */
/* hover */
/* -------------------------------------------------- */
@media (hover: hover) {

	/* -------------------------------------------------- */
	/* 募集職種 */
	/* -------------------------------------------------- */
	#clinic .clinicSecList .img {
		overflow: hidden;
	}

	#clinic .clinicSecList .img img {
		transition: transform 0.4s ease;
	}

	#clinic .clinicSecList .item a:hover .img img {
		transform: scale(1.04);
	}

}