@charset "UTF-8";

/* --------------------------------------------------
  MV layout (memorial)
-------------------------------------------------- */
.mvHero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background:
		linear-gradient(to bottom, rgba(16, 16, 15, 0) 0%, rgb(16 16 15 / 65%) 100%),
		url(../../img/pages/top/mv-bg.webp) center top / cover no-repeat,
		#10100f;
}

.mv {
	--mv-section-gap: 1rem;
	position: relative;
	width: 100%;
	padding-bottom: var(--mv-section-gap);
}

.mvContain {
	position: relative;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	overflow: hidden;
}

.mvStage {
	width: 100%;
}

.mvStage > .mv__inner {
	padding-top: 16px;
}

.mv__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 16px 0 0;
	box-sizing: border-box;
}

.share-btns--mv {
	position: absolute;
	top: 18px;
	right: 20px;
	z-index: 20;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 768px) {
	/* MV share is too noisy on mobile; show it in drawer instead */
	.share-btns--mv { display: none; }
}

/* Drawer share (injected by site-common.js) */
.share-btns--drawer {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	justify-content: flex-start;
}

.mv__toolbar {
	display: none; /* <1200 only */
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #fff;
}

.mv__brand {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.mv__brandLogo {
	width: auto;
	height: 50px;
	display: block;
}

.mv__burger {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 8px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	position: relative;
}

.mv__burger:hover,
.mv__burger:focus-visible {
	background: transparent;
}

.mv__burgerImg {
	width: 34px;
	height: 34px;
	display: block;
}

/* keep accessible label; hide old svg icon */
.mv__burgerImg {
	opacity: 0;
}

.mv__burgerLines {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
}

.mv__burgerLine {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 1px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: translateX(-50%);
	transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.18s ease;
	will-change: transform, opacity;
}

.mv__burgerLine:nth-child(1) {
	top: 21px;
}

.mv__burgerLine:nth-child(2) {
    top: 25px;
}

.mv__burgerLine:nth-child(3) {
	top: 29px;
}

body.is-mv-open .mv__burgerLine:nth-child(1) {
	transform: translateX(-50%) translateY(6px) rotate(45deg);
}
body.is-mv-open .mv__burgerLine:nth-child(2) {
	opacity: 0;
}
body.is-mv-open .mv__burgerLine:nth-child(3) {
	transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.mv__burgerLine {
		transition: none;
	}
}

.mv__layout {
	display: grid;
	grid-template-columns: minmax(0, 210px) 1fr;
	align-items: stretch;
	gap: 0;
	margin-top: 16px;
}

.mv__sidebar {
    border: 0;
    border-radius: 0;
    padding: 10px;
	padding-left: 0;
}

.mv__sideHead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0;
}

.mv__sideLogo {
    width: 100%;
    max-width: 180px;
    height: auto;
    padding: 1rem 0 0;
    display: block;
}

.mv__sideLogoLink {
	display: inline-block;
	text-decoration: none;
}

.mv__sideText {
	width: 100%;
	max-width: 280px;
	height: auto;
	display: block;
}

@media (max-width: 768px) {
	.mv__sideText {
		max-width: 45vw;
	}
}

.mv__sideHead--drawer {
	margin: 0;
}

.mv__nav {
	margin: 0;
	margin-top: 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.mv__navLink {
	display: grid;
	grid-template-columns: 1fr;
	color: inherit;
	text-decoration: none;
	transform: translateZ(0);
	transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mv__navLink:hover,
.mv__navLink:focus-visible {
	transform: scale(1.06);
}

.mv__navLink:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 3px;
	border-radius: 12px;
}

.mv__nav--drawer .mv__navLink {
    padding: 16px 14px;
    color: #fff;
    transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1), background-color 0.18s ease, border-color 0.18s ease;
}

/* Drawer nav: separators + arrow + English (span) styling */
.mv__nav--drawer {
	gap: 0;
}
.mv__nav--drawer > li {
	border-top: 1px solid rgba(255, 255, 255, 0.10); /* #ffffff1a */
}
.mv__nav--drawer > li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.mv__nav--drawer .mv__navLink {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0px;
	position: relative;
}
.mv__nav--drawer .mv__navLink span {
	font-family: "Teko", "Noto Sans JP", system-ui, sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1;
	margin-right: 10px;
}

.mv__nav--drawer .mv__navLink:hover,
.mv__nav--drawer .mv__navLink:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
}

.mv__navImg {
	width: 100%;
	height: auto;
	display: block;
}

.visually-hidden {
	display: none;
}

.mv__navImgSwap {
	position: relative;
	display: block;
	width: 100%;
}

.mv__navImgSwap .mv__navImg--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.mv__navLink:hover .mv__navImgSwap .mv__navImg--hover,
.mv__navLink:focus-visible .mv__navImgSwap .mv__navImg--hover {
	opacity: 1;
}

.mv__navLink:hover .mv__navImgSwap .mv__navImg--default,
.mv__navLink:focus-visible .mv__navImgSwap .mv__navImg--default {
	opacity: 0;
}

.mv__main {
	--mv-main-gutter: 10px;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.02);
	width: 100%;
	padding-inline: var(--mv-main-gutter);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.5rem;
}

.mv__mainImg {
	width: 100%;
	height: auto;
	display: block;
}

.mv__transitionBanner {
	width: 100%;
	margin: 0;
}

.mv__transitionBannerLink {
	display: block;
	text-decoration: none;
	overflow: hidden;
	position: relative;
	isolation: isolate;
	/* 1200px design base: 3px => 0.25vw, 5px => 0.4167vw */
	--banner-frame-gold: clamp(1.5px, 0.25vw, 3px);
	--banner-frame-black: clamp(2.5px, 0.4167vw, 5px);
}

.mv__transitionBannerLink:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 3px;
}

.mv__transitionBannerLink::before,
.mv__transitionBannerLink::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

/* Banner 1: outer gold gradient (inside 3px-ish) */
.mv__transitionBannerLink::before {
	padding: var(--banner-frame-gold);
	background: linear-gradient(
		135deg,
		#fff7c0 0%,
		#f5d46a 18%,
		#c9972a 50%,
		#f5d46a 82%,
		#fff7c0 100%
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask-composite: exclude;
}

/* Banner 1: inner black frame (inside gold 5px-ish) */
.mv__transitionBannerLink::after {
	inset: var(--banner-frame-gold);
	padding: var(--banner-frame-black);
	background: #000;
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask-composite: exclude;
}

.mv__transitionBannerImg {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 0;
	transform-origin: center;
	transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.bannerHoverShade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(255, 255, 255, 0);
	pointer-events: none;
	transition: background 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.mv__transitionBannerLink:hover .mv__transitionBannerImg,
.mv__transitionBannerLink:focus-visible .mv__transitionBannerImg {
	transform: scale(1.04);
}

.mv__transitionBannerLink:hover .bannerHoverShade,
.mv__transitionBannerLink:focus-visible .bannerHoverShade,
.unlockBlock__campaignBanner:hover .bannerHoverShade,
.unlockBlock__campaignBanner:focus-visible .bannerHoverShade {
	background: rgba(255, 255, 255, 0.18);
}

/* --------------------------------------------------
  Index: memorial intro (index.html)
-------------------------------------------------- */
.memorial {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	color: #fff;
}
.memorial__ttl {
	font-weight: 900;
	font-size: clamp(24px, 3vw, 40px);
	line-height: 1.2;
	letter-spacing: 0.02em;
	margin: 0 0 12px;
}
.memorial__lead {
	margin: 0 0 28px;
	opacity: 0.9;
	line-height: 1.8;
}
.memorial__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.memorial__card {
	display: block;
	padding: 18px 18px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
	color: inherit;
	text-decoration: none;
}
.memorial__card:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 3px;
}
.memorial__cardTtl {
	font-weight: 700;
	margin: 0 0 6px;
}
.memorial__cardTxt {
	margin: 0;
	opacity: 0.85;
	line-height: 1.6;
	font-size: 14px;
}
@media (max-width: 640px) {
	.memorial__nav {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------
  History page: full-bleed background (history.html)
-------------------------------------------------- */
body.content-page-bg {
	overflow-x: hidden; /* SP で 100vw / ネガティブマージン由来の横スクロールを抑止 */
	background-image:
		linear-gradient(rgba(16, 16, 15, 0.2), rgba(16, 16, 15, 0.2)),
		url("../../img/bg-grid.webp");
	background-repeat: repeat, repeat;
	background-position: 0 0, 0 0;
	background-size: auto, 120px 120px;
}
body.content-page-bg::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: url("../../img/shared/common/contents_bg-colony.webp") center top / cover no-repeat;
}
body.content-page-bg::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(rgba(16, 16, 15, 0.35), rgba(16, 16, 15, 0.35));
}

/* --------------------------------------------------
  Subpage main content (.page)
-------------------------------------------------- */
.page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	color: #fff;
}
.page__ttl {
	font-weight: 900;
	font-size: clamp(22px, 3vw, 34px);
	margin: 0 0 12px;
}
.page__lead {
	margin: 0 0 24px;
	opacity: 0.9;
	line-height: 1.8;
}
.page__back {
	display: inline-block;
	margin-top: 18px;
	color: inherit;
}

