@charset "utf-8";
html {
	font-size: 62.5%;
}
a {
	text-decoration: none;
}
*,
*:before,
*:after {
	box-sizing: border-box;
}
hr {
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
body {
	width: 100%;
	margin: 0 auto;
	font-feature-settings: 'palt';
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-size: 1.4rem;
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1.7;
	background-color: #fff;
	color: #000000;
}
body.modal-open {
	overflow: hidden; /* スクロールを禁止 */
	width: 100%;
	height: 100%;
}

input,
button,
textarea,
select {
	-webkit-appearance: none;
	appearance: none;
}
img {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
span {
	display: inline-block;
}
figure {
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
}
@media (max-width: 1023px) {
	.sp {
		display: block !important;
	}
	.pc {
		display: none !important;
	}
}
@media only screen and (min-width: 1024px) {
	.sp {
		display: none !important;
	}
	.pc {
		display: block !important;
	}
}
#header #name-and-logo img {
	height: 48px;
	width: 150px;
}

:root {
	--transition-fast: 0.5s;
	--transition-medium: 0.8s;
	--breakpoint-pc: 1280px;
}

.mainWrap {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.mainWrap p.mlbCopy {
	position: absolute;
	font-size: 18px;
	color: #fff;
	bottom: 0;
	right: 5px;
}
.mainPicture,
.mainPicture img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.mainOverlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	pointer-events: none;
	transition: background-color 0.4s ease;
}
.brandLogoWrap {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 1s ease;
	z-index: 30;
	display: flex;
	justify-content: center;
	align-items: center;
}
.brandLogo {
	width: 100%;
	height: auto;
	display: block;
}
.itemImages {
	position: absolute;
	inset: 0;
	z-index: 30;
	pointer-events: none;
}
.itemImage {
	position: absolute;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity var(--transition-fast) ease;
}
#svgHotspotsSP {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 25;
	pointer-events: auto;
	fill: transparent;
	cursor: pointer;
}
#svgHotspotsPC {
	display: none;
}

.modalOverlay {
	position: fixed;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease;
	z-index: 90;
	cursor: pointer;
}
.modalOverlay.show {
	opacity: 1;
	visibility: visible;
}

/* モーダル（初期非表示） */
.itemModal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: 90%;
	max-width: 500px;
	background: white;
	border-radius: 5px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
	background-color: rgb(255, 255, 255, 0.5);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition-fast) ease, transform var(--transition-fast) ease, visibility var(--transition-fast);
}
.itemModal.show {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

/* モーダル内部 */
.modalContent {
	position: relative;
	padding: 25px 20px;
	padding: 10% 5% 5%;
}
/* ここから追加 */
.modalInner figure {
	max-width: 800px;
	width: 100%;
	flex-shrink: 0;
}
/* ---ここまで */

/* ×ボタン */
.modalClose {
	position: absolute;
	right: 10px;
	top: 5px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #000000;
}
@media (any-hover: hover) {
	.modalClose:hover {
		color: #fff;
		opacity: 0.7;
		transition: 0.3s;
	}
}

/* モーダルの内容レイアウト */
.modalInner {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	background-color: #fff;
}
.modalInner .modalTitle {
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	font-family: 'aptos', sans-serif;
	font-weight: 900;
}

.modalInner .modalDesc {
	font-size: clamp(1.4rem, 1.7vw, 1.5rem);
	line-height: 1.6;
	/* js文字列内の改行(\n)を改行として表示し、長い行は自動で折り返す */
	white-space: pre-wrap;
}

.modalCreditArea {
	padding-top: 2%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
}

.modalPrice {
	font-size: 1.8rem;
	font-family: 'aptos', sans-serif;
	font-weight: 900;
	color: #333;
}
/* buyボタン */
a.modalBtn {
	display: inline-block;
	padding: 10px 24px;
	font-size: 0.9em;
	font-weight: 700;
	color: #fff;
	border-radius: 5px;
	text-align: center;
	transition: 0.3s;
}
a.modalBtn:hover {
	text-decoration: none;
	opacity: 0.8;
	transition: 0.3s;
}
.modalBtn::after {
	content: '　　　　〉';
	font-size: 0.8em;
}

.modalTxtArea {
	/* margin-top: 3%; */
	padding: 4%;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.modalTxtArea a {
	width: 10em;
	padding: 5px;
	background-color: #e2e2e2;
	color: inherit;
	font-weight: 700;
	text-align: right;
}

/* PC用スタイル（1024px 以上） */
@media screen and (min-width: 1024px) {
	.brandLogoWrap {
		width: 59%;
	}
	.itemModal {
		width: 90%;
		max-width: 1200px; /* PCでの最大幅 */
		top: 48%;
	}
	#svgHotspotsSP {
		display: none;
	}
	#svgHotspotsPC {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 25;
		pointer-events: auto;
		fill: transparent;
		cursor: pointer;
	}
	.modalContent {
		padding: 3.5%;
	}
	.modalInner {
		/* display: flex; */
		flex-direction: row;
		gap: 20px;
		align-items: center;
	}
	.modalInner figure {
		width: 60%;
	}
	.modalInner .modalTxtArea {
		width: 50%;
		/* margin-top: 2.5%; */
		padding: 1%;
		padding-left: 0;
		justify-content: space-between;
		flex-direction: column;
		gap: 15px;
	}

	.modalInner .modalDesc {
		flex-grow: 1;
	}
	.modalCreditArea {
		padding-top: 15px;
	}
}
@media screen and (min-width: 1241px) {
	.modalInner {
		gap: 40px;
	}
	.modalTxtArea {
		max-width: 360px;
	}
	.modalInner .modalTxtArea {
		margin-top: 3%;
	}
}
