/* ==========================================================
   ABOUT US
   ========================================================== */

/* ---------- Mission ---------- */
.p-mission {
	display: flex;
	flex-direction: column;
	gap: 5.6rem;
	max-width: 144rem;
	margin-inline: auto;
	padding: 12rem 6.4rem;
	background: var(--c-white);
}

.p-mission__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.p-mission__label-en {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	font-family: var(--f-cond);
	font-size: min(1.8rem, 19.8px);
	font-weight: 600;
	letter-spacing: 0.0556em;
	line-height: 1.2;
	color: var(--c-blue);
}

.p-mission__label-en i {
	width: 0.8rem;
	height: 0.8rem;
	background: var(--c-blue);
}

.p-mission__label-ja {
	font-size: var(--fs-12);
	font-weight: 500;
	color: #141414;
}

.p-mission__statement {
	display: flex;
	gap: 7.2rem;
	align-items: flex-start;
}

.p-mission__en {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: 3.4rem;
	width: 60rem;
}

.p-mission__display {
	font-family: var(--f-en);
	font-weight: 800;
	font-size: min(7.2rem, 79.2px);
	line-height: 1;
	letter-spacing: -0.04em;
}

.p-mission__display-solid {
	display: block;
	color: var(--c-blue);
}

.p-mission__display-outline {
	display: block;
	line-height: 1.05;
	color: transparent;
	-webkit-text-stroke: 1px var(--c-blue);
}

.p-mission__bar {
	display: block;
	width: 8rem;
	height: 1.6rem;
	background: var(--c-lime);
}

.p-mission__sub {
	font-family: var(--f-cond);
	font-size: min(1.8rem, 19.8px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.2;
	color: var(--c-blue);
}

.p-mission__narrative {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3.2rem;
	min-width: 0;
}

.p-mission__title {
	font-size: min(4rem, 44px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -0.04em;
	color: #141414;
}

.p-mission__body {
	display: flex;
	flex-direction: column;
	gap: 2.3rem;
	font-size: min(1.6rem, 16px);
	line-height: 2;
	color: #4a5261;
}

.p-mission__closing {
	display: flex;
	justify-content: space-between;
	padding-top: 2.4rem;
	border-top: 1px solid #d7ddeb;
	font-size: var(--fs-12);
	line-height: 1.2;
	color: #141414;
}

.p-mission__closing p:first-child {
	font-family: var(--f-en);
	font-weight: 700;
}

.p-mission__closing p:last-child {
	font-weight: 500;
}

/* ---------- Mission banner ---------- */
.p-mbanner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10.8rem;
	padding-bottom: 12rem;
	background: #141414;
	color: #f5f5ed;
	overflow: clip;
}

.p-mbanner::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 70rem;
	height: 4.6rem;
	background: var(--c-lime);
}

/* Figma: 表示エリア230px。文字枠(高さ366)は下端が表示エリアの下 32.63px にあり、字の上下が表示エリアからはみ出す。
   はみ出し分を切らず（下の本文との間には約80pxの余白がある）、字の全体が見えるようにする */
.p-mbanner__display {
	position: relative;
	height: 23rem;
}

.p-mbanner__display span {
	position: absolute;
	left: -1.727rem;
	/* Figma の中心 97.01（=200.42-103.41）だと字の上端が10pxほどセクション上端で切れるため、+20px 下げて全体を見せる。
	   実測した字の範囲: 約 10〜259px（本文の開始は 338px） */
	top: 11.701rem;
	display: flex;
	align-items: center;
	width: 121.4115rem;
	height: 31.2397rem;
	transform: translateY(-50%) scaleY(0.83);
	font-family: var(--f-cond);
	font-weight: 800;
	font-size: 42rem;
	line-height: 0.9;
	letter-spacing: -0.01em;
	color: var(--c-lime);
	white-space: nowrap;
}

.p-mbanner__content {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 144rem;
	margin-inline: auto;
	width: 100%;
	padding-inline: 6.4rem;
}

