@charset "utf-8";

#mainvis {
	background: url("../img/menu/mf2bg.jpg") center center /cover no-repeat;
}

.cboxs ul {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 1rem;
	list-style: none;
	white-space: normal;
	overflow-x: auto;
}

@media screen and (min-width: 801px) {
	.cboxs ul {
		justify-content: center;
	}
}

.cboxs ul li {
	display: block;
	flex-shrink: 0;
	margin: 0;
}

.cboxs ul li img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.cboxs ul li.step-large {
	width: 200px;
}

.cboxs ul li.step-small {
	width: 140px;
	text-align: center;
}

.cboxs ul li.step-small span {
	display: block;
	font-size: 1.1em;
	font-weight: bold;
	color: #0AADD6;
	margin-bottom: 8px;
	white-space: nowrap;
}

.cboxs ul li:after {
	display: none;
}

.cboxs ul li:nth-child(1):after,
.cboxs ul li:nth-child(2):after,
.cboxs ul li:nth-child(3):after,
.cboxs ul li:nth-child(4):after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 20px 0 20px 15px;
	border-color: transparent transparent transparent #0AADD6;
	position: absolute;
	top: 62%;
	right: calc(-0.5rem - 8px);
	transform: translate(0, -50%);
	z-index: 1;
}

.cboxs ul li.step-small:nth-child(2):after,
.cboxs ul li.step-small:nth-child(3):after,
.cboxs ul li.step-small:nth-child(4):after {
	top: auto;
	bottom: 43%;
	transform: translate(0, 50%);
}

@media screen and (max-width: 800px) {

	.cboxs ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 20px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.cboxs ul:after {
		display: none;
	}

	.cboxs ul li {
		max-width: none;
		width: auto;
	}

	.cboxs ul li.step-small span {
		font-size: 0.75em;
	}

	.cboxs ul li:nth-child(1):after,
	.cboxs ul li:nth-child(2):after,
	.cboxs ul li:nth-child(3):after,
	.cboxs ul li:nth-child(4):after {
		border-width: 6px 0 6px 8px;
		right: -14px;
	}

}