/* =====================================
   Lower Page: company
   ===================================== */

/* Company Hero Section */





/* Company Philosophy Section */
.cmp-philosophy {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.cmp-philosophy__inner {
	max-width: var(--lower-content-width, 1000px);
	margin: 0 auto;
	padding: 0 clamp(1rem, 2.4vw, 2rem);
	/* display: flex; */
	align-items: center;
	position: relative;
}

.cmp-philosophy__content {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cmp-philosophy__title {
	margin: 0;
	position: relative;
	padding-left: clamp(1rem, 2vw, 1.5rem);
}

.cmp-philosophy__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0.5vw;
	height: calc(100% + clamp(2.5rem, 1vw, 4.75rem));
	background: var(--color-base-orange);
}

.cmp-philosophy__title-ja {
	display: block;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b1a;
	margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.cmp-philosophy__title-en {
	display: block;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1.125rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-base-orange);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	position: relative;
	padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.cmp-philosophy__title-en::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(clamp(1rem, 2vw, 1.5rem) * -1);
	width: 100%;
	height: 1px;
	background: var(--color-base-orange);
}

.cmp-philosophy__text {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.5rem);
	padding-left: clamp(1.5rem, 2vw, 2rem);
}

.cmp-philosophy__statement {
	margin: 0;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1.55rem, 2.9vw, 2.2rem);
	font-weight: 700;
	line-height: 1.6;
	color: #1f1b1a;
	z-index: 2;
}

.cmp-philosophy__description {
	margin: 0;
	font-family: var(--lower-font-noto);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 400;
	line-height: 1.7;
	color: #666;
}

.cmp-philosophy__media {
	padding-top: clamp(2rem, 4vw, 3rem);
	height: clamp(12rem, 24vw, 20rem);
	width: 80%;
	margin: 0 auto;
}

.cmp-philosophy__placeholder {
	width: 100%;
	height: 100%;
	background: #d0d0d0;
	border-radius: clamp(0.5rem, 1vw, 0.75rem);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.cmp-philosophy__placeholder::after {
	content: '理念を確認させて\Aitadaいた後に\Aイメージ検討します';
	white-space: pre-line;
	text-align: center;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1rem);
	font-weight: 400;
	line-height: 1.6;
	color: #666;
}

/* Background decoration */
.cmp-main {
	position: relative;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}


/* Responsive */
.cmp-philosophy__media {
	position: absolute;
	top: 50%;
	right: clamp(1rem, 2.4vw, 2rem);
	transform: initial;
	width: clamp(20rem, 40vw, 30rem);
	height: clamp(12rem, 24vw, 20rem);
	padding-top: 0;
	margin: 0;
}

.cmp-greetings__media {
	align-self: flex-end;
	width: clamp(15rem, 25vw, 20rem);
	padding-top: 0;
	margin: 0 auto;
	margin-top: clamp(0.5rem, 1vw, 0.75rem);
}

.cmp-greetings__placeholder {
	width: 100%;
	height: auto;
}

.cmp-history__media {
	position: absolute;
	top: 50%;
	right: clamp(1rem, 2.4vw, 2rem);
	transform: initial;
	width: clamp(12rem, 18vw, 15rem);
	height: clamp(12rem, 18vw, 15rem);
	margin: 0;
}

