@charset "UTF-8";

/* 事業概要 */

.p-service__list{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 64px 0;
}

.p-service-card {
	width: 100%;
	position: relative;
	overflow: hidden;
	max-width: 1100px;
	border-radius: 40px;
	border: solid 2px var(--color01);
}

.p-service-card:nth-child(odd) {
	margin-left: 0;
	margin-right: auto;
}
.p-service-card:nth-child(even) {
	margin-left: auto;
	margin-right: 0;
}

.p-service-card__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 64px;
	color: var(--color_white);
	text-decoration: none;
	box-sizing: border-box;
}



.p-service-card__ttl span {
	box-shadow: 0px 0px 5px rgba(48, 48, 48, 0.25);
	text-shadow: 0px 0px 5px rgba(48, 48, 48, 0.25);
	font-size: clamp(16px, calc(32 / 768 * 100vw), 32px);
	border: solid 1px var(--color_white);
	font-weight: var(--fw_jp_bold);
	letter-spacing: 0.2em;
	padding: 10px 16px;
}


.p-service-card__desc {
	text-shadow: 0px 0px 5px rgba(48, 48, 48, 0.25);
	margin-top: 24px;
	max-width: 520px;
	line-height: 2.5em;
}

.p-service-card__link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-shadow: 0px 0px 5px rgba(48, 48, 48, 0.25);
	margin-top: 16px;
	font-size: clamp(16px, calc(24 / 768 * 100vw), 24px);
	letter-spacing: 0.1em;
	font-weight: var(--fw_jp_bold);
}

.p-service-card__link::after {
	content: "";
	display: block;
	flex-shrink: 0;
	margin: 2px 0 0 24px;
	width: 16px;
	aspect-ratio: 1;
	background-image: url("../img/common/icon_arrow-right_white.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.3s ease;
}
.p-service-card:hover .p-service-card__link::after {
	transform: translateX(6px);
}

.p-service-card__number .u-en{
	font-family: var(--ff_en);
	font-size: clamp(60px, calc(120 / 768 * 100vw), 120px);
	font-weight: var(--fw_en_bold);
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.5)
}

.p-service-card__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

.p-service-card__img img {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
}

.p-service-card:hover .p-service-card__img img {
	transform: scale(1.04);
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {
	
    .p-service__list{
        gap: 40px 0;
    }

    .p-service-card {
        border-radius: 24px;
		margin: 0 auto;
    }

    .p-service-card__inner {
        padding: 0 24px 32px 24px;
    }

	.p-service-card:nth-child(odd) .p-service-card__inner {
        flex-direction: column-reverse;
    }
	
    .p-service-card:nth-child(even) .p-service-card__inner {
        flex-direction: column;
    }

    .p-service-card__ttl span {
        letter-spacing: 0.1em;
        padding: 8px 10px;
		line-height: 2.5em;
    }

    .p-service-card__desc {
        margin-top: 16px;
        line-height: 2.2em;
    }

    .p-service-card__link::after {
        width: 12px;
    }

}
