@charset "UTF-8";

/* ポップアップメッセージ */
#main .popup-message {
	padding: 2em;
	width: fit-content;
	max-width: 1000px;
	min-width: 320px;
	border: 4px solid var(--clr-black);
	background: #fff;
	border-radius: 10px;
	opacity: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	transition: var(--transition)
}
#main .popup-message p {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.5em;
	text-align: center;
	color: #000;
}
#main .popup-message.show {
	animation: popup-show var(--transition) forwards;
}
#main .popup-message.hide {
	animation: popup-hide var(--transition) forwards;
}
@media screen and (max-width: 768px) {
	#main .popup-message {
		width: 80%;
		min-width: auto;
	}
	#main .popup-message p {
		font-size: 14px;
	}
}
@keyframes popup-show {
	0% {
		opacity: 0;
		transform: translate(-50%, calc(-50% - 15px));
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}
@keyframes popup-hide {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, calc(-50% + 15px));
	}
}

/* プラグインアラート */
html.swal2-shown {
	overflow-y: hidden;
}
.swal2-container {
	z-index: 9999;
}
.swal2-container .swal2-popup {
	max-width: 80%;
}
.swal2-container .swal2-title {
	color: var(--clr-blue);
	font-family: var(--noto);
	font-size: 22px;
	font-weight: 700;
}
.swal2-container .swal2-html-container {
	color: #000;
	font-family: var(--noto);
	font-size: 16px;
	font-weight: 500;
}
.swal2-container .swal2-html-container a {
	text-decoration: underline;
}
.swal2-container .swal2-actions {
	margin-top: 0.5em;
}
.swal2-container button {
	padding: 0.5em 1em;
	font-family: var(--noto);
	font-size: 16px;
	font-weight: 500;
}
.swal2-container .swal2-confirm {
	background: var(--clr-blue);
}
@media screen and (max-width: 500px) {
	.swal2-container .swal2-title {
		font-size: 16px;
	}
	.swal2-container .swal2-html-container {
		font-size: 14px;
	}
	.swal2-container button {
		font-size: 14px;
	}
}

/* 制限中ページ */
html body .main.restricted .content__wrapper__inner .main-content .article .lead-message {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
}
html body .main.restricted .content__wrapper__inner .main-content .article .lead-message + .lead-message {
	margin-top: 0.6em;
}
html body .main.restricted .content__wrapper__inner .main-content .article .lead-message a {
	text-decoration: underline;
}
@media screen and (max-width: 500px) {
	html body .main.restricted .content__wrapper__inner .main-content .article .lead-message {
		font-size: 16px;
	}
}

/* エリア表示共通 */
html body .main .main-content .article .common-area {
	margin: 0 auto;
	padding: 60px;
	width: 100%;
	max-width: 1000px;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
	margin-bottom: 30px;
}
html body .main .main-content .article .common-area + .common-area {
	margin-top: 30px;	
}
html body .main .main-content .article .common-area h2 {
	margin-bottom: 30px;
	padding-bottom: 20px;
	font-weight: bold;
	font-size: 42px;
	text-align: center;
	position: relative;
}
html body .main .main-content .article .common-area .lead-message {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
}
html body .main .main-content .article .common-area .lead-message + .lead-message {
	margin-top: 0.6em;
}
html body .main .main-content .article .common-area .lead-message a {
	text-decoration: underline;
}
html body .main .main-content .article .common-area .enq-area .matching-menu-area__inner {
	padding: 0;
	max-width: 100%;
}
@media screen and (max-width: 1100px) {
	html body .main .main-content .article .common-area h2 {
		font-size: 36px;
	}
}
@media screen and (max-width: 768px) {
	html body .main .main-content .article .common-area {
		padding: 50px 20px;
		border-radius: 25px;
	}
	html body .main .main-content .article .common-area h2 {
		margin-bottom: 20px;
		padding-bottom: 15px;
		font-size: 30px;
	}
	html body .main .main-content .article .common-area .lead-message {
		font-size: 16px;
	}
}
@media screen and (max-width: 500px) {
	html body .main .main-content .article .common-area .lead-message {
		font-size: 16px;
	}
}

