/* Front page v0.22 — 623hr editorial media layout. */

body.home {
	--front-navy: #263f54;
	--front-teal: #8fc7cf;
	--front-paper: #f6f7f7;
	--front-line: #e1e6e8;
	--front-muted: #6d7880;
	background: var(--front-paper);
}
body.home .hr-to-top { display: none !important; }
body.home .hr-site-main { padding: 0; }

/* ロゴを上、ナビを下へ分け、ブログ媒体としての骨格を明確にする。 */
body.home .hr-site-header { border: 0; background: #fff; }
body.home .hr-site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	min-height: auto;
	padding-top: 16px;
	padding-bottom: 0;
}
body.home .hr-site-branding { grid-column: 1 / -1; justify-content: center; min-height: 48px; }
body.home .hr-site-branding .custom-logo { max-height: 48px; }
body.home .hr-global-nav {
	grid-column: 1 / -1;
	min-height: 48px;
	background: var(--front-navy);
	box-shadow: 0 0 0 100vmax var(--front-navy);
	clip-path: inset(0 -100vmax);
}
body.home .hr-global-nav .hr-menu { width: 100%; justify-content: center; }
body.home .hr-global-nav .hr-menu a {
	padding: 11px 20px;
	color: #fff;
	font-size: .86rem;
	font-weight: 700;
	border-radius: 0;
}
body.home .hr-global-nav .hr-menu a:hover,
body.home .hr-global-nav .hr-menu .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .1); }
body.home .hr-mobile-search { display: none; }

.hr-media-front { color: var(--hr-ink); }
.hr-media-front__notice {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 34px;
	padding: 6px 20px;
	color: #fff;
	background: var(--front-teal);
	font-size: .8rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

/* 最初に見せる3つの入口。カードというより目次として扱う。 */
.hr-front-guides { padding: 34px 0 38px; }
.hr-front-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.hr-front-guide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(38, 63, 84, .06);
	border-radius: 7px;
	box-shadow: 0 3px 14px rgba(31, 52, 70, .05);
	color: var(--hr-ink);
	text-decoration: none;
	transition: transform .2s ease;
}
.hr-front-guide__image,
.hr-front-guide__image::after { position: absolute; inset: 0; }
.hr-front-guide__image::after { content: none; }
.hr-front-guide__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
	transition: transform .35s ease, opacity .25s ease;
}
.hr-front-guide__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e7edef, #f9faf9);
}
.hr-front-guide__title {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	max-width: 88%;
	padding: 6px 12px;
	background: rgba(255, 255, 255, .94);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.55;
	text-align: center;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hr-front-guide:hover { opacity: 1; transform: translateY(-2px); }
.hr-front-guide:hover .hr-front-guide__image img { transform: scale(1.035); }

.hr-front-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 38px;
	align-items: start;
	padding-bottom: 64px;
}
.hr-front-feed__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
.hr-front-feed .hr-card {
	background: #fff;
	border: 1px solid rgba(38, 63, 84, .06);
	border-radius: 8px;
	box-shadow: 0 3px 14px rgba(31, 52, 70, .055);
	overflow: hidden;
}
.hr-front-feed .hr-card__thumb { border: 0; border-radius: 0; aspect-ratio: 16 / 9; }
.hr-front-feed .hr-card__body { padding: 16px 18px 19px; gap: 9px; }
.hr-front-feed .hr-card__title {
	order: 1;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.65;
	text-align: center;
}
.hr-front-feed .hr-card__meta { order: 3; justify-content: center; margin-top: auto; }
.hr-front-feed .hr-card__cat {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 3;
	padding: 2px 9px;
	border-radius: 999px;
	background: #70b800;
	color: #fff;
	font-size: .66rem;
	line-height: 1.4;
}
.hr-front-feed .hr-card__new { display: none; }
.hr-front-feed .hr-card__excerpt {
	order: 2;
	padding-top: 10px;
	border-top: 3px dotted #7691a2;
	font-size: .8rem;
	line-height: 1.75;
}
.hr-front-feed__more { margin: 26px 0 0; text-align: right; }
.hr-front-feed__more a { color: var(--front-navy); font-size: .86rem; font-weight: 700; text-decoration: none; }

