@charset "UTF-8";

.floating-banner {
	position: fixed;
	bottom: 1%;
	right: 0;
	left: 0;
	margin: auto;
	width: 50%;
}

.floating-banner img {
	max-width: 100%;
	display: block;
	margin: auto;
	aspect-ratio: 6 / 1;
	overflow: hidden;
	border-radius: 8px;
}

.guideBody p {
	line-height: 1.6;
}

.p-single-content strong {
	font-weight: 700;
	color: revert;
}

.p-single-content h2 {
	padding-bottom: 20px;
	margin-top: 40px;
	margin-bottom: 30px;
}

.p-single-content table td,
.p-single-content table th {
	padding: 10px;
	font-size: 1.4rem;
	border: 1px solid;
	line-height: 1.6;
}

.related-guide {
	max-width: 815px;
	margin: 0 auto;
	width: 90%;
}

.related-guide__title {
	font-size: 2rem;
	font-weight: bold;
}

.related-guide__list {
	display: flex;
	justify-content: left;
	gap: 16px;
	margin: 10px 0;
}

.related-guide__list .related-guide__item {
	width: calc((100% - 48px) / 4);
}

.popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;

	opacity: 0;
	visibility: hidden;
	transition: .3s;
}

/* 表示状態 */
.popup-overlay.is-show {
	opacity: 1;
	visibility: visible;
}

.popup-banner {
	max-width: 90%;
	width: 500px;
	position: relative;
}

.popup-banner img {
	width: 100%;
	height: auto;
	display: block;
}

.popup-close {
	position: absolute;
	top: -7%;
	right: -6%;
	background: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
}


@media screen and (max-width:540px) {
	.floating-banner {
		position: fixed;
		bottom: 10%;
		right: 0;
		left: 0;
		margin: auto;
		width: 70%;
	}

	.floating-banner img {
		width: 90vw;
		max-width: 100%;
		margin: 0 auto;
	}

	.related-guide__list {
		flex-wrap: wrap;
	}

	.related-guide__list .related-guide__item {
		flex: 0 0 calc((100% - 16px) / 2);
	}
}