/* QRコード */
.member-qr {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}
.member-qr .qr {
    display: flex;
    align-items:center;
    justify-content: center;
}
.member-qr .qr img {
	aspect-ratio: 1;
	width: 170px;
	height: auto;
}
@media screen and (max-width: 768px) {
	.member-qr .qr img {
		width: 136px;
	}
}

/* マイページQR表示 */
html body .main .main-content .article .common-area:has(.member-qr) {
	padding: 40px 60px;
}
html body .main .main-content .article .common-area:has(.member-qr) + .matching-menu-area {
	margin-top: 30px;
}
html body .main .main-content .article .common-area:has(.member-qr) h2 {
	margin-bottom: 20px;
	padding-bottom: 0;
}
@media screen and (max-width: 768px) {
	html body .main .main-content .article .common-area:has(.member-qr) {
		padding: 30px 20px;
	}
	html body .main .main-content .article .common-area:has(.member-qr) h2 {
		margin-bottom: 10px;
	}
}

/* アンケート導線表示対応 */
html body .main .main-content .article .common-area:has(.enq-area) .common-area-inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
}
html body .main .main-content .article .common-area:has(.enq-area) .qr-area,
html body .main .main-content .article .common-area:has(.enq-area) .enq-area {
	width: calc((100% - 20px) / 2);
	max-width: 390px;
}
html body .main .main-content .article .common-area:has(.enq-area) .matching-menu-area__inner {
	box-shadow: none;
}
html body .main .main-content .article .common-area:has(.enq-area) .matching-menu-area__inner .buttons {
	margin: 0;
}
html body .main .main-content .article .common-area:has(.enq-area) .matching-menu-area__inner .buttons .button {
	width: 100%;
}
@media screen and (max-width: 768px) {
	html body .main .main-content .article .common-area:has(.enq-area) {
		padding-bottom: 50px;
	}
	html body .main .main-content .article .common-area:has(.enq-area) h2 {
		line-height: 1.25;
	}
	html body .main .main-content .article .common-area:has(.enq-area) .common-area-inner {
		flex-direction: column;	
	}
	html body .main .main-content .article .common-area:has(.enq-area) .qr-area,
	html body .main .main-content .article .common-area:has(.enq-area) .enq-area {
		width: 100%;
		max-width: 320px;
	}
}
@media screen and (max-width: 768px) {
	html body .main .main-content .article .common-area:has(.enq-area) .qr-area,
	html body .main .main-content .article .common-area:has(.enq-area) .enq-area {
		max-width: 100%;
	}
}

/* 見逃し配信表示対応 */
html body .main .content__wrapper__inner .main-content .article .matching-menu-area__inner .buttons.ondemand .button p {
	line-height: 1.2;
}

/* コンテンツのみページ（ヘッダー・フッターなし） */
html body .main.content-only h2 {
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 42px;
	text-align: center;
	position: relative;
}
html body .main.content-only h2 .en {
	display: inline-block;
	font-size: 0.7em;
	margin-top: 0.6em;
}
html body .main.content-only .lead-message {
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
}
html body .main.content-only .lead-message + .lead-message {
	margin-top: 0.6em;
}
html body .main.content-only .lead-message a {
	text-decoration: underline;
}
@media screen and (max-width: 1100px) {
	html body .main.content-only h2 {
		font-size: 36px;
	}
}
@media screen and (max-width: 768px) {
	html body .main.content-only h2 {
		margin-bottom: 10px;
		font-size: 30px;
	}
}
@media screen and (max-width: 500px) {
	html body .main.content-only .lead-message {
		font-size: 16px;
	}
}