/* --------------------------------------------------
  MV: history variant (right-side decoration)
-------------------------------------------------- */
.mv--history .mvContain {
	overflow: visible; /* allow deliberate bleed for history MV */
}

.mv--history .mv__main {
	position: relative;
	overflow: visible; /* override default hidden */
}

.mv--history .mv__historyUnit {
	position: absolute;
    left: 50%;
    top: 66%;
    transform: translate(-50%, -50%);
    width: 1350px;
	height: auto;
	z-index: 1; /* above background, below deco */
	pointer-events: none;
	user-select: none;
	filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.6));
}

.mv--history .mv__historyDeco {
    position: absolute;
    right: -15px;
    top: 15px;
    width: min(208px, 18vw);
    height: auto;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}

/* --------------------------------------------------
  Mosaic hero + lightbox (mosaic-art.html, mosaic-art-lightbox.html)
-------------------------------------------------- */
.mosaicHero {
	width: 100%;
	padding: 12px 16px 20px;
	box-sizing: border-box;
}

.mosaicMainRow .mosaicHero {
	flex: 0 1 auto;
	min-width: 0;
}

.mv--history .mv__main .mosaicHero {
	position: absolute;
	inset: 0;
	z-index: 1; /* above mv__mainImg, below mv__historyDeco */
	padding: 10px 12px 14px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	pointer-events: auto;
}

/* mosaic-art.html: 他ページと同じ .mv__historyUnit 配置＋全面タップでライトボックス */
.mv--history .mv__main .mosaicHero--unit {
	padding: 0;
	overflow: visible;
	pointer-events: none;
}

.mv--history .mv__main .mosaicHero--unit .mosaicHero__trigger--unit {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: auto;
	max-width: none;
	pointer-events: auto;
}

.mv--history .mv__main .mosaicHero--unit .mosaicHero__trigger--unit .mv__historyUnit {
	pointer-events: none;
}

.mv--history .mv__main .mosaicHero--unit .mosaicHero__hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: max(10px, env(safe-area-inset-bottom, 0px));
	z-index: 2;
	margin: 0;
	padding: 0 12px;
	pointer-events: none;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.mosaicHero__trigger {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	text-align: left;
}

.mosaicHero__trigger:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 4px;
}

.mosaicHero__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.mosaicHero__hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
	font-family: system-ui, sans-serif;
}

.pvLightbox {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	flex-direction: column;
	padding: 0;
	box-sizing: border-box;
}

.pvLightbox[hidden] {
	display: none !important;
}

.pvLightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	cursor: zoom-out;
}

.pvLightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	min-width: 0;
}

.pvLightbox__close {
	position: absolute;
	top: 6px;
	right: 8px;
	z-index: 3;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: rgba(35, 35, 35, 0.95);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.pvLightbox__viewport {
	flex: 1 1 auto;
	margin: 48px 10px 10px;
	min-height: 180px;
	overflow: hidden;
	touch-action: none;
	outline: none;
	cursor: grab;
}

.pvLightbox__viewport.is-panning {
	cursor: grabbing;
}

.pvLightbox__img {
	display: block;
	max-width: none;
	width: auto;
	height: auto;
	transform-origin: 0 0;
	will-change: transform;
	user-select: none;
	-webkit-user-drag: none;
}

.pvLightbox__footer {
	position: relative;
	z-index: 2;
	padding: 6px 12px 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
	font-family: system-ui, sans-serif;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

body.is-lightbox-open {
	overflow: hidden;
}

/* --------------------------------------------------
  Mosaic standalone page (mosaic-art.html, body.mosaic-page)
-------------------------------------------------- */
html:has(body.mosaic-page),
body.mosaic-page {
	margin: 0;
	min-height: 100%;
	overflow-x: hidden;
}
body.mosaic-page {
	/* Always allow page scroll on mosaic page (some browsers restore overflow hidden via BFCache) */
	overflow-y: auto !important;
	height: auto !important;
	background: #000;
	--mosaicTopBarH: 64px;
}

/* Safety: never lose page scroll on mosaic page (drawer only) */
body.mosaic-page.is-mv-open {
	overflow-y: auto !important;
}

/* Also force html scrollable on mosaic page */
html:has(body.mosaic-page) {
	overflow-y: auto !important;
	height: auto !important;
}

/* While lightbox is open, lock background scroll explicitly */
body.mosaic-page.is-lightbox-open {
	overflow: hidden !important;
	height: 100% !important;
}
body.mosaic-page,
body.mosaic-page *,
body.mosaic-page *::before,
body.mosaic-page *::after {
	box-sizing: border-box;
}
body.mosaic-page #wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}
body.mosaic-page .mosaicHero {
	flex: 0 1 auto;
	width: 100%;
	margin-top: calc(-1 * var(--mosaicTopBarH, 64px));
	padding: 0;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}
body.mosaic-page .mosaicHero__trigger {
	/* max-width: 770px; */
	max-width: 1350px;
	margin-left: auto;
	margin-right: auto;
}
body.mosaic-page .mosaicHero__img {
	width: 100%;
	max-width: 93.5%;
	margin: 0 auto;
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}
body.mosaic-page .mosaicHero__hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 12px;
}
body.mosaic-page .mosaicHero__hintIcon {
	display: inline-flex;
	color: #fff;
	flex-shrink: 0;
	line-height: 0;
}
body.mosaic-page .mosaicHero__hintIcon svg {
	display: block;
}
body.mosaic-page .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
body.mosaic-page .share-btns {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: none;
	margin: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 14px;
	padding: 12px 20px 10px;
	color: #fff;
	font-family: system-ui, sans-serif;
	background: #000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
}
body.mosaic-page .share-btns__ttl {
	position: relative;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	margin: 0;
	padding-right: 18px;
}
body.mosaic-page .share-btns__ttl::before {
	content: "";
	position: absolute;
	top: -30%;
	right: 6px;
	width: 1px;
	height: 160%;
	background-color: #fff;
	opacity: 0.9;
}
body.mosaic-page .share-list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 14px;
}
body.mosaic-page .share-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
}
body.mosaic-page .share-list svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}
@media (max-width: 768px) {
	/* .share-btns--mv は他ページ同様ドロワーへ複製するため、画面上のブロックは非表示（body.mosaic-page .share-btns の flex より詳細度高く上書き） */
	body.mosaic-page .share-btns.share-btns--mv {
		display: none;
	}
	body.mosaic-page .share-btns {
		padding-top: 10px;
		padding-right: 12px;
	}
	body.mosaic-page .share-btns__ttl {
		font-size: 12px;
	}
	body.mosaic-page .share-list svg {
		width: 20px;
		height: 20px;
	}
}
.mosaicTopBar {
	position: sticky;
	top: 0;
	z-index: 10060;
	width: 100%;
	max-width: 1850px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	pointer-events: none;
}
.mosaicTopBar .mv__brand,
.mosaicTopBar .mv__burger {
	flex: 0 0 auto;
	line-height: 0;
	position: relative;
	z-index: 1;
	pointer-events: auto;
	transition: opacity 0.22s ease, visibility 0.22s ease, flex 0.22s ease, width 0.22s ease, min-width 0.22s ease;
}
.mosaicTopBar .mv__brand {
	display: inline-flex;
	align-items: center;
	padding: 0;
}
.mosaicTopBar .mv__brandLogo {
	display: block;
	pointer-events: none;
	height: 100px;
	width: auto;
}
/* ドロワー内に mv__sideLogo があるため、開いている間はトップの mv__brandLogo（.mv__brand ごと）を畳む */
body.mosaic-page.is-mv-open .mosaicTopBar .mv__brand {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	flex: 0 0 0;
	width: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
/* ドロワー閉じる × と重ならないよう、開いている間はトップのバーガー（×アニメ）を畳む */
body.mosaic-page.is-mv-open .mosaicTopBar .mv__burger {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	flex: 0 0 0;
	width: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.mosaicTopBar .mv__burgerImg {
	pointer-events: none;
}
.mosaicFirstView {
	position: relative;
	--mosaicFirstViewDim: 0.38;
	background: url("../../img/shared/common/mv-header.webp") center top / cover no-repeat;
    min-height: auto;
    padding-bottom: 1rem;
}
.mosaicFirstView::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(rgba(16, 16, 15, 0.2), rgba(16, 16, 15, 0.2)),
		url("../../img/bg-grid.webp");
	background-repeat: repeat, repeat;
	background-position: 0 0, 0 0;
	background-size: auto, 120px 120px;
	opacity: 0.3;
}
.mosaicFirstView::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 10%));
	backdrop-filter: blur(1px);
}
.mosaicFirstView > .share-btns,
.mosaicFirstView > .mosaicHero {
	position: relative;
	z-index: 1;
}

