@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* モーダル背景 */
.modal-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

/* 表示時 */
.modal-wrapper.active {
  display: flex;
}

/* モーダルの中身 */
.modal-content {
  background: #fff;
  padding: 30px 30px 50px 30px;
  width: 90%;
  max-width: 780px;
 max-height: 80%;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease;
   font-size: 16px;
   line-height: 1.8em;
   text-align: justify;
}
@media screen and (max-width: 767px) {
.modal-content{
	font-size: .9rem;
   padding: 20px 20px;
	line-height: 1.6em;
	overflow: auto;
	overflow-y: scroll
}
}
.comment_title {
    text-align: center;
    font-size: 1.8rem;
    margin: 0px 0 20px 0;
}
.modal-content h4{
	font-weight: 600;
	margin: 15px 0 0px 0;
	font-size: 16px
}

/* 閉じるボタン */
.close-modal {
    position: absolute;
    right: 0;
	top: -6px;
    color:#a3a3a3;
    background: transparent;
    font-weight: normal;
    border: none;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
		font-family: "zen-kaku-gothic-new", sans-serif;
	font-weight: 300;
	font-style: normal;
	color: var(--base);
}

