/* ダイアログ */
dialog {
	border: 0;
	border-radius: 0.6rem;
	box-shadow: 0 0 1em black;
	margin: auto;
}

dialog::backdrop {
  /* 背景を半透明のブラックにする */
  background-color: rgba(0, 0, 0, 0.4);
}

/* ダイアログのmargin */
.dialog-header, .dialog-content, .dialog-footer {
	margin-block: 5px;
}
.fixed-footer-dialog .dialog-content {
	padding-bottom: calc(var(--font-size) + 0.5rem + 10px);
}

/* ダイアログを閉じるボタン */
.dialog-close-header {
	text-align: right;
	min-height: 30px;
	display: flex;
}
dialog .dialog-close-btn {
	background-color: #C0C0C0;
	padding: 0;
	min-width: 50px;
	height: 30px;
	margin-left: auto;
	text-align: center;
	opacity: 0.7;
	border-radius: 0 0 0 5px;
	border: none;
	font-size: 1.25rem;
}
.dialog-close-btn:hover {
	color: #FFFFFF;
	background-color: #FF0000;
}

/* ダイアログのコンテンツ(下部固定) */
.fixed-footer-dialog .dialog-content {
	position: absolute;
	height: calc(100% - 6.5rem);
	overflow-y: auto;
	margin: auto;
	right: 0;
	left: 0;
}

/* ダイアログのフッター(下部固定) */
.fixed-footer-dialog .dialog-footer {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	margin-inline: 0;
	background-color: #FFFFFF;
}
/* ダイアログのフッター(ボタン) */
.dialog-footer.btn-footer {
	display: flex;
	justify-content: space-between;
}
