@charset "utf-8";
/* CSS Document */

.modal-1__wrap,
.modal-2__wrap,
.modal-3__wrap,
.modal-4__wrap{
    display: inline-block;
}

.modal-1__wrap input,
.modal-2__wrap input,
.modal-3__wrap input,
.modal-4__wrap input{
    display: none;
}

.modal-1__open-label,
.modal-1__close-label, 
.modal-3__open-label,
.modal-4__close-label{
    cursor: pointer;
}

.modal-1__open-label,
.modal-2__open-label,
.modal-3__open-label,
.modal-4__open-label{
    display: inline-block;
    transition: opacity 0.3s ease;
}

.modal-1__open-label:hover,
.modal-2__open-label:hover,
.modal-3__open-label:hover,
.modal-4__open-label:hover{
    opacity: 0.8;
}

.modal-1__open-image,
.modal-2__open-image,
.modal-3__open-image,
.modal-4__open-image{
    display: block;
    width: 100%;
    height: auto;
}

.modal-1,
.modal-2,
.modal-3,
.modal-4{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-1__open-input:checked + label + input + .modal-1,
.modal-2__open-input:checked + label + input + .modal-2,
.modal-3__open-input:checked + label + input + .modal-3,
.modal-4__open-input:checked + label + input + .modal-4{
    display: block;
    animation: modal-1-animation .6s;
}

.modal-1__content-wrap,
.modal-2__content-wrap,
.modal-3__content-wrap,
.modal-4__content-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    max-width: 650px;
    background-color: #fefefe;
    z-index: 2;
    border-radius: 5px;
}

.modal-1__close-label,
.modal-2__close-label,
.modal-3__close-label,
.modal-4__close-label{
    color: #333333;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: 5%;
    right: 5%;
    font-size: 25px;
}

.modal-1__content,
.modal-2__content,
.modal-3__content,
.modal-4__content{
    max-height: 50vh;
    overflow-y: auto;
    padding: 55px 45px 40px;
}

.modal-1__background,
.modal-2__background,
.modal-3__background,
.modal-4__background{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

.modal-1__content .style_temp img,
.modal-2__content .style_temp img,
.modal-3__content .style_temp img,
.modal-4__content .style_temp img{
	width: 18% !important;
    margin-bottom: 3%;
}

@keyframes modal-1-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-on-load {
  animation: fadeIn 1s ease-out forwards;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


@media only screen and (max-width: 768px) {
	
    .modal-1__content-wrap, .modal-2__content-wrap,
	.modal-3__content-wrap, .modal-4__content-wrap {
        width: 85%;
    }	
	
    .modal-1__content,
	.modal-2__content,
	.modal-3__content,
	.modal-4__content {
        padding: 45px 10px 40px;
    }
	
}
