@charset "UTF-8";

/* ========================================
   Common Service Information Hero
======================================== */

.serviceinfo-hero {
	position: relative;
	margin: 3em auto;
	padding: 150px 0;
	background: var(--color-white);
}

.serviceinfo-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(500px, 1.18fr);
	gap: 65px;
	align-items: center;
}

.serviceinfo-hero__content {
	position: relative;
	z-index: 1;
}

.serviceinfo-hero__en {
	position: absolute;
	top: -85px;
	left: -10px;
	z-index: -1;
	margin: 0;
	color: #eff2fd;
	font-family: "Montserrat", sans-serif;
	font-size: 12rem;
	font-weight: 700;
	line-height: 1;
}

.serviceinfo-hero__title {
	margin: 0;
	color: var(--color-black);
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.serviceinfo-hero__catch {
	margin: 42px 0 30px;
	color: var(--color-main);
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.6;
}

.serviceinfo-hero__text {
	margin: 0;
	font-size: 1.6rem;
	line-height: 2.2;
}

.serviceinfo-hero__image {
	height: 560px;
	overflow: hidden;
	border-radius: 10px;
}

.serviceinfo-hero__image picture,
.serviceinfo-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	vertical-align: bottom;
}

.serviceinfo-hero__image img {
	object-fit: cover;
}

