/* ===========================================
   Kiratt Footer - Premium Redesign v2
   2026.05 高詳細度版（テーマCSSを確実に上書き）
   =========================================== */

   body footer {
	background: linear-gradient(180deg, #0B5A6F 0%, #073A4B 100%) !important;
	color: #E5EEF2 !important;
	padding: 80px 0 0 !important;
	margin: 0 !important;
	position: relative !important;
	overflow: hidden;
}

body footer * {
	box-sizing: border-box;
}

body footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, #D9B96E 50%, transparent 100%);
	z-index: 1;
}

body footer::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 240px;
	background: radial-gradient(ellipse at center top, rgba(217, 185, 110, 0.10) 0%, transparent 70%);
	pointer-events: none;
}

body footer > .inner {
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0 24px !important;
	position: relative;
	z-index: 2;
}

body footer > .inner > .flex {
	display: flex !important;
	gap: 60px !important;
	flex-wrap: wrap;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(229, 238, 242, 0.15);
	margin: 0 !important;
}

/* ============ 左カラム ============ */
body footer .footer-l {
	flex: 0 0 320px;
	min-width: 0;
	margin: 0 !important;
}
body footer .footer-l .row-1 {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 22px !important;
	padding: 0 !important;
	margin: 0 0 28px !important;
}
body footer .footer-l .logo {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}
body footer .footer-l .logo a {
	display: inline-block;
	background: none !important;
	transition: opacity 0.3s ease;
}
body footer .footer-l .logo a:hover {
	opacity: 0.85;
}
body footer .footer-l .logo img {
	max-width: 200px !important;
	height: auto !important;
	filter: brightness(0) invert(1) !important;
	opacity: 0.95 !important;
}
body footer .footer-l .row-1 p {
	color: rgba(229, 238, 242, 0.85) !important;
	font-size: 13px !important;
	line-height: 1.85 !important;
	letter-spacing: 0.04em !important;
	font-family: 'Noto Serif JP', serif !important;
	margin: 0 !important;
	background: none !important;
}
body footer .footer-l .row-1 p:first-of-type {
	color: #fff !important;
	font-weight: 500 !important;
	line-height: 1.95 !important;
	padding-bottom: 14px !important;
	border-bottom: 1px dashed rgba(217, 185, 110, 0.3) !important;
	width: 100%;
}

/* ============ SNSアイコン（高詳細度・各クラス個別指定） ============ */
body footer .footer-l .row-2,
body footer .row-2 {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	background-color: transparent !important;
}

body footer .sns,
body footer .sns.flex {
	display: flex !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	background-color: transparent !important;
	flex-wrap: wrap;
	align-items: center !important;
	justify-content: flex-start !important;
}

/* 各SNSの親div の背景を完全に透明化（テーマのデフォルト色を打ち消す） */
body footer .sns .fb,
body footer .sns .tw,
body footer .sns .inst,
body footer .sns .yb,
body footer .sns .tik,
body footer .sns > div {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* SNSリンク本体（円形ボタン）：各クラス個別指定で確実に上書き */
body footer .sns .fb a,
body footer .sns .tw a,
body footer .sns .inst a,
body footer .sns .yb a,
body footer .sns .tik a,
body footer .sns > div > a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.12) !important;
	background-color: rgba(255, 255, 255, 0.12) !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	color: #fff !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
}

body footer .sns .fb a:hover,
body footer .sns .tw a:hover,
body footer .sns .inst a:hover,
body footer .sns .yb a:hover,
body footer .sns .tik a:hover,
body footer .sns > div > a:hover {
	background: #D9B96E !important;
	background-color: #D9B96E !important;
	border-color: #D9B96E !important;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(217, 185, 110, 0.4) !important;
}

body footer .sns a i {
	font-size: 18px !important;
	color: #fff !important;
	line-height: 1 !important;
}
body footer .sns a:hover i {
	color: #fff !important;
}
body footer .sns a svg {
	color: #fff !important;
	fill: currentColor !important;
	width: 18px !important;
	height: 18px !important;
}
body footer .sns a img {
	width: 18px !important;
	height: 18px !important;
	filter: brightness(0) invert(1) !important;
	transition: filter 0.3s ease !important;
}

