/* モーダルウィンドウのスタイル */

.modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    z-index: 9998;
}

.pr_modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    z-index: 9998;
}

/* オーバーレイのスタイル */

.overLay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 9998;
}

/* モーダルウィンドウの中身のスタイル */

.modal > .inner,
.pr_modal > .inner {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-height: 80vh;
    overflow: auto;
    overflow-x: hidden;
}

.modal > .inner {
    max-width: 640px;
}

.pr_modal > .inner {
    max-width: 900px;
}

.modal > .inner > h3 {
    background-color: #3eba2b;
    border-radius: 50%;
    max-width: 180px;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.pr_modal > .inner > h3 {
    color: #507850;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.pr_modal > .inner > h3::after {
    content: "";
    background-color: #3eba2b;
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.inner span {
    font-size: 50%;
}

.inner > p {
    line-height: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.inner img {
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

.modalClose_button {
    font-size: 16px;
    font-weight: 800;
    color: #CCC;
    padding: 10px;
    text-align: center;
    right: 0;
    top: 0;

}

.pr_contact {
    background-color: #eff3e3;
    padding: 20px;
    font-weight: bold;
}

.pr_contact h4 {
    font-size: 16px;
    display: block;
    flex-basis: 1;
    margin-bottom: 10px;
}

.pr_contact ul {
    display: block;
    flex-basis: 1;
    width: 100%;
}

.pr_contact li {
    font-size: 12px;
    display: inline-block;
    margin-right: 10px;
    line-height: 21px;
}

.pr_contact a {
    color: #3eba2b;
}

@keyframes modal {
    0% {
        top: -100%
    }
    100% {
        top: 50%
    }
}

@keyframes modalClose {
    0% {
        top: 50%
    }
    100% {
        top: 100%
    }
