/* main_section1 */
.main_section1 {
    margin-top:20px;
    height:275px;
}

.main_section1 .layout_pad {
    height:100%;
}

.main_section1 div.left {
    width:calc(100% - 390px);
    float:left;
    height:100%;
    margin-right:20px;
}

.main_section1 div.right {
    width:370px;
    float:right;
    height:100%;
    position: relative;
}

.main_section1 div.right ul {
    width:100%;
    height:100%;
    border:1px solid #cacaca;
    background-color:#fff;
}

.main_section1 div.right ul li {
    width:50%;
    height:50%;
    float:left;
    position: relative;
    cursor:pointer;
}

.main_section1 div.right ul li:nth-child(odd) {
    border-right:1px solid #eee;
}

.main_section1 div.right ul li:nth-child(1),
.main_section1 div.right ul li:nth-child(2) {
    border-bottom:1px solid #eee;
}

.main_section1 div.right ul li:after {
    content:'';
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:100%;
    height:100%;
    background-color:#fff;
    transition:all .3s;
}

.main_section1 div.right ul li .image_wrap {
    margin:20px 0;
    height:53px;
    width:100%;
    text-align:center;
    line-height:53px;
    position: relative;
    z-index:1;
}

.main_section1 div.right ul li .image_wrap img {
    transition:all .3s;
    vertical-align:middle;
}

.main_section1 div.right ul li .image_wrap img:last-child {
    display:none;
}

.main_section1 div.right ul li .text_wrap {
    width:100%;
    text-align:center;
    position: relative;
    z-index:1;
}

.main_section1 div.right ul li .text_wrap p {
    color:#555;
    font-family:'NanumSB';
    font-size:17px;
    transition:all .3s;
}

.main_section1 div.right ul li:hover {
    z-index:2;
}

.main_section1 div.right ul li:hover:after {
    width:105%;
    height:105%;
    box-shadow:0px 0px 5px rgba(0, 0, 0, 0.3);
    background-color: #fdacd0;
}

.main_section1 div.right ul li:hover .image_wrap img:last-child {
    display:inline-block;
}

.main_section1 div.right ul li:hover .image_wrap img:first-child {
    display: none;
}

.main_section1 div.right ul li:hover .text_wrap p {
    color:#fff;
}

/* main_section2 */
.main_section2 {
    margin:50px 0;
    overflow: hidden;
    padding: 30px 0 0;  
    transition: 0.5s;  
}

.main_section2 > .layout_pad {
    border-bottom: 1px solid #ede3dc;
}

.main_section2 .left {
    float:left;
    width:calc(100% - 390px);
    margin-right:20px;
}

.main_section2 .left .notice_wrap {
    float: left;
    width:49%;
    min-height: 237px;
    border:3px solid #f0e9e4;
    padding:5px 20px;
    margin-bottom:42px;
}

.main_section2 .left .notice_wrap.foreign_wrap {
    float: right;
}

.main_section2 .left .notice_wrap:last-child {
    margin-bottom:0;
}

.main_section2 .left .notice_wrap h2 {
    background-color:#f7f5f4;
    width:157px;
    margin-top:-30px;
    padding:15px 10px 8px;
}

.main_section2 .left .notice_wrap h2 span {
    color:#454545;
    font-size:18px;
    font-family:'NanumSB';
    float:left;
}

.main_section2 .left .notice_wrap h2 img {
    float:right;
    margin-top:-5px;
}

.main_section2 .left .notice_wrap ul {
    width:100%;
    margin: 10px 0px;
}

.main_section2 .left .notice_wrap ul li {
    width:100%; 
    padding:16px 10px;
    border-bottom:1px solid #f0e9e4;
}

.main_section2 .left .notice_wrap ul li:last-child {
    border-bottom:none;
}

.main_section2 .left .notice_wrap ul li:after {
    content:'';
    clear:both;
    display:block;
}

.main_section2 .left .notice_wrap ul li h3 {
    color:#43403e;
    font-size:14px;
    font-family:'NanumSR';
    width:90px;
    border-right:1px solid #c9c5c3;
    margin-right:10px;
    float:left;
}

.main_section2 .left .notice_wrap ul li p {
    float:left;
    width: 100%;
}

.main_section2 .left .notice_wrap ul li p:after {
    content:'';
    clear:both;
    display:block;
}

