@charset "utf-8";
/**
 * HANIRO LINE — 관리자 공지 팝업 (新レイアウト)
 * お知らせ · タイトル · 本文 · 画像 · 事務局 — フッター：今日一日表示しない / 閉じる
 */

.haniroNoticePopup {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 99999;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 520px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 48px);
	border-radius: 12px;
	border: 2px solid var(--haniro-color-navy, #0B2846);
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(11, 40, 70, 0.18);
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	transform: translate(-50%, -50%);
}

.haniroNoticePopup__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 28px 28px 20px;
	background: var(--haniro-color-bg1, #EBF1F5);
	text-align: center;
}

.haniroNoticePopup__badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 6px 14px;
	border-radius: 4px;
	background: var(--haniro-color-navy, #0B2846);
	color: var(--haniro-color-white, #fff);
	font-size: 14px;
	font-weight: var(--haniro-fw-bold, 700);
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.haniroNoticePopup__title {
	margin: 0 0 20px;
	color: var(--haniro-color-black1, #222);
	font-size: 24px;
	font-weight: var(--haniro-fw-bold, 700);
	line-height: 1.45;
	letter-spacing: -0.03em;
	text-align: center;
}

.haniroNoticePopup__message {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	color: #222;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	word-break: break-word;
}

.haniroNoticePopup__message > p,
.haniroNoticePopup__message > ul,
.haniroNoticePopup__message > ul > li,
.haniroNoticePopup__message > ol,
.haniroNoticePopup__message > ol > li {
	color: #222;
	font-size: 16px;
	line-height: 1.5;
}

.haniroNoticePopup__message > p {
	margin: 0;
}

.haniroNoticePopup__message ul,
.haniroNoticePopup__message ol {
	margin: 0;
	padding-left: 1.2em;
}

.haniroNoticePopup__message li {
	margin-bottom: 4px;
}

.haniroNoticePopup__message img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
}

.haniroNoticePopup__message .haniroNoticePopup__signoff,
.haniroNoticePopup__signoff {
	margin: 10px 0 0;
	color: #222;
	font-size: 16px;
	font-weight: var(--haniro-fw-bold, 700);
	line-height: 1.5;
	text-align: center;
}

/* 出庫スケジュール — 흰 박스 달력 */
.haniroNoticeSchedule {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 20px;
	border-radius: 15px;
	background: var(--haniro-color-white, #fff);
	box-shadow: 0 2px 12px rgba(11, 40, 70, 0.12);
	text-align: center;
}

.haniroNoticeSchedule__title {
	margin: 0;
	color: var(--haniro-color-blue, #2962D9);
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 20px;
	font-weight: var(--haniro-fw-bold, 700);
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.haniroNoticeSchedule__grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.haniroNoticeSchedule__body {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.haniroNoticeSchedule__row {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	width: 100%;
}

.haniroNoticeSchedule__row--week span {
	box-sizing: border-box;
	padding: 0 0 8px;
	border-bottom: 1px solid #757575;
	color: #222;
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

.haniroNoticeSchedule__row--week .is-sun {
	border-bottom-color: var(--haniro-color-blue, #2962D9);
	color: var(--haniro-color-blue, #2962D9);
}

.haniroNoticeSchedule__row--week .is-sat {
	border-bottom-color: #0088FF;
	color: #0088FF;
}

.haniroNoticeSchedule__row--dates span {
	box-sizing: border-box;
	padding: 10px 0;
	color: #222;
	font-family: var(--haniro-font-roboto, "Roboto", sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.haniroNoticeSchedule__row--dates .is-sat {
	color: #0088FF;
}

.haniroNoticeSchedule__row--dates .is-off {
	background: var(--haniro-color-blue, #2962D9);
	color: var(--haniro-color-white, #fff);
}

.haniroNoticeSchedule__row--dates .is-off-start {
	border-radius: 100px 0 0 100px;
}

.haniroNoticeSchedule__row--dates .is-off-mid {
	border-radius: 0;
}

.haniroNoticeSchedule__row--dates .is-off-end {
	border-radius: 0 100px 100px 0;
}

.haniroNoticeSchedule__row--caption {
	margin-top: 0;
}

.haniroNoticeSchedule__captionCell {
	grid-column: 1 / span 3;
	box-sizing: border-box;
	padding: 8px 4px 0;
	color: var(--haniro-color-blue, #2962D9);
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 13px;
	font-weight: var(--haniro-fw-medium, 500);
	line-height: 1.5;
	letter-spacing: -0.05em;
	text-align: center;
}

.haniroNoticeSchedule__note {
	margin: 0;
	color: #757575;
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.05em;
	text-align: left;
}

.haniroNoticePopup__foot {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 14px 20px;
	border-top: 1px solid var(--haniro-color-border, #E4E4E4);
	background: var(--haniro-color-white, #fff);
}

.haniroNoticePopup__dismiss {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #757575;
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.05em;
	cursor: pointer;
	user-select: none;
}

.haniroNoticePopup__dismiss span {
	color: #757575;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.05em;
}

.haniroNoticePopup__dismissInput {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: var(--haniro-color-blue, #2962D9);
}

.haniroNoticePopup__close {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: auto;
	min-height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--haniro-color-blue, #2962D9) !important;
	font-family: var(--haniro-font-jp, "Noto Sans JP", sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.haniroNoticePopup__close:hover,
.haniroNoticePopup__close:focus {
	color: var(--haniro-color-blue, #2962D9) !important;
	text-decoration: none;
}
