@charset "UTF-8";

.page-mv {
	position: relative;
	aspect-ratio: 1920 / 770;
	width: 100%;
	height: auto;
	padding-top: clamp(160px, 13.5417vw, 260px);
	z-index: 2;

	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: -100vh;
		background-image: url("../img/common/mv_bg.png");
		background-size: 66%;
		background-position: left top;
		background-repeat: no-repeat;
	}
}

.mv__content {
	position: relative;
	z-index: 100;

	width: 100%;
	padding-inline: 95px;
	margin-inline: auto;
	color: var(--white);
}

@media only screen and (max-width: 1340px) {
	.mv__content {
		padding-inline: 40px;
	}
}

.c-heading {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.c-heading__ja {
	display: flex;
	align-items: center;
	gap: 0.52em;
	font-size: clamp(1.5rem, calc(0.5833rem + 1.9097vw), 2.875rem);
	line-height: 1;

	padding-left: 20px;

	&::before {
		content: "";
		width: 0.85em;
		height: 0.85em;
		background: var(--white);
		border-radius: 100%;
		translate: 0 4px;
	}
}

.c-heading__en {
	font-family: "Google Sans", sans-serif;
	font-size: clamp(6rem, calc(-0.75rem + 14.0625vw), 13.75rem);
	font-weight: bold;
	line-height: 1;
}

.page-tag {
	position: absolute;
	top: clamp(180px, 11.4583vw, 220px);
	right: 0;
	font-family: "Google Sans", sans-serif;
	font-size: 2.1875rem;
	line-height: 1;
	font-weight: bold;
	display: inline-block;
	transform: rotate(90deg) translateY(-150px);
}

@media (min-width: 1730px) {
	.page-tag {
		right: calc((100vw - 1730px) / 2);
		transform: rotate(90deg) translateY(-155px);
	}
}

@media only screen and (max-width: 768px) {
	.page-mv {
		aspect-ratio: 768 / 445;
		padding-top: clamp(120px, 27.34375vw, 210px);

		&::before {
			background-image: url("../img/common/mv_bg-sp.png");
			background-size: 96%;
		}
	}

	.mv__content {
		padding-inline: min(5.208vw, 2.5rem);
	}

	.c-heading {
		gap: 0.5rem;
	}

	.c-heading__ja {

		font-size: clamp(0.9rem, 3.52vw, 1.6875rem);

		padding-left: 5px;
	}

	.c-heading__en {
		font-size: clamp(2.5rem, 13.17vw, 6.1875rem);
	}

	.page-tag {
		top: 30px;
		right: 85px;
		font-size: 0.9rem;
	}
}

.service__mission {
	margin-block: 6.75rem;
}

.service__model {
	margin-bottom: 6.75rem;
}

.service__growth {
	margin-bottom: 6.75rem;
}

.service__detail {
	margin-bottom: 6.75rem;
}

.div-heading__sub {
	font-family: "Google Sans", sans-serif;
	font-size: 1.16rem;
	font-weight: bold;
	line-height: 1;
	background-image: url("../img/common/grada_bg-s.png");
	background-size: 50%;
	background-position: 62% 52%;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
}

.div-heading__title {
	font-size: 2.25rem;
	line-height: 1.5;
	color: var(--p_blue);
	margin-block: 0 4rem;
	font-weight: 400;
}

.section__text {
	font-size: 1.25rem;
	line-height: 3rem;

	span {
		color: #E65B01;
	}
}

.section__text--large {
	font-size: 1.5rem;
}

.service__story1 .section__image, .service__story2 .section__image {
	margin: 4rem auto 0;
}

.service-section .section__image {
	margin: 4rem auto;
}

.section__image img {
	max-width: 1082px;
}

.c-image-button {
	background-image: url("../img/top/grada_bg.png");
	background-size: cover;
	background-position: 75% 75%;
	background-repeat: no-repeat;
	border-radius: 100vmax;
	max-width: 33rem;
	min-height: 7.125rem;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-inline: auto;
	transition: background-color 0.3s;

	svg {
		position: absolute;
		right: 40px;
		width: 2rem;
		height: 2rem;
	}

	&:hover {
		opacity: 1;
		background-image: none;
		background-color: var(--p_blue);
	}
}

.c-image-button__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.c-image-button__text--large {
	font-size: 1.75rem;
}

.c-image-button__text--small {
	font-size: 1.25rem;
}

@media only screen and (max-width: 768px) {
	.service__mission {
		margin-block: 3.75rem;
	}

	.service__model {
		margin-bottom: 3.75rem;
	}

	.service__growth {
		margin-bottom: 3.75rem;
	}

	.service__detail {
		margin-bottom: 3.75rem;
	}

	.div-heading__sub {
		font-size: clamp(0.9rem, 2.42vw, 1.16rem);
	}

	.div-heading__title {
		font-size: clamp(1.25rem, 3.39vw, 2.25rem);
		margin-block: 0 3rem;
	}

	.section__text {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
		line-height: 1.7;
	}

	.section__image {
		margin: 4rem auto 3.75rem;
	}

	.c-image-button {
		width: stretch;
		min-height: clamp(5rem, 14.3229vw, 6.875rem);

		svg {
			right: 10px;
			width: 1rem;
			height: 1rem;
		}
	}

	.c-image-button__text--large {
		font-size: clamp(1rem, 3.91vw, 1.75rem);
	}

	.c-image-button__text--small {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
	}
}

.reveal-h2 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-block: 1rem 3.5rem;
	font-size: 2.875rem;

	line-height: 1;
}

