@charset "utf-8";

/**
 * HOME
 * ---------------------------------------- */
.p-keyvisual {
	display: grid;
	place-content: center;
	height: 700px;
	position: relative;
	margin-inline: var(--breakout);
}
.p-keyvisual .catchcopy,
.p-keyvisual .logo {
	z-index: 1;
	position: relative;
	text-align: center;
}
.p-keyvisual .logo {
	margin-top: 40px;
}
.p-keyvisual .logo img {
	width: 265px;
}
@media screen and (max-width: 1439px) {
	.p-keyvisual .visual .object.paste {
		background-size: calc(1600vw / 14.4) calc(800vw / 14.4);
	}
	.p-keyvisual .visual .object.-p1 {
		left: calc(50% - 660vw / 14.4);
		width: calc(450vw / 14.4);
		height: calc(438vw / 14.4);
	}
	.p-keyvisual .visual .object.-p2 {
		right: calc(50% - 640vw / 14.4);
		width: calc(352vw / 14.4);
		height: calc(294vw / 14.4);
	}
	.p-keyvisual .visual .object.-p3 {
		left: calc(50% - 320vw / 14.4);
		width: calc(890vw / 14.4);
		height: calc(384vw / 14.4);
	}
	.p-keyvisual .visual .object.-d1 {
		left: calc(50% - 350vw / 14.4);
		width: calc(70vw / 14.4);
	}
	.p-keyvisual .visual .object.-d2 {
		left: calc(50% - 560vw / 14.4);
		width: calc(30vw / 14.4);
	}
	.p-keyvisual .visual .object.-d3 {
		left: calc(50% - 420vw / 14.4);
		width: calc(50vw / 14.4);
	}
	.p-keyvisual .visual .object.-d4 {
		right: calc(50% - 530vw / 14.4);
		width: calc(50vw / 14.4);
	}
}
@media screen and (max-width: 767px) {
	.p-keyvisual {
		height: calc(700vw / 7.68);
	}
}
@media screen and (max-width: 599px) {
	.p-keyvisual .catchcopy img {
		width: calc(417vw / 6);
	}
	.p-keyvisual .logo img {
		width: calc(265vw / 6);
	}
}
@media screen and (max-width: 767px) {
	.p-keyvisual .visual .object {
		display: none;
	}
}

/* :::::: お知らせ :::::: */
.page-home .c-newsbox {
	max-width: 960px;
	margin: 80px auto 0;
}
.page-home .c-newsbox .c-post {
	padding-inline: 24px;
	border-radius: 20px 0 0 20px;
}
/* お知らせ一覧へのリンク */
.c-newsbox .link {
	display: grid;
	place-content: center;
	position: relative;
	padding: 16px 24px;
	border-radius: 0 20px 20px 0;
	white-space: nowrap;
	background: white;
}
.c-newsbox .link .c-link::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 0 20px 20px 0;
}
@media screen and (max-width: 767px) {
	.page-home .c-newsbox {
		flex-direction: column;
		gap: 2px;
	}
	.page-home .c-newsbox .c-post,
	.c-newsbox .c-post .c-textlink::before {
		border-radius: 20px 20px 0 0;
	}
	.c-newsbox .link,
	.c-newsbox .link .c-link::before {
		border-radius: 0 0 20px 20px;
	}
	.c-newsbox .link {
		padding-block: 8px;
		justify-content: flex-end;
	}
}

/* :::::: トピック :::::: */
.c-topic {
	display: flex;
	gap: 24px 40px;
	margin-top: 80px;
}
.c-topic .content {
}
.c-topic .image {
	order: -1;
}
.c-topic .image img {
	aspect-ratio: 13 / 11;
	height: 100%;
	object-fit: cover;
	border-radius: 10px
}
@media print, (min-width: 768px) {
	.c-topic .content {
		flex-basis: 815px;
	}
	.c-topic .image {
		flex-basis: 390px;
	}
}
@media screen and (max-width: 767px) {
	.c-topic {
		flex-direction: column;
	}
}

/* :::::: 事業紹介 :::::: */
.p-service .c-post .thumb img {
	object-fit: contain;
}
