@charset "utf-8";

*{
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a:any-link {
    text-decoration: none;
    color: black;
}

.hidden {
    position: absolute;
    left: -9999px;
}

body {
    background-color: #000b8d;
}

body.no-scroll {
    overflow: hidden;
}


#wrap {
    min-width: 1680px;
    
}

header {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    position: fixed;
    z-index: 3;
    
    
}

#logo {
    width: 100px;
    height: 80px;
    padding: 10px 30px;
    float: left;
}

#logo img {
    width: 100px;
}

#header_right {
    min-width: 900px;
    height: 80px;
    text-align: center;
    margin: 0 auto;
    padding-top: 10px;
    position: relative;
}




#right_logo {
    width: 100%;
    position: absolute;
}

#right_logo img {
    width: 100px;
}


#header_right ul {
    width: 150px;
    height: 40px;
    position: absolute;
    right: 50px;
    top: 20px;
}

.right {
    position: relative;
    float: left;
}

.right > a {
    padding-left: 10px;
    display: block;
}

.right img {
    width: 20px;
}

#header_right ul li:nth-child(1) img {
    width: 22px;
    height: 22px;
    position: relative;
    bottom: 1px;
}

#lnb {
    width: 100%;
    padding-top: 100px;
    background-color: #fff;
    position: fixed;
    z-index: 2;
}



.menu {
    width: 900px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}

.menu li:nth-child(1) {
    background-color: #E21B4D;
}

.menu li:nth-child(1) a{
    color: #fff;
}

nav > ul > li {
     float: left;
    width: calc(20% - 10px * 2);
    margin: 0 10px;
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
/*    position: relative;*/
    background-color: #ddd;
/*    margin: 5px 10px;*/
    border-radius: 20px;
}

nav > ul > li:hover {
    background-color: #E21B4D;
}

nav > ul > li:hover a{
    color: #fff;
}

article {
    width: 100%;
    position: relative;
}

.contents {
    width: 1680px;
    display: block;
    list-style: none;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 180px;
    
}



.contents li {
    position: relative;
    background-color: #eee8;
    display: block;
    width: 300px;
    height: 400px;
    background-color: #ddd;
    border: 2px solid #fff;
    box-sizing: border-box;
    border-radius: 12px;
    float: left;
    left: 50px;
    margin:0 40px 40px 0; 
    overflow: hidden;
}

.contents li:nth-child(5n) {
    margin-right: 0;
}


.contents img {
    width: 100%;
    height: 100%;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
     vertical-align: top;
    
}


.textBox {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 50px;
    box-sizing: border-box;
    transition: 0.5s all 0.1s ease-in-out;
}





.textBox h4,
.textBox p {
    text-align: center;
    line-height: 40px;
    
}

.textBox h4, .textBox span {
    margin-top: 90px;
}



.textBox a {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    font-weight: bold;
}

.textBox a:hover {
    color: #ddd;
}

.contents > li > .textBox {
    transition: all 1s;
}


.contents > li:hover .textBox {
    top:0;
}





.more {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    margin: 20px auto;
    font-weight: bold;
    font-size: 100%;
    line-height: 50px;
    color: #aaa;
    border: 2px solid #999;
    border-radius: 12px;
    cursor: pointer;
    background-color: #fff;
}


.more:hover {
    color: #000;
}

footer {
    margin-top: 100px;
    background-color: #fff;
}





.modal,.header-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1500px;
    height: calc(100vh - 100px);
    background-color: #fff;
    overflow: hidden;
    transform: translate(-50%, -50%);
    z-index: 5;
    border-radius: 20px;
}


.popup,.popup-2{
    z-index: 6;
    position: absolute;
}

.photo {
    width: 50%;
    min-width: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.photo img {
    width: 100%;
    vertical-align: top;
}


.photo-2 {
    width: 50%;
    min-width: 400px;
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%,-50%);
    
}

.photo-2 img {
    width: 600px;
    height: 800px;
    vertical-align: top;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,-50%);
    
}

.modal ul li img:nth-child(2) {
    position: absolute;
    width: 500px;
    height: 800px;
    left: 60%;
    top: 0;
    transform: translate(50%,-50%);
    margin-left: 20px;
}

.close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.close span {
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #aaa;
    top: 14px;
    left: -5px;
}

.close span:nth-child(1) {
    transform: rotate(45deg);
}


.close span:nth-child(2) {
    transform: rotate(-45deg);
}



.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 4;
}













































