/* ==========================================================
   Components — header / drawer / footer / CTA / page title
   PC: 1rem = 10px(1440基準) / SP: 1rem = 10px(390基準)
   ========================================================== */
:root {
	--fs-10: max(min(1rem, 10px), 10px);
	--fs-11: max(min(1.1rem, 11px), 10px);
	--fs-12: max(min(1.2rem, 12px), 10px);
	--fs-14: max(min(1.4rem, 14px), 10px);
	--ease: cubic-bezier(0.77, 0, 0.18, 1);
}

.c-icon {
	display: block;
	flex: none;
	max-width: none;
}

.p-outline {
	color: transparent;
	-webkit-text-stroke: 1px #fff;
}

/* ---------- Header ---------- */
/* ヘッダーだけは、画面が広くなっても大きくなりすぎないよう、1rem の上限を 11px にする（高さは PC 約96px・SP 約70px まで。1440px 以下は従来どおり） */
:root {
	--hu: min(1rem, 11px);
}

.p-header {
	position: sticky;
	top: 0;
	z-index: 110;
	background: var(--c-blue);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1920px;
	margin-inline: auto;
	padding: calc(2.4 * var(--hu)) calc(3.6 * var(--hu));
}

.p-header__logo {
	display: block;
	width: calc(22.6 * var(--hu));
}

.p-header__logo img {
	width: 100%;
	height: auto;
}

.p-header__nav {
	display: flex;
	align-items: center;
	gap: calc(2.4 * var(--hu));
}

.p-header__list {
	display: flex;
	align-items: center;
	gap: calc(2.4 * var(--hu));
}

.p-header__list a {
	display: block;
	padding: calc(1.1 * var(--hu)) 0 calc(1 * var(--hu));
	font-size: max(min(calc(1.2 * var(--hu)), 12px), 10px);
	font-weight: 500;
	line-height: 1.2;
	color: var(--c-white);
	white-space: nowrap;
	transition: opacity 0.3s;
}

.p-header__list a:hover,
.p-header__list a[aria-current="page"] {
	opacity: 0.7;
}

.p-header__contact {
	display: flex;
	align-items: center;
	gap: calc(0.6 * var(--hu));
	padding: calc(1.2 * var(--hu)) calc(2.2 * var(--hu)) calc(1.2 * var(--hu)) calc(2.4 * var(--hu));
	background: var(--c-white);
	color: var(--c-blue);
	font-size: max(min(calc(1.2 * var(--hu)), 12px), 10px);
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.3s, color 0.3s;
}

.p-header__contact .c-icon {
	width: calc(1.4 * var(--hu));
	height: calc(1.4 * var(--hu));
}

.p-header__contact:hover {
	background: var(--c-lime);
}

.p-header__toggle {
	display: none;
}

/* ---------- Drawer (SP) ---------- */
.p-drawer {
	display: none;
}

/* ---------- Page title ---------- */
.p-pagetitle {
	background: var(--c-blue);
	color: var(--c-white);
	overflow: clip;
}

.p-pagetitle__inner {
	max-width: 1920px;
	margin-inline: auto;
	padding: 3.2rem 6.4rem 4rem;
}

.p-pagetitle__crumb {
	display: flex;
	align-items: baseline; /* 英字（HOME）と日本語（現在地）で字体が違っても、文字の下端をそろえる */
	gap: 1.4rem;
	font-family: var(--f-en);
	font-size: var(--fs-11);
	line-height: 1.2;
}

.p-pagetitle__crumb span[aria-hidden] {
	color: rgba(255, 255, 255, 0.5);
}

.p-pagetitle__crumb span:last-child {
	font-family: var(--f-jp);
}

/* 記事タイトルのように長い現在地は折り返す（HOME / NEWS は縮めない） */
.p-pagetitle__crumb a,
.p-pagetitle__crumb span[aria-hidden] {
	flex: none;
}

.p-pagetitle__crumb span[aria-current] {
	min-width: 0;
}

.p-pagetitle__title {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2.4rem;
	padding-top: 4rem;
}