@media (max-width: 1024px) {
	.cmp-philosophy__media {
		position: static;
		padding-top: clamp(2rem, 4vw, 3rem);
		height: clamp(12rem, 24vw, 20rem);
		width: 80%;
		margin: 0 auto;
	}

	.cmp-greetings__media {
		padding-top: clamp(2rem, 4vw, 3rem);
		width: 80%;
		margin: 0;
		align-self: center;
	}

	.cmp-history__media {
		position: static;
		width: 80%;
		margin: clamp(1rem, 2vw, 1.5rem) auto 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.cmp-history__placeholder {
		position: static;
		width: 100%;
		height: 100%;
	}

	.cmp-greetings__placeholder {
		position: static;
		width: 100%;
		height: auto;
	}
}

@media (max-width: 768px) {


	.cmp-philosophy {
		padding: clamp(2rem, 4vw, 3rem) 0;
	}

	.cmp-philosophy__inner {
		gap: clamp(1.5rem, 3vw, 2rem);
	}

	.cmp-philosophy__content {
		gap: clamp(1rem, 2vw, 1.5rem);
	}

	.cmp-philosophy__media {
		min-height: clamp(8rem, 16vw, 12rem);
	}

	.cmp-philosophy__placeholder {
		height: clamp(8rem, 16vw, 12rem);
	}
}

/* Company Greetings Section */
.cmp-greetings {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.cmp-greetings__inner {
	max-width: var(--lower-content-width, 1000px);
	margin: 0 auto;
	padding: 0 clamp(1rem, 2.4vw, 2rem);
	position: relative;
}

.cmp-greetings__content {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	width: 100%;
}

.cmp-greetings__title {
	margin: 0;
	position: relative;
	padding-left: clamp(1rem, 2vw, 1.5rem);
}

.cmp-greetings__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0.5vw;
	height: calc(100% + clamp(2.5rem, 1vw, 4.75rem));
	background: var(--color-base-orange);
}

.cmp-greetings__title-ja {
	display: block;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b1a;
	margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.cmp-greetings__title-en {
	display: block;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1.125rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-base-orange);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	position: relative;
	padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.cmp-greetings__title-en::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(clamp(1rem, 2vw, 1.5rem) * -1);
	width: 100%;
	height: 1px;
	background: var(--color-base-orange);
}

.cmp-greetings__text {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

.cmp-greetings__message {
	z-index: 2;
	margin: 0 0 clamp(0.8rem, 1.6vw, 1.2rem);
	font-family: var(--lower-font-noto);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 400;
	line-height: 1.7;
	color: #1f1b1a;
}

.cmp-greetings__highlight {
	display: inline;
	padding-inline: 0.12em;
	font-weight: 600;
	background: linear-gradient(transparent 56%, rgba(242, 179, 40, 0.45) 56%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.cmp-greetings__signature {
	margin: 0;
	font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
	font-size: clamp(1rem, 1.7vw, 1.15rem);
	font-weight: 500;
	line-height: 1.5;
	text-align: right;
	color: #1f1b1a;
}

.cmp-greetings__placeholder {
	width: 100%;
	height: auto;
	background: transparent;
	border-radius: clamp(0.5rem, 1vw, 0.75rem);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.cmp-greetings__placeholder img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.cmp-greetings__placeholder::after {
	content: none;
	text-align: center;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1rem);
	font-weight: 400;
	line-height: 1.6;
	color: #666;
}

/* Company Profile Section */
.cmp-profile {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.cmp-profile__inner {
	max-width: var(--lower-content-width, 1000px);
	margin: 0 auto;
	padding: 0 clamp(1rem, 2.4vw, 2rem);
}

.cmp-profile__content {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cmp-profile__title {
	margin: 0;
	position: relative;
	padding-left: clamp(1rem, 2vw, 1.5rem);
}

.cmp-profile__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0.5vw;
	height: calc(100% + clamp(2.5rem, 1vw, 4.75rem));
	background: var(--color-base-orange);
}

.cmp-profile__title-ja {
	display: block;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b1a;
	margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.cmp-profile__title-en {
	display: block;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1.125rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-base-orange);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	position: relative;
	padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.cmp-profile__title-en::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(clamp(1rem, 2vw, 1.5rem) * -1);
	width: 100%;
	height: 1px;
	background: var(--color-base-orange);
}

.cmp-profile__table {
	padding-left: clamp(1.5rem, 2vw, 2rem);
}

.cmp-profile__list {
	margin: 0;
	display: grid;
	grid-template-columns: clamp(6rem, 12vw, 8rem) 3px 1fr;
	gap: clamp(0.75rem, 1.5vw, 1.25rem) 0;
	align-items: start;
	position: relative;
}

.cmp-profile__list::before {
	content: '';
	position: absolute;
	left: clamp(4.5rem, 6vw, 6rem);
	top: 0;
	bottom: 0;
	width: 3px;
	background: #000;
	margin-left: clamp(0.75rem, 1.5vw, 1.25rem);
}

.cmp-profile__term {
	margin: 0;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 700;
	line-height: 1.4;
	color: #1f1b1a;
	padding: clamp(0.25rem, 0.5vw, 0.375rem) 0;
}

.cmp-profile__detail {
	margin: 0;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.9rem, 1.7vw, 1.1rem);
	font-weight: 400;
	line-height: 1.7;
	color: #1f1b1a;
	padding: clamp(0.25rem, 0.5vw, 0.375rem) 0;
	grid-column: 3;
	margin-left: clamp(1.5rem, 3vw, 2.5rem);
}

/* Company History Section */
.cmp-history {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.cmp-history__inner {
	max-width: var(--lower-content-width, 1000px);
	margin: 0 auto;
	padding: 0 clamp(1rem, 2.4vw, 2rem);
}

.cmp-history__content {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cmp-history__title {
	margin: 0;
	position: relative;
	padding-left: clamp(1rem, 2vw, 1.5rem);
}

.cmp-history__title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0.5vw;
	height: calc(100% + clamp(2.5rem, 1vw, 4.75rem));
	background: var(--color-base-orange);
}

.cmp-history__title-ja {
	display: block;
	font-family: var(--lower-font-corporate-bold);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b1a;
	margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.cmp-history__title-en {
	display: block;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.875rem, 1.6vw, 1.125rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-base-orange);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	position: relative;
	padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.cmp-history__title-en::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(clamp(1rem, 2vw, 1.5rem) * -1);
	width: 100%;
	height: 1px;
	background: var(--color-base-orange);
}

.cmp-history__timeline {
	padding-left: clamp(1.5rem, 2vw, 2rem);
	position: relative;
}

.cmp-history__timeline::before {
	content: '';
	position: absolute;
	left: calc(clamp(1.5rem, 3vw, 2rem) - 2px);
	top: 0;
	bottom: 0;
	width: 1px;
	border-left: 1px dotted #000;
	background: transparent;
}

.cmp-history__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(0.5rem, 1vw, 0.75rem);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cmp-history__item:last-child {
	margin-bottom: 0;
}

.cmp-history__year {
	position: relative;
	font-family: 'Oswald', var(--lower-font-corporate-bold);
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b1a;
	padding: clamp(0.25rem, 0.5vw, 0.375rem) 0;
	margin-left: clamp(1.5rem, 3vw, 2rem);
}

.cmp-history__year::before {
	content: '';
	position: absolute;
	left: calc(clamp(1.5rem, 3vw, 2rem) * -1 - 10px);
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: #fff;
	border: 2px solid #000;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #fff;
}

.cmp-history__events {
	display: flex;
	flex-direction: column;
	gap: clamp(0.5rem, 1vw, 0.75rem);
	margin-left: clamp(1.5rem, 3vw, 2rem);
}

.cmp-history__event {
	margin: 0;
	font-family: var(--lower-font-noto);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 400;
	line-height: 1.7;
	color: #1f1b1a;
}

.cmp-history__media {
	width: 80%;
	margin: clamp(1rem, 2vw, 1.5rem) auto 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.cmp-history__placeholder {
	width: 16rem;
	height: 100%;
	background: #d0d0d0;
	border-radius: clamp(0.5rem, 1vw, 0.75rem);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--lower-font-noto);
	font-size: clamp(0.75rem, 1.4vw, 0.875rem);
	font-weight: 400;
	line-height: 1.4;
	color: #666;
}
