/*ーーーーー ページ内 共通設定 ーーーーー*/

.service-title {
	margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
	.service-title {
		margin-bottom: var(--g-sec--sm);
	}
}


/*ーーーーー ページトップ ーーーーー*/


.s_top-text {
	display: block;
	text-align: center;
	margin-bottom: 4rem;
}

.s_top-text p {
	display: inline-block;
	max-width: 39.25rem;
	line-height: var(--lh-xl);
}

@media (min-width: 600px) {
	.s_top-text {
		margin-bottom: var(--g-sec--md);
	}
}


/*ーーーーー ページ内遷移ボタン ーーーーー*/


.s_pt-all {
	display: flex;
}

.s_pt-block {
	flex: 1;
}

.s_pt-block:not(:last-child) {
	border-right: solid 1px rgba(221, 221, 221, 0.5);
}

.s_pt-block a {
	display: block;
	padding: 2.5rem 0 1.25rem;
	background: #FCFCFC;
}

.s_pt-block a:hover {
	background: #FDFBF8;
}

.s_pt-arrow {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	padding-bottom: 3rem;
}

.s_pt-arrow::before {
	position: absolute;
	content: "";
	background: #333;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	height: calc(1rem / 2);
	width: 1rem;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.s_pt-img {
	width: 5rem;
}

.s_pt-text {
	position: relative;
	font-size: 1.5rem;
	font-weight: var(--fw-lg);
	color: #333;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
}

.s_pt-text::before {
	content: attr(data-text)"";
	font-size: .75rem;
	font-weight: var(--fw-lg);
	color: #333;
}


/*ーーーーー SERVICE サービスセクション ーーーーー*/


.s_service-sec {
	position: relative;
	padding: var(--g-sec--lg) 0;
}

.s_service-sec::before {
	position: absolute;
	content: "";
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	background: #FDFBF8;
	z-index: -1;
}

@media (min-width: 768px) {

	.s_service-all {
		position: relative;
		left: calc(50% - 50vw);
		width: 100vw;
		max-width: 100vw !important;
		overflow: hidden;
	}

	.s_service-block {
		position: relative;
		display: flex;
	}

	.s_service-block.--reverse-block {
		flex-direction: row-reverse;
	}

}

.s_service-block:not(:last-child) {
	margin-bottom: 4rem;
}

.s_service-sp-img {
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {

	.s_service-block:not(:last-child) {
		margin-bottom: var(--g-sec--md);
	}

	.s_service-sp-img {
		display: none;
	}

	.s_service-block::before,
	.--reverse-block::before,
	.s_service-block:last-child::before {
		position: absolute;
		display: block;
		content: "";
		background-image: url(https://akbi.jp/wp-content/uploads/s_service-01.jpg);
		background-size: cover;
		background-repeat: no-repeat no-repeat;
		top: 0;
		right: 0;
		z-index: -1;
		width: 53%;
		height: 100%;
		max-width: 47.5rem;
		max-height: 26.75rem;
	}

	.--reverse-block::before {
		background-image: url(https://akbi.jp/wp-content/uploads/s_service-02.jpg);
		left: 0;
	}

	.s_service-block:last-child::before {
		background-image: url(https://akbi.jp/wp-content/uploads/s_service-03.jpg);
	}

	.s_service-block-text {
		position: relative;
		background: var(--c-light);
		max-width: 50rem;
		min-width: 30rem;
		width: 56%;
		padding: 4% 5.5%;
		margin-top: var(--g-sec--sm);
		box-shadow: 4px 4px 8px 0px #3333331A;
	}

	.s_service-block-text.--reverse-block-text {
		box-shadow: -4px 4px 8px 0px #3333331A;
	}

}

.s_service-block-text h3 {
	position: relative;
	font-size: clamp( 1.5rem, calc( 1.3142857142857143rem + 0.7619047619047619vw ), 2rem );
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column-reverse;
}

.s_service-block-text h3::before {
	content: attr(data-text)"";
	font-size: .75rem;
	font-weight: var(--fw-lg);
	color: var(--c-gray);
}

@media (min-width: 768px) {
	.s_service-block-text h3 {
		text-align: left;
	}
}

@media (min-width: 600px) {
	.s_service-block-text h3::before {
		font-size: 1rem;
	}

	.s_service-block-text p {
		line-height: var(--lh-xl);
	}
}

/*ーーーーー STRENGTH A'KBIの強み ーーーーー*/


.s_strength-sec {
	position: relative;
	padding: var(--g-sec--lg) 0;
	margin-bottom: var(--g-sec--lg);
}

.s_strength-bg-img {
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

.s_strength-title {
	display: flex;
	flex-direction: column;
	margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
	.s_strength-title {
		margin-bottom: 3.5rem;
	}
}

.s_strength-jp {
	width: fit-content;
	font-size: 1.25rem;
	font-weight: var(--fw-xl);
	color: var(--c-light);
	background-image: linear-gradient(75deg, rgba(220, 27, 128, 1), rgba(51, 51, 51, 1) 60%);
	padding: .25rem 1rem;
}

.s_strength-h3 {
	text-align: center;
	font-weight: var(--fw-lg);
	font-size: 1rem;
	margin-bottom: 2rem;
}

.s_strength-text {
	margin-bottom: 4rem;
}

@media (min-width: 600px) {
	.s_strength-h3 {
		font-size: 1.5rem;
		margin-bottom: 2.5rem;
	}

	.s_strength-text {
		margin-bottom: var(--g-sec--md);
	}
}

.s_strength-text p:not(:last-child) {
	margin-bottom: 1.5rem;
}

.s_strength-btn {
	text-align: center;
}


/*ーーーーー FLOW サービスご利用の流れ ーーーーー*/


.s_flow-sec {
	margin-bottom: var(--g-sec--lg);
}

.s_flow-all {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4rem;
	z-index: 1;
}

.s_flow-all:not(:last-child) {
	margin-bottom: 4rem;
}

@media (min-width: 768px) {
	.s_flow-all {
		flex-direction: unset;
		justify-content: space-between;
		align-items: flex-start;
		gap: 1rem;
		max-width: 65rem;
		margin-inline: auto;
	}

	.s_flow-all:not(:last-child) {
		margin-bottom: unset;
	}

	.s_flow-all::before {
		position: absolute;
		content: "";
		width: 100vw;
		height: 25rem;
		background: #FDFBF8;
		transform: skewY(8deg);
		top: 3.5rem;
		left: calc(50% - 50vw);
		z-index: -1;
	}

	.s_flow-all .s_flow-block:last-child {
		margin-top: var(--g-sec--md);
	}
}

.s_flow-block {
	flex: 1;
	max-width: 30rem;
	padding: 2.5rem;
	border: solid 1px var(--c-gray);
	border-radius: 20px;
	background: var(--c-light);
}

.s_flow-number {
	position: relative;
	color: var(--c-main);
	font-weight: var(--fw-lg);
	font-family: "Oswald", var(--ff-g);
	padding-bottom: 1rem;
	line-height: 100%;
}

.s_flow-number::before {
	position: absolute;
	content: attr(data-text)"";
	font-size: 2rem;
	bottom: -6px;
}

.s_flow-block-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.s_flow-img {
	max-width: 15rem;
}

@media (min-width: 600px) {
	.s_flow-img {
		max-width: 17.5rem;
	}
}

.s_flow-title {
	font-size: 1.5rem;
	font-weight: var(--fw-lg);
}

.s_flow-link {
	color: #333;
	text-decoration: underline;
}

.s_flow-sticky {
	position: relative;
}

.s_flow-sticky-line {
	position: absolute;
	width: 100%;
	height: 100%;
}

.s_flow-sticky-line::before {
	position: sticky;
	display: inline-block;
	content: "";
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 25rem;
	background-color: #EFDBBB;
	z-index: -1;
}

@media (min-width: 768px) {
	.s_flow-sticky-line::before {
		display: none;
	}
}

@media (min-width: 768px) {
	.s_flow-sticky-bg {
		display: none;
	}
}


/*ーーーーー FAQ よくあるご質問 ーーーーー*/


.s_faq-sec {
	position: relative;
	padding: var(--g-sec--lg) 0;
}

.s_faq-sec::before {
	position: absolute;
	content: "";
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	background: #FDFBF8;
	z-index: -1;
}

.s_faq-block {
	background: var(--c-light);
	border: solid 1px var(--c-gray);
	border-radius: 8px;
	padding: 2rem 1.5rem;
}

.s_faq-block:not(:last-child) {
	margin-bottom: 2rem;
}

@media (min-width: 600px) {

	.s_faq-block {
		padding: 2.5rem;
	}

	.s_faq-block:not(:last-child) {
		margin-bottom: 2.5rem;
	}
}

.s_faq-q-circle {
	width: 3rem;
	height: 3rem;
	border-radius: 50px;
	background: #333;
	display: block;
}

.s_faq-q {
	font-size: 1.5rem;
	font-weight: var(--fw-lg);
	font-family: "Oswald", var(--ff-g);
	color: var(--c-light);
	display: flex;
	justify-content: center;
	line-height: 3rem;
}

.s_faq-q-circle.--s_faq-a-circle {
	color: var(--c-main);
	background: var(--c-light);
	border: solid 2px var(--c-main);
}

.s_faq-q.--s_faq-a {
	color: var(--c-main);
	line-height: unset;
}

.s_faq-title {
	position: relative;
	font-size: 1rem;
	font-weight: var(--fw-lg);
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding-right: 1.5rem;
}

.s_faq-title::before,
.s_faq-title::after {
	position: absolute;
	content: "";
	height: .25rem;
	width: 1rem;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: #333;
	border-radius: 10px;
}

.s_faq-title::after {
	transition: all .4s;
	height: 1rem;
	width: .25rem;
	right: .375rem;
}

@media (min-width: 600px) {

	.s_faq-title {
		font-size: 1.25rem;
		gap: 1.5rem;
		padding-right: 2rem;
	}

	.s_faq-title::before,
	.s_faq-title::after {
		height: .25rem;
		width: 1.25rem;
	}

	.s_faq-title::after {
		height: 1.25rem;
		width: .25rem;
		right: .5rem;
	}

}

.s_faq-title-text {
	flex: 1;
}

.s_faq-text {
	height: 0;
	overflow: hidden;
}

.s_faq-text p {
	flex: 1;
}

.s_faq-toggle {
	display: none;
}

.s_faq-toggle:checked+.s_faq-title+.s_faq-text {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	height: auto;
	transition: all .4s;
	padding-top: 2rem;
}

@media (min-width: 600px) {
	.s_faq-toggle:checked+.s_faq-title+.s_faq-text {
		gap: 1.5rem;
		padding-top: 2.5rem;
	}
}

.s_faq-toggle:checked+.s_faq-title::after {
	transform: translateY(-50%) rotate(-90deg);
}