@charset "utf-8";

/***************************************************************
Footer
****************************************************************/

.site-footer {
	display: block;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	background-color: #111;
	color: #fff;
}

/* PAGE TOP
*****************************************************************/
.footer-pagetop {
	text-align: right;
	padding: 20px 5vw 0;
	max-width: 1376px;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: Century;
}

.footer-pagetop__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background-color: rgba(20, 20, 20, 0.82);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-decoration: none;
	transition: background-color 0.2s;
	white-space: nowrap;
}
.footer-pagetop__link:hover {
	background-color: rgba(20, 20, 20, 0.95);
	text-decoration: none;
}
.footer-pagetop__link::after {
	content: '∧';
	font-size: 13px;
	line-height: 1;
}

@media screen and (min-width: 1200px) {
	.footer-pagetop {
		padding: 24px 5vw 0;
	}
}

/* フッターメイン
*****************************************************************/
.footer-main {
	padding: 40px 5vw 48px;
}

.footer-main__inner {
	max-width: 1376px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

/* 左カラム：ブランド */
.footer-col--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.footer-logo__link {
	display: inline-block;
}

.footer-logo__img {
	display: block;
	max-width: 180px;
	height: auto;
}

.footer-brand__lawyers {
	font-size: 12px;
	color: #aaa;
	margin: 0;
	line-height: 1.7;
}

.footer-brand__tagline {
	font-size: 16px;
	color: #ccc;
	margin: 0;
	line-height: 1.8;
	margin-top: 24px;
}

/* 中央カラム：ナビゲーション */
.footer-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.footer-nav__link {
	display: inline-block;
	padding: 8px 0;
	font-family: "Century", "Century Schoolbook", Georgia, serif;
	font-size: 16px;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: opacity 0.2s;
}
.footer-nav__link:hover {
	opacity: 0.65;
	text-decoration: none;
}

/* 右カラム：お問い合わせ */
.footer-contact__heading {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 20px;
	padding-left: 28px;
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
}
.footer-contact__heading::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 2px;
	background-color: #fff;
	flex-shrink: 0;
	position: absolute;
	left: 0;
}

.footer-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-contact__item {
	margin-top: 10px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: #ccc;
	padding-left: 28px;
	position: relative;
}

/* アイコン（Unicode） */
.footer-contact__item--tel::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background-image: url('../img/Icon-phone-20w_2x.png');
	background-repeat: no-repeat;
	background-size: contain;
	flex-shrink: 0;
	position: absolute;
	left: 0;
	top: 2px;
}

.footer-contact__item--email::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 7l10 7 10-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	flex-shrink: 0;
	position: absolute;
	left: 0;
	top: 2px;
}

.footer-contact__item--address::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	flex-shrink: 0;
	position: absolute;
	left: 0;
	top: 2px;
}

.footer-contact__link {
	color: #ccc;
	text-decoration: none;
	transition: color 0.2s;
}
.footer-contact__link:hover {
	color: #fff;
	text-decoration: none;
}

.footer-contact__text {
	line-height: 1.7;
	display: block;
}

/* 検索フォーム */
.footer-contact__item--search {
	align-items: center;
	margin-top: 4px;
}

.footer-contact__item--search::before {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background-image: url('../img/icon-magnifier_2x.png');
	background-repeat: no-repeat;
	background-size: contain;
	flex-shrink: 0;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.footer-search__form {
	display: flex;
	align-items: center;
}

.footer-search__input {
	background: transparent;
	border: 1px solid #555;
	color: #fff;
	font-size: 13px;
	padding: 5px 10px;
	outline: none;
	width: 160px;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}

.footer-search__input::placeholder {
	color: #666;
}

.footer-search__input:focus {
	border-color: #888;
}

@media screen and (min-width: 768px) {
	.footer-contact__text {
		width: 168px;
	}
}



/* フッターボトム
*****************************************************************/
.footer-bottom {
	position: relative;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 5vw;
	color: #000;
	background-color: #fcfcfc;
	text-align: center;
	font-size: 12px;
}

.footer__copyright,
.footer__privacy-policy {
	font-size: 12px;
	color: #888;
}
.footer__privacy-policy {
	text-decoration: none;
	transition: color 0.2s;
}
.footer__privacy-policy:hover {
	color: #fff;
	text-decoration: none;
}

/* タブレット以上
*****************************************************************/
@media screen and (min-width: 768px) {
	.footer-main__inner {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}
	.footer-col--contact {
		grid-column: 1 / -1;
	}
}

/* PC
*****************************************************************/
@media screen and (min-width: 1200px) {
	.footer-main {
		padding: 40px 5vw 64px;
	}
	.footer-main__inner {
		grid-template-columns: 28% 1fr 32%;
		gap: 40px;
		align-items: start;
	}
	.footer-col--contact {
		grid-column: auto;
	}
	.footer-bottom {
		padding: 16px 5vw;
	}
}

@media screen and (min-width: 1500px) {
	.footer-main,
	.footer-bottom {
		padding-right: calc(50% - 650px);
		padding-left: calc(50% - 650px);
	}
}
