/*
 * Kawara Shared Footer CSS
 * 全体の背景・3カラムレイアウト・SPでの積み上げを担当。
 * ヘッダー同様、テーマCSSに依存しない自己完結型。
 */

.ks-footer {
	background: #0f2840;
	color: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
	line-height: 1.8;
}
.ks-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 20px 32px;
}
.ks-footer__cols {
	display: grid;
	grid-template-columns: 1.1fr 1.1fr 1fr;
	gap: 40px;
}
.ks-footer__col {
	min-width: 0;
}

/* --- カラム1: 会社情報 --- */
.ks-footer-logo {
	font-family: "Shippori Mincho", serif;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.ks-footer-logo-icon {
	width: 40px;
	height: 40px;
	background: #c4883a;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.ks-footer-company {
	font-size: 13px;
	opacity: 0.8;
	margin-bottom: 20px;
}
.ks-footer-company p { margin: 0 0 4px; }
.ks-footer-tel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 900;
	color: #fff;
	margin-bottom: 8px;
	text-decoration: none;
}
.ks-footer-tel i { color: #d4a05a; line-height: 1; }
.ks-footer-hours {
	font-size: 12px;
	opacity: 0.7;
	margin: 0 0 24px;
}
.ks-footer-sns {
	display: flex;
	gap: 12px;
}
.ks-sns {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
}
.ks-sns.-line { background: #06c755; }
.ks-sns.-plain { background: rgba(255, 255, 255, 0.1); cursor: default; }

/* --- カラム2/3: 共通 --- */
.ks-footer-heading {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ks-footer-section + .ks-footer-section {
	margin-top: 28px;
}
.ks-footer-linklist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.ks-footer-linklist a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}
.ks-footer-linklist a:hover {
	color: #fff;
	text-decoration: underline;
}

/* --- カラム3: 対応エリア --- */
.ks-footer-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ks-area-tag {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	padding: 4px 10px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}
.ks-area-tag:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

/* --- 下部 copyright --- */
.ks-footer__foot {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 20px;
	text-align: center;
}
.ks-copyright {
	font-size: 12px;
	opacity: 0.7;
	margin: 0;
}

/* --- PC/SP出し分け（フッター内専用） --- */
.ks-pc-only { display: inline-block; }
.ks-sp-only { display: none; }

/* --- Responsive --- */
@media (max-width: 959px) {
	.ks-footer__inner {
		padding: 40px 20px 24px;
	}
	.ks-footer__cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
@media (max-width: 768px) {
	.ks-pc-only { display: none; }
	.ks-sp-only { display: inline-block; }
}
