@charset "utf-8";

/* =====================================================
--------------------------------------------------------
BOOK OFF
--------------------------------------------------------
===================================================== */

h1 {
	margin: 0 auto;
	width: fit-content;
}

@media screen and (min-width:1024px) {
	h1 {
		margin: 64px auto 0;
	}
}



/* 概要 */
.introduction h2 {
	margin-bottom: 8px;
	font-weight: bold;
}

.introduction h2 > span:not(:has(span)) {
	color: var(--color-link-cv);
}

.introduction h2 > span span {
	color: var(--color-link-text);
}

.introduction p span:not(.strong) {
	color: var(--color-link-cv);
}

.introduction p span.strong {
	font-weight: bold;
}

@media screen and (min-width:1024px) {
	.introduction h2 {
		margin-bottom: 16px;
		font-size: 24px;
		line-height: 1.2;
		text-align: center;
	}
	.introduction h2 > span:has(span) {
		display: block;
	}
	.introduction h2 > span:not(:has(span)),
	.introduction h2 > span span {
		font-size: 32px;
	}
	.introduction p span.strong {
		font-size: 20px;
	}
}



/* 買取手順 */
.step {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

.step li {
	position: relative;
	padding: 8px;
	width: 100%;
	border-bottom: 1px solid var(--color-grey-origin);
}

.step li h3 {
	margin-bottom: 4px;
	color: var(--color-link-text);
	font-size: 16px;
	font-weight: bold;
}

.step li h3 span {
	display: inline-block;
	margin-right: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--color-link-text);
	color: #fff;
	font-weight: normal;
	text-align: center;
}

.step li > div {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	gap: 8px;
}

.step li > div img {
	width: calc((100% - 8px) / 4);
}

.step li > div span {
	width: calc((100% - 8px) / 4 * 3);
}

.step-caution {
	margin-bottom: 48px;
}

.step-caution + div {
	text-align: center;
}

.c--link-main {
	position: relative;
	width: 100%;
	max-width: 375px;
	min-height: 64px;
	font-size: 20px;
}

.c--link-main span {
	position: absolute;
	top: -24px;
	left: 4px;
	padding: 8px;
	border-radius: 50%;
	background: var(--color-link-cv);
	color: #fff;
	font-size: 12px;
}

.c--link-main span::after {
	position: absolute;
	bottom: 1px;
	left: 50%;
	translate: -50% 100%;
	clip-path: polygon(0% 0%, 90% 0%, 100% 100%);
	width: 10px;
	height: 10px;
	background: var(--color-link-cv);
	content: '';
}

@media screen and (min-width:375px) {
	.c--link-main span {
		padding: 16px 8px;
	}
}

@media screen and (min-width:1024px) {
	.step {
		background: var(--color-grey-light);
		overflow: hidden;
	}
	.step li {
		position: relative;
		padding: 16px;
		width: calc(100% / 4);
		border-bottom: none;
	}
	.step li:has(+ li)::before,
	.step li:has(+ li)::after {
		position: absolute;
		top: 50%;
		right: 0;
		transform-origin: 100%;
		width: 128px;
		height: 1px;
		background: var(--color-grey-origin);
		content: '';
	}
	.step li:has(+ li)::before {
		transform: rotate(84.45deg);
	}
	.step li:has(+ li)::after {
		transform: rotate(-84.45deg);
	}
	.step li h3 {
		margin-bottom: 8px;
		font-size: 18px;
	}
	.step li h3 span {
		width: 24px;
		height: 24px;
	}
	.step li > div {
		gap: 12px;
	}
	.step li > div img {
		display: block;
		margin: 0 auto;
		width: 148px;
	}
	.step li > div span {
		width: 100%;
	}
	.step-caution {
		margin-bottom: 64px;
	}
}