/* About: full-bleed hero under fixed header */
.honima-about-page #container {
	padding-top: 0 !important;
}

.honima-about-page #gHeader .hBox {
	background-color: transparent;
	transition: background-color 0.25s ease;
}

.honima-about-page #gHeader.min .hBox {
	background-color: #fff;
}

.honima-about-page #main {
	padding-top: 0;
	background: #fff;
}

.honima-about-page #main .content {
	width: 1100px;
	max-width: calc(100% - 48px);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hab-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	margin: 0 0 18px;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	color: #222;
}

.hab-eyebrow--accent {
	color: #d03720;
}

.hab-eyebrow__en {
	letter-spacing: 0.14em;
}

.hab-eyebrow__dot {
	opacity: 0.85;
}

.hab-heading {
	margin: 0 0 36px;
	font-family: "Noto Serif JP", serif;
	font-weight: 900;
	font-size: clamp(2.4rem, 3.6vw, 3.6rem);
	letter-spacing: 0.06em;
	line-height: 1.5;
	color: #111;
}

.hab-sec {
	padding: 96px 0;
	background: #fff;
}

/* ---- hero ---- */
.hab-hero {
	position: relative;
	min-height: min(100vh, 920px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #111;
}

.hab-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hab-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.hab-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 34%, rgba(255, 255, 255, 0.12) 58%, transparent 78%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 22%);
	pointer-events: none;
}

.hab-hero__inner {
	position: relative;
	z-index: 2;
	padding: 150px 0 110px;
	display: block;
	max-width: 560px;
	margin-left: max(24px, calc(50% - 550px));
	margin-right: auto;
}

.hab-hero__title {
	margin: 0 0 22px;
	font-family: "Noto Serif JP", serif;
	font-weight: 900;
	font-size: clamp(3.2rem, 5vw, 5rem);
	letter-spacing: 0.06em;
	line-height: 1.35;
	color: #111;
}

.hab-hero__lead {
	margin: 0;
	font-size: 1.5rem;
	line-height: 2;
	letter-spacing: 0.04em;
	color: #222;
}

.hab-hero__hand,
.hab-cta__hand,
.hab-company__visual img {
	margin: 0;
	line-height: 0;
}

.hab-hero__hand {
	position: absolute;
	top: clamp(100px, 14vh, 160px);
	right: max(24px, calc((100% - 1100px) / 2));
	z-index: 3;
	width: min(38vw, 440px);
	filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.35));
	pointer-events: none;
}

.hab-cta__hand {
	justify-self: end;
	align-self: center;
	width: min(100%, 520px);
	margin-top: 24px;
	filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.35));
}

.hab-hero__hand img,
.hab-cta__hand img,
.hab-company__visual img,
.hab-message__visual img {
	display: block;
	width: 100%;
	height: auto;
}

.hab-hero__scroll {
	position: absolute;
	left: max(24px, calc(50% - 550px));
	bottom: 36px;
	z-index: 2;
	margin: 0;
	writing-mode: vertical-rl;
	font-size: 1.1rem;
	letter-spacing: 0.2em;
	color: #444;
}

.hab-hero__scroll span {
	position: relative;
	padding-bottom: 48px;
}

.hab-hero__scroll span::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 1px;
	height: 36px;
	background: #d03720;
	transform: translateX(-50%);
}

/* ---- message ---- */
.hab-message {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 40px 48px;
	align-items: start;
}

.hab-message__copy .hab-heading {
	margin-bottom: 24px;
}

.hab-message__copy p {
	margin: 0 0 18px;
	font-size: 1.35rem;
	line-height: 1.95;
	letter-spacing: 0.03em;
	color: #222;
}

.hab-message__copy p.hab-eyebrow {
	margin-bottom: 18px;
	font-size: 1.25rem;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.hab-message__copy > p:last-child {
	margin-bottom: 0;
}

.hab-message__visual {
	position: relative;
	min-height: 280px;
}

/* ---- values ---- */
.hab-values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.hab-values li {
	position: relative;
	padding: 28px 22px 26px;
	background: #fff;
	border: 1px solid #e8e0de;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 8px 24px rgba(80, 40, 30, 0.04);
}

.hab-values__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: rgba(208, 55, 32, 0.1);
	color: #d03720;
	font-size: 1.3rem;
	font-weight: 700;
}

