.image-box {
	max-height: 78vh;
	overflow: hidden;
}

.sst {
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	padding: 0 1rem;
	color: #2a2a2a;
}

.text-box {
	width: fit-content;
	margin: auto;
	margin-bottom: 1rem;
	padding: 0 1rem;
}

.text {
	color: #3a3a3a;
	font-size: 1rem;
}

.button-container {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	gap: 1rem;
	max-width: 900px;
	padding: 1rem;
	margin: auto;
}

.popup-btn {
	flex: 1 1 100%;
	cursor: pointer;
	font-size: 1rem;
	min-height: 3.5rem;
	background: #0066cc;
	border: unset;
	border-bottom: 4px solid #004386;
	border-radius: 4px;
	color: #fff;
	overflow: hidden;
}

.popup-container {}

dialog {
	border: unset;
	border-radius: 8px;
	box-shadow: 4px 4px 7px #00000014;
	color: #3a3a3a;
	max-height: 80vh;
}

dialog[open] {
	animation: dlg-fade-in .25s ease both;
}

@keyframes dlg-fade-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 閉じるとき用 */
dialog.is-closing {
	animation: dlg-fade-out .2s ease forwards;
}

@keyframes dlg-fade-out {
	from {
		opacity: 1;
		transform: translateY(0);
	}

	to {
		opacity: 0;
		transform: translateY(4px);
	}
}


.dialog__inner {}

.dialog__inner dt {
	font-size: 1.25rem;
	font-weight: 600;
	border-bottom: 1px solid;
	margin-bottom: 1rem;
}

.dialog__flex {
	display: flex;
	gap: 1rem;
	flex-direction: column;
}

.dialog__figure {
	flex: 1 1 30%;
	height: 100%;
	margin: 0;
}

.dialog__figure img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.dialog__figure figcaption,
.dialog__flex-item figcaption {
	text-align: center;
	font-size: .875rem;
	line-height: 1.2;
	font-weight: bold;
	margin-top: .5rem;
}

.dialog__flex-item figcaption:nth-of-type(1) {
	flex: 1;
}

.dialog__figure figcaption:nth-of-type(2),
.dialog__flex-item figcaption:nth-of-type(2) {
	font-weight: normal;
	text-align: left;
	flex: 2;
}


.dialog__flex:has(.dialog__flex-item) {
	flex-direction: row;
	flex-wrap: wrap;
}

.dialog__flex-item {
	flex: 0 1 calc(50% - 1rem / 2);
	margin: 0;
	display: flex;
	flex-direction: column;
}

.dialog__flex-item img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: contain;
}

.dialog__flex-item figcaption {}

.popup-list {
	flex: 1 1 70%;
}

.popup-list li {
	list-style: disc;
	margin-left: 1rem;
}

.popup__button {
	background: #fff;
	border: 1px solid gray;
	cursor: pointer;
	display: block;
	width: fit-content;
	margin: auto;
}

.popup-table {
	width: 100%;
	border-collapse: collapse;
}