.p-pagetitle__en {
	font-family: var(--f-en);
	font-weight: 800;
	font-stretch: 110%;
	font-size: 12rem;
	line-height: 1;
	letter-spacing: -0.48rem;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px #fff;
}

.p-pagetitle__ja {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	font-size: min(2.5rem, 27.5px);
	font-weight: 700;
	line-height: 1.2;
}

.p-pagetitle__ja i {
	width: 4rem;
	height: 0.8rem;
	background: var(--c-lime);
}

/* ---------- CTA ---------- */
.p-cta {
	background: var(--c-blue);
	color: var(--c-white);
	overflow: clip;
}

.p-cta__link {
	display: block;
	max-width: 1920px;
	margin-inline: auto;
	padding: 6.4rem 7.2rem;
}

.p-cta__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-top: 3.7rem;
}

.p-cta__lead {
	font-size: min(6.4rem, 70.4px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.32rem;
	white-space: nowrap;
}

.p-cta__text {
	padding-bottom: 0.8rem;
	font-size: min(1.6rem, 16px);
	line-height: 2;
	white-space: nowrap;
}

.p-cta__body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-top: 2.4rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.52);
}

.p-cta__en {
	font-family: var(--f-en);
	font-weight: 800;
	font-stretch: 110%;
	font-size: 18rem;
	line-height: 1;
	letter-spacing: -1.08rem;
	white-space: nowrap;
}

.p-cta__en span {
	color: var(--c-lime);
}

.p-cta__sub {
	padding-top: 0.5rem;
	font-size: var(--fs-14);
	line-height: 1.4;
	letter-spacing: 0.07rem;
}

.p-cta__arrow {
	width: 40rem;
	height: 40rem;
	transition: transform 0.5s var(--ease);
}

.p-cta__link:hover .p-cta__arrow {
	transform: translate(1.6rem, -1.6rem);
}

/* ---------- Footer ---------- */
.p-footer {
	background: var(--c-black);
	color: var(--c-white);
}

.p-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	max-width: 1920px;
	margin-inline: auto;
	padding-inline: 6.4rem;
}

.p-footer__top {
	display: flex;
	justify-content: space-between;
	padding-block: 5.6rem;
}

.p-footer__logo {
	display: block;
	width: 24.5rem;
	align-self: flex-start;
}

.p-footer__logo img {
	width: 100%;
	height: auto;
}

.p-footer__name {
	padding-top: 1.6rem;
	font-size: var(--fs-14);
	font-weight: 500;
	line-height: 1.3;
}

.p-footer__address {
	font-size: var(--fs-12);
	line-height: 1.4;
	letter-spacing: 0.06rem;
	color: #a6b0ca;
}

.p-footer__company {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding-bottom: 0.934rem;
}

.p-footer__name + .p-footer__address {
	padding-top: 0.7rem;
}

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

.p-footer__nav {
	width: 56.373rem;
	padding-top: 0.3rem;
}

.p-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 3.2rem 4.8rem;
}

.p-footer__nav li {
	width: 25.7865rem;
}

.p-footer__nav a {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	transition: opacity 0.3s;
}

.p-footer__nav a:hover {
	opacity: 0.7;
}

.p-footer__nav-en {
	font-size: var(--fs-14);
	font-weight: 600;
	line-height: 1.2;
}

.p-footer__nav-ja {
	padding-top: 0.15rem;
	font-size: var(--fs-11);
	line-height: 1.2;
	color: #a6b0ca;
}

.p-footer__group-head {
	display: flex;
	justify-content: space-between;
	font-size: var(--fs-12);
	line-height: 1.4;
	letter-spacing: 0.06rem;
}

.p-footer__group-head p:last-child {
	font-weight: 500;
	letter-spacing: 0.03rem;
}

.p-footer__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr; /* 全カードの高さを、いちばん高いカードに統一する */
	gap: 1.6rem;
}

.p-footer__cards > li {
	display: flex;
}

.p-footer__card {
	display: flex;
	align-items: center;
	flex: 1; /* 同じ行のカードは、事業名の折り返しで高さが違っても揃える */
	gap: 2.4rem; /* ロゴ・文字・矢印の間隔（Figma は 3.2rem。少し狭めた） */
	padding: 1.6rem 2.4rem;
	background: var(--c-white);
	color: var(--c-black);
	transition: background 0.3s;
}

