@charset "UTF-8";


/*=======================================================*/
/* フッター */
/*=======================================================*/

.footer {
	position: relative;
	z-index: 1;
	color: var(--txt-color);
	font-size: 14px;
	background: url(../img/bg-ptn.png) repeat;
}

.footer-main {
	padding: clamp(35px, 5vw, 60px) 0 clamp(25px,4vw, 45px);
}


/*=======================================================*/
/* フッターコンテンツ */
/*=======================================================*/

.footer-container {
	display: grid;
}


/*=======================================================*/
/* ロゴ */
/*=======================================================*/

.footer-brand {
	line-height: 0;
}

.footer-logo {
	display: inline-block;
	line-height: 0;
}

.footer-logo img {
	display: block;
	width: clamp(150px,20vw,240px);
	height: auto;
}


/*=======================================================*/
/* フッターメニュー */
/*=======================================================*/

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu li {
	display: flex;
	align-items: center;
}

.footer-menu li + li::before {
	content: "/";
	margin: 0 18px;
	color: var(--line-color);
}

.footer-menu a {
	display: inline-block;
	color: var(--txt-color);
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

@media (hover: hover) {
	.footer-menu a:hover {
		color: var(--main-color);
	}
}


/*=======================================================*/
/* 会社情報 */
/*=======================================================*/

.footer-company-name {
	margin-bottom: 2px;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
	color:var(--accent-color2);
}

.footer-tels {
	display: grid;
	grid-template-columns: repeat(1, auto);
	gap: 10px;
	justify-content: end;
}

.footer-tel {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	color: #666;
	text-decoration: none;
}

.footer-tel-icon {
	display: block;
	width: 20px;
	height: auto;
	margin-right: 6px;
}

.footer-tel-number {
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	font-family:
		"Helvetica Neue",
		Arial,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		Meiryo,
		sans-serif;
	line-height: 1;
}

.tel-hyphen {
	position: relative;
	top: -0.08em;
}

.footer-address {
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.6;
}


/*=======================================================*/
/* コピーライト */
/*=======================================================*/

.footer-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	background-color: var(--accent-color2);
}

.footer-copy p {
	margin: 0;
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
}

.footer-copy a {
	color: inherit;
	text-decoration: none;
}


/*=======================================================*/
/* SP */
/*=======================================================*/

@media only screen and (max-width: 767px) {

	.footer-main {
		padding: 42px 0 36px;
	}

	.footer-container {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas:
			"logo"
			"nav"
			"company";
		justify-items: stretch;
		text-align: left;
	}

	.footer-brand {
		grid-area: logo;
		margin-top: 0;
		margin-bottom: 26px;
		line-height: 0;
	}

	.footer-logo {
		display: inline-block;
	}

	.footer-logo img {
		width: 130px;
		height: auto;
	}

	.footer-site {
		grid-area: nav;
		width: 100%;
		margin-bottom: 26px;
	}

	.footer-menu {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		width: 100%;
	}

	.footer-menu li {
		display: block;
		border-bottom: 1px solid var(--line-color);
	}

	.footer-menu li:first-child {
		border-top: 1px solid var(--line-color);
	}

	.footer-menu li + li::before {
		content: none;
	}

	.footer-menu a {
		position: relative;
		display: block;
		padding: 12px 0 12px 1.4em;
		color: var(--txt-color);
		line-height: 1.5;
		text-decoration: none;
		white-space: normal;
	}

	.footer-menu a::before {
		content: "▶";
		position: absolute;
		top: 50%;
		left: 0;
		color: var(--main-color);
		font-size: 0.8em;
		transform: translateY(-50%);
	}

	.footer-company {
		grid-area: company;
		margin-top: 0;
		text-align: left;
	}

	.footer-company-name {
		margin-bottom: 5px;
		font-size: 22px;
		line-height: 1.4;
		text-align: left;
	}

	.footer-tels {
		grid-template-columns: 1fr;
		justify-content: start;
		justify-items: start;
		gap: 6px;
	}

	.footer-tel {
		justify-content: flex-start;
	}

	.footer-tel-icon {
		width: 20px;
		margin-right: 6px;
	}

	.footer-tel-number {
		font-size: 22px;
	}

	.footer-address {
		max-width: none;
		margin-top: 5px;
		margin-right: 0;
		margin-left: 0;
		font-size: 13px;
		line-height: 1.7;
	}

}

/*=======================================================*/
/* PC */
/*=======================================================*/

@media print, screen and (min-width: 768px) {

	.footer-container {
		grid-template-columns: clamp(150px,20vw,240px) minmax(0, 1fr);
		grid-template-rows: auto auto;
		grid-template-areas:
			"logo nav"
			"logo company";
		column-gap: clamp(50px, 8vw, 120px);
		row-gap: 20px;
		align-items: center;
	}

	.footer-brand {
		grid-area: logo;
		align-self: center;
	}

	.footer-site,
	.footer-company {
		justify-self: end;
	}

	.footer-site {
		grid-area: nav;
		text-align: right;
	}

	.footer-company {
		grid-area: company;
	}

}

/*=======================================================*/
/* 狭めPC */
/*=======================================================*/

@media screen and (min-width: 768px) and (max-width: 1099px) {

	.footer-container {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		column-gap: 0;
		row-gap: 20px;
	}

	.footer-brand {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.footer-site {
		grid-column: 1;
		grid-row: 2;
		justify-self: end;
	}

	.footer-company {
		grid-column: 1;
		grid-row: 3;
		justify-self: end;
		text-align: right;
	}

}