@charset "UTF-8";

/* CSS variables
----------------------------------------------- */
:root {
	--sidebar-col: 20vw;
}

/* company header
----------------------------------------------- */
.company-page header {
	background: rgba(244, 241, 234, 0.95);
}

.company-page .header-inner::after {
	background: rgba(44, 42, 38, 0.15);
}





/* company body: サイドバー + セクション列の flex ラッパー
----------------------------------------------- */
.company-body {
	display: flex;
	align-items: flex-start;
}

.company-sections-col {
	flex: 1;
	min-width: 0;
}

/* company message（代表者の声）
----------------------------------------------- */
.company-message {
	background: transparent;
	padding: 80px 40px 80px 0;
}

.company-message-inner {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.company-message-photo {
	flex-shrink: 0;
	width: 240px;
	text-align: center;
}

.company-message-photo img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	margin-bottom: 16px;
}

.company-message-name {
	font-size: 13px;
	color: rgba(44, 42, 38, 0.6);
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.company-message-name span {
	display: block;
	font-size: 16px;
	color: #2c2a26;
	margin-top: 4px;
}

.company-message-content {
	flex: 1;
	min-width: 0;
	padding-top: 10px;
}

.company-message-catchcopy {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: #2c2a26;
	margin-bottom: 30px;
	border-left: 3px solid #233344;
	padding-left: 20px;
}

.company-message-body {
	margin-bottom: 36px;
}

.company-message-body p {
	font-size: 15px;
	line-height: 1.9;
	color: rgba(44, 42, 38, 0.8);
	margin-bottom: 16px;
	letter-spacing: 0.05em;
}

.company-message-body p:last-child {
	margin-bottom: 0;
}

.company-message-vision {
	font-size: 17px !important;
	font-weight: 400;
	color: #233344 !important;
	letter-spacing: 0.07em !important;
	line-height: 1.8 !important;
	margin-bottom: 24px !important;
}

.company-message-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #f4f1ea;
	background: #2c2a26;
	letter-spacing: 0.1em;
	padding: 14px 28px;
	border: 1.5px solid #2c2a26;
	transition: background 0.25s ease, color 0.25s ease;
}

.company-message-btn:hover {
	background: transparent;
	color: #2c2a26;
	opacity: 1;
}

/* company overview/profile（CONTACTと同じ：白半透明オーバーレイ＋斜め区切り）
----------------------------------------------- */
.company-overview {
	position: relative;
	background: transparent;
	padding: 0 40px 5vw 0;
}

