/* =========================================================
   YUMINEKO CORPORATE FOOTER
   /assets/css/corporate-footer.css
========================================================= */

:root {
	--yncf-main: #8BBABB;
	--yncf-main-deep: #5E8F91;
	--yncf-dark: #365F61;
	--yncf-darker: #2E5355;
	--yncf-white: #FFFFFF;
	--yncf-line: rgba(255,255,255,.14);
	--yncf-text: rgba(255,255,255,.82);
	--yncf-muted: rgba(255,255,255,.58);
}


/* =========================================================
   HIDE DEFAULT SWELL FOOTER
========================================================= */

.l-footer {
	display: none !important;
}


/* =========================================================
   FOOTER
========================================================= */

.yn-corporate-footer {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 78px 0 26px;
	background:
		radial-gradient(
			circle at 8% 0%,
			rgba(139,186,187,.13),
			transparent 28%
		),
		var(--yncf-dark);
	color: var(--yncf-white);
}

.yn-corporate-footer *,
.yn-corporate-footer *::before,
.yn-corporate-footer *::after {
	box-sizing: border-box;
}

.yn-corporate-footer__inner {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}


/* =========================================================
   MAIN GRID
========================================================= */

.yn-corporate-footer__main {
	display: grid;
	grid-template-columns:
		minmax(300px, 1.45fr)
		minmax(150px, .7fr)
		minmax(190px, .9fr)
		minmax(190px, .85fr);
	gap: 48px;
	align-items: start;
}


/* =========================================================
   BRAND
========================================================= */

.yn-corporate-footer__brand {
	max-width: 370px;
}

.yn-corporate-footer__wordmark {
	display: inline-block;
	margin-bottom: 20px;
	color: var(--yncf-white) !important;
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .14em;
	text-decoration: none !important;
}

.yn-corporate-footer__company {
	margin: 0 0 5px;
	color: var(--yncf-white);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.7;
}

.yn-corporate-footer__english {
	margin: 0;
	color: var(--yncf-muted);
	font-size: 10px;
	line-height: 1.6;
	letter-spacing: .045em;
}

.yn-corporate-footer__message {
	margin: 28px 0 0;
	color: var(--yncf-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
}

.yn-corporate-footer__address {
	margin-top: 24px;
	color: var(--yncf-muted);
	font-size: 11px;
	line-height: 1.8;
}

.yn-corporate-footer__address p {
	margin: 0;
}

.yn-corporate-footer__address p + p {
	margin-top: 2px;
}


/* =========================================================
   COLUMNS
========================================================= */

.yn-corporate-footer__heading {
	margin: 3px 0 24px;
	color: #BFD9D9;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .16em;
}

.yn-corporate-footer__column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yn-corporate-footer__column li {
	margin: 0 0 15px;
	padding: 0;
}

.yn-corporate-footer__column li:last-child {
	margin-bottom: 0;
}

.yn-corporate-footer__column li::before {
	display: none !important;
}

.yn-corporate-footer__column a {
	color: var(--yncf-text) !important;
	font-size: 13px;
	line-height: 1.7;
	text-decoration: none !important;
	transition:
		color .2s ease,
		opacity .2s ease;
}

.yn-corporate-footer__column a:hover {
	color: var(--yncf-white) !important;
}


/* =========================================================
   SERVICE LINK
========================================================= */

.yn-corporate-footer__service {
	position: relative;
	display: block;
	padding: 22px 42px 22px 22px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 16px;
	background: rgba(255,255,255,.045);
	text-decoration: none !important;
	transition:
		background .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.yn-corporate-footer__service:hover {
	border-color: rgba(255,255,255,.27);
	background: rgba(255,255,255,.075);
	transform: translateY(-2px);
}

.yn-corporate-footer__service-label {
	display: block;
	margin-bottom: 7px;
	color: var(--yncf-muted);
	font-size: 10px;
	line-height: 1.5;
}

.yn-corporate-footer__service strong {
	display: block;
	color: var(--yncf-white);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
}

.yn-corporate-footer__service-arrow {
	position: absolute;
	top: 50%;
	right: 19px;
	color: #C8DFDF;
	font-size: 16px;
	transform: translateY(-50%);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.yn-corporate-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 66px;
	padding-top: 24px;
	border-top: 1px solid var(--yncf-line);
}

.yn-corporate-footer__legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.yn-corporate-footer__legal a {
	color: var(--yncf-muted) !important;
	font-size: 10px;
	line-height: 1.6;
	text-decoration: none !important;
}

.yn-corporate-footer__legal a:hover {
	color: var(--yncf-white) !important;
}

.yn-corporate-footer__copyright {
	margin: 0;
	color: var(--yncf-muted);
	font-size: 9px;
	line-height: 1.6;
	letter-spacing: .02em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

	.yn-corporate-footer {
		padding-top: 66px;
	}

	.yn-corporate-footer__main {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 42px 34px;
	}

	.yn-corporate-footer__brand {
		grid-column: 1 / -1;
		max-width: 500px;
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

	.yn-corporate-footer {
		padding: 56px 0 24px;
	}

	.yn-corporate-footer__inner {
		width: min(100% - 32px, 1180px);
	}

	.yn-corporate-footer__main {
		grid-template-columns: 1fr 1fr;
		gap: 42px 24px;
	}

	.yn-corporate-footer__brand {
		grid-column: 1 / -1;
	}

	.yn-corporate-footer__wordmark {
		font-size: 24px;
	}

	.yn-corporate-footer__company {
		font-size: 14px;
	}

	.yn-corporate-footer__message {
		margin-top: 22px;
	}

	.yn-corporate-footer__column:last-child {
		grid-column: 1 / -1;
	}

	.yn-corporate-footer__service {
		max-width: 360px;
	}

	.yn-corporate-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-top: 48px;
	}

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

	.yn-corporate-footer__main {
		grid-template-columns: 1fr;
	}

	.yn-corporate-footer__brand,
	.yn-corporate-footer__column:last-child {
		grid-column: auto;
	}

}