/*---------------------------------------------------- フッター --*/
/* 2026年リニューアルの見た目（shop.grong.jp の assets/common_css_footer_renewal.css の写し。template-parts/footer.php で footer.css の後に読む。カレンダーはアプリから）。
   今のフッターのCSSより強くするため html body を付ける */
html body #grongjpFooter {
	background-color: #F9F9F9;
	border-top: 1px solid #E4E1DB;
}
html body #grongjpFooter a:hover {
	color: #DC000C;
	opacity: 1;
}
/* 上段：PCは3列のリンク＋カレンダー（1.6倍の幅） */
html body #grongjpFooter .footer-main {
	padding: 0;
}
html body #grongjpFooter .footer-main .footer-inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
	gap: 32px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 48px 20px;
}
html body #grongjpFooter .footer-main .footer-nav {
	display: contents;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__block {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	border: 0;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__label,
html body #grongjpFooter .footer-main .footer-calendar .footer-calendar__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: auto;
	min-height: 28px;
	padding: 0;
	color: #333333;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item {
	margin: 0;
	background: none;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item .footer-nav__item-inner {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 2px;
	padding: 6px 0 14px;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item .navLink,
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item .navLink.is-sp {
	display: block;
	width: auto;
	margin: 0;
	padding: 6px 0;
	color: #3A3936;
	font-size: 13px;
	line-height: 1.5;
	border: 0;
}
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item .navLink:hover {
	color: #DC000C;
	opacity: 1;
}
/* 元のCSSは :nth-child などで細かく指定していて、こちらより強いので !important で消す（幅によって区切り線が出るため） */
html body #grongjpFooter .footer-main .footer-nav .footer-nav__item .navLink::before {
	display: none !important;
}
/* カレンダー */
html body #grongjpFooter .footer-main .footer-calendar {
	width: auto;
	border: 0;
}
html body #grongjpFooter .footer-main .footer-calendar .footer-calendar__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
}
/* 表を、白い角丸の箱の中に7列で並べる */
html body #grongjpFooter #footer_calendar .footer-calendar__block > table {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
	width: auto;
	margin: 0;
	padding: 10px;
	background-color: #FFFFFF;
	border-radius: 6px;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table tbody,
html body #grongjpFooter #footer_calendar .footer-calendar__block > table tr {
	display: contents;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table th,
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td,
html body #grongjpFooter #footer_calendar .footer-calendar__block > table tr.calendar_header th {
	display: block;
	width: auto;
	padding: 0 !important;
	text-align: center;
	background: none;
	border: 0;
	border-radius: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table th.calendar_date {
	grid-column: 1 / -1;
	margin-bottom: 4px;
	color: #333333;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table th.calendar_date span {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table tr.calendar_header th span {
	top: 0;
	padding: 2px 0;
	color: #8A8780;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td {
	padding: 3px 0 !important;
	border-radius: 3px;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td span.date,
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td.past span.date,
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td.today span.date {
	top: 0;
	color: #333333;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td.closed {
	background-color: #FBE3DD;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td.closed span.date {
	color: #DC000C;
}
html body #grongjpFooter #footer_calendar .footer-calendar__block > table td.customer_support {
	background-color: #FDF3C7;
}
/* 色の説明・営業時間 */
html body #grongjpFooter #footer_calendar .footer-calendar__footer {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_description {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_description li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	color: #3A3936;
	font-size: 12px;
	line-height: 1.5;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_description li::before {
	position: static;
	width: 12px;
	height: 12px;
	background-color: #FFFFFF;
	border: 1px solid #D6D2CA;
	border-radius: 2px;
	transform: none;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_description li.closed::before {
	background-color: #FBE3DD;
	border: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_description li.customer_support::before {
	background-color: #FDF3C7;
	border: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_information {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	background: none;
	border-radius: 0;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_information li,
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_information li span {
	margin: 0;
	padding: 0;
	color: #3A3936;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}
html body #grongjpFooter #footer_calendar .footer-calendar__footer ul.calendar_information li span::before {
	content: " ";
}
/* 下段：白地。ロゴ・キャッチコピー・SNS、その下に規約のリンク・©・さとふる */
html body #grongjpFooter .footer-sub {
	background-color: #FFFFFF;
	border-top: 1px solid #E4E1DB;
}
html body #grongjpFooter .footer-sub .footer-inner {
	gap: 14px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 32px 20px 28px;
}
html body #grongjpFooter .footer-sub .footer-inner::before {
	display: none;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-logo {
	width: auto;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-logo img {
	display: block;
	width: auto;
	height: 32px;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-text {
	margin: 0;
	color: #333333;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-sns {
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 10px;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-sns .footer-sns__item {
	width: 36px;
	height: 36px;
	margin: 0;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-sns .footer-sns__item img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-policy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin: 0;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-policy .footer-policy__item {
	padding: 0;
	font-size: 12px;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-policy .footer-policy__item::before {
	display: none !important;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-policy .footer-policy__item a {
	color: #5C5A56;
	font-size: 12px;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-policy .footer-policy__item a:hover {
	color: #DC000C;
	opacity: 1;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-copy {
	margin: 0;
	color: #8A8780;
	font-size: 11px;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-satofull {
	width: 240px;
	max-width: 100%;
	margin: 0;
}
html body #grongjpFooter .footer-sub .footer-inner .footer-satofull img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #E4E1DB;
}
/* スマホ：リンクは「＋」で開け閉め（開け閉めは assets/common_js_footer.js）。カレンダーは1か月ずつ縦に */
@media (max-width: 768px) {
	html body #grongjpFooter .footer-main .footer-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 8px 16px 28px;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__block {
		border-bottom: 1px solid #E4E1DB;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__label {
		position: static;
		min-height: 52px;
		cursor: pointer;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__label span {
		position: static;
		display: block;
		width: auto;
		height: auto;
		transform: none;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__label span::before {
		content: "+";
		position: static;
		display: block;
		width: auto;
		height: auto;
		color: #DC000C;
		font-size: 18px;
		font-weight: 400;
		background: none;
		opacity: 1;
		transform: none;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__block.is-active .footer-nav__label span::before {
		content: "\2212";
		opacity: 1;
	}
	html body #grongjpFooter .footer-main .footer-nav .footer-nav__label span::after {
		display: none;
	}
	html body #grongjpFooter .footer-main .footer-calendar {
		padding-top: 20px;
	}
	html body #grongjpFooter #footer_calendar .footer-calendar__block {
		grid-template-columns: minmax(0, 1fr);
	}
	html body #grongjpFooter .footer-sub .footer-inner {
		padding: 28px 16px 28px;
	}
}
