/* ==================================================
   CLI+MIRU フッターリニューアル v5
   TOP全体バランス調整版
================================================== */

#js-footer-widget.p-footer-widget-area {
	background: transparent !important;
}

#js-footer-widget .p-footer-widget-area__inner {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	overflow: visible !important;
}

#js-footer-widget .p-widget {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

#js-footer-widget .p-widget__title {
	display: none !important;
}

.l-footer > .p-footer__logo,
.l-footer > .p-copyright {
	display: none !important;
}

.cm-footer-renewal,
.cm-footer-renewal *,
.cm-footer-renewal *::before,
.cm-footer-renewal *::after {
	box-sizing: border-box;
}

.cm-footer-renewal {
	--cm-footer-primary: #004580;
	--cm-footer-text: #26313c;
	--cm-footer-muted: #6f7c88;
	--cm-footer-border: #dce7f1;
	width: 100%;
	background: #fff;
	color: var(--cm-footer-text);
}

.cm-footer-renewal a {
	color: inherit;
	text-decoration: none;
}

.cm-footer-renewal svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cm-footer-renewal__inner {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

/* ---------- 上段 ---------- */

.cm-footer-renewal__top {
	padding: 48px 0 42px;
	border-top: 1px solid #edf3f8;
	border-bottom: 1px solid var(--cm-footer-border);
	background: #fbfdff;
}

.cm-footer-renewal__top-grid {
	display: grid;
	grid-template-columns: 25% 75%;
	gap: 0;
	align-items: stretch;
}

.cm-footer-renewal__brand {
	display: flex;
	min-width: 0;
	padding: 12px 34px 12px 0;
	border-right: 1px solid var(--cm-footer-border);
	flex-direction: column;
	justify-content: center;
}

.cm-footer-renewal__brand-logo {
	display: block;
	width: 200px;
 	margin: 0;
	align-self: center;
}

.cm-footer-renewal__brand-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.cm-footer-renewal__brand-tagline {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.cm-footer-renewal__brand-copy {
	margin: 0;
	color: #34414d;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.9;
}

.cm-footer-renewal__listing-hero {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr);
	gap: 0;
	align-items: stretch;
}

.cm-footer-renewal__listing-copy {
	display: flex;
	min-width: 0;
	padding: 12px 36px;
	flex-direction: column;
	justify-content: center;
}

.cm-footer-renewal__eyebrow {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 16px;
	padding: 8px 16px;
	border: 1px solid rgba(0, 69, 128, 0.38);
	border-radius: 4px;
	color: var(--cm-footer-primary);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.cm-footer-renewal__listing-title {
	margin: 0;
	color: var(--cm-footer-primary);
	font-size:22px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

.cm-footer-renewal__listing-text {
	max-width: 650px;
	margin: 18px 0 0;
	color: #34414d;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.85;
}

.cm-footer-renewal__listing-action {
	display: flex;
	min-width: 0;
	padding: 12px 0 12px 30px;
	border-left: 1px solid var(--cm-footer-border);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.cm-footer-renewal__listing-icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 0 12px;
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__listing-action-text {
	margin: 0 0 16px;
	color: #4a5560;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.75;
}

.cm-footer-renewal__cta {
	position: relative;
	display: flex;
	width: 60%;
	min-height: 52px;
	padding: 12px 44px 12px 22px;
	border-radius: 999px;
	background: var(--cm-footer-primary);
	box-shadow: 0 8px 18px rgba(0, 69, 128, 0.2);
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cm-footer-renewal__cta:hover {
	background: #00355f;
	box-shadow: 0 10px 22px rgba(0, 69, 128, 0.25);
	transform: translateY(-1px);
}

.cm-footer-renewal__cta-arrow,
.cm-footer-renewal__arrow {
	width: 8px;
	height: 8px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.cm-footer-renewal__cta-arrow {
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%) rotate(45deg);
}

/* ---------- ナビゲーション ---------- */

.cm-footer-renewal__nav-area {
	padding: 30px;
	background: #fff;
}

.cm-footer-renewal__nav-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr 1.15fr 0.85fr;
}

.cm-footer-renewal__nav-column {
	min-width: 0;
	padding: 0 24px;
	border-right: 1px solid var(--cm-footer-border);
}

.cm-footer-renewal__nav-column:first-child {
	padding-left: 0;
}

.cm-footer-renewal__nav-column:last-child {
	padding-right: 0;
	border-right: 0;
}

.cm-footer-renewal__nav-title {
	display: flex;
	min-height: 38px;
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	align-items: center;
	gap: 10px;
}

.cm-footer-renewal__nav-icon {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
}

.cm-footer-renewal__nav-column--jobs .cm-footer-renewal__nav-title {
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__nav-column--clinics .cm-footer-renewal__nav-title {
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__nav-column--guide .cm-footer-renewal__nav-title {
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__nav-column--listing .cm-footer-renewal__nav-title {
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__nav-column--support .cm-footer-renewal__nav-title {
	color: var(--cm-footer-primary);
}

.cm-footer-renewal__links {
	display: grid;
	gap: 0;
}

.cm-footer-renewal__link {
	display: flex;
    min-height: 38px;
    padding: 0px 5px;
    font-family: sans-serif;
    color: #4f5b66 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

a.cm-footer-renewal__link:hover {
	color: var(--cm-footer-blue) !important;
	transform: translateX(2px);
}

.cm-footer-renewal__link--pending {
	color: #8a949e !important;
	cursor: default;
}

.cm-footer-renewal__arrow {
	margin-right: 2px;
	flex: 0 0 8px;
}

/* ---------- 最下部 ---------- */

.cm-footer-renewal__bottom {
	background: #004580;
	color: #fff;
}

.cm-footer-renewal__bottom-inner {
	position: relative;
	display: flex;
	align-items: center;
    justify-content: center;
	min-height: 58px;
}

.cm-footer-renewal__bottom-links {
	display: flex;
	grid-column: 2;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.cm-footer-renewal__bottom-links a {
	padding: 2px 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff !important;
	font-size: 12px;
	line-height: 1.5;
}

.cm-footer-renewal__bottom-links a:first-child {
	padding-left: 0;
}

.cm-footer-renewal__bottom-links a:last-child {
	padding-right: 0;
	border-right: 0;
}

.cm-footer-renewal__copyright {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

/* ---------- タブレット ---------- */

@media (max-width: 1080px) {
	.cm-footer-renewal__inner {
		width: min(100% - 40px, 1000px);
	}

	.cm-footer-renewal__top-grid {
		grid-template-columns: 35% 65%;
	}

	.cm-footer-renewal__listing-hero {
		grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
	}

	.cm-footer-renewal__brand {
		padding-right: 26px;
	}

	.cm-footer-renewal__listing-copy {
		padding-left: 28px;
		padding-right: 26px;
	}

	.cm-footer-renewal__nav-column {
		padding: 0 16px;
	}

	.cm-footer-renewal__copyright {
		white-space: normal;
		text-align: right;
	}
}

/* ---------- スマホ ---------- */

@media (max-width: 820px) {
	.cm-footer-renewal__top {
		padding: 34px 0;
	}

	.cm-footer-renewal__top-grid {
		grid-template-columns: 1fr;
	}

	.cm-footer-renewal__brand {
		padding: 0 0 28px;
		border-right: 0;
		border-bottom: 1px solid var(--cm-footer-border);
	}

	.cm-footer-renewal__listing-hero {
		grid-template-columns: 1fr;
	}

	.cm-footer-renewal__listing-copy {
		padding: 28px 0 24px;
	}

	.cm-footer-renewal__listing-action {
		padding: 24px 0 0;
		border-top: 1px solid var(--cm-footer-border);
		border-left: 0;
	}

	.cm-footer-renewal__cta {
		max-width: 420px;
		width: 100%;
	}

	.cm-footer-renewal__nav-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 30px;
	}

	.cm-footer-renewal__nav-column,
	.cm-footer-renewal__nav-column:first-child,
	.cm-footer-renewal__nav-column:last-child {
		padding: 0 22px;
		border-right: 1px solid var(--cm-footer-border);
	}

	.cm-footer-renewal__nav-column:nth-child(even) {
		border-right: 0;
	}

	.cm-footer-renewal__bottom-inner {
		display: flex;
		min-height: 0;
		padding: 18px 0;
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.cm-footer-renewal__copyright {
		justify-self: auto;
		white-space: normal;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.cm-footer-renewal__inner {
		width: min(100% - 28px, 520px);
	}

	.cm-footer-renewal__brand-logo {
		width: 260px;
	}

	.cm-footer-renewal__brand-copy,
	.cm-footer-renewal__listing-text {
		font-size: 13px;
	}

	.cm-footer-renewal__listing-title {
		font-size: 20px;
		line-height: 1.5;
	}

	.cm-footer-renewal__listing-title br,
	.cm-footer-renewal__listing-action-text br {
		display: none;
	}

	.cm-footer-renewal__listing-action {
		align-items: stretch;
		text-align: left;
	}

	.cm-footer-renewal__nav-grid {
		grid-template-columns: 1fr;
	}

	.cm-footer-renewal__nav-column,
	.cm-footer-renewal__nav-column:first-child,
	.cm-footer-renewal__nav-column:last-child,
	.cm-footer-renewal__nav-column:nth-child(even) {
		padding: 0 0 24px;
		border-right: 0;
		border-bottom: 1px solid var(--cm-footer-border);
	}

	.cm-footer-renewal__nav-column:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.cm-footer-renewal__bottom-links {
		flex-wrap: wrap;
	}

	.cm-footer-renewal__bottom-links a {
		padding: 2px 12px;
	}

	.cm-footer-renewal__bottom-links a:first-child {
		padding-left: 12px;
	}
}