@charset "utf-8";
/* CSS Document */

/* チェックボックスは非表示 */
#modal-toggle {
  display: none;
}
/* モーダル全体 */
.modal {
  display: none;
}
/* チェックされている時だけ表示 */
#modal-toggle:checked + .modal {
  display: block;
}
/* 背景オーバーレイ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
/* モーダル本体 */
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 24px;
  width: 90%;
  max-width: 1000px;
  border-radius: 8px;
  z-index: 10000;
	box-sizing: border-box;
	max-height: 100vh;
	overflow: auto;
}
/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
}
	
.modal-content h2 {
    margin-bottom: 1rem;
	margin-top: 1rem;
    color: #473455;
    font-size: clamp(21px, 2.5vw, 32px);
    font-family: "Zen Antique", serif;
    font-style: normal;
    font-weight: 400;
    display: block;
	text-align: center;
}
.modal-content .img_box {
    width: 80%;
    margin: 0 auto;
}	
.modal-content .text_box {
    max-width: 680px;
    margin: 0 auto;
}
.modal_message .text_box p {
    font-size: 16px;
    text-align: left;
    font-family: "Zen Antique", serif;
    font-style: normal;
    font-weight: 400;
}
.modal-content .modal-btn {
    text-align: center;
    margin-top: 1.0rem;
	margin-bottom: 1.0rem;
}
.modal-content .modal-close {
	color: #fff;
    background: #0e0927;
	font: inherit;
    display: inline-block;
    overflow: visible;
    min-width: 110px;
    margin: 0;
    padding: 12px 0;
    cursor: pointer;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: 0;
    outline: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}