/* Manually compiled from sass/pages/_page-company.scss */

.bg {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.staff_img {
	width: 100%;
	height: 210px;
}

a.common_btn {
	width: 300px;
	color: #000 !important;
	text-align: center;
	padding: 15px 0;
	font-size: 18px;
	letter-spacing: 0.14em;
	border-radius: 25px;
	background: transparent;
	border: 3px solid #000;
	display: block;
	margin: 65px auto 0 auto;
	position: relative;
}

a.common_btn::after {
	content: "";
	background-color: #000;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 20px;
}

img.company__img {
	width: 50%;
	margin-right: auto;
	margin-left: auto;
}

/* Updated Philosophy Section Container */
.philosophy-section {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background-image: url(../../images/top/top.jpg);
	background-size: cover;
	background-position: center;
	padding: 100px 0;
	margin-bottom: 80px;
	position: relative;
	z-index: 0;
	background-attachment: fixed;
}

.philosophy-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: -1;
}

.philosophy-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Philosophy Block Base Styles */
.philosophy-block {
	display: flex;
	align-items: center;
	padding-bottom: 80px;
	margin-bottom: 80px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.philosophy-block:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

@media screen and (max-width: 767px) {
	.philosophy-block {
		display: block;
		padding-bottom: 30px;
		margin-bottom: 30px;
	}
}

/* Specific Block Colors - Resetting old bg colors */
.philosophy-block--mission,
.philosophy-block--vision,
.philosophy-block--value {
	background-color: transparent;
	border: none;
}


.philosophy__label {
	width: 40%;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: bold;
	font-size: 50px;
	letter-spacing: 0.05em;
	margin-bottom: 0;
	line-height: 1.2;
}

.philosophy__heading {
	width: 60%;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.6;
	color: #fff;
	/* Brand Blue */
	font-family: "Noto Serif JP", serif;
	text-align: left;
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.philosophy__label {
		width: 100%;
		font-size: 36px;
		margin-bottom: 10px;
	}

	.philosophy__heading {
		width: 100%;
		font-size: 20px;
	}
}

.philosophy__body {
	display: none;
	/* Ensure body text is hidden as per earlier request */
}


/* Preserving existing company styles */
.page-company .company-table {
	width: 60% !important;
}

.page-company .company-table__row :nth-of-type(1) {
	width: 20% !important;
}

.page-company .company-table__row :nth-of-type(2) {
	width: 70% !important;
}

@media screen and (max-width: 767px) {
	.page-company .company-table {
		width: 100% !important;
		margin-bottom: 24px;
	}

	.page-company .company-table__row {
		display: block !important;
		margin-bottom: 20px;
		border-bottom: 1px solid #eee;
		/* Optional visual separation since they are stacking */
		padding-bottom: 20px;
		/* Spacing inside the block */
	}

	.page-company .company-table__row:last-child {
		border-bottom: none;
		margin-bottom: 0;
	}

	.page-company .company-table__row :nth-of-type(1),
	.page-company .company-table__row :nth-of-type(2) {
		width: 100% !important;
		margin-bottom: 5px;
		/* Small gap between label and value */
	}
}

.page-company .company-map {
	width: 35% !important;
}

@media screen and (max-width: 767px) {
	.page-company .company-map {
		width: 100% !important;
	}
}

/* Staff Section Styles */
.staff__content {
	width: 30%;
	margin-bottom: 24px;
}

@media screen and (max-width: 767px) {
	.staff__content {
		width: 100%;
	}
}

.staff__content img {
	width: 100%;
	height: auto;
}