/*-------------------------------------------------------------
top-aruaru-su
-------------------------------------------------------------*/
.top-aruaru-tu-img-wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-img-wrap {
		flex-direction: row-reverse;
		align-items: flex-end;
		justify-content: space-between;
		gap: 30px;
	}
}

.top-aruaru-tu-img {
	max-width: 500px;
	margin-inline: auto;
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-img {
		max-width: 315px;
		margin: 0;
	}
}

.top-aruaru-tu-img img {
	aspect-ratio: 315/472;
	object-fit: cover;
}

.top-aruaru-tu-flow {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	max-width: 500px;
	margin-inline: auto;
	position: relative;
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-flow {
		grid-template-columns: repeat(4, 1fr);
		max-width: 1100px;
	}
}

.top-aruaru-tu-flow::before {
	content: '';
	display: block;
	border-left: 2px dashed var(--color-bg-border);
	height: 80%;
	position: absolute;
	top: 50%;
	left: 62px;
	transform: translateY(-50%);
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow::before {
		top: 50%;
		left: 87px;
		transform: translateY(-50%);
	}
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-flow::before {
		border-left: none;
		border-top: 2px dashed var(--color-bg-border);
		width: 70%;
		top: 99px;
		left: 50%;
		transform: translateX(-50%);
	}
}

.top-aruaru-tu-flow-item {
	display: flex;
	justify-content: center;
	gap: 30px;
	padding: 16px 12px;
	position: relative;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-item {
		justify-content: space-between;
	}
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-flow-item {
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 15px;
	}
}

/* 線の上にアイコン・テキストを重ねて隠れないようにする */
.top-aruaru-tu-flow-item {
	position: relative;
	z-index: 1;
}

.top-aruaru-tu-flow-img,
.top-aruaru-tu-flow-img02 {
	background-color: var(--color-bg-grey); /* 既存スタイルそのまま：アイコン背景で線を隠す */
}
.top-aruaru-tu-flow-img {
	background-color: var(--color-bg-grey);
	width: 100px;
	height: 100px;
	border-radius: 100vh;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-img {
		width: 150px;
		height: 150px;
	}
}

.top-aruaru-tu-flow-img img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-img img {
		width: 100px;
		height: 100px;
	}
}

.top-aruaru-tu-flow-img02 img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-img02 img {
		width: 110px;
		height: 73px;
	}
}

.top-aruaru-tu-flow-contents {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
}
@media screen and (min-width: 768px) {
	.top-aruaru-tu-flow-contents {
		gap: 15px;
	}
}

.top-aruaru-tu-flow-wrap {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-wrap {
		flex-direction: row;
	}
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-flow-wrap {
		display: contents;
	}
}

.top-aruaru-tu-flow-step {
	color: var(--color-font-white);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.75;
	background-color: var(--color-bg-blue);
	border-radius: 8px;
	width: 120px;
	padding: 4px;
	text-align: center;
	text-transform: uppercase;
}
@media screen and (min-width: 768px) {
	.top-aruaru-tu-flow-step {
		font-size: 20px;
		font-weight: 500;
		padding: 8px;
	}
}

.top-aruaru-tu-flow-head {
	font-size: 18px;
	font-weight: bold;
}
@media screen and (min-width: 768px) {
	.top-aruaru-tu-flow-head {
		font-size: 20px;
	}
}

.top-aruaru-tu-flow-text {
	width: 100%;
	text-align: center;
}
@media screen and (min-width: 500px) {
	.top-aruaru-tu-flow-text {
		text-align: left;
	}
}
@media screen and (min-width: 1080px) {
	.top-aruaru-tu-flow-text {
		text-align: center;
	}
}

.top-aruaru-tu-link {
	max-width: 250px;
	margin: 0 auto;
}

.top-aruaru-tu-link a {
	color: var(--color-font-white);
	font-size: 18px;
	font-weight: 500;
	background-color: var(--color-bg-base);
	border-radius: 6px;
	text-align: center;
	display: inline-block;
	width: 100%;
	padding: 16px 14px;
	transition: all 0.3s;
}
@media screen and (min-width: 768px) {
	.top-aruaru-tu-link a {
		font-size: 20px;
		border-radius: 15px;
		padding: 24px 20px;
	}
}

.top-aruaru-tu-link a:hover {
	transform: translateY(-10px);
}

.top-aruaru-tu-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
@media screen and (min-width: 768px) {
	.top-aruaru-tu-list {
		gap: 30px;
	}
}

.top-aruaru-tu-list-item {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.top-aruaru-tu-wrap {
	width: fit-content;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
