/*===============================================================================
ディスクリプション
================================================================================*/
.reason__description {
	margin-bottom: var(--g-sec--lg);
	line-height: var(--lh-xl);
}
.reason__description > p {
	display: flex;
	justify-content: center;
}

/*===============================================================================
セクション
================================================================================*/
.reason__section:nth-child(odd) {
	position: relative;
}
.reason__section:nth-child(odd)::before {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	background: var(--bgi);
	z-index: -99999;
}
.reason__section{
	padding: var(--g-sec--md) 0;
}

.reason__title{
	position: relative;
	max-width: fit-content;
	margin-inline: auto;
	margin-bottom: var(--g-sec--sm);
	padding-left: 1.375em;
}
.reason__title strong{
	background-image: linear-gradient(0deg, #fdf4de 1rem, transparent 1rem);
}
.reason__title::before{
	position: absolute;
	top: 0;
	left: 0;
	color: var(--c-act01);
}
.reason__section:nth-of-type(1) .reason__title::before{ content: "01"; }
.reason__section:nth-of-type(2) .reason__title::before{ content: "02"; }
.reason__section:nth-of-type(3) .reason__title::before{ content: "03"; }
.reason__section:nth-of-type(4) .reason__title::before{ content: "04"; }
.reason__section:nth-of-type(5) .reason__title::before{ content: "05"; }

/*===============================
* メディアテキスト
* =================================*/
.reason-mediaText{
	--count: 1;
	--gap: var(--g-sec--sm);
	--media-width: 95%;
	--body-width: calc( 200% - var(--media-width) );
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}
/* 奇数番目 */
.reason__section:nth-child(odd) .reason-mediaText{
	flex-direction: row-reverse;
}
@media (min-width: 768px){
	.reason-mediaText{
		--count: 2;
	}
}
.reason-mediaText__body{
	flex-grow: 1;
	width: calc( ( var(--body-width) - var(--gap) * (var(--count) - 1) ) / var(--count) );
}
.reason__secondaryTitle{
	margin-bottom: 1.5rem;
	color: var(--c-act01);
}
.reason-mediaText__textArea:not(:last-of-type){
	margin-bottom: 1.25rem;
}
.reason-mediaText__textArea{
	line-height: var(--lh-xl);
}
@media (min-width: 600px){
	.reason-mediaText__textArea > p > span{
		display: inline-block;
	}
}
.reason-mediaText__media{
	flex-grow: 1;
	width: calc( ( var(--media-width) - var(--gap) * (var(--count) - 1) ) / var(--count) );
	border-radius: var(--bd-r--sm);
	overflow: hidden;
	aspect-ratio: 358 / 212;
}
@media (min-width: 600px){
	.reason-mediaText__media{
		aspect-ratio: 3 / 2;
	}
}
.reason-mediaText__media img{
	width: 100%;
	height: 100%;
}
