/* =========================================================
   Front Page
========================================================= */

.top-page {
	background: url('/wp-content/themes/kaisei/assets/img/top_img_01.jpg') no-repeat center top / cover;
}

.top-fv {
	min-height: 1024px;
	padding: 0 0 60px;
}

.top-fv__inner {
	width: min(100% - 40px, 1200px);
	margin: 0 auto;
}

.top-fv__hero {
	padding-top: 84px;
}

.top-fv__copy {
	text-align: center;
}

.top-fv__copy-line {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 54px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	color: #fff;
	text-shadow:
		0 0 2px rgba(0, 0, 0, 0.75),
		0 2px 8px rgba(0, 0, 0, 0.45),
		2px 2px 0 rgba(0, 0, 0, 0.25),
		-2px -2px 0 rgba(0, 0, 0, 0.18),
		2px -2px 0 rgba(0, 0, 0, 0.18),
		-2px 2px 0 rgba(0, 0, 0, 0.18);
}

.top-fv__copy-line + .top-fv__copy-line {
	margin-top: 14px;
}

.top-business {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 84px;
}

.top-business__item {
	min-height: 224px;
	max-width: 285px;
	width: 100%;
	margin: 0 auto;
	padding: 28px 20px 18px;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.top-business__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 112px;
}

.top-business__icon img {
	display: block;
	max-width: 120px;
	max-height: 100px;
	width: auto;
	height: auto;
}

.top-business__label {
	margin: 16px 0 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #fff;
	text-align: center;
	text-shadow:
		0 0 2px rgba(0, 0, 0, 0.75),
		0 2px 8px rgba(0, 0, 0, 0.45);
}

.top-fv__bottom {
	display: grid;
	grid-template-columns: minmax(0, 895px) minmax(0, 285px);
	gap: 20px;
	align-items: stretch;
	margin-top: 20px;
}

.top-news,
.top-contact {
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	box-sizing: border-box;
}

.top-news {
	min-height: 332px;
	padding: 0;
	overflow: hidden;
}

.top-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.top-news__title {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #fff;
}

.top-news__archive {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 128px;
	height: 40px;
	padding: 0 18px;
	border-radius: 9999px;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #555;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.top-news__archive:hover {
	opacity: 0.85;
}

.top-news__body {
	padding: 8px 22px 18px;
}

.top-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.top-news__item + .top-news__item {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.top-news__link {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 18px;
	padding: 14px 0;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.3s ease;
}

.top-news__link:hover {
	opacity: 0.8;
}

.top-news__date,
.top-news__text,
.top-news__empty {
	font-family: "Noto Sans JP", sans-serif;
	color: #fff;
}

.top-news__date {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.top-news__text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.03em;
	word-break: break-word;
}

.top-news__empty {
	margin: 0;
	padding: 24px 0 8px;
	font-size: 16px;
	line-height: 1.8;
}

.top-contact {
	min-height: 332px;
	padding: 20px 16px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.top-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	margin-bottom: 12px;
}

.top-contact__icon img {
	display: block;
	max-width: 100px;
	max-height: 78px;
	width: auto;
	height: auto;
}

.top-contact__content {
	width: 100%;
}

.top-contact__label {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: #fff;
}

.top-contact__label--fax {
	margin-top: 10px;
}

.top-contact__number {
	margin: 2px 0 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: #fff;
}

.top-contact__number-sp {
	display: none;
	color: inherit;
	text-decoration: none;
}

.top-contact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 220px;
	min-height: 40px;
	margin-top: 16px;
	padding: 8px 16px;
	border-radius: 10px;
	background: #19b24b;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.03em;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.top-contact__button:hover {
	opacity: 0.85;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================
   Tablet / SP
========================================================= */

@media screen and (max-width: 768px) {
	html,
	body {
		overflow-x: hidden;
	}

	.top-page {
		background: none;
		background-color: #2A292F;
	}

	.top-fv {
		min-height: 0;
		padding: 0 0 60px;
	}

	.top-fv__inner {
		width: 100%;
		max-width: none;
	}

	.top-fv__hero {
		min-height: 561px;
		padding: 30px 16px 24px;
		background: url('/wp-content/themes/kaisei/assets/img/top_img_SP.jpg') no-repeat center top / cover;
		box-sizing: border-box;
	}

	.top-fv__copy-line {
		font-size: 40px;
		line-height: 1.35;
	}

	.top-fv__copy-line + .top-fv__copy-line {
		margin-top: 8px;
	}

	.top-business {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		max-width: 280px;
		margin: 22px auto 0;
	}

	.top-business__item {
		min-height: 126px;
		max-width: none;
		padding: 14px 10px 12px;
		border-radius: 18px;
	}

	.top-business__icon {
		height: 58px;
	}

	.top-business__icon img {
		max-width: 64px;
		max-height: 56px;
	}

	.top-business__label {
		margin-top: 10px;
		font-size: 14px;
		line-height: 1.4;
	}

	.top-fv__bottom {
		grid-template-columns: 1fr;
		gap: 28px;
		width: min(100% - 32px, 390px);
		margin: 0 auto;
		padding-top: 32px;
	}

	.top-contact {
		order: 1;
		min-height: 0;
		padding: 24px 16px 22px;
	}

	.top-news {
		order: 2;
		min-height: 0;
	}

	.top-contact__icon {
		height: 88px;
		margin-bottom: 14px;
	}

	.top-contact__icon img {
		max-width: 100px;
		max-height: 78px;
	}

	.top-contact__label {
		font-size: 14px;
	}

	.top-contact__number {
		font-size: 20px;
	}

	.top-contact__number-pc {
		display: none;
	}

	.top-contact__number-sp {
		display: inline;
	}

	.top-contact__button {
		max-width: 220px;
		min-height: 42px;
		font-size: 14px;
	}

	.top-news__head {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 14px 16px 12px;
	}

	.top-news__title {
		font-size: 18px;
		text-align: center;
	}

	.top-news__archive {
		min-width: 150px;
		height: 36px;
		font-size: 14px;
	}

	.top-news__body {
		padding: 8px 16px 18px;
	}

	.top-news__link {
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 12px 0;
	}

	.top-news__date {
		font-size: 14px;
		line-height: 1.6;
	}

	.top-news__text {
		font-size: 14px;
		line-height: 1.7;
	}
}