.hab-values img {
	display: block;
	width: auto;
	height: 148px;
	margin: 6px auto 14px;
	object-fit: contain;
}

.hab-values h3 {
	margin: 0 0 12px;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #111;
}

.hab-values p {
	margin: 0;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.8;
	letter-spacing: 0.02em;
	color: #333;
}

/* ---- company ---- */
.hab-company {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 36px 40px;
	align-items: center;
}

.hab-table {
	width: 100%;
	border-collapse: collapse;
}

.hab-table th,
.hab-table td {
	padding: 18px 12px;
	border-top: 1px solid #e8e0de;
	border-bottom: 1px solid #e8e0de;
	vertical-align: top;
	font-size: 1.3rem;
	line-height: 1.7;
	letter-spacing: 0.03em;
	color: #222;
}

.hab-table th {
	width: 6.5em;
	padding-right: 18px;
	font-weight: 700;
	white-space: nowrap;
	border-right: 1px solid #eee;
	color: #111;
}

.hab-table a {
	color: #d03720;
	text-decoration: underline;
}

.hab-company__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hab-company__visual img {
	position: static;
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
}

/* ---- cta ---- */
.hab-cta {
	position: relative;
	min-height: 440px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hab-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hab-cta__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hab-cta__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.58) 46%, rgba(255, 255, 255, 0.18) 100%);
	pointer-events: none;
}

.hab-cta__inner {
	position: relative;
	z-index: 2;
	padding: 80px 0;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 24px;
	align-items: center;
}

.hab-cta__title {
	margin: 0 0 16px;
	font-family: "Noto Serif JP", serif;
	font-weight: 900;
	font-size: clamp(2.6rem, 4vw, 4rem);
	letter-spacing: 0.06em;
	line-height: 1.4;
	color: #111;
}

.hab-cta__lead {
	margin: 0 0 28px;
	font-size: 1.4rem;
	line-height: 1.9;
	letter-spacing: 0.04em;
	color: #222;
}

.hab-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 300px;
	padding: 18px 36px;
	box-sizing: border-box;
	background: #ffdc00;
	border-radius: 999px;
	color: #111;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hab-cta__btn:hover {
	background: #d03720;
	color: #fff;
}

.hab-cta__hand {
	justify-self: end;
	width: min(100%, 480px);
	margin-top: 0;
}

@media all and (max-width: 1099px) {
	.hab-message,
	.hab-company,
	.hab-cta__inner {
		grid-template-columns: 1fr;
	}

	.hab-hero__inner {
		max-width: calc(100% - 48px);
		margin-left: 24px;
		margin-right: 24px;
		padding-right: 0;
	}

	.hab-hero__hand {
		top: 96px;
		right: 16px;
		width: min(46vw, 280px);
	}

	.hab-cta__hand {
		justify-self: start;
		margin-top: 8px;
		width: min(100%, 420px);
	}

	.hab-values {
		grid-template-columns: 1fr;
	}

	.hab-company__visual img {
		margin: 0 auto;
		width: min(100%, 480px);
	}
}

@media all and (max-width: 767px) {
	.honima-about-page #main .content {
		max-width: calc(100% - 40px);
	}

	.hab-hero {
		min-height: 78vh;
	}

	.hab-hero__inner {
		padding: 120px 0 80px;
	}

	.hab-hero__title {
		font-size: 2.8rem;
	}

	.hab-hero__scroll {
		display: none;
	}

	.hab-sec,
	.hab-cta__inner {
		padding: 56px 0;
	}

	.hab-table th,
	.hab-table td {
		display: block;
		width: 100%;
		border-right: 0;
		padding: 10px 4px;
	}

	.hab-table th {
		padding-bottom: 0;
		border-bottom: 0;
		color: #d03720;
		font-size: 1.15rem;
	}

	.hab-table tr + tr th {
		padding-top: 18px;
	}

	.hab-cta__btn {
		width: 100%;
		min-width: 0;
		justify-content: center;
	}
}