.main_section2 .left .notice_wrap ul li p a {
    float:left;
    color:#6e6e6e;
    font-size:14px;
    display:block;
    width:calc(100% - 70px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

.main_section2 .left .notice_wrap ul li p span {
    color:#666666;
    float:right;
    font-size:13px;
    font-family:'NanumSR';
}

.main_section2 .left .notice_wrap.facebook_wrap h2 span {
    letter-spacing:0.04em;
}

.main_section2 .left .notice_wrap.facebook_wrap p {
    width:100%;
}

.main_section2 .right {
    width:370px;
    float:right;
}

.main_section2 .right h2 {
    font-family: 'NanumSB';
    color: #454545;
    font-size: 18px;
    margin-top: -8px;
    margin-left: 10px;
    margin-bottom: 11px;
}

.main_section2 .right .gan_content {
    width:100%;
}

.main_section2 .right .gan_content li {
    float:left;
    width:calc(50% - 10px);
    position: relative;
}

.main_section2 .right .gan_content li:first-child {
    padding-right:15px;
    margin-right:10px;
}

.main_section2 .right .gan_content li:last-child {
    margin-left: 10px;
    padding-right:15px;
}

.main_section2 .right .gan_content li a {
    display:block;
    width:100%;
    height:100%;
    position: relative;
}

.main_section2 .right .gan_content li a img {
    border-right:4px solid rgba(0,0,0,0.2);
    border-bottom:4px solid rgba(0,0,0,0.2);
    width:100%;
    display:block;
    position: relative;
    height: 213px;
    opacity:0.7;
}

.main_section2 .right .gan_content li a img:hover {
    border-right:4px solid rgba(0,0,0,0.1);
    border-bottom:4px solid rgba(0,0,0,0.1);
    opacity:1;
}

.main_section2 .right .gan_content li a:after {
    content:'VIEW';
    position: absolute;
    top:-10px;
    right:-35px;
    display:block;
    font-family:'Myriad Pro Regular';
    color:rgba(255, 255, 255, .7);
    font-size:10px;
    padding:5px 7px 2px;
    background-color:rgba(155, 113, 43, .8);
    transform-origin: 0% 100%;
    transform:rotate(90deg);
    letter-spacing:0.06em;
}


.main_section2 .right .gan_content li:last-child a:after {
    background-color:rgba(125, 36, 162, .8);
}

/* main_section3 */
.main_section3 {    
    margin: 0 0 50px;
}

.main_section3 .layout_pad {
    display: flex;
    max-height: 290px;
    transition: 0.5s;
}

.main_section3 .left {
    position: relative;
    width: 45%;
    margin-right:20px;
}

.main_section3 .right {
    display: flex;
    width: 55%;
}

.main_section3 .stand {
    position: relative;
    width: 100%;   
    height: 100%; 
    padding: 0px;
    margin: 0px;
}

.main_section3 .stand a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main_section3 .stand a:hover:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 3px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.5);
    top: 0px;
    left: 0px;
}

.main_section3 .stand a:after {
    position: absolute;
    content: '\f16a';
    font-family: FontAwesome;
    font-size: 55px;
    line-height: 30px;
    color: #d51111;
    width: auto;
    height: 30px;
    z-index: 2;
    /* border: 4px solid rgba(255,255,255,1); */
    background: #FFF;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow: 0 3px 5px rgba(0,0,0,0.7);
}

.main_section3 .stand a img {
    position:absolute;
    width: 100%;     
    margin:auto;
    top:0; 
    bottom:0; 
    left:0; 
    right:0;
}


.main_section3 .right .stand {
    position: relative;
    display: block;
    margin-right: 10px;
}

.main_section3 .right ul {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 120px;
    height: 290px;
    margin: 0px;
    padding: 0px;
    overflow-y: auto;
}

.main_section3 .right ul li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 3px;
    padding: 0px;
}

.main_section3 .right ul li a {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.main_section3 .right ul li img { 
    width: 100%;
}

.main_section3 .right ul li a:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    z-index: 1;
    /* border: 1px solid rgba(0,0,0,0.5); */
    background: rgba(0,0,0,0.4);
    top: 0px;
    left: 0px;
}

.main_section3 .right ul li a:after {
    position: absolute;
    content: '\f16a';
    font-family: FontAwesome;
    font-size: 30px;
    line-height: 15px;
    color: #d51111;
    width: auto;
    height: 15px;
    z-index: 2;
    background: #FFF;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow: 0 3px 5px rgba(0,0,0,0.7);
}

.main_section3 .right ul li:first-child a:after {
    display: none; 
}

.main_section3 .right ul li:first-child a:before {
    display: block;
    border: 2px solid #d51111; 
    background: none;
}

@media screen and (max-width: 1024px) {

    .main_section3 .layout_pad {
        max-height: 220px;
    }

    .main_section3 .right ul {
        width: 20%;
        height: auto;     
        align-items: stretch;
    }

}