@media (max-width: 768px) {
	/* ベース（.mosaicTopBar / .mosaicFirstView）より後に置き、カスケードで確実に上書き */
	.mosaicTopBar .mv__brandLogo {
		height: 65px;
	}
	body.mosaic-page .mosaicFirstView {
		min-height: auto;
		padding-bottom: 1rem;
	}
}

@media (max-width: 1199px) {
	.mv--history .mv__historyUnit {
		width: min(860px, 92%);
	}
	.mv--history .mv__historyDeco {
		right: 14px;
		width: min(200px, 28vw);
	}
}

/* 769–1199px: サイド非表示で .mv__main が中身ゼロ高に近くなるため、領域を確保 */
@media (max-width: 1199px) and (min-width: 769px) {
	.mv__inner {
		padding: 14px 0 0;
	}
	.mvStage > .mv__inner {
		padding-top: 14px;
	}
	.mv__layout {
		margin-top: clamp(10px, 1.6vw, 16px);
	}
	.mv--history .mv__main {
		min-height: clamp(300px, 52vw, 520px);
	}
	.mv--history .mv__historyUnit {
		width: min(780px, 90%);
		top: 58%;
	}
	.mv--history .mv__historyDeco {
		right: -0.5rem;
		top: -1.15rem;
		width: min(185px, 22vw);
		max-height: 51.25vw;
		max-width: max-content;
		opacity: 0.075;
	}
}

@media (max-width: 768px) {
	.mv--history .mv__historyUnit {
		top: 6.5rem;
		/* 100vw は縦スクロールバー分などでページ幅を超えやすい — 親 .mv__main 基準で収める */
		width: 100%;
		max-width: 100%;
	}
	.mv--history .mv__historyDeco {
        right: -0.5rem;
        top: -1.15rem;
        width: min(100px, 20vw);
        max-height: 51.25vw;
        max-width: max-content;
        opacity: 0.075;
	}
}

/* --------------------------------------------------
  Drawer for <1200
-------------------------------------------------- */
.mv__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9998;
}

.mv__drawer {
	position: fixed;
	top: 0;
	left: 0;
	height: 100dvh;
	width: min(420px, 86vw);
	transform: translateX(-102%);
	transition: transform 0.25s ease;
	z-index: 9999;
	padding: 16px;
	box-sizing: border-box;
}

.mv__drawerInner {
    height: 100%;
    background: rgb(28 28 27 / 90%);
    backdrop-filter: blur(6px);
    padding: 14px;
    box-sizing: border-box;
    overflow: auto;
}

@media (max-width: 768px) {
	/* Drawer covers full screen on mobile */
	.mv__drawer {
		width: 100vw;
		padding: 0;
	}
	.mv__drawerInner {
		width: 100%;
		border-radius: 0;
		padding: 16px 14px;
	}
}


body.is-mv-open .mv__overlay {
	opacity: 1;
	pointer-events: auto;
}

body.is-mv-open .mv__drawer {
	transform: translateX(0);
}

body.is-mv-open {
	overflow: hidden;
}

/* --------------------------------------------------
  Breakpoints
-------------------------------------------------- */
@media (max-width: 1199px) {
	/* .mv__layout より後ろの DOM のため、ユニット画像の absolute が上に重なる — ツールバーを前面に */
	.mv__toolbar {
		display: flex;
		position: relative;
		z-index: 5;
	}
	.mvContain {
		overflow: visible;
	}
	.share-btns--mv {
		/* Share is provided inside the drawer on mobile/tablet */
		display: none !important;
	}
	.mv__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.mv__sidebar {
		display: none;
	}
	/* <1200px 共通: ツールバー＋1カラム時のインナー余白（768px は下で上書き） */
	.mv__inner {
		padding: 14px 0 0;
	}
	.mvStage > .mv__inner {
		padding-top: 14px;
	}
}

@media (max-width: 768px) {
	.mv__inner {
		padding: 12px 0 0;
	}
	.mvStage > .mv__inner {
		padding-top: 12px;
	}
	.mv__main {
		gap: 1rem;
		padding-inline: var(--mv-main-gutter);
		padding-top: 0.5rem;
	}
	.mv__brandTitle {
		font-size: 15px;
	}
	.mv__burgerImg {
		width: 32px;
		height: 32px;
	}
	/* keep no radius on mobile as well */
}

@media (max-width: 768px) {
	/* page container (history etc.) */
	.page {
		/* override inline page padding in each HTML */
		padding: 0 1rem !important;
	}
}

/* --------------------------------------------------
  Top contents section
-------------------------------------------------- */
.topContents {
	position: relative;
	width: 100%;
	padding: 44px 0 56px;
	color: #fff;
}

.topContents__bg {
	position: absolute;
	inset: 0;
	/* 手前: 縦軸（画面中央）に寄せた薄い陰で奥行き。奥: 従来の cover */
	background-image:
		linear-gradient(
			90deg,
			transparent 0%,
			rgba(0, 0, 0, 0.18) -20%,
			rgb(0 0 0 / 60%) 50%,
			rgba(0, 0, 0, 0.18) 120%,
			transparent 100%
		),
		url(../../img/pages/top/top-contents-bg.webp);
	background-position: center, center center;
	background-size: 100% 100%, cover;
	background-repeat: no-repeat, no-repeat;
	opacity: 1;
	pointer-events: none;
}

.topContents__bg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50%;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.35) 55%,
		rgba(0, 0, 0, 0.72) 100%
	);
	pointer-events: none;
}

.topContents__inner {
	position: relative;
	width: 100%;
	padding: 0.5rem;
	max-width: 1222.47px;
	margin: 0 auto;
	box-sizing: border-box;
	isolation: isolate;
}

.topContents__body {
	padding: 60px;
}

.topContents__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	position: relative;
	z-index: 2;
}