.reveal-row {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.2rem;
	overflow: hidden;
}

.reveal-bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 0%;
	transform-origin: left center;
	background-image: url('../img/top/grada_bg.png');
	background-size: cover;
	background-position: left 25%;
	z-index: 0;
}

.reveal-overlay {
	position: absolute;
	inset: 0;
	display: block;

	z-index: 1;
}

.reveal-text {
	position: relative;
	display: block;
	z-index: 2;
	color: transparent;
	transition: color 0.3s ease 0.2s;
	white-space: nowrap;
	position: relative;
	display: block;
	z-index: 2;
	color: var(--white);
	*/
    transition: color 0.3s ease 0.2s;
	white-space: nowrap;
	font-weight: 400;
}

@media only screen and (max-width: 768px) {
	.reveal-h2 {
		gap: 4px;
		margin-block: 0.8rem 6rem;
		font-size: clamp(1rem, 5.47vw, 2.625rem);
	}
}

.service__flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 0 24px;
	margin-bottom: 3.75rem;
}

.service__flow-step {
	display: flex;
	flex-direction: column;
	align-items: center;

	img {
		max-width: 556px;
		width: 100%;
		height: auto;
	}
}

.service__flow-text {
	font-size: 1.5rem;
	text-align: center;
	color: var(--p_blue);
	margin: 0;
}

.service__flow-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 48px;
}

@media only screen and (max-width: 768px) {
	.service__flow {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 30px;
	}

	.service__flow-step img {
		width: 50%;
	}

	.service__flow-text {
		font-size: clamp(0.9rem, 4vw, 2rem);
		margin-top: 2rem;
	}

	.service__flow-arrow {
		margin-bottom: 0;

		svg {
			transform: rotate(90deg);
		}
	}
}

.service__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 40px;
}

.service-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	align-items: start;

	&:not(:nth-last-child(-n+3)) {
		margin-bottom: 50px;
	}
}

.service-card__title {
	font-size: 1.5rem;
	color: var(--p_blue);
	width: 100%;
	text-align: left;
}

.service-card__img {
	max-width: 660px;
	width: 100%;
}

.service-card__text {
	font-size: 1.25rem;
	line-height: 1.8;
	width: 100%;
	text-align: left;
}

@media only screen and (max-width: 768px) {
	.service__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px clamp(10px, 5.2vw, 40px);
	}

	.service-card:nth-child(-n+4) {
		margin-bottom: 130px;
	}

	.service-card__title {
		font-size: clamp(1.25rem, 2.86vw, 2rem);
	}

	.service-card__text {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
		line-height: 1.7;
	}
}

.service__future .c-frame {
	position: relative;
	width: 100%;
	border: 1px solid #3A3A3A;
	padding: 4.5rem 2rem 6rem;
	margin-bottom: 4.5rem;
}

.c-frame::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 79px;
	height: 79px;
	background: url("../img/common/corner.png") no-repeat;
	background-size: contain;
}

.future__item + .future__item {
	margin-top: 2rem;
}

.future__label {
	font-size: 1.5rem;
	color: var(--p_blue);
}

.future__desc {
	font-size: 1.25rem;
	line-height: 1.8;
}

@media only screen and (max-width: 768px) {
	.service__future .c-frame {

		padding: 4.5rem 1rem;
	}

	.future__label {
		font-size: clamp(1rem, 1.95vw, 1.5rem);
	}

	.future__desc {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
		line-height: 1.7;
	}
}