/* ============ 右カラム ============ */
body footer .footer-r {
	flex: 1 !important;
	min-width: 0;
	display: grid !important;
	grid-template-columns: 1fr 1.6fr !important;
	gap: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

body footer .footer-r > ul:first-child {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 4px 16px !important;
	align-content: start !important;
	background: none !important;
}

body footer .footer-r > ul:last-child {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

body footer .footer-r > ul > li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
	border: none !important;
	width: auto !important;
}
body footer .footer-r > ul > li::before {
	display: none !important;
	content: none !important;
}

body footer .footer-r > ul > li > a {
	display: inline-block !important;
	color: #E5EEF2 !important;
	font-family: 'Noto Serif JP', serif !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	padding: 6px 0 6px 14px !important;
	position: relative;
	letter-spacing: 0.04em !important;
	transition: color 0.3s ease, transform 0.3s ease !important;
	line-height: 1.5;
	background: none !important;
	border: none !important;
}
body footer .footer-r > ul > li > a::before {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 6px !important;
	height: 1px !important;
	background: #D9B96E !important;
	transition: width 0.3s ease !important;
}
body footer .footer-r > ul > li > a:hover {
	color: #D9B96E !important;
	transform: translateX(2px);
}
body footer .footer-r > ul > li > a:hover::before {
	width: 12px !important;
}

body footer .footer-nav {
	list-style: none !important;
	margin: 14px 0 0 !important;
	padding: 14px 0 0 16px !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr 1fr !important;
	gap: 4px 18px !important;
	border-top: 1px dashed rgba(217, 185, 110, 0.28) !important;
	background: none !important;
}
body footer .footer-nav li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
	border: none !important;
	width: auto !important;
}
body footer .footer-nav li::before {
	display: none !important;
	content: none !important;
}
body footer .footer-nav li a {
	display: inline-block !important;
	color: rgba(229, 238, 242, 0.7) !important;
	font-family: 'Noto Serif JP', serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	padding: 3px 0 !important;
	letter-spacing: 0.04em !important;
	transition: color 0.3s ease, transform 0.3s ease !important;
	line-height: 1.5;
	background: none !important;
	border: none !important;
}
body footer .footer-nav li a:hover {
	color: #D9B96E !important;
	transform: translateX(2px);
}

body footer .footer__nav-sp.sp {
	display: none !important;
}

