@charset "UTF-8";
/* ============================================================
   フッター
   ・flexboxで組んでいます（CSS Gridは使っていません）
   ・背景画像「hmein_foot_back.jpg」はブラウザ幅いっぱいにリピート表示します
   ・コンテンツ幅：PCは1060px／タブレット・スマホは100%（左右に少し余白）
   ・文字色は白
   ============================================================ */

.site-footer {
	margin-top: 60px;
	background: url("https://ic4-a.wowma.net/mi/w/1280/h/1280/q/90/bcimg1-a.wowma.net/plus/u46813078/pc/css/../head_img/hmein_foot_back.jpg") repeat;
	color: #fff;
}
.site-footer a {
	color: #fff;
	text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer-inner {
	width: min(1060px, calc(100% - 40px));
	margin: 0 auto;
	padding: 56px 0 28px;
	box-sizing: border-box;
}

/* 上部中央ロゴ：PCでは非表示（左カラムのロゴを使うため）。タブレット・スマホのみ表示 */
.site-footer-logo {
	display: none;
	margin-bottom: 32px;
	text-align: center;
}
.site-footer-logo img {
	height: 38px;
	width: auto;
	/* もとのロゴ画像は濃い色の文字のため、白背景用に反転させています */
	filter: brightness(0) invert(1);
}

/* ---------------- 4カラム（flexbox／幅は不統一） ---------------- */
.site-footer-top {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.site-footer-col {
	flex: 1 1 180px;
	min-width: 0;
}
.site-footer-about {
	flex: 1 1 220px;
}
.site-footer-about-logo {
	display: inline-block;
	margin-bottom: 14px;
}
.site-footer-about-logo img {
	height: 32px;
	width: auto;
	filter: brightness(0) invert(1);
}
.site-footer-about-text {
	margin: 0;
	max-width: 30em;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .85);
}

/* 中央2カラム分：大カテゴリ一覧（他の列の2倍の伸び率にして、2カラム分の幅をとっています） */
.site-footer-categories {
	flex: 2 1 380px;
}

.site-footer-support {
	flex: 1 1 200px;
}

.site-footer-heading {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
}

.site-footer-support-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer-support-list li + li {
	margin-top: 12px;
}
.site-footer-support-list a,
.site-footer-category-list a {
	display: block;
	font-size: 13px;
	line-height: 1.6;
}

/* 大カテゴリ一覧：1列5行まで。6個目以降は2列目へ、11個目以降は3列目へ自動で折り返します */
.site-footer-category-list {
	--footer-cat-rows: 5;
	--footer-cat-row-h: 1.6em;
	--footer-cat-row-gap: 12px;

	margin: 0;
	padding: 0;
	list-style: none;

	column-count: 3;
	column-gap: 28px;
	column-fill: auto;
	height: calc(var(--footer-cat-rows) * var(--footer-cat-row-h) + (var(--footer-cat-rows) - 1) * var(--footer-cat-row-gap));
}
.site-footer-category-list li {
	margin-bottom: var(--footer-cat-row-gap);
	break-inside: avoid;
}

/* ---------------- 下部中央：リンク一覧／コピーライト ---------------- */
.site-footer-bottom {
	padding-top: 24px;
	text-align: center;
}
.site-footer-links {
	margin-bottom: 14px;
	font-size: 12px;
}
.site-footer-links a {
	display: inline;
}
/* 「お買い物ガイド | プライバシーポリシー | ? | 会社概要 |」のように、
   区切り線をそれぞれのリンクの後ろに表示しています（最後のリンクの後ろにもつきます） */
.site-footer-links a::after {
	content: "|";
	display: inline-block;
	margin: 0 10px;
	color: rgba(255, 255, 255, .5);
}
.site-footer-copyright {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, .7);
	letter-spacing: .02em;
}

/* ---------------- タブレット・スマホ：1024px以下 ---------------- */
@media (max-width: 1024px) {
	.site-footer-inner {
		width: 100%;
		padding: 40px 24px 24px;
	}
	.site-footer-logo {
		display: block;
	}
	/* 左カラム（ロゴ＋紹介文）と右カラム（ご利用ガイド）は、
	   タブレット・スマホでは表示しない仕様としています */
	.site-footer-about,
	.site-footer-support {
		display: none;
	}
	.site-footer-top {
		border-bottom: none;
		padding-bottom: 0;
	}
	.site-footer-categories {
		flex: 1 1 100%;
	}
	.site-footer-heading {
		text-align: center;
	}
}

@media (max-width: 767px) {
	.site-footer-inner {
		padding: 32px 20px 20px;
	}
	.site-footer-category-list {
		column-gap: 16px;
	}
	.site-footer-links a::after {
		margin: 0 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer a {
		transition: none;
	}
}
