@charset 'utf-8';
@import url('common.css');

/* header */
.head nav ul li:nth-child(1) > a{ background-color: #0088e7; color: white; }

/* menu */

.menu{ margin-top: 101px; border-top: 1px solid rgb(248, 248, 248);
    left: 0; top: 101px; width: 100%; height: 50px; background-color: rgb(248, 248, 248);}
.menu ul{ width: 80%; height: 100%; margin: 0 auto; position: relative; }
.menu ul li{width: 100px; margin: 11px 0 ; position: absolute; right: 560px; top: 0; }
.menu ul li a{ color: #0088e7; }


/* title */
.title{
    left: 0; top: 101px; width: 80%; height: 70px; margin: 0 auto; padding: 50px 0 0 0;
    display: flex; align-items: center; justify-content: flex-start;
}
.title p{width: 20px; margin-right: 10px; }
.title p img{width: 100%; 
    transform-style: preserve-3d; perspective: 20px; animation: a3 2s infinite;
}
@keyframes a3 {
    0%{transform: rotateY(0deg);}
    100%{transform: rotateY(360deg);}
}
.title h2{ left: 0; top: 0; font-size: 22px; }



/* mapnav */
.mapnav{ 
    left: 0; top: 0; width: 80%; margin: 0 auto;
}
.mapnav ul{
    display: flex; align-items: center; justify-content: center;
}
.mapnav ul li{    border: 2px solid lightgray; border-left: none;
    width: 100%; padding: 10px 20px; box-sizing: border-box;
}
.mapnav ul li:nth-child(1){border-left: 2px solid lightgray;}
.mapnav ul li a{display: flex; align-items: center; justify-content: space-between;
    height: 25px; width: 100%;
}
.mapnav ul li a p img{ width: 20px;}

.mapnav .a{width: 15%;}
.mapnav .b{width: 15%;}
.mapnav .c{width: 48%;}
.mapnav .d{width: 8%; background-color: #0088e7; border: 2px solid #0088e7;}
.mapnav .e{width: 14%;}
.mapnav .d p img{width: 20px;}
.mapnav .d div{color: white;}
.mapnav .e img{width: 20px}
.mapnav .e:hover div{ color: #0088e7;}

.mmnav{display: none;}

/* popup */
.popup{ position: fixed; left: 0; top: 0;
    background: rgba(0, 0, 0, 0.5); z-index: 2; width: 100%; height: 100%;
}
.popup ul{ width: 400px; height: 450px; background-color: white;
    margin: 0 auto; transform: translateY(60%);
}
.popTxt{width: 80%; margin: 0 auto;}
.popTxt h2{ padding-top: 30px; font-size: 20px; text-align: center; }
.popTxt > p{ color: #555; padding: 15px 0; border-bottom: 2px solid #0088e7; text-align: center;  }
.popTxt > p b{ color: #555; }

.popTxt article div{ padding: 20px 0; border-bottom: 1.6px dashed #999; color: #999;}
.popTxt article figure{ padding: 20px 0 10px 0; color: #0088e7;}
.popTxt article figure figcaption{ width: 90%; margin: 20px auto; padding: 10px 20px; box-sizing: border-box;
    display: flex; justify-content: space-between; align-items: center;
    background-color: #f3f3f3;
}
.popTxt article figure figcaption p:nth-of-type(1) small{display: block; padding: 5px 0; }
.popTxt article figure figcaption p:nth-of-type(1) small:nth-of-type(1){font-weight: 600; font-size: 18px; }
.popTxt article figure figcaption p:nth-of-type(1) small:nth-of-type(2){padding-top: 0; color: #666; white-space:pre-line;}
.popTxt article figure figcaption p:nth-of-type(2){width: 30px; background-color: white; padding: 10px 15px; border-radius: 40px;}
.popTxt article figure figcaption p:nth-of-type(2) img{width: 100%;}

.popBtn{ display: flex; margin: 0;}
.popBtn input{cursor: pointer; border: none; width: 100%; height: 50px;}
.popBtn input:nth-of-type(1){ background-color: #0088e7; color: white;}

/* map */

.map{
    width: 80%; margin: 0 auto; left: 0; top: 0; margin-top: 50px;
    display: flex; align-items: flex-start; justify-content: space-between;
}

.market{  width: 30%;}
.market p img{width: 100%;}

.market div{ margin: 30px 20px 0 20px;}
.market div h2{ margin-bottom: 10px; font-size: 20px;}
.market div small{white-space: pre-line; line-height: 1.5; color: #999;}
.market div small b{color: rgb(119, 119, 119);}

.guid{ position: relative; width: 63%; height: 50vh;}
.guid div{ width: 100%; height:100%;}

.market2{display: none;}



/* footer */
.footer{ margin-top: 100px; }




@media (min-width:1360px) and (max-width:1544px){
    .mapnav .a{width: 15%;}
    .mapnav .b{width: 15%;}
    .mapnav .c{width: 50%;}
    .mapnav .d{width: 10%;}
    .mapnav .e{width: 17%;}
}
@media (min-width:1212px) and (max-width:1359px){
    .mapnav .d{width: 12%;}
    .mapnav .e{width: 20%;}
}
@media (min-width:1046px) and (max-width:1211px){
    .mapnav .d{width: 15%;}
    .mapnav .e{width: 27%;}
}
@media (max-width:1046px){
    .header{    height: 85px; left: 0; top: 0; background-color: rgba( 255, 255, 255, 0 );
        border-bottom: none; margin: 0; padding: 5px 0; box-sizing: border-box; 
        width: 100%;  position: relative; z-index: 10;}
    .head{display: none;}
    header:hover::after{ display: none; }

    /* .mhead */
    .mhead{ display: block; width: 80%; margin: 0 auto; background-color: white; }
    .mhead ul{width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 30px;}
    .mhead ul li{ display: flex; align-items: center; justify-content: space-between;}
    
    .mhead ul li:nth-child(1) a{width: 20px;}
    .mhead ul li:nth-child(1) a img{width: 100%;}

    .mhead ul li:nth-child(1) p{ margin-left: 20px; font-size: 22px; transform: translateY(-6px);}

    .mhead ul li:nth-child(2) a{width: 20px; z-index: 20;}
    .mhead ul li:nth-child(2) a img{width: 100%;}

    .bgmenu{ position: fixed; width: 50%; height: 100%; right: 0; top: 0; background-color: rgba(255, 255, 255);
        display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: column;
        z-index: 10; transform: translateX(100%); transition: .5s; box-shadow: -10px 0 10px rgba(0, 0, 0, 0.05);
    }
    .bgmenu > div{ width: 80%; transform: translateY(20%); border-top: 2px solid #e3e3e3;}
    .bgmenu div > div{width: 100%; margin: 0px 0; line-height: 1.5; margin: 30px 0;}
    .bgmenu div div > h2{ font-size: 19px; margin: 5px 0;}
    .bgmenu div div > a p{ color: #999; font-size: 17px;}
    .bgmenu div > p{width: 40%; position: fixed; right: 0; bottom: 0; transform: translateY(250px);}
    .bgmenu div > p img{width: 100%;}


    .bgmenu.active{transform: translateX(0);}
    .active div > a p:hover{color: #0088e7;}
    
    .menu{display: none;}
    .title{display: none;}
    .mapnav{display: none;}

    .popup ul{ width: 90%; height: 450px;}

    /* mmnav */
    .mmnav{display: block; width: 80%; height: 55px; margin: 0 auto;
        background-color: white; border-radius: 10px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
        position: absolute; left: 50%; top: 140px; transform: translateX(-50%);
        z-index: 3;
    }
    .mmnav div{ width: 90%; margin: 0 auto; transform: translateY(50%);
        display: flex; align-items: center; justify-content: space-between;}
    .mmnav div p{ font-size: 18px; color: #c6c6c6;}
    .mmnav div figure{ width: 20px; transform: translateY(10%) }
    .mmnav div figure img{ width: 100%;}
    
    .popup{z-index: 10;}
    .popup ul{ transform: translateY(30%);}

    /* map */

    .map{ width: 100%; height: 60vh; margin-top: 0;}
    .map article{display: none;}

    .market2{ display: block; opacity: 100%;
        width: 100%; margin: 0 auto; left: 0; top: 0; margin-top: 0; display: inherit;
    }

    .guid{ width: 100%; height: 100%;}


    .market2 div{ width: 80%; margin: 20px auto; margin-top: 30px;}
    .market2 div h2{ margin-bottom: 10px; font-size: 22px;}
    .market2 div small{width: 50%; white-space: unset; line-height: 1.5; color: #999;}
    .market2 div small b{color: rgb(119, 119, 119);}

    .market2 figure{ width: 80%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
    .market2 figure p{ width: 48%; height: 200px; border-radius: 15px; overflow: hidden; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);}
    .market2 figure p img{width: 100%; height: 200px; object-fit: cover; }





    /* footer */
    .footer{ left: 0; top: 0; margin-top: 40px;
        width: 100%; height: 110px; background-color: rgb(248, 248, 248));}
    .footer > div{ width: 100%; left: 0; top: 0; margin: 0 auto; padding-top: 20px;
        display: inherit; align-items: flex-start; justify-content: space-between;}

    /* logo */
    .logo{  width: 25%; min-width: 250px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px;}
    .logo p{ margin: 6px;}
    .logo p img{ width: 100%;}

    /* 안내 */
    .text{  width: 80%; margin: 0 auto; display: flex; justify-content: center; align-items: center; flex-direction: column;}
    .text li{ margin: 0; font-size: 12px; color: #999;}
    .text > li:nth-child(1) a{ font-size: 12px; padding: 0 10px; color: #999;}
    .text > li  small{ font-size: 11px; color: #c6c6c6;}

    /* sns */
    .sns{ display: none;}

}
@media(max-width:369px){
    .popTxt article figure figcaption p:nth-of-type(1) small:nth-of-type(2){white-space:normal;}
}