@charset "UTF-8";


/*-- modal --*/
.modal-open {
	cursor: pointer;
}

.modal-contents {
	display: none;
	position: fixed;
	width: 85%;
	max-width: 960px;
    margin: auto;
    z-index: 1002;
    border-radius: 30px;
    border: 2px solid #000;
    padding: 5px;
    background: #e9651f;
}

.modal-contents .modal-close {
	width: 40px;
    height: 40px;
    background: #ffbb33;
    position: absolute;
    top: -15px;
    right: -15px;
    border-radius: 50%;
	cursor: pointer;
	animation: 1s mc-bounds-in ease;
	-ms-animation: 1s mc-bounds-in ease;
	-webkit-animation: 1s mc-bounds-in ease;
    border: 2px solid #000;
}

@keyframes mc-bounds-in {
	from { transform: scale(0); -ms-transform: scale(0); -webkit-transform: scale(0);}
	40% { transform: scale(1.2); -ms-transform: scale(1.2); -webkit-transform: scale(1.2);}
	65% { transform: scale(.8); -ms-transform: scale(.8); -webkit-transform: scale(.8);}
	75% { transform: scale(1.1); -ms-transform: scale(1.1); -webkit-transform: scale(1.1);}
	82% { transform: scale(.98); -ms-transform: scale(.98); -webkit-transform: scale(.98);}
	95% { transform: scale(1.05); -ms-transform: scale(1.05); -webkit-transform: scale(1.05);}
	to { transform: scale(1); -ms-transform: scale(1); -webkit-transform: scale(1);}
}

.modal-contents .modal-close:before,
.modal-contents .modal-close:after {
	content: "";
	display: block;
    width: 22px;
    height: 2px;
    border-radius: 20px;
    background: #000;
    position: absolute;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 3px;
}

.modal-contents .modal-close:before {
	transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.modal-contents .modal-close:after {
	transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.modalOverlay {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,109,47,0.8);
    z-index: 1001;
    cursor: pointer;    
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-inner {
	width: 100%;
	height: auto;
    padding: 10px;
    border: 2px solid #000;
    background: #fff;
    border-radius: 25px;
}
.modal-inner .modal-wrap {
	width: 100%;
	padding: 70px;
	overflow: hidden;
	position: relative;
        max-height: 75vh;
}

.modal-inner .modal-wrap .title{
    font-size: 30px;
    padding-bottom: 0.6em;
    margin-bottom: 1em;
    position: relative;
    line-height: 1.5;
    color: #00893e;
    text-align: center;
}
.modal-inner .modal-wrap .title::after{
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    border-radius: 100px;
    background: #00893e;
    position: absolute;
    left: calc(50% - 20px);
    bottom: 0;
}
.modal-inner .modal-wrap .inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-inner .modal-wrap .inner .image{
    width: 45%;
}
.modal-inner .modal-wrap .inner .text{
    width: 50%;
}

.ps-container {
  -ms-touch-action: none;
  touch-action: none;
  overflow: hidden !important;
  -ms-overflow-style: none;
}
@supports (-ms-overflow-style: none) {
  .ps-container {
    overflow: auto !important;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ps-container {
    overflow: auto !important;
  }
}

.modal-inner .ps-scrollbar-x-rail {
	display: none;
}

.modal-inner .ps-scrollbar-y-rail {
	display: block;
	position: absolute;
	background: #fff;
	right: 0;
	width: 8px;
}

.modal-inner .ps-scrollbar-y {
	position: absolute;
	background: #d6d6d6;
	right: 0;
	width: 8px; 
	border-radius: 4px;
}

.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
    transition: height .2s linear;
	-ms-transition: height .2s linear;
	-webkit-transition: height .2s linear;
}


/*----------------------------------------------------
	☆UNDER 768
----------------------------------------------------*/

@media screen and (max-width:768px) {
    .modal-inner .modal-wrap .inner{
        flex-direction: column;
        align-items: center;
    }
    .modal-inner .modal-wrap .inner .image{
        width: 70%;
        margin: 0 auto 30px;
        max-width: 180px;
    }
    .modal-inner .modal-wrap .inner .text{
        width: 100%;
    }
}

/*----------------------------------------------------
	☆UNDER 600
----------------------------------------------------*/

@media screen and (max-width:600px) {
    .modal-inner .modal-wrap {
        padding: 30px 20px;
    }
    .modal-inner .modal-wrap .title {
        font-size: 24px;
        padding-bottom: 0.5em;
        margin-bottom: 1.3em;
    }
}

