/* HOME-NEWS-TABS-20261011: only the recognized home category block. */
body.front-page #content .entry-content .aoki-home-news {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 24px;
	position: relative;
}
body.front-page #content .entry-content .aoki-home-news > br { display: none; }
body.front-page #content .entry-content .aoki-home-news > label {
	/* Existing labels contain inline colors/borders and parent width rules. */
	width: auto !important;
	flex: 0 1 auto;
	min-height: 44px;
	min-width: 64px;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 14px;
	margin: 0;
	top: auto;
	border: 1px solid #ccd8ce !important;
	border-radius: 6px;
	background: #fff !important;
	color: #24352c !important;
	opacity: 1;
	font-size: 16px;
	line-height: 1.5;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
}
body.front-page #content .entry-content .aoki-home-news > label::before { content: none; }
body.front-page #content .entry-content .aoki-home-news > input:checked + label {
	background: #28583d !important;
	border-color: #28583d !important;
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 5px;
}
body.front-page #content .entry-content .aoki-home-news > label:hover { background: #f4f7f4 !important; }
body.front-page #content .entry-content .aoki-home-news > input:checked + label:hover { background: #28583d !important; }
body.front-page #content .entry-content .aoki-home-news > input:focus-visible + label {
	outline: 3px solid #28583d;
	outline-offset: 3px;
}
body.front-page #content .entry-content .aoki-home-news > input {
	/* Keep native radio keyboard controls, with focus inside this block. */
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	clip-path: inset(50%);
	overflow: hidden;
}
body.front-page #content .entry-content .aoki-home-news > .st-tab-main {
	flex: 0 0 100%;
	min-width: 0;
	max-width: 100%;
	margin-top: 8px;
	animation: none;
}
body.front-page #content .entry-content .aoki-home-news > input[value="5"]:checked ~ .st-tab-main-5,
body.front-page #content .entry-content .aoki-home-news > input[value="6"]:checked ~ .st-tab-main-6,
body.front-page #content .entry-content .aoki-home-news > input[value="7"]:checked ~ .st-tab-main-7 { display: block; }
body.front-page #content .entry-content .aoki-home-news .responbox50.smart50,
body.front-page #content .entry-content .aoki-home-news .aoki-home-news-tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
}
body.front-page #content .entry-content .aoki-home-news .responbox50.smart50::after { content: none; }
body.front-page #content .entry-content .aoki-home-news .responbox50.smart50 > :is(.lbox, .rbox),
body.front-page #content .entry-content .aoki-home-news .responbox50.smart50 > :is(.lbox, .rbox) > .shortcode-kanren {
	display: contents;
}
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren > dl {
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	height: auto;
	min-height: 0;
	background: #fff;
	border: 1px solid #dce3dc;
	border-radius: 6px;
	box-shadow: none;
	overflow: hidden;
}
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren > dl > dt {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren > dl > dd {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 12px;
}
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren .kanren-t {
	font-size: 16px;
	line-height: 1.7;
	margin: 8px 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	min-height: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren .kanren-t::before,
body.front-page #content .entry-content .aoki-home-news .shortcode-kanren .kanren-t::after { content: none; }
body.front-page #content .entry-content .aoki-home-news .itiran-category { margin: 0; }
body.front-page #content .entry-content .aoki-home-news .catname { font-size: 12px; line-height: 1.5; }
body.front-page #content .entry-content .aoki-home-news :is(.st-mybtn, .aoki-home-news-more) {
	width: auto !important;
	max-width: 100%;
	margin: 24px 0 0;
	padding: 0;
	/* The original button has an inline 3px border and background. */
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
}
body.front-page #content .entry-content .aoki-home-news :is(.st-mybtn, .aoki-home-news-more) a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 20px;
	border: 1px solid #28583d;
	border-radius: 6px;
	color: #24352c !important;
	background: #fff;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	max-width: 100%;
	overflow-wrap: anywhere;
}
body.front-page #content .entry-content .aoki-home-news-tools > h3 {
	font-size: 20px;
	line-height: 1.6;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.front-page #content .entry-content .aoki-home-news-tools > h3::before,
body.front-page #content .entry-content .aoki-home-news-tools > h3::after { content: none; }
body.front-page #content .entry-content .aoki-home-news-tools > p { margin: 0 0 16px; }
body.front-page #content .entry-content .aoki-home-news-tools .aoki-home-news-ad { font-size: 13px; }
body.front-page #content .entry-content .aoki-home-news-tool-grid > li {
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid #dce3dc;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid > li::before { content: none; }
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__media {
	padding: 12px;
	aspect-ratio: 16 / 10;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__media a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__title {
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: anywhere;
	margin: 0 0 12px;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__shops {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: auto 0 0;
}
body.front-page #content .entry-content .aoki-home-news-tool-grid .aoki-pca-catalog-card__shop {
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	flex: 1 1 100%;
	min-height: 44px;
	padding: 8px;
	border: 1px solid #ccd8ce;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: #24352c;
	background: #f4f7f4;
	text-decoration: none;
}
@media (min-width: 1024px) {
	body.front-page #content .entry-content .aoki-home-news .responbox50.smart50,
	body.front-page #content .entry-content .aoki-home-news .aoki-home-news-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	body.front-page #content .entry-content .aoki-home-news > label { padding-inline: 12px; }
	body.front-page #content .entry-content .aoki-home-news .responbox50.smart50,
	body.front-page #content .entry-content .aoki-home-news .aoki-home-news-tool-grid { gap: 10px; }
	body.front-page #content .entry-content .aoki-home-news .shortcode-kanren > dl > dd { padding: 10px; }
	/* Override the previous mobile card's 13.5px important rule; keep its 3-line preview. */
	body.front-page #content .entry-content .aoki-home-news .shortcode-kanren .kanren-t { font-size: 16px !important; line-height: 1.6 !important; }
}
