/* * =========================================
 * 総合トップのスタイル
 * =========================================
 */

/* * =========================================
 * ファーストビュー
 * =========================================
 */
.fv {
	min-height: 660px;
	padding: 60px 0;
	padding-top: 160px;
	padding-bottom: 120px;
	border-bottom: rgb(0 0 0 / 8%);
	box-shadow: 0 2.03px 3.044px 0 rgb(0 0 0 / 8%);
}

.fv__bg {
	background-image: url('/assets/img/top/bg_hero_backwater.webp');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
}

.fv__container {
	padding-top: 10px;
}

.fv__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.fv-message {
	z-index: 2;
	display: flex;
	flex-direction: column;
	place-items: center center;
	width: 32%;
	text-align: center;
}

.fv-message__subcopy {
	position: relative;
	width: 100%;
	padding-top: 30px;
	padding-bottom: 60px;
	margin-bottom: 30px;
}

.fv-message__subcopy-bg {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;

	/* 余計な隙間防止（imgがinline要素のため） */
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
	mix-blend-mode: multiply;
}

.fv-message__subcopy-text {
	position: relative;
	z-index: 1;
	font-size: 22px;
	font-weight: var(--font-weight-regular);
	line-height: 40px;
	text-align: center;
	letter-spacing: 1.32px;
	white-space: nowrap;
}

.fv-message__about-link {
	margin-top: -10px;
	margin-bottom: 30px;
}

.fv-message__about-link a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding-bottom: 2px;
	font-size: 15px;
	letter-spacing: 0.6px;
	transition: border-color 0.3s;
}

.fv-message__about-link .material-symbols-outlined > img {
	width: auto;
	height: 1em;
}

/* モチーフ */
.fv-motif {
	z-index: 1;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	width: 67%;
	padding-left: 40px;
}

.fv-motif__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: space-around;
	width: 50%;
	padding-top: 80px;
	padding-bottom: 48px;
	background-repeat: no-repeat; /* 繰り返さない */
	background-position: left top; /* 左上に配置 */
	background-size: 80%;
}

.fv-motif__item--general {
	margin-top: 100px;
	background-image: url('/assets/img/top/family_image.webp');
}

.fv-motif__item--stakeholder {
	margin-bottom: 80px;
	background-image: url('/assets/img/top/professional_image.webp');
}

.fv-motif__title--jpn {
	font-family: var(--font-family-sub1);
	font-size: 20px;
	font-weight: var(--font-weight-medium);
	color: var(--font-color-1);
	text-align: right;
}

.fv-motif__item--general .fv-motif__title--jpn > span {
	padding: 1px 4px 2px;
	background: var(--color-violet-candy);
}

.fv-motif__item--stakeholder .fv-motif__title--jpn > span {
	padding: 1px 4px 2px;
	background: var(--color-blue-mallow);
}

.fv-motif__catchcopy {
	display: flex;
	place-items: center center;
	width: 180px;
	min-height: 180px;
	padding: 28px;
	margin-top: -3em;
	margin-right: 65px;
	background-color: rgb(255 255 255 / 68%);
	border-radius: 100%;
}

.fv-motif__catchcopy > p {
	font-size: 14px;
	font-style: normal;
	line-height: 160%;
}

.fv-motif__button {
	margin-top: 1.2em;
	margin-right: 2.2em;
}

.fv-motif__button-link {
	position: relative;
	display: block;
	width: 107.18px;
	height: 107.18px;
}

.fv-motif__button img {
	position: absolute;
	inset: 0;
	object-fit: contain;
	object-position: center;
	transition: opacity 0.6s ease;
}

.fv-motif__button .is-default {
	width: 89px;
	height: 89px;
	margin: auto;
	opacity: 1;
}

.fv-motif__button .is-hover {
	width: 100%;
	height: 100%;
	opacity: 0;
}

.fv-motif__button:hover .is-default {
	opacity: 0;
}

.fv-motif__button:hover .is-hover {
	opacity: 1;
}

/* * =========================================
 * 事業一覧
 * =========================================
 */
.our-business {
	padding-top: 120px;
	padding-bottom: 160px;
}

.our-business__bg {
	background-color: var(--bg-color-2);
}