/* ============ サイトマップ ============ */
body footer .sitemap {
	padding: 28px 0 !important;
	margin: 0 !important;
	background: none !important;
}
body footer .sitemap ul {
	display: flex !important;
	justify-content: center !important;
	gap: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	flex-wrap: wrap;
	background: none !important;
}
body footer .sitemap ul li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border: none !important;
	background: none !important;
	width: auto !important;
}
body footer .sitemap ul li::before {
	display: none !important;
	content: none !important;
}
body footer .sitemap li a {
	color: rgba(229, 238, 242, 0.75) !important;
	font-family: 'Noto Serif JP', serif !important;
	font-size: 12.5px !important;
	text-decoration: none !important;
	letter-spacing: 0.06em !important;
	position: relative !important;
	padding-left: 16px !important;
	transition: color 0.3s ease !important;
	line-height: 1.5;
	border: none !important;
	background: none !important;
}
body footer .sitemap li a::before {
	content: '›' !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #D9B96E !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}
body footer .sitemap li a:hover {
	color: #D9B96E !important;
}

/* ============ コピーライト ============ */
body footer .guide {
	background: #052430 !important;
	background-color: #052430 !important;
	padding: 18px 0 !important;
	margin: 0 !important;
	width: 100%;
}
body footer .guide .inner {
	text-align: center !important;
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 0 24px !important;
	background: none !important;
}
body footer .guide .copy {
	color: rgba(229, 238, 242, 0.55) !important;
	font-family: 'Cinzel', serif !important;
	font-size: 11px !important;
	letter-spacing: 0.14em !important;
	margin: 0 !important;
	text-transform: uppercase;
	background: none !important;
}

/* ============ レスポンシブ ============ */
@media (max-width: 1200px) {
	body footer > .inner > .flex {
		gap: 40px !important;
	}
	body footer .footer-l {
		flex: 0 0 280px !important;
	}
	body footer .footer-r {
		grid-template-columns: 1fr 1.4fr !important;
		gap: 32px !important;
	}
	body footer .footer-nav {
		grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 1024px) {
	body footer .footer-r > ul:first-child {
		grid-template-columns: 1fr !important;
	}
	body footer .footer-r {
		grid-template-columns: 1fr 2fr !important;
	}
	body footer .footer-nav {
		grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 768px) {
	body footer {
		padding: 56px 0 0 !important;
	}
	body footer > .inner {
		padding: 0 20px !important;
	}
	body footer > .inner > .flex {
		flex-direction: column !important;
		gap: 32px !important;
		padding-bottom: 32px !important;
	}

	body footer .footer-l {
		flex: 0 0 auto !important;
		width: 100% !important;
		text-align: center !important;
	}
	body footer .footer-l .row-1 {
		align-items: center !important;
		text-align: center !important;
		gap: 16px !important;
		margin-bottom: 22px !important;
	}
	body footer .footer-l .row-1 p {
		font-size: 12.5px !important;
		text-align: center !important;
	}
	body footer .footer-l .row-1 p:first-of-type {
		text-align: center !important;
	}
	body footer .footer-l .logo {
		text-align: center !important;
	}
	body footer .footer-l .logo img {
		max-width: 180px !important;
	}
	body footer .sns,
	body footer .sns.flex {
		justify-content: center !important;
	}

	/* PCナビ非表示 */
	body footer .footer-r {
		display: none !important;
	}

	/* ★★★ SPナビを2列グリッド（高詳細度で確実に） ★★★ */
	html body footer .footer__nav-sp,
	html body footer .footer__nav-sp.sp {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		background: none !important;
	}
	html body footer .footer__nav-sp > ul,
	html body footer .footer__nav-sp.sp > ul {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		grid-auto-rows: auto !important;
		gap: 0 !important;
		border-top: 1px solid rgba(217, 185, 110, 0.25) !important;
		background: none !important;
		width: 100% !important;
	}
	html body footer .footer__nav-sp > ul > li,
	html body footer .footer__nav-sp.sp > ul > li {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		border: none !important;
		border-bottom: 1px solid rgba(229, 238, 242, 0.10) !important;
		background: transparent !important;
		background-color: transparent !important;
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		float: none !important;
	}
	html body footer .footer__nav-sp > ul > li::before,
	html body footer .footer__nav-sp.sp > ul > li::before {
		display: none !important;
		content: none !important;
	}
	html body footer .footer__nav-sp > ul > li:nth-child(odd),
	html body footer .footer__nav-sp.sp > ul > li:nth-child(odd) {
		border-right: 1px solid rgba(229, 238, 242, 0.10) !important;
	}
	html body footer .footer__nav-sp > ul > li > a,
	html body footer .footer__nav-sp.sp > ul > li > a {
		display: block !important;
		color: #E5EEF2 !important;
		font-family: 'Noto Serif JP', serif !important;
		font-size: 12.5px !important;
		text-decoration: none !important;
		padding: 14px 12px 14px 26px !important;
		letter-spacing: 0.03em !important;
		line-height: 1.4 !important;
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
		position: relative !important;
		text-align: left !important;
		transition: all 0.3s ease !important;
		font-weight: 500 !important;
		border: none !important;
		box-shadow: none !important;
		width: 100% !important;
		min-height: 0 !important;
	}
	html body footer .footer__nav-sp > ul > li > a::before,
	html body footer .footer__nav-sp.sp > ul > li > a::before {
		content: '›' !important;
		position: absolute !important;
		left: 10px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		color: #D9B96E !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		background: none !important;
		width: auto !important;
		height: auto !important;
	}
	html body footer .footer__nav-sp > ul > li > a::after,
	html body footer .footer__nav-sp.sp > ul > li > a::after {
		display: none !important;
		content: none !important;
	}
	html body footer .footer__nav-sp > ul > li > a:hover,
	html body footer .footer__nav-sp > ul > li > a:active,
	html body footer .footer__nav-sp.sp > ul > li > a:hover,
	html body footer .footer__nav-sp.sp > ul > li > a:active {
		background: rgba(217, 185, 110, 0.10) !important;
		color: #D9B96E !important;
	}

	body footer .sitemap {
		padding: 22px 0 !important;
	}
	body footer .sitemap ul {
		gap: 14px 18px !important;
	}
	body footer .sitemap li a {
		font-size: 11.5px !important;
	}

	body footer .guide {
		padding: 14px 16px !important;
	}
	body footer .guide .copy {
		font-size: 10px !important;
		letter-spacing: 0.1em !important;
	}
}

@media (max-width: 480px) {
	html body footer .footer__nav-sp > ul,
	html body footer .footer__nav-sp.sp > ul {
		grid-template-columns: 1fr !important;
	}
	html body footer .footer__nav-sp > ul > li:nth-child(odd),
	html body footer .footer__nav-sp.sp > ul > li:nth-child(odd) {
		border-right: none !important;
	}
}