/* 個人情報保護方針: page layout + consent popup (2026-11-30). inc/privacy.php */

/* ---------- Shared policy typography (page + popup) ---------- */
.mcl-pp-doc { counter-reset: mclpp; font-size: 15px; line-height: 1.9; color: var(--mcl-navy); }
.mcl-pp-doc > p:first-child {
	margin: 0 0 8px;
	padding: 20px 24px;
	background: var(--mcl-cream);
	border-left: 3px solid var(--mcl-dn-lt);
	border-radius: 0 12px 12px 0;
	font-size: 15.5px;
}
.mcl-pp-doc h3 {
	counter-increment: mclpp;
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 36px 0 10px;
	padding: 28px 0 0 !important;
	border-top: 1px solid var(--mcl-rule);
	background: none !important;
	font-family: var(--mcl-display);
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--mcl-navy);
	scroll-margin-top: 110px;
}
.mcl-pp-doc h3::before {
	content: counter(mclpp, decimal-leading-zero);
	flex: none;
	font-family: var(--mcl-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--mcl-dn);
	padding: 3px 9px;
	border: 1px solid rgba(11, 79, 108, .28);
	border-radius: 999px;
	transform: translateY(-2px);
}
.mcl-pp-doc > p:first-child + h3 { margin-top: 32px; }
.mcl-pp-doc p { margin: 0 0 12px; }
.mcl-pp-doc ul { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; gap: 8px; }
.mcl-pp-doc li {
	position: relative;
	padding: 12px 16px 12px 44px;
	background: var(--mcl-cream);
	border-radius: 10px;
	line-height: 1.7;
}
.mcl-pp-doc li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 1.15em;
	width: 14px;
	height: 14px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F6C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");
}
.mcl-pp-doc a { color: var(--mcl-dn); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Privacy page ---------- */
.mcl-pp-hero .mcl-pp-updated {
	margin: 6px 0 0;
	font-family: var(--mcl-mono);
	font-size: 13px;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
}
.mcl-pp-wrap {
	display: grid !important;
	grid-template-columns: 250px minmax(0, 1fr);
	column-gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.mcl-pp-wrap > .brxe-shortcode:first-child { grid-row: 1 / span 3; position: sticky; top: 110px; }
.mcl-pp-wrap > .mcl-pp-doc, .mcl-pp-wrap > .mcl-pp-cta { grid-column: 2; max-width: 780px; }

.mcl-pp-toc {
	padding: 22px 20px;
	background: var(--mcl-cream);
	border-radius: var(--mcl-r);
}
.mcl-pp-toc__label {
	margin: 0 0 10px;
	font-family: var(--mcl-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--mcl-dn);
}
.mcl-pp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mcl-pp-toc a {
	display: flex;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mcl-navy);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.mcl-pp-toc a span { flex: none; font-family: var(--mcl-mono); font-size: 12px; color: var(--mcl-dn); padding-top: 2px; }
.mcl-pp-toc a:hover, .mcl-pp-toc a:focus-visible { background: #fff; color: var(--mcl-dn); }

.mcl-pp-cta {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 40px;
	padding: 26px 28px;
	background: var(--mcl-navy);
	color: #fff;
	border-radius: var(--mcl-r);
}
.mcl-pp-cta__text { margin: 0; font-size: 15px; line-height: 1.7; }
.mcl-pp-cta__text b { display: block; font-family: var(--mcl-display); font-size: 18px; margin-bottom: 2px; }
.mcl-pp-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--mcl-dn-lt);
	color: var(--mcl-navy) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color .2s;
}
.mcl-pp-cta__btn:hover, .mcl-pp-cta__btn:focus-visible { background: #fff; }

@media (max-width: 991px) {
	.mcl-pp-wrap { grid-template-columns: minmax(0, 1fr); }
	.mcl-pp-wrap > .brxe-shortcode:first-child { grid-row: auto; position: static; margin-bottom: 8px; }
	.mcl-pp-wrap > .mcl-pp-doc, .mcl-pp-wrap > .mcl-pp-cta { grid-column: 1; max-width: none; }
	.mcl-pp-toc ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 478px) {
	.mcl-pp-doc > p:first-child { padding: 16px 18px; }
	.mcl-pp-doc h3 { gap: 10px; }
	.mcl-pp-cta { padding: 22px 20px; }
	.mcl-pp-cta > div { width: 100%; }
	.mcl-pp-cta__btn { width: 100%; justify-content: center; }
}

/* ---------- Consent label button ---------- */
.mcl-pp-open {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--mcl-dn);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	cursor: pointer;
	border-radius: 3px;
}
.mcl-pp-open:hover { color: var(--mcl-navy); text-decoration-thickness: 2px; }
.mcl-pp-open:focus-visible { outline: 2px solid var(--mcl-dn-lt); outline-offset: 2px; }
.mcl-pp-open.is-extra { margin-left: .5em; font-weight: 500; }
.mcl-pp-txt { font-style: normal; color: var(--mcl-navy); }

/* ---------- Popup ---------- */
html.mcl-pp-lock { overflow: hidden; }
.mcl-pp-dlg {
	width: min(760px, calc(100vw - 32px));
	max-height: min(84vh, 860px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	color: var(--mcl-navy);
	box-shadow: 0 30px 80px -20px rgba(11, 42, 60, .55);
	overflow: hidden;
	flex-direction: column;
}
.mcl-pp-dlg[open] { display: flex; animation: mclPPin .22s ease-out; }
.mcl-pp-dlg::backdrop { background: rgba(11, 42, 60, .62); backdrop-filter: blur(2px); }
@keyframes mclPPin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mcl-pp-dlg[open] { animation: none; } }

.mcl-pp-dlg__head {
	flex: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px 18px;
	background: linear-gradient(135deg, var(--mcl-dn) 0%, var(--mcl-navy) 100%);
	color: #fff;
}
.mcl-pp-dlg__kicker { margin: 0 0 2px; font-family: var(--mcl-display); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--mcl-dn-lt); }
.mcl-pp-dlg__title { margin: 0; font-family: var(--mcl-display); font-size: 21px; font-weight: 700; line-height: 1.35; }
.mcl-pp-dlg__x {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color .15s;
}
.mcl-pp-dlg__x:hover, .mcl-pp-dlg__x:focus-visible { background: rgba(255, 255, 255, .14); }
.mcl-pp-dlg__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 26px 26px; }
.mcl-pp-dlg__body:focus { outline: none; }
.mcl-pp-dlg__body h3 { scroll-margin-top: 0; }
.mcl-pp-dlg__msg { margin: 8px 0; color: var(--mcl-muted); }
.mcl-pp-dlg__foot {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 24px;
	border-top: 1px solid var(--mcl-rule);
	background: var(--mcl-cream);
}
.mcl-pp-dlg__page { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mcl-dn); text-decoration: underline; text-underline-offset: 3px; }
.mcl-pp-dlg__btns { display: flex; gap: 10px; margin-left: auto; }
.mcl-pp-dlg__close, .mcl-pp-dlg__agree {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.mcl-pp-dlg__close { border: 1px solid var(--mcl-dn); background: #fff; color: var(--mcl-dn); }
.mcl-pp-dlg__close:hover, .mcl-pp-dlg__close:focus-visible { background: rgba(11, 79, 108, .08); }
.mcl-pp-dlg__agree { border: 1px solid var(--mcl-dn); background: var(--mcl-dn); color: #fff; }
.mcl-pp-dlg__agree:hover, .mcl-pp-dlg__agree:focus-visible { background: var(--mcl-navy); border-color: var(--mcl-navy); }
.mcl-pp-dlg__agree[hidden] { display: none; }
@media (max-width: 478px) {
	.mcl-pp-dlg { width: calc(100vw - 20px); max-height: 88vh; border-radius: 16px; }
	.mcl-pp-dlg__head { padding: 18px 18px 14px; }
	.mcl-pp-dlg__body { padding: 18px 18px 22px; }
	.mcl-pp-dlg__foot { padding: 12px 16px; }
	.mcl-pp-dlg__page { order: 2; width: 100%; justify-content: center; }
	.mcl-pp-dlg__btns { width: 100%; }
	.mcl-pp-dlg__btns button { flex: 1; }
}