/* 2列時にカード上端を揃える（見出しPNGの比率はそのまま、枠の min-height のみ最大アスペクト 244×33 に合わせる） */
.topContents__item {
	--top-card-width: min(100%, 600px);
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.topContents__heading {
	margin: 0 0 10px;
	min-height: 34px;
	width: var(--top-card-width);
	align-self: center;
}

.topContents__headingImg {
	display: block;
	width: auto;
	max-width: min(560px, 60%);
	height: auto;
}

/* card-hover (based on sample/design/card-hover) */
.topCard {
	display: inline-block;
	width: var(--top-card-width, min(100%, 600px));
	max-width: 100%;
	color: inherit;
	text-decoration: none;
}

.topCard:focus {
	outline: none;
}

.topCard:focus-visible {
	outline: 2px solid #e8e8e8;
	outline-offset: 6px;
}

.topCard__frame {
	width: 100%;
	height: auto;
	aspect-ratio: 557.8 / 327.01;
	display: block;
}

.hero-clip {
	overflow: visible;
	cursor: pointer;
}

.hero-clip .hero-zoom {
	transform-origin: 278.9px 163.505px;
	transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-clip:hover .hero-zoom,
.hero-clip:focus-visible .hero-zoom {
	transform: scale(1.2);
}

.hero-clip .hero-shade-layer {
	transform: translateY(100%);
	transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
	pointer-events: none;
}

.hero-clip .hero-shade-layer > rect {
	opacity: 0.7;
}

.hero-clip:hover .hero-shade-layer,
.hero-clip:focus-visible .hero-shade-layer {
	transform: translateY(0);
}

@media (hover: none) {
	.hero-clip.is-touchPreview .hero-zoom {
		transform: scale(1.2);
	}
	.hero-clip.is-touchPreview .hero-shade-layer {
		transform: translateY(0);
	}
}

.hero-clip .hero-overlay-text {
	fill: #fff;
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.02em;
	dominant-baseline: hanging;
	opacity: 0;
	transition: opacity 0.32s ease;
}

.hero-clip:hover .hero-overlay-text,
.hero-clip:focus-visible .hero-overlay-text,
.hero-clip.is-touchPreview .hero-overlay-text {
	opacity: 1;
	transition-delay: 0.06s;
}

/* 暗幕内: 説明フェード → 少し遅れて右下の横棒・VIEW MORE・矢印 */
.hero-shade-layer .hero-zoom__cta {
	pointer-events: none;
}

.hero-shade-layer .hero-zoom__vm {
	font-size: 12px;
}

.hero-shade-layer .hero-zoom__vmArrow {
	stroke-width: 1.05px;
}

.hero-shade-layer .hero-zoom__rule {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.42s cubic-bezier(0.33, 1, 0.68, 1);
	transition-delay: 0s;
}

.hero-shade-layer .hero-zoom__vmWrap {
	opacity: 0;
	transform: translateX(14px);
	transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: 0s;
}

.hero-clip:hover .hero-zoom__rule,
.hero-clip:focus-visible .hero-zoom__rule,
.hero-clip.is-touchPreview .hero-zoom__rule {
	stroke-dashoffset: 0;
	transition-delay: 0.3s;
}

.hero-clip:hover .hero-zoom__vmWrap,
.hero-clip:focus-visible .hero-zoom__vmWrap,
.hero-clip.is-touchPreview .hero-zoom__vmWrap {
	opacity: 1;
	transform: translateX(0);
	transition-delay: 0.26s;
}

@media (prefers-reduced-motion: reduce) {
	.hero-shade-layer .hero-zoom__rule {
		transition: none;
	}
	.hero-shade-layer .hero-zoom__vmWrap {
		transition: none;
		opacity: 0;
		transform: translateX(14px);
	}
	.hero-clip.is-touchPreview .hero-overlay-text {
		opacity: 1;
		transition: none;
	}
	.hero-clip.is-touchPreview .hero-zoom__rule {
		stroke-dashoffset: 0;
	}
	.hero-clip.is-touchPreview .hero-zoom__vmWrap {
		opacity: 1;
		transform: none;
	}
	.hero-clip .hero-zoom,
	.hero-clip .hero-shade-layer {
		transition: none;
	}
	.hero-clip:hover .hero-zoom,
	.hero-clip:focus-visible .hero-zoom {
		transform: none;
	}
	.hero-clip.is-touchPreview .hero-zoom {
		transform: none;
	}
	.hero-clip:hover .hero-shade-layer,
	.hero-clip:focus-visible .hero-shade-layer {
		transform: translateY(100%);
	}
	.hero-clip.is-touchPreview .hero-shade-layer {
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.topContents {
		padding: 32px 0 60px;
	}
	/* SP: 縦軸の陰 + cover の top-contents-bg */
	.topContents__bg {
		background-color: #070d18;
		background-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) -20%, rgb(0 0 0 / 60%) 50%, rgba(0, 0, 0, 0.18) 120%, transparent 100%), url(../../img/pages/top/top-contents-bg.webp);
		background-position: center, center center;
		background-size: 100% 100%, cover;
		background-repeat: no-repeat, no-repeat;
	}
	.topContents__bg::after {
		height: 55%;
		background: linear-gradient(to bottom, transparent 0%, rgba(7, 13, 24, 0.45) 50%, rgb(7 13 24 / 55%) 100%);
	}
	.topContents__body {
		padding: 48px 1.5rem 40px;
	}
	.topContents__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.topContents__heading {
		min-height: unset;
	}
	.hero-clip .hero-overlay-text {
		font-size: 16px;
	}
	.hero-zoom__vm {
		font-size: 10px;
	}
	.hero-zoom__vmArrow {
		stroke-width: 1px;
	}
}

/* --------------------------------------------------
  Unlock lead section (background first)
-------------------------------------------------- */
.unlockLead {
	--unlock-bg-opacity: 0.14;
	position: relative;
	width: 100%;
	background-color: #121212;
	overflow: hidden;
}

.unlockLead__bg {
	position: absolute;
	inset: 0;
	background-image: url(../../img/pages/top/bg-card-unit.webp);
	background-repeat: repeat;
	background-position: 0 0;
	background-size: 80% auto;
	opacity: var(--unlock-bg-opacity);
	pointer-events: none;
	z-index: 0;
}

.unlockLead__units,
.unlockLead__banner {
	position: relative;
}

.unlockLead__units {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.unlockLead__units::before,
.unlockLead__units::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(720px, 68vw, 1020px);
	height: calc(100% + clamp(160px, 16vw, 280px));
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.92;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
}

.unlockLead__units::before {
	left: -16.5vw;
	background-image: url(../../img/pages/top/bg-unit-left.webp);
	background-position: left center;
}

.unlockLead__units::after {
	right: -16.5vw;
	background-image: url(../../img/pages/top/bg-unit-right.webp);
	background-position: right center;
}

.unlockLead__banner {
	padding: 3rem 0 3rem;
	z-index: 2;
}

/* guard: keep banner area unmodified by parent effects */
.unlockLead__banner,
.unlockBlock,
.unlockBlock__inner {
	opacity: 1;
	filter: none;
}

@media (max-width: 768px) {
	.unlockLead__bg {
		background-size: 120% auto;
	}
	.unlockLead__units::before,
	.unlockLead__units::after {
		width: clamp(420px, 112vw, 640px);
		height: calc(100% + clamp(140px, 45vw, 220px));
		opacity: 0.4;
	}
	.unlockLead__units::before {
		left: -38vw;
	}
	.unlockLead__units::after {
		right: -42vw;
	}
}

/* Unlock block (inner) — 幅は topContents__inner と同一 */
.unlockBlock {
	position: relative;
	width: 100%;
	max-width: 1222.47px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.unlockBlock__inner {
	position: relative;
	padding: 3rem 0.5rem 2.5rem;
	display: grid;
	place-items: center;
	gap: 0;
}

.unlockBlock__title {
	margin: auto;
	width: 100%;
	display: grid;
	place-items: center;
	position: relative;
	z-index: 4;
}

.unlockBlock__title picture {
	display: block;
	line-height: 0;
}

.unlockBlock__titleImg {
	width: auto;
	max-width: 220px;
	height: auto;
	display: block;
	position: relative;
	top: -0.8rem;
}

.unlockBlock__desc {
	margin: 0;
	width: 100%;
	max-width: 100%;
	text-align: center;
	color: #fff;
	line-height: 1.9;
	opacity: 0.9;
	font-size: 14px;
}

/* Campaign banner below unlockBlock */
.unlockBlock__campaignBanner {
	display: block;
	margin: 28px auto 0;
	width: 915px;
	max-width: 100%;
	text-decoration: none;
	overflow: hidden;
	position: relative;
	isolation: isolate;
	/* 1200px design base: 3px => 0.25vw */
	--banner2-frame-gold: clamp(1.5px, 0.25vw, 3px);
}

.unlockBlock__campaignBanner:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 3px;
}

.unlockBlock__campaignBanner::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: var(--banner2-frame-gold);
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(
		135deg,
		#fff7c0 0%,
		#f5d46a 18%,
		#c9972a 50%,
		#f5d46a 82%,
		#fff7c0 100%
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	mask-composite: exclude;
}

.unlockBlock__campaignBanner img {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 0;
	transform-origin: center;
	transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.unlockBlock__campaignBanner:hover img,
.unlockBlock__campaignBanner:focus-visible img {
	transform: scale(1.04);
}

/* Unlock card (scale frame: 1200px design) */
.unlockCard {
	display: block;
	width: 100%;
	max-width: 1222.47px;
	margin: 0 auto;
	color: inherit;
	position: relative;
}

.unlockCard__scaleWrap {
	position: relative;
	width: 100%;
	overflow: visible;
	/* CSS fallback keeps the card visible until the responsive JS measurement runs. */
	height: var(--unlock-h, min(760px, 62.17vw));
}

.unlockCard__link {
	display: block;
	width: 100%;
	text-decoration: none;
	color: inherit;
	position: relative;
	z-index: 1;
}

.unlockCard__link:focus {
	outline: none;
}

.unlockCard__link:focus-visible {
	outline: 2px solid #e8e8e8;
	outline-offset: 6px;
}

.topContents__title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Shared 3-part decorative frame (unlock card + top contents) */
.allFrame {
	--frame-veil: rgb(0 0 0 / 35%);
	--frame-chamfer: 20px;
	display: grid;
	width: min(100%, 1222.47px);
}

.allFrame__art,
.allFrame__content {
	grid-area: 1 / 1;
}

.allFrame__art {
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(4px, 1fr) auto;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.allFrame__art::before {
	content: "";
	position: absolute;
	inset: 0;
	width: 97%;
	margin: 0 auto;
	background: var(--frame-veil);
	clip-path: polygon(
		var(--frame-chamfer) 0,
		calc(100% - var(--frame-chamfer)) 0,
		100% var(--frame-chamfer),
		100% calc(100% - var(--frame-chamfer)),
		calc(100% - var(--frame-chamfer)) 100%,
		var(--frame-chamfer) 100%,
		0 calc(100% - var(--frame-chamfer)),
		0 var(--frame-chamfer)
	);
	pointer-events: none;
	z-index: 0;
}

.allFrame__top,
.allFrame__middle,
.allFrame__bottom {
	position: relative;
	z-index: 1;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
}

.allFrame__top {
	aspect-ratio: 1222.47 / 196.47;
	background-image: url(../../img/pages/top/all-frame_top.svg);
	background-size: 100% 100%;
}

.allFrame__middle {
	min-height: 4px;
	margin-block: -1px;
	background-image: url(../../img/pages/top/all-frame_middle.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.allFrame__bottom {
	aspect-ratio: 1222.47 / 192.06;
	background-image: url(../../img/pages/top/all-frame_bottom.svg);
	background-size: 100% 100%;
}

.allFrame__content {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.unlockCard__frame {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1222.47px;
	transform-origin: top center;
	transform: translateX(-50%) scale(var(--unlock-scale, 1));
	box-sizing: border-box;
	isolation: isolate;
}

.unlockCard__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 925px;
	margin: 0 auto;
	padding: 68px 0 56px;
	box-sizing: border-box;
	overflow: visible;
}

.unlockCard__bannerSlot {
	position: relative;
	width: 100%;
}

.unlockCard__bannerShape {
	position: absolute;
	left: -150px;
	top: -8%;
	width: 350px;
	height: auto;
	transform: translateY(-50%);
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

.unlockCard__banner {
	display: grid;
	place-items: center;
	position: relative;
	width: 100%;
	padding: 3rem 0;
	background: #151515c9;
	overflow: hidden;
	border: solid 1px #ff4a01;
	box-sizing: border-box;
}

.unlockCard__bannerImg {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
	position: relative;
	z-index: 0;
}

.unlockCard__bannerImg {
	transform-origin: center;
	transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.unlockCard__link:hover .unlockCard__bannerImg,
.unlockCard__link:focus-visible .unlockCard__bannerImg {
	transform: scale(1.08);
}

.unlockCard__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: radial-gradient(120% 120% at 60% 40%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.72) 70%, rgba(0, 0, 0, 0.78) 100%);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
	z-index: 1;
}

.unlockCard__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 1rem 3rem;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
	transform: translateY(10px) scale(0.98);
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.25s ease;
}

.unlockCard__cta::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid rgba(255, 255, 255, 0.95);
	border-right: 2px solid rgba(255, 255, 255, 0.95);
	transform: rotate(45deg) translateY(1px);
}

.unlockCard__link:hover .unlockCard__shade,
.unlockCard__link:focus-visible .unlockCard__shade {
	opacity: 1;
}

.unlockCard__link:hover .unlockCard__cta,
.unlockCard__link:focus-visible .unlockCard__cta {
	opacity: 1;
	transform: translateY(0) scale(1);
}

@media (hover: none) {
	.unlockCard__link.is-touchPreview .unlockCard__bannerImg {
		transform: scale(1.08);
	}
	.unlockCard__link.is-touchPreview .unlockCard__shade {
		opacity: 1;
	}
	.unlockCard__link.is-touchPreview .unlockCard__cta {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.unlockCard__shadeText {
	fill: #fff;
	font-weight: 700;
	font-size: 34px;
	letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
	.unlockCard__zoom,
	.unlockCard__shade {
		transition: none;
	}
	.unlockCard:hover .unlockCard__zoom,
	.unlockCard:focus-visible .unlockCard__zoom {
		transform: none;
	}
	.unlockCard__link.is-touchPreview .unlockCard__bannerImg {
		transform: none;
	}
	.mv__transitionBannerImg,
	.unlockBlock__campaignBanner img,
	.bannerHoverShade {
		transition: none;
	}
	.mv__transitionBannerLink:hover .mv__transitionBannerImg,
	.mv__transitionBannerLink:focus-visible .mv__transitionBannerImg,
	.unlockBlock__campaignBanner:hover img,
	.unlockBlock__campaignBanner:focus-visible img {
		transform: none;
	}
	.mv__transitionBannerLink:hover .bannerHoverShade,
	.mv__transitionBannerLink:focus-visible .bannerHoverShade,
	.unlockBlock__campaignBanner:hover .bannerHoverShade,
	.unlockBlock__campaignBanner:focus-visible .bannerHoverShade {
		background: rgba(255, 255, 255, 0.18);
	}
	/* reduced motion: keep darkening, just no animation */
}

@media (max-width: 768px) {
	.unlockLead__banner {
		padding: 26px 0 34px;
	}
	.unlockBlock {
		width: 100%;
		max-width: 1222.47px;
		padding: 0;
	}
	.unlockBlock__inner {
		padding: 1rem 0.5rem 1rem;
	}
	.unlockBlock__title {
		margin: -24px 0 12px;
	}
	.unlockBlock__titleImg {
		width: 350px;
		max-width: 100%;
		margin: 0 auto;
		position: relative;
		top: 4rem;
	}
	.unlockCard__content {
		width: 88%;
		padding: 60px 0 65px;
	}
	.unlockCard__banner {
		padding: 5rem 0;
		background: #1515155c;
	}
	.unlockCard__bannerImg {
		width: 90%;
	}
	.unlockCard__bannerShape {
		left: -20%;
		top: -30%;
		width: 420px;
		transform: translateY(-50%);
	}
	.unlockBlock__campaignBanner {
		width: 100%;
	}
	.unlockBlock__desc {
		font-size: calc(10px / var(--unlock-scale, 1));
		line-height: 1.6;
		text-align: left;
		display: block;
		margin: 12px 0 30px;
		width: 100%;
	}
	.unlockBlock__descBr {
		display: none;
	}
}

/* --------------------------------------------------
  Section: scrolling typography + top text
-------------------------------------------------- */
.topMessage {
	position: relative;
	overflow: hidden;
	padding: clamp(18px, 4vw, 44px) 0;
	margin-top: 14px;
}

.topMessage__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	mix-blend-mode: screen;
}

.topMessage__bg::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 200%;
	height: min(140px, 22vw);
	background-image: url("../../img/pages/top/sdgo-scroll.webp");
	background-repeat: repeat-x;
	background-position: 0 50%;
	background-size: auto 100%;
	animation: topMessage-scroll 22s linear infinite;
	filter: blur(0px);
}

@keyframes topMessage-scroll {
	from {
		transform: translateY(-50%) translateX(0);
	}
	to {
		transform: translateY(-50%) translateX(-50%);
	}
}

.topMessage__inner {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

.topMessage__text {
	max-width: 280px;
	width: auto;
	height: auto;
	display: block;
}

@media (max-width: 768px) {
	.topMessage {
		margin-top: 10px;
		padding: 10px 0;
	}
	.topMessage__text {
		max-width: 45%;
	}
	.topMessage__bg::before {
		height: min(110px, 15vw);
		animation-duration: 18s;
	}
}

/* --------------------------------------------------
  Section: units auto infinite scroll
-------------------------------------------------- */
.contentsTopStage {
	position: relative;
	overflow: hidden;
	margin-top: 6px;
}

.contentsTopStage__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

.contentsTopStage__bgText {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	height: 100%;
	width: auto;
	z-index: 1;
	pointer-events: none;
	user-select: none;
	opacity: 1;
}

.contentsTopStage--wideText .contentsTopStage__bgText,
.contentsTopStage--history .contentsTopStage__bgText {
	top: 6%;
	width: 100%;
	height: auto;
	max-width: none;
}

.contentsTopStage__inner {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.contentsTopStage__title {
	position: relative;
	margin: 46px auto 0;
	width: min(720px, 92vw);
	height: auto;
	z-index: 2;
	pointer-events: none;
	user-select: none;
	filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.contentsTopStage__scroll {
	position: relative;
	z-index: 3;
	margin-top: -90px;
	flex: 1;
}

.contentsTopStage__scroll .unitsAuto {
	margin-top: 0;
}

@media (max-width: 768px) {
	.contentsTopStage {
		height: auto;
        margin-top: 0;
	}
	.contentsTopStage__title {
		margin-top: 30px;
		width: min(640px, 92vw);
	}
	.contentsTopStage__scroll {
		margin-top: -45px;
	}
}

.unitsAuto {
	position: relative;
	overflow: hidden;
	height: 300px; /* fixed height */
	margin-top: 6px;
}

@media (max-width: 768px) {
	.unitsAuto {
		height: 420px; /* fixed height (mobile) */
	}
}

.unitsAuto__bgText,
.unitsAuto__bgDoc {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
	user-select: none;
}

/* farthest back: scrolling-like text background image, centered anchor */
.unitsAuto__bgText {
    top: 6%;
    width: 100%;
}

/* back: doc image, centered anchor, fixed height */
.unitsAuto__bgDoc {
	bottom: 0;
	width: auto;
	max-width: 100%;
	opacity: 1;
}

.unitsAuto__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
}

.unitsAuto__viewport {
	width: 100%;
	overflow: hidden;
}

.unitsAuto__track {
	display: flex;
	align-items: center;
	gap: 3px;
	will-change: transform;
	animation: unitsAuto-marquee 220s linear infinite;
	/* JS will set px distance for seamless loop */
	--unitsAuto-shift: 50%;
}

@media (max-width: 768px) {
	/* 1.5x speed: 60s / 1.5 = 40s */
	.unitsAuto__track {
		gap: 0;
		animation-duration: 180s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.unitsAuto__track {
		animation: none;
	}
}

@keyframes unitsAuto-marquee {
	from {
		transform: translateX(0);
	}
	to {
		/* Use measured px distance when available */
		transform: translateX(calc(-1 * var(--unitsAuto-shift, 50%)));
	}
}

.unitsAuto__item {
	flex: 0 0 auto;
	/* Height-based sizing (keeps row stable across mixed aspect ratios) */
	height: var(--unit-h, 350px);
	display: flex;
	align-items: center;
	justify-content: center;
	/* Per-item micro adjustments (optional) */
	--unit-scale: 1;
	--unit-y: 0px;
	/* Guardrails */
	--unit-maxw: 340px;
}

@media (max-width: 768px) {
	.unitsAuto__item {
		height: var(--unit-h, 180px);
		--unit-maxw: 55vw;
	}
	/* visual "negative gap" */
	.unitsAuto__item { margin-left: -18px; }
	.unitsAuto__item:first-child { margin-left: 0; }
	/* requested: allow height to grow with content */
	.unitsAuto { height: auto; }
}

.unitsAuto__img {
	display: block;
	height: 100%;
	width: auto;
	max-width: var(--unit-maxw, 340px);
	object-fit: contain;
	transform: translateY(var(--unit-y, 0px)) scale(var(--unit-scale, 1));
	transform-origin: center;
}

.unitsAuto--reverse .unitsAuto__track {
	animation-direction: reverse;
}

/* --------------------------------------------------
  Section: footer stage (bg + reverse scroll + footer nav)
-------------------------------------------------- */
.footerStage {
	position: relative;
	overflow: hidden;
	padding: 36px 0 44px;
}

.footerStage__bg {
	position: absolute;
	inset: 0;
	background: url("../../img/shared/footer/nav-bg.webp") center / cover no-repeat;
	z-index: 0;
}

.footerStage__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.footerStage__scroll {
	position: relative;
	z-index: 1;
}

.footerStage__scroll .unitsAuto {
	margin-top: 0;
}

.footerStage__nav {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1000px;
	margin: 18px auto 0;
	padding: 0 1rem;
	box-sizing: border-box;
}

/* footer-shape: peek up behind footer nav from #footer */
#footer {
	position: relative;
	z-index: 2;
	overflow-x: clip;
	overflow-y: visible;
}

.footer__shape {
	position: absolute;
	left: 50%;
	bottom: 50px;
	width: min(1533px, 100%);
	max-width: 100%;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: 0;
	pointer-events: none;
	user-select: none;
	opacity: 0.9;
}

#footer .footer__inner {
	position: relative;
	z-index: 1;
	margin-top: -50px;
	overflow-x: clip;
}

.footerNav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 3px;
}

.footerNav__item {
	flex: 1 1 0;
	min-width: 0;
}

.footerNav__link {
	display: block;
}

@media (max-width: 768px) {
	body.page-top,
	body.page-index {
		overflow-x: hidden;
	}

	.footerStage {
		padding: 22px 0 28px;
	}
	.footer__shape {
		width: 100%;
		max-width: 100%;
		bottom: 125px;
	}
	#footer .footer__inner {
		margin-top: -60px;
	}
	.footerNav {
		/* 3 columns + wrap; center last row automatically */
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}
}


/* ===================================================
   mv__topBar — 横ナビバー（サイドナビ置き換え）
=================================================== */

/* mv__inner の既定パディングをリセット（topBar が内部にある場合／固定化後 placeholder 残存時） */
.mv__inner:has(.mv__topBar),
.mv__inner:has(.mv__topBarPlaceholder),
.mvStage > .mv__inner:has(.mv__topBar),
.mvStage > .mv__inner:has(.mv__topBarPlaceholder) {
    padding: 0;
    overflow: visible;
}

/* 旧ツールバー・サイドバー・MV シェアを非表示 */
.mv__toolbar { display: none !important; }
.mv__sidebar  { display: none !important; }
.share-btns--mv { display: none !important; }

/* mv__layout: 単一カラムに変更（サイドバーなし） */
.mv__layout {
    grid-template-columns: 1fr;
    margin-top: 0;
}

/* mv__main: 最大幅1500px・中央配置 */
.mv__main {
    max-width: 1500px;
    margin: 0 auto;
}

@media (min-width: 1201px) {
    .mv__main {
        width: 100%;
        max-width: 1500px;
        max-height: none;
        margin: 0 auto;
    }
}

/* サブページ（mv--history系）: main に最小高を設定 */
.mv--history .mv__main {
    min-height: 900px;
}
@media (max-width: 1199px) and (min-width: 769px) {
    .mv--history .mv__main {
        min-height: clamp(300px, 52vw, 520px);
    }
}
@media (max-width: 768px) {
    .mv--history .mv__main {
        min-height: 38vh;
    }
}

/* -------------------------------------------
   mv__topBar 本体
------------------------------------------- */
.mv__topBar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    --mv-topbar-h: 88px;
    height: var(--mv-topbar-h);
    padding: 0 48px;
    box-sizing: border-box;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: visible;
}

.mvHero:has(.mv__brandShape) {
	overflow-x: clip;
	overflow-y: visible;
	--brand-shape-offset-y: 70px; /* Yahoo 100px - margin-bottom 30px */
}

.mvHero:has(.mv__brandShape) .mvContain {
	overflow-x: clip;
	overflow-y: visible;
}

/* 装飾形状（mvHero 直下の独立レイヤー） */
.mv__brandShape {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background: url(../../img/pages/top/header-shape.webp) left center / auto 100% no-repeat;
	top: calc(var(--brand-shape-offset-y) + 8px);
	left: 20px;
	width: clamp(150px, 11.5vw, 195px);
	height: clamp(74px, 8.5vw, 92px);
}

@media (min-width: 1201px) {
	.mv__brandShape {
		top: calc(60px - 10px);
		left: max(20px, calc(50% - 742px));
		width: clamp(158px, 10vw, 195px);
		height: clamp(78px, 7.8vw, 92px);
	}
}

@media (max-width: 1200px) and (min-width: 769px) {
	.mv__brandShape {
		top: 30px;
		left: -20px;
		width: 150px;
		height: 80px;
	}
}

@media (max-width: 768px) {
	.mvHero:has(.mv__brandShape) {
		--brand-shape-offset-y: 0px;
	}

	.mv__brandShape {
		top: -12px;
		left: -15px;
		width: 150px;
		height: 60px;
	}
}

/* スマホ幅のみ（狭い画面） */
@media (max-width: 480px) {
	.mv__brandShape {
		top: 0;
		left: 5px;
		width: clamp(118px, 30vw, 145px);
		height: clamp(45px, 12.5vw, 68px);
	}
}

body.is-topbar-fixed .mv__brandShape,
body.is-mv-open:not(.is-topbar-fixed) .mv__brandShape {
	display: none;
}

/* ロゴ（装飾形状は .mv__brandShape で描画） */
.mv__topBar .mv__brand {
    --brand-logo-h: 80px;
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    top: 8px;
    z-index: 2;
}

.mv__topBar .mv__brand::before {
    display: none;
}
.mv__topBar .mv__brandLogo {
    height: 80px;
    width: auto;
    display: block;
    position: relative;
    top: 10px;
}

/* MEMORIAL SITE ブランドテキスト */
.mv__brandInfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.75rem;
    /* padding-right: 36px; */
    /* border-right: 1px solid rgba(255, 255, 255, 0.16); */
    transform: translateY(15%);
}
.mv__brandName {
    font-family: 'Teko', system-ui, sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1;
    margin: 0;
}
.mv__brandTagline {
    font-size: 7px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.68);
    /* margin: 4px 0 0; */
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* 横ナビ */
.mv__topNav {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-evenly;
}
.mv__topNavList {
	display: flex;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	gap: 1.5%;
}
.mv__topNavItem {
    display: flex;
    align-items: stretch;
}
.mv__topNavLink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 22px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    position: relative;
    transition: color 0.18s ease;
    white-space: nowrap;
    border: 0;
}
.mv__topNavLink::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: #ff4a00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.mv__topNavLink:hover,
.mv__topNavLink:focus-visible {
    color: #fff;
}
.mv__topNavLink:hover::after,
.mv__topNavLink:focus-visible::after,
.mv__topNavLink.is-active::after {
    transform: scaleX(1);
}
.mv__topNavLink.is-active {
    color: #fff;
}
.mv__topNavLink:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: -2px;
}
.mv__topNavEn {
    font-family: 'Teko', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
    display: block;
}
.mv__topNavJa {
    font-size: 10px;
    line-height: 1;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* topBar タイポ拡大（固定拡大案）
   - brandInfo: 1200px以上のみ（1199px以下は非表示）
   - 横ナビ: 769px以上で同一サイズ維持（768px以下はバーガー） */
@media (min-width: 769px) {
    .mv__topNavEn {
        font-size: 21px;
    }

    .mv__topNavJa {
        font-size: 11px;
    }

    .mv__topNavLink {
        padding-inline: clamp(12px, 1.6vw, 22px);
    }
}

@media (min-width: 1200px) {
    .mv__brandName {
        font-size: 28px;
    }

    .mv__brandTagline {
        font-size: 8px;
    }
}

/* シェアボタン（topBar内） */
.share-btns--topbar {
    flex-shrink: 0;
    max-width: none;
    margin: 0 0 0 auto;
    padding: 0 0 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

/* バーガーボタン（topBar内 — モバイル用） */
.mv__topBar .mv__burger {
    display: none;
    flex-shrink: 0;
    margin-left: auto;
}

/* -------------------------------------------
   レスポンシブ
------------------------------------------- */

/* < 1200px: 共通 */
@media (max-width: 1199px) {
    .mv__brandInfo  { display: none; }
}

/* 769–1199px: タブレット横ナビ */
@media (max-width: 1199px) and (min-width: 769px) {
    .mv__topBar {
        display: flex;
        --mv-topbar-h: 88px;
        height: var(--mv-topbar-h);
        padding: 20px;
    }
    .mv__topBar .mv__brand {
        --brand-logo-h: 8.25vw;
    }
    .mv__topBar .mv__brandLogo {
        height: 77px;
        top: -8px;
    }
    .share-btns--topbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 0;
        margin-left: 0;
    }
    .share-btns--topbar .share-btns__ttl {
        font-size: 9px;
        padding-right: 0;
    }
    .share-btns--topbar .share-btns__ttl::before {
        display: none;
    }
}

/* <= 768px: 横ナビ非表示、バーガー表示 */
@media (max-width: 768px) {
    .mv__topBar {
        --mv-topbar-h: 54px;
        height: var(--mv-topbar-h);
        padding: 0 12px;
    }
    .mv__topBar .mv__brand {
        --brand-logo-h: 48px;
        margin-right: 10px;
        top: 4px;
    }
    .mv__topBar .mv__brandLogo {
        height: var(--brand-logo-h);
        top: 0;
    }
    .mv__brandName {
        font-size: 24px;
    }
    .mv__brandTagline {
        font-size: 7px;
    }
    .mv__topNav     { display: none; }
    .share-btns--topbar { display: none; }
    .mv__topBar .mv__burger { display: inline-flex; }
}

/* -------------------------------------------
   Mosaic ページ: mosaicTopBar に横ナビを追加
------------------------------------------- */

/* mosaicTopBar が mv__topBar を兼ねる場合の追加スタイル */
.mosaicTopBar.mv__topBar {
    background: rgba(8, 8, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    --mv-topbar-h: 70px;
    height: var(--mv-topbar-h);
    padding: 0 32px;
    pointer-events: none; /* コンテナは通過、子要素が制御 */
    max-width: 100%;
}

/* nav 関連要素をクリック可能に */
.mosaicTopBar.mv__topBar .mv__topNavLink,
.mosaicTopBar.mv__topBar .mv__brandInfo,
.mosaicTopBar.mv__topBar .share-btns--topbar,
.mosaicTopBar.mv__topBar .share-btns--topbar a {
    pointer-events: auto;
}

/* mosaic ページのトップバー高さに合わせて margin-top 調整 */
body.mosaic-page {
    --mosaicTopBarH: 70px;
}

/* < 1200px mosaic ページ: トップバー compact */
@media (max-width: 1199px) {
    .mosaicTopBar.mv__topBar {
        --mv-topbar-h: 60px;
        height: var(--mv-topbar-h);
        padding: 0 16px;
    }
    body.mosaic-page {
        --mosaicTopBarH: 60px;
    }
}

@media (max-width: 768px) {
    .mosaicTopBar.mv__topBar {
        --mv-topbar-h: 54px;
        height: var(--mv-topbar-h);
        padding: 0 12px;
    }
    body.mosaic-page {
        --mosaicTopBarH: 54px;
    }
}

/* ドロワーを開いたとき: mosaic ページのトップバー要素を非表示 */
body.mosaic-page.is-mv-open .mosaicTopBar.mv__topBar .mv__brand,
body.mosaic-page.is-mv-open .mosaicTopBar.mv__topBar .mv__brandInfo,
body.mosaic-page.is-mv-open .mosaicTopBar.mv__topBar .mv__topNav,
body.mosaic-page.is-mv-open .mosaicTopBar.mv__topBar .share-btns--topbar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* -------------------------------------------
   @prefers-reduced-motion
------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .mv__topNavLink::after { transition: none; }
}

/* --------------------------------------------------
  mv__topBar 3-block layout
-------------------------------------------------- */
.mv__topBar:has(.mv__topBarStart) {
	justify-content: space-between;
	gap: 24px;
}

.mv__topBarStart {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 auto;
}

.mv__topBarEnd {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 12px;
}

.mv__topBarEnd .share-btns--topbar {
	margin-left: 0;
	padding-left: 0;
}

.mv__topBar:has(.mv__topBarEnd) .mv__burger {
	margin-left: 0;
}

.mv__drawerBrand {
	display: flex;
	align-items: center;
	margin-top: 8px;
}

/* 固定ヘッダーにロゴがあるため、ドロワー内のロゴは非表示 */
body.is-mv-open .mv__drawerBrand {
	display: none;
}

.mv__drawerBrand .mv__brandInfo {
	border-right: 0;
	padding-right: 0;
	margin-right: 0;
}

.mv__topNav--drawer {
	flex: none;
	height: auto;
	width: 100%;
	margin-top: 16px;
}

.mv__topNav--drawer .mv__topNavList {
	flex-direction: column;
	height: auto;
	align-items: stretch;
	width: 100%;
	gap: 0;
}

.mv__topNav--drawer .mv__topNavItem {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	width: 100%;
}

.mv__topNav--drawer .mv__topNavItem:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mv__topNav--drawer .mv__topNavLink {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	min-height: 56px;
	padding: 16px 16px;
	box-sizing: border-box;
	white-space: normal;
}

/* ドロワー専用: 行全体をタップ領域にし、ヘッダー用の下線ホバーは無効化 */
.mv__topNav--drawer .mv__topNavLink::after {
	display: none;
}

.mv__topNav--drawer .mv__topNavLink:hover,
.mv__topNav--drawer .mv__topNavLink:focus-visible {
	background: rgba(255, 74, 0, 0.1);
	color: #fff;
}

.mv__topNav--drawer .mv__topNavLink.is-active {
	background: rgba(255, 74, 0, 0.14);
	color: #fff;
	box-shadow: inset 3px 0 0 #ff4a00;
}

.mv__topNav--drawer .mv__topNavLink:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: -2px;
}