.serviceinfo-hero__button {
	display: inline-flex;
	width: fit-content;
	min-width: 245px;
	min-height: 58px;
	align-items: center;
	justify-content: center;
	margin-top: 34px;
	padding: 14px 28px;
	color: var(--color-white);
	font-size: 1.6rem;
	font-weight: 700;
	background: linear-gradient(100deg, var(--color-sub), #4e49e8);
	background-position: 0 50%;
	background-size: 180% 100%;
	border-radius: 4px;
	transition: background-position 0.35s ease, transform 0.3s ease;
}

.serviceinfo-hero__button:hover {
	background-position: 100% 50%;
	transform: translateY(-2px);
}

@media screen and (min-width: 1001px) {
	.serviceinfo-hero__image {
		position: absolute;
		right: 0;
		width: 50%;
		height: 100%;
		max-height: 560px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
}

@media screen and (min-width: 2000px) {
	.serviceinfo-hero__image {
		max-height: 800px;
	}
}

@media screen and (max-width: 1000px) {
	.serviceinfo-hero {
		padding: 70px 0 80px;
	}

	.serviceinfo-hero__inner {
		display: flex;
		flex-direction: column-reverse;
		gap: 45px;
	}

	.serviceinfo-hero__content {
		width: 100%;
	}

	.serviceinfo-hero__en {
		top: -38px;
		left: 0;
		font-size: 6.5rem;
	}

	.serviceinfo-hero__title {
		font-size: 3.5rem;
	}

	.serviceinfo-hero__catch {
		margin: 30px 0 22px;
		font-size: 2.2rem;
	}

	.serviceinfo-hero__text {
		font-size: 1.6rem;
		line-height: 2;
	}

	.serviceinfo-hero__text br {
		display: none;
	}

	.serviceinfo-hero__image {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.serviceinfo-hero__button {
		width: 100%;
		font-size: 1.4rem;
	}
}

@media (max-width:767px){
    .serviceinfo-hero__text {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
	.serviceinfo-hero__button {
		transition: none;
	}
}

/* ========================================
   Common Section Heading
======================================== */

.page-section-heading {
	text-align: center;
}

.page-section-heading__en {
	margin: 0 0 14px;
	color: var(--color-main);
	font-family: "Montserrat", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.page-section-heading__title {
	margin: 0;
	color: var(--color-black);
	font-size: 3.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

@media screen and (max-width: 767px) {
	.page-section-heading__en {
		margin-bottom: 10px;
		font-size: 1.2rem;
	}

	.page-section-heading__title {
		font-size: 2.5rem;
		line-height: 1.55;
	}
}

/* ========================================
   Common Flow
======================================== */

.page-flow {
	padding: 0 0 130px;
	background: var(--color-white);
}

.page-flow__inner {
	padding-top: 105px;
	border-top: 1px solid var(--color-border);
}

.page-flow__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 60px;
	margin: 70px 0 0;
	padding: 0;
	list-style: none;
}

.page-flow-step {
	position: relative;
	text-align: center;
}

.page-flow-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 115px;
	right: -40px;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 14px solid var(--color-main);
}

.page-flow-step__visual {
	position: relative;
	width: 240px;
	height: 240px;
	margin: 0 auto;
	padding: 30px 35px;
	background: #f0f3fd;
	border-radius: 50%;
}

.page-flow-step:nth-child(3) .page-flow-step__visual {
	padding-top: 43px;
	padding-right: 21px;
	padding-left: 28px;
}

.page-flow-step__number {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--color-main);
	font-family: "Montserrat", sans-serif;
	font-size: 5.2rem;
	font-weight: 700;
	line-height: 1;
}

.page-flow-step__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.page-flow-step__title {
	margin: 30px 0 14px;
	color: var(--color-main);
	font-size: 2rem;
	font-weight: 700;
}

.page-flow-step__text {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.85;
	text-align: left;
}
@media (min-width:768px) and (max-width:1100px){
    .page-flow__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-flow-step{
        margin-bottom: 2em
    }
    .page-flow-step:nth-child(2):after{
        display: none
    }
}



@media screen and (max-width: 1100px) {
	.page-flow__list {
        gap: 30px;
    }

	.page-flow-step__visual {
		width: 200px;
		height: 200px;
	}

	.page-flow-step:not(:last-child)::after {
		top: 95px;
		right: -22px;
	}
}

@media screen and (max-width: 767px) {
	.page-flow {
		padding-bottom: 85px;
	}

	.page-flow__inner {
		padding-top: 75px;
	}

	.page-flow__list {
		grid-template-columns: 1fr;
		gap: 55px;
		margin-top: 50px;
	}

	.page-flow-step {
		display: grid;
		grid-template-columns: 135px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: 22px;
		align-items: center;
		text-align: left;
	}

	.page-flow-step:not(:last-child)::after {
		top: auto;
		right: auto;
		bottom: -38px;
		left: 60px;
		transform: rotate(90deg);
	}

	.page-flow-step__visual {
		grid-row: 1 / 3;
		width: 135px;
		height: 135px;
		padding: 36px 22px 18px;
	}

	.page-flow-step__number {
		top: -10px;
		font-size: 3.7rem;
	}

	.page-flow-step__title {
		margin: 0 0 8px;
		font-size: 1.65rem;
	}

	.page-flow-step__text {
		font-size: 1.2rem;
	}
}

/* ========================================
   Common FAQ
======================================== */

.page-faq {
	padding: 105px 0 115px;
	background: #f0f3fd;
}

.page-faq__list {
	display: grid;
	gap: 42px;
	margin-top: 65px;
}

.page-faq-item {
	margin: 0;
}

.page-faq-item__question {
	position: relative;
	padding: 20px;
	background: var(--color-white);
	border-radius: 7px;
}

.page-faq-item__question::after {
	content: "";
	position: absolute;
	bottom: -18px;
	left: 42px;
	width: 0;
	height: 0;
	border-top: 20px solid var(--color-white);
	border-right: 20px solid transparent;
}

.page-faq-item__question dt,
.page-faq-item__answer dd {
	display: grid;
	grid-template-columns: 55px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin: 0;
}

.page-faq-item__question dt {
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.75;
    align-items: center;
}

.page-faq-item__answer {
	padding: 28px 35px 0;
}

.page-faq-item__answer p {
	margin: 0;
	font-size: 1.6rem;
	line-height: 2;
}

.page-faq-item__question span,
.page-faq-item__answer span {
	color: var(--color-main);
	font-family: "Montserrat", sans-serif;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1;
}

.page-faq__more {
	margin-top: 65px;
	text-align: center;
}

.page-faq__more a {
	display: inline-flex;
	min-width: 300px;
	min-height: 60px;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	color: var(--color-white);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	background: var(--color-main);
	border: 1px solid var(--color-main);
	border-radius: 4px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.page-faq__more a:hover {
	color: var(--color-main);
	background: var(--color-white);
}

@media screen and (max-width: 767px) {
	.page-faq {
		padding: 75px 0 85px;
	}

	.page-faq__list {
		gap: 34px;
		margin-top: 45px;
	}

	.page-faq-item__question {
		padding: 20px 18px;
	}

	.page-faq-item__question::after {
		left: 25px;
	}

	.page-faq-item__question dt,
	.page-faq-item__answer dd {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 12px;
	}

	.page-faq-item__question dt {
		font-size: 1.4rem;
	}

	.page-faq-item__answer {
		padding: 27px 18px 0;
	}

	.page-faq-item__answer p {
		font-size: 1.3rem;
		line-height: 1.9;
	}

	.page-faq-item__question span,
	.page-faq-item__answer span {
		font-size: 3.3rem;
	}

	.page-faq__more {
		margin-top: 48px;
	}

	.page-faq__more a {
		width: 100%;
		min-width: 0;
		min-height: 56px;
		font-size: 1.4rem;
	}
}