.hr-front-sidebar { display: grid; gap: 24px; }
.hr-front-profile,
.hr-front-widget {
	background: #fff;
	border: 1px solid rgba(38, 63, 84, .07);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(31, 52, 70, .055);
	overflow: hidden;
}
.hr-front-profile { text-align: center; }
.hr-front-profile__cover {
	height: 105px;
	background:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,.2) 0 2px, transparent 3px),
		linear-gradient(140deg, #79b8c1, #a8d3d5);
	background-size: 20px 20px, auto;
}
.hr-front-profile__image {
	display: block;
	width: 112px;
	height: 112px;
	margin: -58px auto 0;
	object-fit: contain;
	background: #fff;
	border: 5px solid #fff;
	border-radius: 50%;
}
.hr-front-profile__body { padding: 8px 24px 26px; }
.hr-front-profile__name {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	font-weight: 700;
}
.hr-front-profile__body > p:not(.hr-front-profile__name) {
	margin: 0;
	color: var(--front-muted);
	font-size: .82rem;
	line-height: 1.9;
	text-align: left;
}
.hr-front-profile__body a {
	display: block;
	margin-top: 16px;
	color: var(--front-navy);
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
}
.hr-front-widget { padding: 20px; }
.hr-front-widget h2 {
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--front-line);
	font-family: Georgia, "Times New Roman", serif;
	font-size: .92rem;
	letter-spacing: .05em;
}
.hr-front-widget ul { margin: 0; padding: 0; list-style: none; }
.hr-front-widget li + li { border-top: 1px solid var(--front-line); }
.hr-front-widget li a {
	display: block;
	padding: 9px 2px;
	color: var(--hr-ink-soft);
	font-size: .82rem;
	text-decoration: none;
}

@media (max-width: 900px) {
	.hr-front-guides__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hr-front-layout { grid-template-columns: 1fr; }
	.hr-front-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hr-front-profile { grid-row: span 2; }
}
@media (max-width: 782px) {
	body.home .hr-site-header__inner { display: flex; min-height: 66px; padding-block: 9px; }
	body.home .hr-site-branding .custom-logo { max-height: 40px; }
	body.home .hr-site-branding { order: 2; justify-content: center; }
	body.home .hr-global-nav { grid-column: auto; background: #fff; box-shadow: none; clip-path: none; }
	body.home .hr-global-nav .hr-menu a { color: var(--hr-ink); }
	body.home .hr-nav-toggle { order: 1; display: block; margin: 0; border: 0; }
	body.home .hr-mobile-search {
		position: relative;
		order: 3;
		display: block;
		width: 42px;
		height: 42px;
		color: var(--front-navy);
	}
	body.home .hr-mobile-search span {
		position: absolute;
		top: 10px;
		left: 10px;
		width: 15px;
		height: 15px;
		border: 3px solid currentColor;
		border-radius: 50%;
	}
	body.home .hr-mobile-search span::after {
		position: absolute;
		right: -7px;
		bottom: -5px;
		width: 9px;
		height: 3px;
		content: "";
		background: currentColor;
		transform: rotate(45deg);
	}
	.hr-media-front__notice { background: var(--front-navy); }
	.hr-front-guides { padding: 20px 0 28px; }
	.hr-front-guides__grid { gap: 10px; }
	.hr-front-guide { min-height: 116px; }
	.hr-front-guide__title { font-size: .78rem; }
	.hr-front-layout { gap: 34px; padding-bottom: 44px; }
}
@media (max-width: 560px) {
	.hr-front-feed__cards { grid-template-columns: 1fr; gap: 22px; }
	.hr-front-sidebar { grid-template-columns: 1fr; }
	.hr-front-profile { grid-row: auto; }
}