@media (max-width: 768px) {
	.mv__topBar:has(.mv__topBarStart) .mv__brandInfo {
		display: flex;
	}

	.mv__topBarStart > .mv__topNav {
		display: none;
	}

	.mv__topBarEnd .share-btns--topbar {
		display: none;
	}

	.mv__drawer .mv__topNav {
		display: flex;
	}

	body.is-mv-open:not(.is-topbar-fixed) .mv__topBar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 10080;
		max-width: none;
		margin: 0;
		background: rgba(8, 8, 8, 0.88);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	body.is-mv-open:not(.is-topbar-fixed) .mv__topBar .mv__brand {
		--brand-logo-h: 36px;
		top: 1px;
	}

	body.is-mv-open:not(.is-topbar-fixed) .mv__topBar .mv__brand::before {
		display: none;
	}

	body.is-mv-open .mv__drawerInner {
		padding-top: calc(var(--topbar-fixed-h, 54px) + 12px);
	}

	body.is-mv-open .mv__topNav--drawer {
		margin-top: 0;
	}
}

/* --------------------------------------------------
  Fixed mv__topBar（スクロール後）
-------------------------------------------------- */
.mv__topBarPlaceholder {
	display: block;
}

.mv__topBarPlaceholder[hidden] {
	display: none;
}

