/*
 * deaitecho PCMAX hub pages only.
 */

.p-deaitecho-pcmax-hub {
	padding-top: 0;
}

.dt-hub {
	--dt-hub-border: rgba(32, 47, 68, 0.12);
	--dt-hub-muted: #657184;
	--dt-hub-surface: #fff;
	--dt-hub-soft: #f6f8f9;
	--dt-hub-accent: #0d776d;
	--dt-hub-feature: #fff7d6;
	--dt-hub-feature-border: #ecd77a;
	color: var(--color_text, #263241);
}

.dt-hub a {
	text-decoration: none;
}

.dt-hub-header {
	margin: 0 0 22px;
}

.dt-hub-header__title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--dt-hub-border);
	font-size: 25px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.dt-hub-header__intro {
	margin: 0;
	color: inherit;
	font-size: 15px;
	line-height: 1.9;
}

.dt-hub-feature {
	margin: 0 0 24px;
}

.dt-hub-feature__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 14px 15px;
	border: 1px solid var(--dt-hub-feature-border);
	border-radius: 8px;
	background: var(--dt-hub-feature);
	color: #4d3d00;
}

.dt-hub-feature__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0;
}

.dt-hub-feature__description {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.65;
}

.dt-hub-feature__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(77, 61, 0, 0.1);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.dt-hub-section {
	margin: 28px 0 0;
}

.dt-hub-section__title {
	margin: 0 0 12px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.dt-hub-section__lead {
	margin: -4px 0 12px;
	color: var(--dt-hub-muted);
	font-size: 14px;
	line-height: 1.75;
}

.dt-hub-card-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.dt-hub-card {
	margin: 0;
}

.dt-hub-card__link {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 12px;
	min-height: 82px;
	padding: 9px;
	border: 1px solid var(--dt-hub-border);
	border-radius: 8px;
	background: var(--dt-hub-surface);
	color: inherit;
}

.dt-hub-card__thumb {
	display: block;
	width: 108px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: linear-gradient(135deg, #eef2f1, #f7f0df);
}

.dt-hub-card__image,
.dt-hub-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.dt-hub-card__image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.dt-hub-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	color: var(--dt-hub-muted);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
}

.dt-hub-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
}

.dt-hub-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dt-hub-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 8px;
	color: var(--dt-hub-muted);
	font-size: 12px;
	line-height: 1.35;
}

.dt-hub-link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-hub-link-list li {
	margin: 0;
	padding: 0;
}

.dt-hub-link-list a,
.dt-hub-related__links a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid var(--dt-hub-border);
	border-radius: 999px;
	background: var(--dt-hub-soft);
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.dt-hub-link-list a.is-search-fallback::after,
.dt-hub-related__links a.is-search-fallback::after {
	content: "検索";
	margin-left: 6px;
	color: var(--dt-hub-muted);
	font-size: 10px;
	font-weight: 700;
}

.dt-hub-section--check {
	padding: 14px;
	border: 1px solid rgba(13, 119, 109, 0.18);
	border-radius: 8px;
	background: #f5faf9;
}

.dt-hub-section--check .dt-hub-section__title {
	margin-bottom: 10px;
	font-size: 18px;
}

.dt-hub-related__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dt-hub-notice {
	margin: 30px 0 0;
	padding: 12px 14px;
	border: 1px solid rgba(32, 47, 68, 0.14);
	border-radius: 8px;
	background: #fbfbfc;
	color: var(--dt-hub-muted);
	font-size: 13px;
	line-height: 1.75;
}

.dt-hub-notice p {
	margin: 0;
}

@media (min-width: 720px) {
	.dt-hub-header__title {
		font-size: 28px;
	}

	.dt-hub-card-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.dt-hub-card__link {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 10px;
	}

	.dt-hub-card__thumb {
		width: 104px;
	}

	.dt-hub-feature__link {
		grid-template-columns: 1fr;
	}

	.dt-hub-feature__cta {
		width: fit-content;
	}
}