.company-overview::before {
	content: '';
	position: absolute;
	top: 0;
	left: calc(-1 * var(--sidebar-col));
	width: calc(100% + var(--sidebar-col));
	height: 100%;
	background: rgba(255, 255, 255, 0.6);
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

/* PRIFILEの下をフッターと同色に */
.company-overview::after {
	content: '';
	position: absolute;
	left: calc(-1 * var(--sidebar-col));
	width: calc(100% + var(--sidebar-col));
	height: calc(5vw + 1px);
	background: #233344;
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

/* sidebar
----------------------------------------------- */
.company-sidebar {
	position: sticky;
	top: 110px;
	width: var(--sidebar-col);
	flex-shrink: 0;
	height: fit-content;
	padding: 80px 20px 40px 40px;
	z-index: 10;
}


.company-sidebar-category {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.18em;
	color: rgba(44, 42, 38, 0.4);
	margin-bottom: 6px;
}

.company-sidebar-label {
	font-size: 13px;
	color: #2c2a26;
	margin-bottom: 32px;
	letter-spacing: 0.08em;
}

.company-sidenav-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.company-sidenav-list > li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.company-sidenav-list > li::before {
	content: '';
	display: block;
	height: 2px;
	background: rgba(44, 42, 38, 0.2);
	width: 14px;
	flex-shrink: 0;
	transition: width 0.3s ease, background 0.3s ease;
}

.company-sidenav-list > li.is-active::before {
	width: 26px;
	background: #2c2a26;
}

.company-sidenav-list > li a {
	display: block;
	font-size: 16px;
	font-style: normal;
	color: rgba(44, 42, 38, 0.35);
	transition: color 0.25s ease;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.company-sidenav-list > li.is-active a {
	color: #2c2a26;
}

.company-sidenav-list > li a:hover {
	opacity: 1;
	color: #2c2a26;
}


/* overview content
----------------------------------------------- */
.company-overview-content {
	position: relative;
	z-index: 1;
	padding: calc(5vw + 80px) 0 calc(5vw + 100px);
}

.company-section-title {
	padding: 0 calc(var(--page-section-size) / 10) calc(var(--page-section-size) / 10);
	font-size: var(--page-section-size);
	font-weight: 400;
	font-style: normal;
	line-height: 1.1;
	letter-spacing: 0.1em;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.company-overview-table {
	width: 100%;
	margin-bottom: 40px;
}

.company-overview-table th,
.company-overview-table td {
	padding: 18px 0;
	border-top: 1.5px solid rgba(44, 42, 38, 0.1);
	font-size: 15px;
	line-height: 1.7;
	vertical-align: top;
	text-align: left;
}

.company-overview-table tbody tr:last-child th,
.company-overview-table tbody tr:last-child td {
	border-bottom: 1.5px solid rgba(44, 42, 38, 0.1);
}

.company-overview-table th {
	width: 150px;
	font-weight: 400;
	color: rgba(44, 42, 38, 0.5);
	white-space: nowrap;
	padding-right: 30px;
}

.company-overview-table td {
	color: #2c2a26;
}

.company-overview-table td .font-en {
	font-size: 13px;
	color: rgba(44, 42, 38, 0.45);
	display: block;
	margin-top: 2px;
	font-style: normal;
}

.company-overview-table td address {
	font-style: normal;
}


/* management section（会社概要の下）
----------------------------------------------- */
.company-management {
	padding-top: 40px;
	margin-bottom: 40px;
}

.company-management-title {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: #233344;
	margin-bottom: 20px;
}

.company-management p {
	font-size: 15px;
	line-height: 1.9;
	color: rgba(44, 42, 38, 0.8);
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}

.company-management p:last-child {
	margin-bottom: 0;
}

/* overview links
----------------------------------------------- */
.company-overview-links {
	display: flex;
	gap: 20px;
}

.company-overview-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex: 1;
	padding: 22px 24px;
	border: 1.5px solid rgba(44, 42, 38, 0.2);
	border-radius: 3px;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.company-overview-link:hover {
	background: #2c2a26;
	border-color: #2c2a26;
	opacity: 1;
}

.company-overview-link:hover .company-overview-link-title,
.company-overview-link:hover .company-overview-link-more {
	color: #fff;
}

.company-overview-link-title {
	font-size: 16px;
	color: #2c2a26;
	transition: color 0.25s ease;
	letter-spacing: 0.05em;
}

.company-overview-link-more {
	font-size: 12px;
	color: rgba(44, 42, 38, 0.4);
	transition: color 0.25s ease;
	white-space: nowrap;
	letter-spacing: 0.04em;
	font-style: italic;
}


/* history（CONTACTと同じ：白半透明オーバーレイ＋斜めクリップ）
----------------------------------------------- */
.company-history {
	display: none;
}

.company-history::before {
	content: '';
	position: absolute;
	top: 0;
	/* サイドバー列まで左に拡張してフル幅に見せる */
	left: calc(-1 * (var(--sidebar-col) + 20px));
	width: calc(100% + var(--sidebar-col) + 20px);
	height: 100%;
	background: rgba(255, 255, 255, 0.6);
	clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
}

.company-history .inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0; /* common.cssの margin:0 auto を上書き（大画面でのセンタリングズレ防止） */
}

.company-history-inner {
	padding: calc(5vw + 70px) 0;
}

.company-history .company-section-title {
	margin-bottom: 40px;
}

.company-history-timeline {
	position: relative;
	padding-left: 30px;
	border-left: 2px solid rgba(44, 42, 38, 0.18);
}

.company-history-year-group {
	margin-bottom: 28px;
}

.company-history-year-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.company-history-dot {
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: rgba(44, 42, 38, 0.45);
	margin-left: -37px;
	flex-shrink: 0;
}

.company-history-dot--current {
	background: rgba(44, 42, 38, 0.75);
}

.company-history-year {
	font-size: 24px;
	font-weight: 400;
	font-style: normal;
	color: #2c2a26;
	line-height: 1;
}

.company-history-events {
	padding-left: 0;
}

.company-history-events > li {
	display: flex;
	gap: 16px;
	font-size: 14px;
	line-height: 1.7;
	color: #4a463d;
	margin-bottom: 4px;
}

.company-history-date {
	font-family: "EB Garamond", serif;
	font-style: normal;
	font-weight: 400;
	color: rgba(44, 42, 38, 0.5);
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 40px;
}

.company-history-text {
	letter-spacing: 0.05em;
}


/* gallery title（ダーク背景の上部・斜め区切り）
----------------------------------------------- */
.company-gallery-title {
	position: relative;
	padding: 80px 40px 160px 0;
}

.company-gallery-title::before {
	content: '';
	position: absolute;
	top: 0;
	left: calc(-1 * var(--sidebar-col));
	width: calc(100% + var(--sidebar-col));
	height: 100%;
	background: #2c2a26;
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.company-gallery-title .company-section-title {
	position: relative;
	z-index: 1;
	color: #f4f1ea;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
}

/* gallery スライダー（company-body外：ダーク背景）
----------------------------------------------- */
.company-gallery {
	background: #2c2a26;
	padding: 0 40px 80px var(--sidebar-col);
}

/* .inner のセンタリングを無効化（padding-left で位置制御） */
.company-gallery .inner {
	max-width: none;
	margin: 0;
}

.company-gallery-inner {
	padding: 20px 0 100px;
}

.company-gallery .company-section-title {
	color: #233344;
	margin-bottom: 30px;
}

.company-gallery-slider-container {
	position: relative;
	overflow: hidden;
}

.company-gallery-slider {
	overflow: visible;
}

.company-gallery-slider-list .swiper-slide {
	overflow: hidden;
}

.company-gallery-slider-list .swiper-slide img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	display: block;
}

.company-gallery-slider-list .swiper-slide-placeholder {
	width: 100%;
	height: 440px;
	background: rgba(35, 51, 68, 0.07);
	border: 1.5px solid rgba(35, 51, 68, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}

.company-gallery-slider-list .swiper-slide-placeholder::before,
.company-gallery-slider-list .swiper-slide-placeholder::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1.5px;
	background: rgba(255, 255, 255, 0.08);
}

.company-gallery-slider-list .swiper-slide-placeholder::before {
	transform: rotate(calc(atan2(440, 100%)));
}

.company-gallery-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
}

.company-gallery-prev,
.company-gallery-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	transition: opacity 0.25s ease;
	flex-shrink: 0;
	font-size: 26px;
	line-height: 1;
	color: #2c2a26;
	font-family: "EB Garamond", serif;
	padding-bottom: 2px;
}

.company-gallery-prev:hover,
.company-gallery-next:hover {
	opacity: 0.75;
}

.company-gallery-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.company-gallery-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	opacity: 1;
	transition: background 0.25s ease;
	cursor: pointer;
	margin: 0;
}

