@charset "UTF-8";
/* -------------------------------------------------- */
/* PC */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* LINE予約の流れ */
/* -------------------------------------------------- */
#flow {
	margin-bottom: 180px;
}

#flowList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 75px 0;
	margin-block: 75px;
}

#flowList .item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	grid-gap: 45px;
	align-items: center;
	padding: 30px 20px 5px;
	border-right: 1px solid #998a54;
	text-align: center;
	position: relative;
}

#flowList .item:first-of-type,
#flowList .item:nth-of-type(even) {
	border-left: 1px solid #998a54;
}

#flowList .item::before, #flowList .item::after {
	content: "";
	display: block;
	width: calc(100% - 70px);
	height: 1px;
	background: #998a54;
	position: absolute;
	right: 0;
	left: 0;
	margin: auto;
}
#flowList .item::before {
	top: -38px;
}
#flowList .item::after {
	bottom: -38px;
}

#flowList .tit {
	font-weight: 600;
	font-size: 2.6rem;
}

#flowList .img {
	width: min(50%, 167px);
	margin-inline: auto;
}
#flowList .img img {
	width: 100%;
}

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

#flowList .num {
	width: 2em;
	aspect-ratio: 1/1;
	color: #998a54;
	font-size: 3rem;
	line-height: 1;
	text-align: left;
	font-family: var(--font-family-en);
	position: absolute;
	top: -10px;
	left: 30px;
	font-style: italic;
}
#flowList .num::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: rotate(135deg);
	transform-origin: right;
	position: absolute;
	right: 100%;
	bottom: 0;
}


/* LINEにアクセスする */
#flowQr {
	grid-column: span 2;
}
#flowQr::after {
	content: none !important;
}

#flowQrList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 5%;
	width: min(100% - 300px, 740px);
	margin-inline: auto;
}

.flowQrListItem a {
	padding: 5%;
	display: flex;
	align-items: center;
	gap: 5%;
	background: #fff;
}

.flowQrListImg {
	width: min(100%, 150px);
}
.flowQrListImg img {
	width: 100%;
}

.flowQrListTxt {
	font-weight: 600;
	font-size: 2.4rem;
}


/* -------------------------------------------------- */
/* PC(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 1025px) {
	/* -------------------------------------------------- */
	/* LINE予約の流れ */
	/* -------------------------------------------------- */
	/* LINEにアクセスする */
	#flowQr {
		background: url(../../img/line/bg_flow01.png) no-repeat right 3% bottom 3% / min(14%, 160px);
		padding-block: 10px !important;
		grid-gap: 30px !important;
	}

}


/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {
	/* -------------------------------------------------- */
	/* LINE予約の流れ */
	/* -------------------------------------------------- */
	#flow {
		margin-bottom: 100px;
	}

	#flowList {
		grid-gap: 60px 0;
		margin-block: 60px;
	}

	#flowList .item {
		grid-gap: 30px;
	}
	#flowList .item::before,
	#flowList .item::after {
		width: calc(100% - 60px);
	}
	#flowList .item::before {
		top: -30px;
	}
	#flowList .item::after {
		bottom: -31px;
	}

	#flowList .tit {
		font-size: 2rem;
	}

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

	#flowList .num {
		font-size: 2rem;
	}


	/* LINEにアクセスする */
	#flowQr {
		grid-row: span 2 !important;
	}

	#flowQrList {
		width: 100%;
		grid-gap: 20px;
	}

	.flowQrListItem a {
		height: 100px;
		justify-content: space-between;
		gap: 15px;
		position: relative;
	}
	.flowQrListItem a::after {
		content: "";
		display: block;
		width: 30px;
		aspect-ratio: 1 / 1;
		background: #444 url(../../img/common/icon_clinic_arrow.svg) no-repeat center / 50%;
		border-radius: 50%;
		flex-shrink: 0;
	}

	.flowQrListImg,
	#flowQr .txt {
		display: none;
	}

	.flowQrListTxt {
		font-size: 2rem;
	}

}


/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	/* -------------------------------------------------- */
	/* LINE予約の流れ */
	/* -------------------------------------------------- */
	#flowList {
		grid-template-columns: 1fr;
	}

	#flowList .item {
		grid-gap: 20px;
		border-left: 1px solid #998a54;
	}

	#flowList .num {
		font-size: 1.8rem;
		left: 20px;
	}

	/* LINEにアクセスする */
	#flowQr {
		grid-column: span 1;
	}

	.flowQrListItem a {
		height: 70px;
		padding-inline: 15px 10px;
	}
	.flowQrListItem a::after {
		width: 24px;
	}

	#flowQr .flowQrListTxt {
		font-size: 1.8rem;
	}

}