.p-footer__card:hover {
	background: var(--c-lime);
}

.p-footer__card-logo {
	width: 10.1rem;
	height: 3.4rem; /* 縦横比がばらばらな各社ロゴを、同じ枠(101x34)の中に収める */
	object-fit: contain;
	object-position: left center;
	flex: none;
}

.p-footer__card-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	line-height: 1.6;
	white-space: nowrap;
}

.p-footer__card-text strong {
	font-size: var(--fs-14);
	font-weight: 700;
	letter-spacing: 0.07rem;
}

.p-footer__card-text span {
	font-size: var(--fs-11);
	letter-spacing: 0.055rem;
	white-space: normal; /* 事業名が長い会社は折り返す */
}

.p-footer__card-arrow {
	width: 2.4rem;
	height: 2.4rem;
}

.p-footer__bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-block: 4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p-footer__policy {
	display: flex;
	gap: 2rem;
}

.p-footer__policy a {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: var(--fs-12);
	line-height: 2;
	letter-spacing: 0.06rem;
}

.p-footer__policy .c-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.p-footer__copy {
	font-size: var(--fs-12);
	line-height: 2;
	letter-spacing: 0.06rem;
	color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================
   SP (〜1023px)
   ========================================================== */
@media (max-width: 1023px) {
	/* header */
	.p-header__inner {
		max-width: calc(60 * var(--hu));
		padding: calc(1.8 * var(--hu)) calc(2 * var(--hu));
		height: calc(6.3 * var(--hu));
	}

	.p-header__logo {
		width: calc(18 * var(--hu));
	}

	.p-header__nav {
		display: none;
	}

	.p-header__toggle {
		position: relative;
		display: block;
		width: calc(2.8 * var(--hu));
		height: calc(2.8 * var(--hu));
	}

	.p-header__bars i {
		position: absolute;
		left: calc(0.35 * var(--hu));
		width: calc(2.1 * var(--hu));
		height: calc(0.2333 * var(--hu));
		background: var(--c-white);
		transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s;
	}

	.p-header__bars i:nth-child(1) { top: calc(0.7 * var(--hu)); }
	.p-header__bars i:nth-child(2) { top: calc(1.2833 * var(--hu)); }
	.p-header__bars i:nth-child(3) { top: calc(1.8667 * var(--hu)); }

	.p-header__toggle[aria-expanded="true"] .p-header__bars i:nth-child(1) {
		top: calc(1.2833 * var(--hu));
		transform: rotate(45deg);
	}

	.p-header__toggle[aria-expanded="true"] .p-header__bars i:nth-child(2) {
		opacity: 0;
	}

	.p-header__toggle[aria-expanded="true"] .p-header__bars i:nth-child(3) {
		top: calc(1.2833 * var(--hu));
		transform: rotate(-45deg);
	}

	/* drawer: JS無効時は通常のブロックとして全リンクに到達できる */
	.p-drawer {
		display: block;
		background: var(--c-blue);
		color: var(--c-white);
	}

	.p-drawer__inner {
		display: flex;
		flex-direction: column;
		max-width: 60rem;
		min-height: 100%;
		margin-inline: auto;
		padding: 2.4rem 2rem 4rem;
	}

	.js .p-drawer {
		position: fixed;
		inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0;
		z-index: 100;
		padding-top: calc(6.4 * var(--hu));
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
		clip-path: inset(0 0 100% 0);
		transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
	}

	.js .p-drawer.is-open {
		visibility: visible;
		clip-path: inset(0 0 0 0);
		transition: clip-path 0.7s var(--ease), visibility 0s 0s;
	}

	/* サイト全体の言葉づかい（ヒーロー・CTA・ラベル）をそのまま使う:
	   ライムの帯+ラベル / 太い英字 + 小さな日本語 / 薄い区切り線 / CTA の「LET'S TALK .」/ 下にヒーローの抜き文字 */
	.p-drawer__label {
		display: flex;
		align-items: center;
		gap: 1.2rem;
		padding-bottom: 2rem;
		font-family: var(--f-cond);
		font-size: min(1.4rem, 14px);
		font-weight: 600;
		letter-spacing: 0.12em;
	}

	.p-drawer__label i {
		width: 4rem;
		height: 0.8rem;
		background: var(--c-lime);
	}

	.p-drawer__item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.p-drawer__item:first-child {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.p-drawer__item a {
		display: grid;
		grid-template-columns: 3.6rem 1fr auto;
		align-items: baseline;
		column-gap: 0.4rem;
		padding: 1.8rem 0;
	}

	.p-drawer__num {
		font-family: var(--f-cond);
		font-size: min(1.4rem, 14px);
		font-weight: 600;
		color: var(--c-lime);
	}

	.p-drawer__en {
		font-family: var(--f-en);
		font-weight: 800;
		font-stretch: 110%;
		font-size: min(3.4rem, 37.4px);
		line-height: 1.15;
		letter-spacing: -0.12rem;
		transition: color 0.3s, transform 0.4s var(--ease);
	}

	.p-drawer__ja {
		font-size: var(--fs-12);
		font-weight: 500;
		line-height: 1.6;
		color: rgba(255, 255, 255, 0.7);
	}

	.p-drawer__item a[aria-current="page"] .p-drawer__en {
		color: var(--c-lime);
	}

	.p-drawer__item a:active .p-drawer__en {
		transform: translateX(0.8rem);
	}

	/* お問い合わせ: ライムの大きなボタン。全面がタップできて、右の矢印の丸で「押すと移動する」ことが分かる */
	.p-drawer__contact {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.6rem;
		margin-top: 3.2rem;
		min-height: 11.2rem;
		padding: 2rem 2rem 2rem 2.4rem;
		background: var(--c-lime);
		color: var(--c-black);
		transition: background-color 0.2s, transform 0.2s;
	}

	.p-drawer__contact:active {
		background: #c4ec2a;
		transform: scale(0.98);
	}

	.p-drawer__contact-body {
		display: block;
		min-width: 0;
	}

	.p-drawer__contact-lead {
		display: block;
		font-size: min(1.3rem, 13px);
		font-weight: 900;
		line-height: 1.6;
	}

	.p-drawer__contact-en {
		display: block;
		padding-top: 0.4rem;
		font-family: var(--f-en);
		font-weight: 800;
		font-stretch: 110%;
		font-size: min(3.4rem, 37.4px);
		line-height: 1;
		letter-spacing: -0.17rem;
		white-space: nowrap;
	}

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

	.p-drawer__contact-sub {
		display: block;
		padding-top: 0.8rem;
		font-size: var(--fs-12);
		font-weight: 700;
		letter-spacing: 0.05rem;
	}

	.p-drawer__go {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 5.6rem;
		height: 5.6rem;
		border-radius: 50%;
		background: var(--c-blue);
	}

	.p-drawer__arrow {
		width: 2.8rem;
		height: 2.8rem;
	}

	/* ドロワーの段階表示 */
	.js .p-drawer__label,
	.js .p-drawer__item,
	.js .p-drawer__contact {
		opacity: 0;
		transform: translateY(2.4rem);
		transition: opacity 0.6s, transform 0.7s var(--ease);
	}

	.js .p-drawer.is-open .p-drawer__label,
	.js .p-drawer.is-open .p-drawer__item,
	.js .p-drawer.is-open .p-drawer__contact {
		opacity: 1;
		transform: none;
		transition-delay: calc(0.3s + var(--i, 0) * 0.06s);
	}

	/* page title */
	.p-pagetitle__inner {
		max-width: 60rem;
		padding: 2.4rem 2rem 2.8rem;
		/* 高さは中身なり（英字タイトルが折り返したら自然に伸びる） */
	}

	.p-pagetitle__crumb {
		gap: 1.2rem;
	}

	.p-pagetitle__title {
		align-items: flex-start;
		gap: 1.6rem;
		padding-top: 1.6rem;
	}

	.p-pagetitle__en {
		max-width: 100%;
		font-size: min(3.6rem, 39.6px);
		line-height: 1.1;
		letter-spacing: -0.14rem;
		white-space: normal; /* 文字数が多いときは折り返す（単語の区切りで。長い単語は途中でも） */
		overflow-wrap: anywhere;
	}

	.p-pagetitle__ja {
		gap: 1.2rem;
		font-size: min(1.6rem, 16px);
		line-height: 1;
	}

	/* CTA */
	.p-cta__link {
		max-width: 60rem;
		padding: 4rem 2rem 3.7rem;
	}

	.p-cta__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.4rem;
		padding-top: 0;
	}

	.p-cta__lead {
		font-size: min(2.8rem, 30.8px); /* Figma SP: 28px / 字間 -5% / 行間120% */
		line-height: 1.2;
		letter-spacing: -0.05em;
		white-space: normal;
	}

	.p-cta__text {
		padding-bottom: 0;
		font-size: min(1.6rem, 16px);
		white-space: normal;
	}

	.p-cta__body {
		align-items: flex-end;
		padding-top: 4.8rem;
		padding-bottom: 2rem;
	}

	.p-cta__en {
		font-size: min(7rem, 77px); /* Figma SP: 70px / 字間 -6% */
		letter-spacing: -0.06em;
	}

	.p-cta__sub {
		padding-top: 1.2rem;
	}

	.p-cta__arrow {
		width: 5.2rem;
		height: 5.2rem;
		margin-bottom: 4rem;
	}

	/* footer */
	.p-footer__inner {
		max-width: 60rem;
		gap: 2.4rem;
		padding-inline: 2rem;
	}

	.p-footer__top {
		flex-direction: column;
		gap: 4rem;
		padding-block: 4.4rem 1.6rem;
	}

	.p-footer__nav {
		width: 100%;
		padding-top: 0;
	}

	.p-footer__nav ul {
		flex-direction: column;
		gap: 0;
	}

	.p-footer__nav li {
		width: 100%;
	}

	.p-footer__nav a {
		padding-block: 1.1rem;
	}

	.p-footer__group-head {
		flex-direction: column;
		gap: 0.6rem;
	}

	.p-footer__cards {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.p-footer__card {
		gap: 1.6rem;
		padding: 1.4rem 1.6rem;
	}

	.p-footer__bottom {
		flex-direction: column;
		gap: 1.6rem;
		padding-block: 3.2rem;
	}

	.p-footer__policy {
		flex-wrap: wrap;
		gap: 0.4rem 2rem;
	}
}

/* ==========================================================
   Shared UI (label / display heading / button / work card / news item)
   ========================================================== */
.c-label {
	font-size: var(--fs-12);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06rem;
	color: #14171e;
}

.c-display {
	font-family: var(--f-en);
	font-weight: 800;
	font-stretch: 110%;
	font-size: 11rem;
	line-height: 1;
	letter-spacing: -0.06em;
	color: var(--c-blue);
	white-space: nowrap;
}

.c-display__dark { color: #141414; }
.c-display__blue,
.c-display__dot { color: var(--c-blue); }

.c-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1.8rem 0 1.4rem;
	border-bottom: 1px solid var(--c-blue);
	color: var(--c-blue);
	font-size: var(--fs-14);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.c-btn__arrow {
	width: 6.4rem;
	height: 6.4rem;
	transition: transform 0.4s var(--ease);
}

.c-btn:hover .c-btn__arrow {
	transform: translate(0.4rem, -0.4rem);
}

.c-empty {
	padding-block: 6rem;
	font-size: min(1.6rem, 16px);
	text-align: center;
	color: var(--c-sub);
}

/* work card */
.c-work {
	width: 40rem;
	flex: none;
}

.c-work__link {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.c-work__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid #eef0f4;
	background: #f5f6f9;
}

.c-work__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.c-work__link:hover .c-work__thumb img {
	transform: scale(1.05);
}

.c-work__body {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.c-work__cat {
	font-size: var(--fs-12);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06rem;
	color: var(--c-blue);
}

.c-work__client {
	font-size: min(2.4rem, 26.4px);
	font-weight: 700;
	line-height: 1.6;
	color: #14171e;
}

.c-work__service {
	font-size: var(--fs-14);
	line-height: 1.4;
	letter-spacing: 0.07rem;
	color: #14171e;
}

.c-work__tags {
	font-size: var(--fs-11);
	line-height: 1.4;
	letter-spacing: 0.055rem;
	color: #788291;
}

/* news item */
.c-news {
	border-bottom: 1px solid #d7ddeb;
}

/* ホバーで背景色がつく。文字の位置は動かさない（左右に 1.6rem の内側余白を取り、同じだけ外へ広げて、元の文字位置を保つ） */
.c-news__link {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-inline: -1.6rem;
	padding: 3.2rem 5.6rem 3.2rem 1.6rem;
	position: relative;
	isolation: isolate;
}

/* ホバーの背景。上下に区切り線(border)と同じ色の線を付け、背景が区切り線より広い分も線が続くようにする
   （top/bottom を 1px ずつ外へ出して、リストの上線・各項目の下線と同じ位置に重ねる） */
.c-news__link::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -1px;
	bottom: -1px;
	background: var(--c-bg);
	border-block: 1px solid #d7ddeb;
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.c-news__link:hover::before,
.c-news__link:focus-visible::before {
	opacity: 1;
}

.c-news__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1.6rem;
	min-width: 0;
}

.c-news__meta {
	display: flex;
	align-items: center;
	gap: 2.3rem;
}

.c-news__date {
	font-family: var(--f-cond);
	font-size: var(--fs-14);
	font-weight: 500;
	letter-spacing: 0.07rem;
	line-height: 1.5;
	color: #14171e;
}

.c-news__badge {
	padding: 0.3rem 1.3rem;
	white-space: nowrap;
	border: 1px solid #c8d3ff;
	font-size: var(--fs-10);
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-blue);
}

.c-news__title {
	font-size: min(1.6rem, 16px);
	font-weight: 500;
	line-height: 1.6;
	color: #14171e;
}

.c-news__arrow {
	width: 3.2rem;
	height: 3.2rem;
}

@media (max-width: 1023px) {
	.c-display {
		font-size: min(4.8rem, 52.8px);
		white-space: normal;
	}

	.c-btn {
		padding: 1.6rem 0 1.2rem;
		font-weight: 700;
	}

	.c-btn__arrow {
		width: 5.6rem;
		height: 5.6rem;
	}

	.c-work { width: 100%; }
	.c-work__client { font-size: min(2.1rem, 20px); }

	.c-news__link { padding: 2.4rem 3.6rem 1.6rem 1.6rem; }
	.c-news__body { gap: 0.8rem; }
	.c-news__meta { gap: 1.2rem; }
	.c-news__badge { padding-inline: 1rem; font-weight: 700; }
}

/* ---------- plain pages (page.php / 404 / search) ---------- */
.p-plain {
	padding-block: 8rem 12rem;
}

.p-plain--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3.2rem;
	text-align: center;
}

.p-plain__body,
.p-plain__item p {
	font-size: min(1.6rem, 16px);
	line-height: 2;
	color: var(--c-sub);
}

.p-plain__body > * + * {
	margin-top: 1.6em;
}

.p-plain__body h2,
.p-plain__item h2 {
	margin-top: 2.4em;
	font-size: min(2.4rem, 26.4px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-text);
}

.p-plain__body a {
	color: var(--c-blue);
	text-decoration: underline;
}

/* ポリシーなどの長文ページ（見出し・箇条書き・署名） */
.p-plain__body {
	max-width: 96rem;
	margin-inline: auto;
}

.p-plain__body h2 {
	padding-bottom: 1.2rem;
	border-bottom: 1px solid #ccd5e8;
}

.p-plain__body ul,
.p-plain__body ol {
	padding-left: 1.6em;
	list-style: disc;
}

.p-plain__body ol {
	list-style: decimal;
}

.p-plain__body li + li {
	margin-top: 0.4em;
}

.p-plain__sign {
	text-align: right;
	color: var(--c-text);
}

@media (max-width: 1023px) {
	.p-plain { padding-block: 4rem 7.2rem; }
	.p-plain__body,
	.p-plain__item p { font-size: min(1.4rem, 14px); }
}