.company-gallery-pagination .swiper-pagination-bullet-active {
	width: 22px;
	border-radius: 2px;
	background: #f4f1ea;
}


/* CTA sections
----------------------------------------------- */
.company-cta-recruit {
	background: rgba(255, 255, 255, 0.7);
	border-top: 1px solid rgba(35, 51, 68, 0.08);
}

.company-cta-contact {
	background: rgba(255, 255, 255, 0.55);
	border-top: 1px solid rgba(35, 51, 68, 0.08);
}

.company-cta-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 70px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 220px;
	transition: opacity 0.3s ease;
}

.company-cta-link:hover {
	opacity: 0.75;
}

.company-cta-title {
	font-size: var(--page-cta-size);
	font-weight: 400;
	font-style: normal;
	line-height: 1.1;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
}

.company-cta-text {
	font-size: 14px;
	color: rgba(44, 42, 38, 0.55);
	letter-spacing: 0.08em;
}


/* SP
----------------------------------------------- */
@media screen and (max-width: 767px) {
	/* message SP */
	.company-message {
		padding: 50px 16px;
	}

	.company-message-inner {
		flex-direction: column;
		gap: 30px;
	}

	.company-message-photo {
		width: 160px;
		margin: 0 auto;
	}

	.company-message-catchcopy {
		font-size: 16px;
	}

	.company-message-body p {
		font-size: 14px;
	}

	.companykv {
		padding: 0 16px;
	}

	.companykv-inner {
		padding: 60px 0 36px;
	}

	.companykv-title {
		font-size: var(--page-hero-size);
		margin-bottom: 18px;
	}

	.company-overview {
		padding: 0 16px;
	}

	.company-layout {
		display: block;
	}

	.company-body {
		display: block;
	}

	.company-sidebar {
		position: static;
		width: 100%;
		padding: 24px 16px 0;
	}

	.company-sidebar-category,
	.company-sidebar-label {
		display: none;
	}

	.company-sidenav-list {
		flex-direction: row;
		gap: 0;
		border-bottom: 1.5px solid rgba(44, 42, 38, 0.12);
	}

	.company-sidenav-list > li {
		flex: 1;
		justify-content: center;
		padding: 12px 8px;
		border-bottom: 2px solid transparent;
	}

	.company-sidenav-list > li::before {
		display: none;
	}

	.company-sidenav-list > li.is-active {
		border-bottom: 2px solid #2c2a26;
	}

	.company-sidenav-list > li a {
		font-size: 14px;
	}

	.company-overview-content {
		padding: 36px 0 56px 0; /* SP: no left offset */
	}

	.company-section-title {
		font-size: var(--page-section-size);
		margin-bottom: 24px;
	}

	.company-overview-table th,
	.company-overview-table td {
		display: block;
		padding: 0;
		border: none;
		font-size: 14px;
	}

	.company-overview-table tr {
		display: block;
		padding: 16px 0;
		border-top: 1.5px solid rgba(44, 42, 38, 0.1);
	}

	.company-overview-table tbody tr:last-child {
		border-bottom: 1.5px solid rgba(44, 42, 38, 0.1);
	}

	.company-overview-table th {
		width: auto;
		font-size: 12px;
		margin-bottom: 4px;
		white-space: normal;
	}

	.company-overview-links {
		flex-direction: column;
		gap: 12px;
	}

	.company-overview-link {
		padding: 16px 18px;
	}

	/* history SP */
	.company-history {
		padding: 0 16px;
	}

	.company-history::before {
		clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
		-webkit-clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
	}

	.company-history-inner {
		padding: calc(8vw + 50px) 0 calc(8vw + 50px) 0;
	}

	.company-history-timeline {
		padding-left: 22px;
	}

	.company-history-dot {
		width: 11px;
		height: 11px;
		margin-left: -28px;
	}

	.company-history-year {
		font-size: 20px;
	}

	/* gallery SP */
	.company-gallery {
		padding: 0 16px;
	}

	.company-gallery-inner {
		padding: 60px 0 70px 0;
	}

	.company-gallery-slider-list .swiper-slide img,
	.company-gallery-slider-list .swiper-slide-placeholder {
		height: 240px;
	}

	.company-gallery-prev,
	.company-gallery-next {
		width: 36px;
		height: 36px;
		font-size: 22px;
	}

	/* CTA SP */
	.company-cta-link {
		padding: 56px 16px;
		min-height: 170px;
	}

	.company-cta-title {
		font-size: var(--page-cta-size);
	}
}