.lowerMv .mv__topBarPlaceholder {
	display: none;
}

/* 固定 topBar: #wrapper 直下へ portal し、後続の main / reel より手前に出す */
body.is-topbar-fixed #wrapper > .reel-section,
body.is-topbar-fixed #wrapper > main.page {
	position: relative;
	z-index: 1;
}

body.is-topbar-fixed .mvHero {
	position: relative;
	z-index: 1;
}

body.is-topbar-fixed #wrapper > .mv__topBar,
body.is-topbar-fixed .mv__topBar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10080;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	--mv-topbar-h: 60px;
	height: var(--mv-topbar-h);
	padding: 0 48px;
	box-sizing: border-box;
	background: transparent;
	border-bottom: none;
	isolation: isolate;
}

body.is-topbar-fixed .mv__topBar::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	background: rgba(8, 8, 8, 0.88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	z-index: 0;
	pointer-events: none;
}

body.is-topbar-fixed .mv__topBarStart,
body.is-topbar-fixed .mv__topBarEnd {
	position: relative;
	z-index: 1;
}

body.is-mv-open.is-topbar-fixed .mv__topBar {
	right: var(--drawer-scrollbar-comp, 0px);
}

body.is-topbar-fixed .mv__topBar .mv__brand {
	--brand-logo-h: 50px;
	top: 1px;
}

body.is-topbar-fixed .mv__topBar .mv__brandLogo {
	height: var(--brand-logo-h);
	top: 0;
}

body.is-topbar-fixed .mv__topBar .mv__brand::before {
	display: none;
}

body.is-topbar-fixed .mv__brandInfo {
	display: none;
}

@media (max-width: 768px) {
	body.is-topbar-fixed #wrapper > .mv__topBar,
	body.is-topbar-fixed .mv__topBar {
		--mv-topbar-h: 54px;
		padding: 0 1rem;
	}

	body.is-topbar-fixed .mv__topBar .mv__brand {
		--brand-logo-h: 36px;
		top: 1px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.is-topbar-fixed .mv__topBar {
		transition: none;
	}
}

/* --------------------------------------------------
  index SP（page-top のみ）: 余白の固定
  Fix-1: portal 後も mv__inner padding 12px が復活しない
  Fix-2: mv__main padding-top 0.5rem を除去（padding-inline のみ残す）
-------------------------------------------------- */
@media (max-width: 768px) {
	body.page-top .mv__inner,
	body.page-top .mvStage > .mv__inner {
		padding: 0;
	}

	body.page-top .mv__main {
		padding-top: 0;
	}
}