.p-mbanner__label {
	font-family: var(--f-cond);
	font-size: min(2.4rem, 26.4px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1;
	color: var(--c-lime);
}

.p-mbanner__title {
	margin: 1.6rem 0 4rem;
	font-size: min(7.2rem, 79.2px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: -0.05em;
	white-space: nowrap;
}

.p-mbanner__text {
	font-size: min(2rem, 20px);
	font-weight: 500;
	line-height: 1.7;
}

/* ---------- Support flow ---------- */
.p-flow {
	display: flex;
	flex-direction: column;
	gap: 6.1rem;
	padding: 12rem 6.4rem;
	background: var(--c-lime);
	color: #111;
}

.p-flow__intro {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
}

.p-flow__label {
	font-family: var(--f-cond);
	font-size: min(2.4rem, 26.4px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1;
}

.p-flow__title {
	margin-top: -0.6rem;
	font-size: min(6.4rem, 70.4px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.05em;
	white-space: nowrap;
}

.p-flow__text {
	font-size: min(1.8rem, 19.8px);
	font-weight: 500;
	line-height: 1.7;
}

.p-flow__steps {
	display: grid;
	grid-template-columns: repeat(4, 30.6rem);
	gap: 4rem;
}

.p-flow__step {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
	color: #141414;
}

.p-flow__rule {
	display: block;
	height: 2px;
	background: #141414;
}

.p-flow__num {
	font-family: var(--f-cond);
	font-size: min(3.2rem, 35.2px);
	font-weight: 600;
	line-height: 1;
}

.p-flow__icon {
	position: relative;
	display: block;
	width: 10rem;
	height: 10rem;
	overflow: clip;
}

.p-flow__icon img {
	position: absolute;
	max-width: none;
	width: 100%;
	height: 100%;
}

/* 位置・大きさは 100x100 の枠に対する割合で指定する（width/height:auto だと SVG の固有サイズ=CSSピクセルのまま
   になり、rem で拡縮しないため、枠より大きくなって欠ける）。Figma の配置値: listen=91.33x79.17、create=100x66.67 */
.p-flow__icon--listen img { left: 4.17%; top: 8.33%; width: 91.33%; height: 79.17%; }
.p-flow__icon--create img { left: 0; top: 16.67%; width: 100%; height: 66.67%; }

.p-flow__name {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
}

.p-flow__en {
	font-family: var(--f-cond);
	font-size: min(4rem, 44px);
	font-weight: 600;
	line-height: 1.2;
}

.p-flow__ja {
	font-size: min(2rem, 20px);
	font-weight: 700;
	line-height: 1.4;
}

.p-flow__desc {
	font-size: var(--fs-14);
	line-height: 2;
}

/* ---------- Company ---------- */
.p-company {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4.8rem;
	padding: 14.4rem 6.4rem 12rem;
	background: var(--c-bg);
}

.p-company::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 70rem;
	height: 4.6rem;
	background: var(--c-lime);
}

.p-company__content {
	display: flex;
	gap: 7.2rem;
	align-items: flex-start;
}

.p-company__intro {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: 3.2rem;
	width: 36rem;
}

.p-company__display {
	font-family: var(--f-en);
	font-weight: 800;
	font-size: min(6.4rem, 70.4px);
	line-height: 1;
	letter-spacing: -0.05em;
	color: #141414;
}

.p-company__display span {
	color: var(--c-blue);
}

.p-company__slogan {
	font-size: min(2rem, 20px);
	font-weight: 700;
	line-height: 1.8;
	color: #141414;
}

.p-company__info {
	flex: 1;
	min-width: 0;
	border-bottom: 1px solid #d7ddeb;
}

.p-company__row {
	display: flex;
	gap: 2.4rem;
	padding-block: 2.6rem;
	border-top: 1px solid #d7ddeb;
	line-height: 2;
	color: #141414;
}

.p-company__row dt {
	flex: none;
	width: 14.4rem;
	font-size: var(--fs-14);
	font-weight: 700;
}

.p-company__row dd {
	flex: 1;
	min-width: 0;
	font-size: min(1.6rem, 16px);
}

.p-company__map {
	padding-top: 2.4rem;
}

.p-company__map iframe {
	display: block;
	width: 100%;
	height: 36rem;
	border: 1px solid #d6d6d6;
	background: #f5f5f5;
}

/* ==========================================================
   SP
   ========================================================== */
@media (max-width: 1023px) {
	.p-mission {
		gap: 3.2rem;
		max-width: 60rem;
		padding: 4.8rem 2rem;
	}

	.p-mission__label-en { font-size: min(1.8rem, 19.8px); }
	.p-mission__label-ja { font-size: min(1.4rem, 14px); }

	.p-mission__statement {
		flex-direction: column;
		gap: 3.2rem;
		align-items: stretch;
	}

	.p-mission__en {
		width: auto;
		gap: 2.4rem;
	}

	.p-mission__display { font-size: min(4.8rem, 52.8px); }

	.p-mission__sub { font-size: min(1.8rem, 19.8px); }

	.p-mission__title {
		font-size: min(3.2rem, 35.2px);
		line-height: 1.5;
	}

	.p-mission__body {
		gap: 2.4rem;
		font-size: min(1.4rem, 14px);
		line-height: 2;
	}

	.p-mission__closing {
		padding-top: 2rem;
		align-items: center;
	}

	.p-mission__closing p { font-size: min(1.4rem, 14px); }

	.p-mbanner {
		gap: 3.2rem;
		padding-bottom: 7.2rem;
	}

	.p-mbanner::after {
		width: 19.5rem;
		height: 3.2rem;
	}

	.p-mbanner__display {
		height: 12rem;
		overflow: clip;
	}

	.p-mbanner__display span {
		left: 0;
		top: 4.65rem;
		width: 39rem;
		height: auto;
		display: block;
		transform: translateY(-50%);
		font-size: 13.2rem;
		line-height: 1;
	}

	.p-mbanner__content {
		max-width: 60rem;
		padding-inline: 2rem;
	}

	.p-mbanner__label { font-size: min(1.9rem, 20.9px); }

	.p-mbanner__title {
		margin: 1.6rem 0 3.2rem;
		font-size: min(3.2rem, 35.2px);
		white-space: normal;
	}

	.p-mbanner__text {
		font-size: min(1.4rem, 14px);
		line-height: 2;
	}

	.p-flow {
		gap: 3rem;
		padding: 4.8rem 2rem;
	}

	.p-flow__label { font-size: min(1.8rem, 19.8px); }

	.p-flow__title {
		font-size: min(4rem, 44px);
		white-space: normal;
	}

	.p-flow__text {
		font-size: min(1.4rem, 14px);
	}

	.p-flow__steps {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.p-flow__step {
		gap: 0.8rem;
		padding-bottom: 2.2rem;
	}

	.p-flow__step:last-child {
		padding-bottom: 0;
	}

	.p-flow__num {
		padding-top: 0.1rem;
		font-size: min(2.4rem, 26.4px);
	}

	.p-flow__icon {
		width: 6.4rem;
		height: 6.4rem;
	}

	.p-flow__name {
		flex-direction: row;
		align-items: baseline;
		gap: 1.6rem;
	}

	.p-flow__en { font-size: min(3.2rem, 35.2px); }
	.p-flow__ja { font-size: min(1.6rem, 16px); }

	.p-company {
		gap: 2.4rem;
		padding: 7.2rem 2rem 7.2rem;
	}

	.p-company::before {
		width: 19.5rem;
		height: 3.2rem;
	}

	.p-company__content {
		flex-direction: column;
		gap: 3.2rem;
		align-items: stretch;
	}

	.p-company__intro {
		width: auto;
		gap: 3.2rem;
	}

	.p-company__display { font-size: min(4.8rem, 52.8px); } /* Figma SP: 48px */
	.p-company .p-mission__label-en { font-size: min(1.6rem, 16px); } /* Figma SP: 16px（OUR MISSION は 18px） */
	.p-company__slogan { font-size: min(2rem, 20px); }

	.p-company__row {
		flex-direction: column;
		gap: 0.8rem;
		padding-block: 2.4rem;
	}

	.p-company__row dt { width: auto; }
	.p-company__row dd { font-size: min(1.4rem, 14px); }

	.p-company__info { border-bottom: 0; }

	.p-company__map iframe { height: 35rem; }
}

/* ---------- 下層ページ共通: intro / pager ---------- */
/* intro (下層ページ共通) */
.p-pintro {
	max-width: 144rem;
	margin-inline: auto;
	padding: 6.4rem 6.4rem 2.4rem;
	background: var(--c-white);
}

.p-pintro__body {
	font-size: min(1.6rem, 16px);
	line-height: 2;
	color: #4a5261;
}

.p-pintro__para {
	display: block;
}

/* pager */
.p-pager {
	margin-top: 4rem;
}

.p-pager ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
}

.p-pager a,
.p-pager span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.8rem;
	height: 4.8rem;
	font-family: var(--f-cond);
	font-size: min(1.8rem, 19.8px);
	font-weight: 600;
	color: var(--c-blue);
	transition: background 0.3s;
}

.p-pager a:hover {
	background: var(--c-bg);
}

.p-pager .current {
	background: var(--c-blue);
	color: var(--c-white);
}

.p-pager .dots {
	color: #4a5261;
}

.p-pager .c-icon {
	width: 2.4rem;
	height: 2.4rem;
}


@media (max-width: 1023px) {
	.p-pintro {
		max-width: 60rem;
		padding: 4rem 2rem 2.4rem;
	}

	.p-pintro__body { font-size: min(1.6rem, 16px); }
	.p-pintro--sm .p-pintro__body { font-size: min(1.4rem, 14px); }

	.p-pager { margin-top: 2.4rem; }
}
