* { box-sizing: border-box; }

html { margin: 0 !important; background: #f3f1ee; }
body.hlm-control-body {
	margin: 0;
	background: #f3f1ee;
	color: #191919;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.hlm-control-body a { color: inherit; }
.hlm-control-app { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }

.hlm-control-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 76px;
	padding: 0 max(24px, calc((100% - 1160px) / 2));
	background: #fff;
	border-bottom: 1px solid #e1ded9;
}

.hlm-control-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hlm-control-brand strong { display: block; color: #a60000; font-size: 18px; letter-spacing: .04em; }
.hlm-control-brand small { display: block; color: #6a6864; font-size: 11px; letter-spacing: .08em; margin-top: 2px; }

.hlm-control-mark {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #a60000;
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .04em;
}

.hlm-control-user { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.hlm-control-user span { font-weight: 700; }
.hlm-control-user a { color: #6a6864; text-underline-offset: 3px; }

.hlm-control-nav {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	justify-content: center;
	background: #111;
	box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.hlm-control-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 150px;
	height: 58px;
	padding: 0 24px;
	color: #ddd;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	border-bottom: 4px solid transparent;
}
.hlm-control-nav a span { color: #e65d5d; font-size: 20px; line-height: 1; }
.hlm-control-nav a:hover,
.hlm-control-nav a.is-current { color: #fff; background: #222; border-bottom-color: #b60000; }

.hlm-control-main { width: min(100% - 32px, 1120px); margin: 0 auto; padding: 38px 0 70px; }
.hlm-control-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.hlm-control-title-row p,
.hlm-section-heading p { color: #a60000; font-size: 11px; font-weight: 900; letter-spacing: .14em; margin: 0 0 6px; }
.hlm-control-title-row h1 { font-size: 32px; line-height: 1.3; margin: 0; }
.hlm-back-link { color: #555 !important; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.hlm-control-welcome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: linear-gradient(135deg, #151515 0%, #2b0909 100%);
	color: #fff;
	border-radius: 18px;
	padding: 38px 42px;
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.hlm-control-kicker { color: #e36b6b; font-size: 12px; font-weight: 900; letter-spacing: .08em; margin: 0 0 8px; }
.hlm-control-welcome h2 { color: #fff; font-size: 27px; line-height: 1.45; margin: 0 0 8px; }
.hlm-control-welcome p:last-child { color: #d7d3d3; margin: 0; }

.hlm-control-main-button,
.hlm-control-primary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 8px;
	background: #b60000;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 4px 0 #710000;
}
.hlm-control-main-button { min-width: 220px; background: #fff; color: #9e0000 !important; box-shadow: 0 4px 0 #b9b4b4; }
.hlm-control-main-button span { font-size: 23px; }

.hlm-control-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 22px 0 42px; }
.hlm-control-stats div { display: flex; align-items: baseline; gap: 12px; background: #fff; border: 1px solid #e1ded9; border-radius: 12px; padding: 20px 24px; }
.hlm-control-stats strong { font-size: 27px; color: #111; }
.hlm-control-stats strong.is-ok { color: #19703b; font-size: 18px; }
.hlm-control-stats strong.is-warn { color: #a05d00; font-size: 18px; }
.hlm-control-stats span { color: #6a6864; font-size: 13px; font-weight: 700; }

.hlm-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.hlm-section-heading h2 { font-size: 24px; margin: 0; }
.hlm-section-heading > a { color: #8f0000; font-size: 13px; font-weight: 800; text-underline-offset: 4px; }

.hlm-next-live { margin-bottom: 48px; }
.hlm-next-live-card { display: grid; grid-template-columns: 210px 1fr; overflow: hidden; background: #fff; border: 1px solid #e1ded9; border-radius: 14px; }
.hlm-next-live-image { min-height: 180px; background: #111; }
.hlm-next-live-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hlm-next-live-content { padding: 26px 30px; }
.hlm-next-live-content time { color: #a60000; font-weight: 900; }
.hlm-next-live-content h3 { font-size: 22px; line-height: 1.45; margin: 8px 0; }
.hlm-next-live-content p { color: #65615e; margin: 0 0 18px; }
.hlm-next-live-content a { color: #8f0000; font-weight: 800; text-underline-offset: 4px; }

.hlm-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hlm-module-card { position: relative; display: flex; flex-direction: column; min-height: 185px; padding: 25px; border-radius: 14px; background: #fff; border: 1px solid #dfdcd7; text-decoration: none; }
.hlm-module-card.is-active { border-top: 5px solid #a60000; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.hlm-module-card.is-active:hover { transform: translateY(-2px); box-shadow: 0 9px 26px rgba(0,0,0,.1); }
.hlm-module-card.is-future { background: #eae8e5; color: #77736e; }
.hlm-module-icon { display: grid; place-items: center; width: 54px; height: 36px; margin-bottom: 20px; border-radius: 6px; background: #171717; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.hlm-module-card.is-active .hlm-module-icon { background: #a60000; }
.hlm-module-card strong { font-size: 18px; margin-bottom: 7px; }
.hlm-module-card small { color: #716d68; font-size: 13px; line-height: 1.6; }
.hlm-coming { position: absolute; top: 16px; right: 16px; border-radius: 999px; background: #d8d5d1; color: #6a6762; font-size: 10px; font-weight: 800; padding: 5px 9px; }

.hlm-home-screen-tip { margin-top: 28px; padding: 20px 24px; border-left: 5px solid #a60000; background: #fff; }
.hlm-home-screen-tip strong { font-size: 16px; }
.hlm-home-screen-tip p { color: #625f5a; line-height: 1.7; margin: 6px 0 0; }

.hlm-control-footer { display: flex; justify-content: space-between; width: min(100% - 32px, 1120px); margin: 0 auto; padding: 25px 0 38px; border-top: 1px solid #d8d5d0; color: #77736f; font-size: 12px; }
.hlm-control-footer p { margin: 0; }
.hlm-control-footer a { text-underline-offset: 3px; }

.hlm-control-notice { border-radius: 8px; padding: 14px 17px; margin: 0 0 20px; font-weight: 700; }
.hlm-control-notice.is-success { background: #e9f7ee; color: #176733; border: 1px solid #b7ddc4; }
.hlm-control-notice.is-error { background: #fff0f0; color: #941b1b; border: 1px solid #e9b7b7; }

.hlm-control-form.hlm-wrap { max-width: 940px; margin: 0; }
.hlm-control-form .button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 18px; border: 1px solid #aaa; border-radius: 6px; background: #fff; color: #222; font-size: 15px; font-weight: 700; cursor: pointer; }
.hlm-control-form .button-primary { border-color: #a60000; background: #a60000; color: #fff; }
.hlm-control-form .button-hero { min-height: 50px; font-size: 16px; }
.hlm-control-published { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-radius: 8px; background: #e9f7ee; color: #176733; padding: 13px 17px; margin-bottom: 18px; }
.hlm-control-published span { font-weight: 900; }
.hlm-control-published a { font-size: 13px; font-weight: 800; text-underline-offset: 3px; }

.hlm-list-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.hlm-list-actions p { color: #65615d; margin: 0; }
.hlm-control-live-list { display: grid; gap: 15px; }
.hlm-control-live-card { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; background: #fff; border: 1px solid #dfdcd7; border-radius: 12px; }
.hlm-control-live-thumb { background: #171717; min-height: 150px; }
.hlm-control-live-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hlm-control-live-body { padding: 20px 24px; }
.hlm-live-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hlm-live-card-meta time { color: #a60000; font-weight: 900; }
.hlm-live-card-meta span { border-radius: 999px; padding: 5px 10px; font-size: 10px; font-weight: 900; }
.hlm-status-publish { background: #e2f5e8; color: #196636; }
.hlm-status-draft { background: #eeeae4; color: #66615d; }
.hlm-control-live-body h2 { font-size: 19px; line-height: 1.45; margin: 8px 0 5px; }
.hlm-control-live-body p { color: #68645f; margin: 0 0 16px; }
.hlm-control-live-actions { display: flex; gap: 20px; }
.hlm-control-live-actions a { color: #8e0000; font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.hlm-empty-state { padding: 70px 20px; text-align: center; background: #fff; border: 1px solid #dfdcd7; border-radius: 14px; }
.hlm-empty-state span { display: inline-grid; place-items: center; width: 65px; height: 45px; background: #a60000; color: #fff; border-radius: 7px; font-weight: 900; }
.hlm-empty-state h2 { font-size: 21px; margin: 20px 0; }
.hlm-empty-state a { color: #8e0000; font-weight: 800; }

.hlm-control-login-page { display: grid; place-items: center; min-height: 100vh; padding: 28px 16px; background: radial-gradient(circle at top, #3b1010, #0d0d0d 58%); }
.hlm-login-card { width: min(100%, 430px); padding: 42px 38px; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.35); text-align: center; }
.hlm-login-card .hlm-control-mark { width: 62px; height: 62px; font-size: 19px; }
.hlm-control-eyebrow { color: #a60000; font-size: 11px; font-weight: 900; letter-spacing: .16em; margin: 18px 0 3px; }
.hlm-login-card h1 { font-size: 31px; margin: 0 0 12px; }
.hlm-login-lead { color: #65615d; line-height: 1.8; margin: 0 0 26px; }
.hlm-login-card form { text-align: left; }
.hlm-login-card form p { margin: 0 0 16px; }
.hlm-login-card label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.hlm-login-card input[type="text"],
.hlm-login-card input[type="password"] { width: 100%; height: 49px; border: 1px solid #aaa; border-radius: 7px; padding: 0 12px; font-size: 16px; }
.hlm-login-card .login-remember label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.hlm-login-card .login-submit input { width: 100%; min-height: 50px; border: 0; border-radius: 7px; background: #a60000; color: #fff; font-size: 16px; font-weight: 900; cursor: pointer; }
.hlm-lost-password { display: inline-block; color: #5d5955 !important; font-size: 13px; margin-top: 6px; text-underline-offset: 3px; }

@media (max-width: 760px) {
	.hlm-control-header { height: 66px; padding: 0 15px; }
	.hlm-control-brand strong { font-size: 15px; }
	.hlm-control-mark { width: 39px; height: 39px; font-size: 13px; }
	.hlm-control-user span { display: none; }
	.hlm-control-user a { font-size: 12px; }
	.hlm-control-nav { bottom: 0; top: auto; position: fixed; left: 0; right: 0; padding-bottom: env(safe-area-inset-bottom); }
	.hlm-control-nav a { flex: 1; flex-direction: column; gap: 2px; min-width: 0; height: 62px; padding: 5px 4px 7px; font-size: 10px; border-bottom: 0; border-top: 3px solid transparent; }
	.hlm-control-nav a:hover,
	.hlm-control-nav a.is-current { border-top-color: #b60000; }
	.hlm-control-nav a span { font-size: 21px; }
	.hlm-control-main { width: min(100% - 24px, 1120px); padding: 25px 0 95px; }
	.hlm-control-title-row { align-items: center; margin-bottom: 20px; }
	.hlm-control-title-row h1 { font-size: 25px; }
	.hlm-control-title-row p { font-size: 9px; }
	.hlm-back-link { font-size: 12px; }
	.hlm-control-welcome { display: block; padding: 26px 21px; border-radius: 13px; }
	.hlm-control-welcome h2 { font-size: 22px; }
	.hlm-control-main-button { width: 100%; min-width: 0; margin-top: 22px; }
	.hlm-control-stats { gap: 10px; margin: 14px 0 34px; }
	.hlm-control-stats div { display: block; padding: 15px; }
	.hlm-control-stats strong { display: block; font-size: 23px; }
	.hlm-control-stats span { display: block; margin-top: 3px; }
	.hlm-next-live-card { grid-template-columns: 105px 1fr; }
	.hlm-next-live-image { min-height: 160px; }
	.hlm-next-live-content { padding: 18px 15px; }
	.hlm-next-live-content h3 { font-size: 17px; }
	.hlm-next-live-content p { font-size: 13px; }
	.hlm-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.hlm-module-card { min-height: 170px; padding: 18px 15px; }
	.hlm-module-card strong { font-size: 15px; }
	.hlm-module-card small { font-size: 11px; }
	.hlm-coming { top: 10px; right: 10px; font-size: 8px; }
	.hlm-control-footer { display: none; }
	.hlm-control-form.hlm-wrap { margin: 0; }
	.hlm-control-form .hlm-card { margin-bottom: 16px; }
	.hlm-control-form .hlm-actions { flex-direction: column-reverse; }
	.hlm-control-form .hlm-actions .button { width: 100%; min-height: 50px; }
	.hlm-list-actions { align-items: flex-start; }
	.hlm-list-actions p { display: none; }
	.hlm-list-actions .hlm-control-primary-link { width: 100%; }
	.hlm-control-live-card { grid-template-columns: 92px 1fr; }
	.hlm-control-live-thumb { min-height: 145px; }
	.hlm-control-live-body { padding: 15px 13px; }
	.hlm-control-live-body h2 { font-size: 15px; }
	.hlm-live-card-meta { display: block; }
	.hlm-live-card-meta span { display: inline-block; margin-top: 5px; }
	.hlm-control-live-actions { gap: 14px; }
	.hlm-login-card { padding: 34px 22px; }
}

