@charset "utf-8";
/* =============================================================
	重要なお知らせ ポップアップ（モーダル）
	- TOPページ読み込み時に表示
	- 閉じる：×ボタン / 「閉じる」ボタン / 背景クリック / Escキー
	- 配色・書体はサイト共通変数（--color-green_01 等）を使用
============================================================= */

.c-notice-modal {
	position: fixed;
	inset: 0;
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease-out;
	z-index: 100000; /* ヘッダー(9999)・ハンバーガーメニュー(99999)より上 */
}
.c-notice-modal.is_visible {
	display: block;
}
.c-notice-modal.is_open {
	opacity: 1;
}

/* 背景 */
.c-notice-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

/* 中央寄せ＋画面が低い場合のスクロール領域 */
.c-notice-modal__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 40px 20px;
	box-sizing: border-box;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* 本体 */
.c-notice-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: auto;
	padding: 56px 60px 48px;
	box-sizing: border-box;
	background: var(--color-white_01, #ffffff);
	border-top: 4px solid var(--color-green_01, #00aa64);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	transform: translateY(24px);
	transition: transform 0.4s ease-out;
}
.c-notice-modal.is_open .c-notice-modal__dialog {
	transform: translateY(0);
}

/* 閉じる（×） */
.c-notice-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: opacity 0.3s ease-out;
	appearance: none;
	-webkit-appearance: none;
}
.c-notice-modal__close:hover {
	opacity: 0.6;
}
.c-notice-modal__close::before,
.c-notice-modal__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 2px;
	background: var(--color-green_01, #00aa64);
}
.c-notice-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.c-notice-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* 日付・タイトル */
.c-notice-modal__head .p-date {
	display: block;
	margin-bottom: 18px;
	font-size: 18px;
	font-weight: var(--font-weight-medium, 500);
	color: var(--color-green_01, #00aa64);
	letter-spacing: 0.1em;
	line-height: 1.4;
}
.c-notice-modal__head .p-ttl {
	margin-bottom: 32px;
	font-size: 22px;
	font-weight: var(--font-weight-medium, 500);
	color: var(--color-green_01, #00aa64);
	line-height: 1.6;
	letter-spacing: 0.1em;
}

/* 本文 */
.c-notice-modal__txt p {
	margin-bottom: 1.6em;
	font-size: 16px;
	color: var(--color-black_01, #1c1c1c);
	line-height: 1.85;
	letter-spacing: 0.1em;
}
.c-notice-modal__txt p:last-child {
	margin-bottom: 0;
}
.c-notice-modal__txt strong {
	font-weight: var(--font-weight-bold, 700);
}
.c-notice-modal__txt a {
	color: var(--color-green_01, #00aa64);
	text-decoration: underline;
}

/* お問い合わせ先 */
.c-notice-modal__contact {
	margin-top: 32px;
	padding: 22px 20px;
	border: 1px solid var(--color-green_01, #00aa64);
	background: #f2fbf7;
	text-align: center;
}
.c-notice-modal__contact .p-name {
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: var(--font-weight-medium, 500);
	color: var(--color-black_01, #1c1c1c);
	letter-spacing: 0.1em;
	line-height: 1.4;
}
.c-notice-modal__contact .p-tel {
	font-size: 30px;
	font-weight: var(--font-weight-medium, 500);
	color: var(--color-green_01, #00aa64);
	letter-spacing: 0.06em;
	line-height: 1.2;
}
.c-notice-modal__contact .p-tel a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease-out;
}
.c-notice-modal__contact .p-tel a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.c-notice-modal__contact .p-tel .p-label {
	margin-right: 0.35em;
	font-size: 0.6em;
	letter-spacing: 0.1em;
}
.c-notice-modal__contact .p-tel .p-note {
	font-size: 0.53em;
	letter-spacing: 0.05em;
}

/* 下部ボタン */
.c-notice-modal__btnwrap {
	margin-top: 40px;
	text-align: center;
}
.c-notice-modal__btn {
	display: inline-block;
	min-width: 240px;
	padding: 1em 2em;
	border: 1px solid var(--color-green_01, #00aa64);
	background: var(--color-green_01, #00aa64);
	font-family: inherit;
	font-size: 14px;
	font-weight: var(--font-weight-medium, 500);
	color: var(--color-white_01, #ffffff);
	letter-spacing: 0.1em;
	line-height: 1;
	cursor: pointer;
	transition: all 0.3s ease-out;
	appearance: none;
	-webkit-appearance: none;
}
.c-notice-modal__btn:hover {
	background: var(--color-white_01, #ffffff);
	color: var(--color-green_01, #00aa64);
}

/* モーダル表示中の背面固定用 */
body.is_notice_modal_open {
	position: fixed;
	width: 100%;
}

/* ------------------------------
	SP
------------------------------ */
@media screen and (max-width: 768px) {
	.c-notice-modal__inner {
		padding: 20px 15px;
	}
	.c-notice-modal__dialog {
		padding: 44px 22px 32px;
		border-top-width: 3px;
	}
	.c-notice-modal__close {
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
	}
	.c-notice-modal__close::before,
	.c-notice-modal__close::after {
		width: 18px;
	}
	.c-notice-modal__head .p-date {
		margin-bottom: 12px;
		font-size: 14px;
	}
	.c-notice-modal__head .p-ttl {
		margin-bottom: 20px;
		font-size: 17px;
		letter-spacing: 0.05em;
	}
	.c-notice-modal__txt p {
		margin-bottom: 1.4em;
		font-size: 14px;
		line-height: 1.75;
		letter-spacing: 0.05em;
	}
	.c-notice-modal__contact {
		margin-top: 24px;
		padding: 18px 14px;
	}
	.c-notice-modal__contact .p-name {
		margin-bottom: 6px;
		font-size: 13px;
		letter-spacing: 0.05em;
	}
	.c-notice-modal__contact .p-tel {
		font-size: 26px;
	}
	.c-notice-modal__btnwrap {
		margin-top: 28px;
	}
	.c-notice-modal__btn {
		min-width: 200px;
		padding: 1em 1.5em;
		font-size: 14px;
	}
}