@media screen and (max-width:900px) {
    .main_section1,
    .main_section2 {
        height:auto;
        margin-bottom:0;
    }

    .main_section1 div.left,
    .main_section1 div.right,
    .main_section2 div.left,
    .main_section2 div.right {
        width:100%;
        margin:0;
        height:275px;
    }

    .layout_pad {
        padding:0;
    }

    .main_section1 div.right ul {
        border:none;
        border-top:1px solid #cacaca;
        border-bottom:1px solid #cacaca;
    }

    .main_section1 div.right ul li:hover:after {
        width:100%;
        height:100%;
    }

    .main_section2 div.left,
    .main_section2 div.right {
        margin-bottom:30px;
        padding:0 10px;
    }

    .main_section2 div.right {
        margin-bottom:0;
    }

    .main_section2 div.right .gan_content {
        text-align:center;
    }

    .main_section2 div.right .gan_content li {
        width:175px;
        display:inline-block;
        float:none;
    }

    .main_section2 div.right h2 {
        margin-left:0;
    }
}

@media screen and (max-width: 767px) {

    .main_section2 {
        margin-top: 10px;
        margin-bottom: 30px;
        overflow: hidden;
    }

    .main_section2 > .layout_pad {
        padding-bottom: 30px;
    }

    .main_section2 div.left, 
    .main_section2 div.right {
        height: auto;
    }

    .main_section2 .left .notice_wrap {
        float: none;
        width: 100%;
        min-height: auto;
    }

    .main_section2 div.right .gan_content li {
        width: 45%;
    }

    .main_section2 .right .gan_content li a img {
        height: auto;
    }

    .main_section3 {
        margin: 0 auto 50px;
        width: 90%;
    }

    .main_section3 .layout_pad {
        max-height: none;
        flex-direction: column;
    }

    .main_section3 .left,
    .main_section3 .right {
        width: 100%;
        margin: 0 0 15px;
    }

    .main_section3 .right {
        flex-direction: column;
    }

    .main_section3 .right ul {
        flex-direction: row;
        width: 100%;
    }

    .main_section3 .right ul li {
        width: auto;
        height: auto;
        margin: 2px;
    }

    .main_section3 .stand {
        height: 300px;
        margin: 0 0 3px;
    }
    

}

@media screen and (max-width:480px) {
    .main_section2 div.left .notice_wrap {
        padding:5px 10px;
    }

    .main_section1 div.left {
        height:auto;
    }

    .main_section1 div.left .visual {
        min-height:100px !important;
    }

    .main_section2 div.left {
        height:auto;
    }

    .main_section2 .left .notice_wrap ul li p span {
        display:none;
        float:left;
    }

    .main_section2 .left .facebook_wrap ul li p span {
        display:block;
    }

    .main_section2 .left .notice_wrap ul li p a {
        width:100%;
        float:none;
        white-space: normal;
        line-height:1.5;
        max-height:42px;
        margin-top:-3px;
    }

    .main_section2 .left .facebook_wrap ul li p a {
        margin-bottom:10px;
    }

    .main_section2 div.right .gan_content li {
        width: 40%;
    }

    .main_section3 .stand {
        height: 185px;
    }

    .main_section3 .right ul {
        flex-wrap: wrap;
    }

    .main_section3 .right ul li {
        width: 80px;
    }
}

@media screen and (max-width:400px) {
    /* .main_section2 div.right .gan_content li {
        width:calc(50% - 10px);
        display:block;
        float:left;
    }

    .main_section2 .right .gan_content li a img {
        height: 195px;
    } */
}

@media screen and (max-width:320px) {
    /* .main_section2 .right .gan_content li a img {
        height: 168px;
    } */
}



/* layer popup */

.divpop {
    position: absolute; 
    z-index:999; 
    top:7px; 
    left:7px;
    width:100%; 
    padding-bottom: 40px;
    background: #000000;
    border: 2px solid #dddbd8;
    display:none;    
} 

.title_area {  
    display: block;
    width:100%;
} 

.title_area > img { 
    display: block;
    width: 100%;    
}

.button_area { 
    display: flex;
    flex-flow: row nowrap;
    position:absolute;
    bottom:0;
    right: 0px;
    line-height: 40px;
    color: #FFF;
    font-size: 1.4rem;
    font-weight: normal;
    align-items: center;
} 

.button_area > input {
    width: 17px;
    height: 17px;
    margin-right: 5px;
    border: 1px solid #000000;
    border-radius: 5px;
	color: #FFF;
}

.button_area > a {
    display: inline-block;
    background: #000000;
    padding: 0 2rem;
    line-height: 40px;
    margin-left: 2rem;
	color: #FFF;
} 
