@charset "utf-8";
/*------------------------------------------------------------
	メッセージ（company/message）
------------------------------------------------------------*/
.message {
	background-color: #FFF;
	transition: background-color 0.8s ease;
}
.message #container {
	overflow-x: clip;
}
.message #gFooter {
	background: #FFF;
}
.message .pageTitle02 .ttl .en {
	font-size: 9rem;
}
@media all and (max-width: 896px) {
	.message .pageTitle02 .ttl .en {
		font-size: 4.7rem;
	}
}

/* 企業理念 */
.message .philosophy {
	position: relative;
	padding-top: 12.2rem;
	isolation: isolate;
}
.message .philosophy .blobs {
	position: absolute;
	top: 0;
	left: 50%;
	width: 144rem;
	height: 100%;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: -1;
}
.message .philosophy .blobs span {
	position: absolute;
	background: no-repeat center / 100%;
	mix-blend-mode: multiply;
}
.message .philosophy .blobs .b1 { top: -26.8rem; left: -36.7rem; width: 93.2rem; height: 93.2rem; background-image: url(../img/message/ell1.svg); }
.message .philosophy .blobs .b2 { top: 6.6rem; left: -28.3rem; width: 71.6rem; height: 71.6rem; background-image: url(../img/message/ell2.svg); }
.message .philosophy .blobs .b3 { top: -0.3rem; left: 56.8rem; width: 115.8rem; height: 115.8rem; background-image: url(../img/message/ell45.svg); }
.message .philosophy .blobs .b4 { top: 9.6rem; left: -42.2rem; width: 115.8rem; height: 115.8rem; background-image: url(../img/message/ell45.svg); }
.message .philosophy .blobs .b5 { top: 41.5rem; left: 62.5rem; width: 71.8rem; height: 71.8rem; background-image: url(../img/message/ell46.svg); }
.message .philosophy .inner {
	position: relative;
	margin: 0 auto;
	width: 144rem;
	max-width: 100%;
	padding: 0 12rem;
}
.message .philosophy .catch {
	font-family: "Noto Serif JP", serif;
	font-size: 4.2rem;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.15em;
	background: linear-gradient(81.68deg, #333939 8.88%, #4F9DA3 98%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	width: fit-content;
}
.message .philosophy .sub {
	margin-top: 2.4rem;
	font-family: "Noto Serif JP", serif;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.1em;
}
.message .philosophy .vertical {
	position: absolute;
	top: 0;
	left: 50%;
	width: 144rem;
	height: 0;
	transform: translateX(-50%);
}
.message .philosophy .vertical img {
	position: absolute;
	max-width: none;
}
.message .philosophy .vertical .ichiren { top: 9.5rem; left: 100.2rem; width: 8.85rem; }
.message .philosophy .vertical .bigaku { top: 8.4rem; left: 122.8rem; width: 8.84rem; }
.message .philosophy .vertical .cross { top: 29rem; left: 111rem; width: 11.2rem; }
.message .philosophy .goal {
	margin-top: 5.7rem;
	padding: 4rem 6.4rem;
	display: flex;
	align-items: center;
	gap: 6.4rem;
	width: fit-content;
	border-radius: 0.8rem;
	background: rgba(255, 255, 255, 0.5);
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
}
.message .philosophy .goal h3 {
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.1em;
	white-space: nowrap;
}
.message .philosophy .goal li {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	font-size: 1.8rem;
	line-height: 1.8;
	letter-spacing: 0.1em;
}
.message .philosophy .goal li + li {
	margin-top: 1.2rem;
}
.message .philosophy .goal .num {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
	background: #FFF;
	color: #292E2E;
	font-family: "Roboto", sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.05em;
}
/* 写真がゆっくり左へ流れる */
.message .photoFlow {
	margin-top: 11.8rem;
	overflow: hidden;
}
.message .photoFlow .track {
	display: flex;
	width: max-content;
	animation: photoFlow 60s linear infinite;
}
.message .photoFlow ul {
	padding-right: 3.8rem;
	display: flex;
	align-items: flex-start;
	gap: 3.8rem;
}
.message .photoFlow li {
	overflow: hidden;
	border-radius: 1.6rem;
}
.message .photoFlow li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.message .photoFlow .p1 { margin-top: 2rem; width: 27.45rem; height: 27.45rem; }
.message .photoFlow .p2 { margin-top: 9.15rem; width: 24.5rem; height: 27.45rem; }
.message .photoFlow .p3 { width: 30.85rem; height: 25rem; }
.message .photoFlow .p4 { margin-top: 9.15rem; width: 27.45rem; height: 27.45rem; }
.message .photoFlow .p5 { width: 30.85rem; height: 25rem; }
@keyframes photoFlow {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.message .photoFlow .track {
		animation: none;
	}
}
@media all and (max-width: 896px) {
	.message .philosophy {
		padding-top: 1.9rem;
	}
	.message .philosophy .blobs {
		width: 39rem;
	}
	.message .philosophy .blobs .b1 { top: -12rem; left: 7.1rem; width: 32.7rem; height: 32.7rem; }
	.message .philosophy .blobs .b2 { top: 16.7rem; left: 17.8rem; width: 46rem; height: 46rem; background-image: url(../img/message/ell46.svg); }
	.message .philosophy .blobs .b3 { top: -10.7rem; left: 0.8rem; width: 52.9rem; height: 52.9rem; }
	.message .philosophy .blobs .b4 { top: 32.2rem; left: -19.9rem; width: 52.9rem; height: 52.9rem; }
	.message .philosophy .blobs .b5 { top: 30.8rem; left: -13.5rem; width: 32.7rem; height: 32.7rem; background-image: url(../img/message/ell1.svg); }
	.message .philosophy .inner {
		width: auto;
		padding: 0 2.4rem;
	}
	.message .philosophy .vertical {
		position: relative;
		left: auto;
		margin: 0 2.4rem 0 auto;
		width: 11rem;
		height: 20.4rem;
		transform: none;
	}
	.message .philosophy .vertical .ichiren { top: 0.4rem; left: 0; width: 3rem; }
	.message .philosophy .vertical .bigaku { top: 0; left: 7.9rem; width: 3rem; }
	.message .philosophy .vertical .cross { top: 6.9rem; left: 3.7rem; width: 3.8rem; }
	.message .philosophy .catch {
		margin-top: -5.2rem;
		font-size: 2rem;
	}
	.message .philosophy .sub {
		margin-top: 1.6rem;
		width: 28rem;
		font-size: 1.5rem;
	}
	.message .philosophy .goal {
		margin-top: 3.2rem;
		padding: 2.4rem;
		display: block;
		width: auto;
	}
	.message .philosophy .goal h3 {
		margin-bottom: 0.8rem;
	}
	.message .philosophy .goal li {
		gap: 1.2rem;
		font-size: 1.4rem;
		line-height: 1.6;
	}
	.message .philosophy .goal .num {
		width: 3.6rem;
		height: 3.6rem;
		font-size: 1.5rem;
	}
	.message .photoFlow {
		margin-top: 5.3rem;
	}
	.message .photoFlow ul {
		padding-right: 1.6rem;
		gap: 1.6rem;
	}
	.message .photoFlow li {
		border-radius: 0.8rem;
	}
	.message .photoFlow .p1 { margin-top: 0.9rem; width: 12.8rem; height: 12.8rem; }
	.message .photoFlow .p2 { margin-top: 4.3rem; width: 11.4rem; height: 12.8rem; }
	.message .photoFlow .p3 { width: 14.2rem; height: 11.6rem; }
	.message .photoFlow .p4 { margin-top: 4.3rem; width: 12.8rem; height: 12.8rem; }
	.message .photoFlow .p5 { width: 14.2rem; height: 11.6rem; }
}

/* 代表挨拶 */
.message .greeting {
	margin: 0 auto;
	padding: 17.5rem 0 10.4rem;
	max-width: 120rem;
	display: flex;
	gap: 5.6rem;
}
.message .greeting .headLine04 {
	flex-shrink: 0;
	width: 28rem;
}
.message .greeting .body {
	flex: 1;
}
.message .greeting .pho {
	height: 32rem;
	overflow: hidden;
	border-radius: 0.8rem;
}
.message .greeting .pho img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.message .greeting .catch {
	margin-top: 4.8rem;
	font-family: "Noto Serif JP", serif;
	font-size: 3.2rem;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.1em;
}
.message .greeting .text {
	margin-top: 4.8rem;
	font-size: 1.5rem;
	line-height: 1.9;
	letter-spacing: 0.05em;
}
.message .greeting .text p + p {
	margin-top: 2.85rem;
}
.message .greeting .sign {
	margin: 2.4rem 0 0 auto;
	width: fit-content;
	font-family: "Noto Serif JP", serif;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.7;
}
.message .greeting .sign img {
	margin-top: 0.4rem;
	display: block;
	width: 15.1rem;
}
@media all and (min-width: 897px) and (max-width: 1260px) {
	.message .greeting {
		margin: 0 3rem;
	}
}
@media all and (max-width: 896px) {
	.message .greeting {
		padding: 8.3rem 2.4rem 0;
		display: block;
	}
	.message .greeting .headLine04 {
		margin-bottom: 3.2rem;
		width: auto;
	}
	.message .greeting .pho {
		height: 18.4rem;
	}
	.message .greeting .catch {
		margin-top: 3.2rem;
		font-size: 1.8rem;
		font-weight: 400;
		line-height: 1.7;
		letter-spacing: 0.15em;
	}
	.message .greeting .text {
		margin-top: 3.2rem;
		font-size: 1.4rem;
		line-height: 1.7;
	}
	.message .greeting .text p + p {
		margin-top: 2.4rem;
	}
	.message .greeting .sign {
		margin-top: 3.2rem;
		font-size: 1.4rem;
		font-weight: 400;
		text-align: right;
	}
	.message .greeting .sign img {
		margin: 0.8rem 0 0 auto;
	}
}

/* 沿革と歴史 */
.message .history {
	padding: 27.6rem 0 27.2rem;
	color: #FFF;
	background: linear-gradient(180deg, #FFF 0%, #21767D 10.1%, #21767D 84.6%, #FFF 100%);
	transition: background 0.8s ease;
}
/* JS有効時：ヒストリーに近づいたらページ全体の背景色を切り替える */
.message.historyOn .history {
	background: transparent;
}
.message.historyOn {
	background-color: #21767D;
}
.message .history .wrap {
	margin: 0 auto;
	max-width: 120rem;
	display: flex;
	gap: 5.6rem;
}
.message .history .headLine04 {
	flex-shrink: 0;
	width: 28rem;
	color: #FFF;
}
.message .history .headLine04 .jp {
	color: #90CED3;
}
.message .timeline {
	position: relative;
	flex: 1;
}
.message .timeline::before {
	position: absolute;
	top: 1.7rem;
	bottom: 1.7rem;
	left: 11.9rem;
	width: 1px;
	background: #90CED3;
	content: '';
}
.message .timeline .year {
	position: relative;
	display: flex;
}
.message .timeline .year + .year {
	margin-top: 4.8rem;
}
.message .timeline .yr {
	flex-shrink: 0;
	position: relative;
	width: 17.04rem;
	font-family: "Roboto", sans-serif;
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.2;
}
.message .timeline .yr::after {
	position: absolute;
	top: 1rem;
	left: 11.2rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #90CED3;
	content: '';
}
.message .timeline .items {
	flex: 1;
	padding-top: 0.6rem;
	font-size: 1.5rem;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
.message .timeline dl {
	display: flex;
	gap: 0.8rem;
}
.message .timeline dl + dl {
	margin-top: 0.8rem;
}
.message .timeline dt {
	flex-shrink: 0;
	width: 3.6rem;
	font-weight: 700;
}
.message .timeline .pho {
	margin-top: 1.6rem;
	width: 28rem;
	height: 17.3rem;
	overflow: hidden;
	border-radius: 0.4rem;
}
.message .timeline .pho img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media all and (min-width: 897px) and (max-width: 1260px) {
	.message .history .wrap {
		margin: 0 3rem;
	}
}
@media all and (max-width: 896px) {
	.message .history {
		margin-top: 8rem;
		padding: 17.1rem 2.4rem 19rem;
	}
	.message .history .wrap {
		display: block;
	}
	.message .history .headLine04 {
		margin-bottom: 3.2rem;
		width: auto;
	}
	.message .timeline::before {
		top: 1.5rem;
		left: 7.2rem;
	}
	.message .timeline .year + .year {
		margin-top: 4rem;
	}
	.message .timeline .yr {
		width: 9.4rem;
		font-size: 2.2rem;
	}
	.message .timeline .yr::after {
		top: 0.9rem;
		left: 6.6rem;
		width: 1.2rem;
		height: 1.2rem;
	}
	.message .timeline .items {
		padding-top: 0.2rem;
		font-size: 1.4rem;
	}
	.message .timeline .pho {
		margin-top: 1.2rem;
		width: 24.8rem;
		height: 15.3rem;
	}
}

/* フッター手前のバナー */
@media all and (max-width: 896px) {
	.message .footBan {
		padding-top: 0;
	}
}