.our-business__container {
	padding-top: 5px;
	padding-bottom: 5px;
	isolation: isolate;
}

.our-business__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
	width: 100%;
}

/* カード本体 */
.our-business__card {
	position: relative;
	z-index: 1;
	min-width: 0;
	height: 100%;
	padding: 0 0 24px;
	background-color: #fff;
	box-shadow: 2px 2px 3px rgb(0 0 0 / 15%);
}

.our-business__card:hover {
	box-shadow: 2px 4px 6px rgb(0 0 0 / 20%);
}

.our-business__image {
	width: 100%;
	margin-bottom: 24px;

	/* height: 200px; */
	background-color: #ddd;
	background-position: center;
	background-size: cover;
}

.our-business__image > img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.our-business__text {
	padding: 0 24px;
	margin-bottom: 24px;
}

.our-business__text h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.4em; /* 改行の高さに合わせる */
	margin-bottom: 24px;
	font-family: var(--font-family-sub1);
	font-size: 24px;
	font-weight: var(--font-weight-medium);
	line-height: 124%; /* 31.2px */
	text-align: center;
	letter-spacing: 1.92px;
	white-space: nowrap;
}

.our-business__text p {
	min-height: 4em; /* 改行の高さに合わせる */
	font-size: 14px;
	font-feature-settings:
		'halt' on,
		'pwid' on;
	line-height: 150%; /* 21px */
	letter-spacing: 0.56px;
}

.our-business__button {
	bottom: 24px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.our-business__button img {
	width: 51px;
	height: 51px;
}

/* スリット（台紙の一部） */
.our-business__card::before,
.our-business__card::after {
	position: absolute;
	z-index: 10;
	width: 100px;
	height: 50px;
	content: '';
	background-color: var(--bg-color-2);
	background-image: url('/assets/img/common/bg_white.jpg');
	background-blend-mode: multiply;
}

/* 左上のスリット */
.our-business__card::before {
	top: -16px;
	left: -42px;
	border-bottom: solid 1px #ddd;
	transform: rotate(-45deg);
}

/* 右下のスリット */
.our-business__card::after {
	right: -42px;
	bottom: -16px;
	transform: rotate(-45deg); /* 右下には影をつけない */
}

/* * =========================================
 * サブフッター
 * =========================================
 */
.sub-footer__container {
	overflow: visible;
}

.sub-footer__banner {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 62px;
}

.sub-footer__banner a {
	width: 364px;
}

.sub-footer__banner img {
	width: 100%;
	box-shadow: 2px 2px 3px 0 rgb(161 120 128 / 40%);
}

/* * =========================================
 * レスポンシブ対応 (767px以下)
 * =========================================
 */
@media (width <= 767px) {
	/* FV */
	.fv {
		padding-top: 100px;
	}

	.fv__bg {
		background-image: url('/assets/img/top/bg_hero_backwater_sp.webp');
	}

	.fv__inner {
		flex-wrap: wrap;
		margin-top: 50px;
	}

	.fv-message {
		width: 100%;
	}

	.fv-motif,
	.fv-message {
		width: 100%;
		margin-bottom: 20px;
	}

	.fv-motif {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		padding-left: 0;
		margin: 0;
	}

	.fv-motif__item--general {
		margin-top: 40px;
		margin-bottom: 70px;
		background-image: url('/assets/img/top/family_image_sp.webp');
	}

	.fv-motif__item--stakeholder {
		background-image: url('/assets/img/top/professional_image_sp.webp');
	}

	.fv-motif__item {
		width: 100%;
		max-width: 500px;
		height: 440px;
		padding-top: 70px;
		margin-bottom: 30px;
		background-size: 85%;
	}

	.fv__container {
		gap: 20px;
	}

	.fv__site-title {
		font-size: 28px;
	}

	.fv__catchcopy {
		font-size: 20px;
	}

	/* ユーザーナビ */
	.user-nav__grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 20px;
	}

	.user-nav__card {
		padding: 20px;
	}

	.user-nav__card h3 {
		font-size: 16px;
	}

	.our-business {
		padding: 100px 0;
	}

	.our-business__inner {
		grid-template-columns: 1fr;
	}
}
