/* ========================================
   AtWell Footer
======================================== */

.atwell-footer {
	margin: 0;
	background: #20282d;
	color: #dbe2e6;
}

.atwell-footer,
.atwell-footer * {
	box-sizing: border-box;
}

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

/* 親テーマのfooter/nav/list指定を確実に上書き */
.atwell-footer nav,
.atwell-footer ul,
.atwell-footer li {
	float: none !important;
	width: auto !important;
	margin: 0;
	padding: 0;
}

.atwell-footer ul {
	list-style: none;
}

.atwell-footer__main {
	padding: 64px 20px 56px;
}

.atwell-footer__inner {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr 1fr;
	gap: 40px;
	width: min(100%, 1120px);
	margin: 0 auto;
}

.atwell-footer__brand {
	min-width: 0;
}

.atwell-footer__logo {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
}

.atwell-footer__logo a {
	color: #fff;
}

.atwell-footer__en {
	margin: 0 0 22px;
	color: #96a8b2;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.atwell-footer__description {
	margin: 0;
	color: #b8c4ca;
	font-size: 13px;
	line-height: 1.9;
}

.atwell-footer__column {
	min-width: 0;
}

.atwell-footer__heading {
	margin: 2px 0 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.5;
}

.atwell-footer__list {
	display: block !important;
}

.atwell-footer__list li {
	display: block !important;
	margin: 0 0 10px !important;
}

.atwell-footer__list li:last-child {
	margin-bottom: 0 !important;
}

.atwell-footer__list a {
	display: inline;
	color: #b8c4ca;
	font-size: 13px;
	line-height: 1.6;
	transition: color .2s ease;
}

.atwell-footer__list a:hover {
	color: #fff;
}

/* Bottom */
.atwell-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: #1a2125;
}

.atwell-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(calc(100% - 40px), 1120px);
	min-height: 68px;
	margin: 0 auto;
}

.atwell-footer .footer-navigation {
	margin: 0;
	padding: 0;
}

.atwell-footer .footer-menu {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
}

.atwell-footer .footer-menu li {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.atwell-footer .footer-menu a {
	display: inline;
	color: #aebbc2;
	font-size: 12px;
	line-height: 1.5;
	transition: color .2s ease;
}

.atwell-footer .footer-menu a:hover {
	color: #fff;
}

.atwell-footer .copyright {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	color: #87969e;
	font-size: 11px;
	line-height: 1.5;
	white-space: nowrap;
}

/* Page top */
.atwell-to-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(32, 40, 45, .88);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
	transition: background .2s ease, transform .2s ease;
}

.atwell-to-top:hover {
	background: #1f77b4;
	transform: translateY(-2px);
}

.atwell-to-top span {
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: translateY(3px) rotate(45deg);
}

/* Tablet */
@media screen and (max-width: 900px) {

	.atwell-footer__inner {
		grid-template-columns: 1.2fr 1fr 1fr;
		gap: 36px 30px;
	}

	.atwell-footer__brand {
		grid-column: 1 / 4;
		padding-bottom: 26px;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.atwell-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding: 20px 0;
	}
}

/* Smartphone */
@media screen and (max-width: 600px) {

	.atwell-footer__main {
		padding: 50px 20px 44px;
	}

	.atwell-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
	}

	.atwell-footer__brand {
		grid-column: 1 / 3;
	}

	.atwell-footer__column:last-child {
		grid-column: 1 / 3;
	}

	.atwell-footer__logo {
		font-size: 27px;
	}

	.atwell-footer__bottom-inner {
		width: calc(100% - 40px);
	}

	.atwell-footer .footer-menu {
		display: block !important;
	}

	.atwell-footer .footer-menu li {
		margin-bottom: 8px !important;
	}

	.atwell-footer .copyright {
		white-space: normal;
	}
}
