@charset "UTF-8";
/* ==========================================================
   新MV(トップページと確認用の sample ページでのみ読み込み)
   - スマホ(959px以下):上にイラスト、下にコピー
   - PC(960px以上):基準サイズ 1300 × 334px。位置・サイズは % 指定で、
     横幅に合わせて同じ比率のまま拡大縮小
   ========================================================== */

.alba-mv {
	position: relative;
	width: 100%;
	background: #f5fafe;
	overflow: hidden;
}

.alba-mv *,
.alba-mv *::before,
.alba-mv *::after {
	box-sizing: border-box;
}

/* SWELL標準のメインビジュアルは非表示(新MVに置き換え) */
#main_visual {
	display: none !important;
}

.alba-mv img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* テキスト(アウトライン化済みSVG) */
.alba-mv__copy {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	line-height: 0;
}

/* SWELLの見出し装飾を打ち消し */
.alba-mv__copy::before,
.alba-mv__copy::after {
	content: none;
	display: none;
}

/* ---------- スマホ ---------- */
@media (max-width: 959px) {

	.alba-mv__inner {
		display: flex;
		flex-direction: column;
	}

	/* 上:イラスト(下端を背景になじませる) */
	.alba-mv__illust {
		order: 1;
		display: block;
		width: 100%;
		-webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
		        mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
	}

	/* 下:コピー */
	.alba-mv__copy {
		order: 2;
		width: 100%;
		max-width: 560px;
		margin: -4px auto 0;
		padding: 0 16px 28px;
	}
}

/* ---------- PC ---------- */
@media (min-width: 960px) {

	.alba-mv__inner {
		position: relative;
		max-width: 1300px;
		margin: 0 auto;
		aspect-ratio: 1300 / 334;
	}

	/* 左側のテキスト */
	.alba-mv__copy {
		position: absolute;
		z-index: 2;
		left: 3.077%;   /*  40 / 1300 */
		top: 8.383%;    /*  28 / 334  */
		width: 43.077%; /* 560 / 1300 */
	}

	/* 右側のイラスト */
	.alba-mv__illust {
		position: absolute;
		z-index: 1;
		left: 40.77%;   /* 530 / 1300 */
		top: -17.07%;   /* -57 / 334  */
		width: 63.62%;  /* 827 / 1300 */
		/* 左端と右端を背景になじませる(1300px超の画面で右端が切れて見えないように) */
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 92%, transparent 100%);
		        mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 92%, transparent 100%);
	}
}
