@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */

.map1{
    display: flex;
    margin: 5% 8.5% 7%;
    line-height: 1.5;
}
#map{
    width: 50%;
    margin: 0 auto;
    height: 560px;

}
.map_text {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
}
.map_text > div {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.map_text > div:first-of-type {
    border-bottom: 1px solid #707070;
}
.map_text h2.title{
    font-size: 6.25vw;
    letter-spacing: 0.04em;
}
.map_text span.small-title {
    font-size: 1.5625vw;
    letter-spacing: 0;
    color: var(--main-black);
}
.map_text p.address{
    font-size: 18px;
    letter-spacing: 0.36px;
}
.map_text p.address:first-of-type {
    margin-bottom: 30px;
}
.map_text h2.title, .map_text p.address {
    padding: 0 3% 0 6vw;
}
.map_text p.address span{
    display: block;
    width: max-content;
    border-radius: 20px;
    margin-bottom: 7px;
    padding: 4px 12px;
    background-color: var(--main-green);
    color: #fff;
}
.map_text a.more_btn_diamond {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
@media(max-width:1200px){
    .map_text h2.title{
        font-size: 55px;
    }
    .map_text span.small-title {
        display: block;
        margin-bottom: 55px;
        font-size: 16px;
    }
    .map_text p.address{
        font-size: 16px;
    }
}
@media(max-width:768px){
    .map1{
        flex-direction: column;
        margin: 80px 3.75vw;
    }
    #map{
        width: 100%;
        height: 400px;
    }
    .map_text {
        width: 100%;
        border-left: none;
    }
    .map_text > div {
        padding: 30px 0;
    }
    .map_text h2.title{
        font-size: 60px;
    }
    .map_text span.small-title {
        display: block;
        margin-bottom: 0;
        font-size: 20px;
    }
    .map_text p.address{
        font-size: 13px;
    }
    .map_text p.address:first-of-type {
        margin-bottom: 10px;
    }
    .map_text p.address span {
        margin-bottom: 0;
        display: inline-block;
    }
}
@media(max-width:500px){
    #map{
        height: 260px;
    }
}
