@charset "utf-8";



@font-face {
    font-family: '나눔스퀘어R';
    src: url(../font/NanumSquareRoundOTFB.otf)format('Opentype');
}


@font-face {
    font-family: '나눔스퀘어RR';
    src: url(../font/NanumSquareRoundOTFR.otf)format('Opentype');
}


/* 기본설정 및 초기화 */

* {
    padding: 0;
    margin: 0;
    font-family: '나눔스퀘어R';
    overflow: hidden;
}

a {
    color: #fff;
    font-style: normal;
    text-decoration: none;
}

li {
    list-style: none;

}

/* header */

/* contentswrap */


main {
    width: 100%;
    height: 100vh;
    background: url(../img/pexels-rodnae-productions-7502192.jpg) no-repeat center;
    background-size: cover;
   position: relative;
    overflow: hidden;
}

.blend {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
}

.stick {
    width: 18em;
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

}

.stick > li {
    float: left;
}

.stick > .left {
    width: 50%;
    height: 90px;
    background: url(../img/stick_left.png) no-repeat center;
    background-size: contain;
    margin-top: 22px;
    margin-right: 5%;
}

.stick > .right {
    width: 45%;
    height: 120px;
    background: url(../img/stick_right.png) no-repeat center;
    background-size: contain;
}

.title {
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.title > li {
    color: #fff;
    font: 300 1.6em/60px '나눔스퀘어RR';
}

span {
    font-weight: 500;
    font-size: 1.2em;
}

.portfolio {
    width: calc(100% - 20px);
    max-width: 1100px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 10%)
}

.area {
   width: 100%;
    

}



.area > li {
    float: left;
    text-align: center;
    width: 260px;
    height: 280px;
  max-height: 250px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    margin-right: 20px;
    position: relative;

}

.area > li:hover {
    background-color: #fff;
}

.area > li:first-child {
    
}

.area > li:last-child {
    margin-right: 0;
}

.area > li > span {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 30px;
   
}

.area > li > p {
    font: 400 0.8em/30px '나눔스퀘어R';
}


/** .detail > span {
    width: 200px;
   position: absolute;
top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
    
} **/

button {
    width: 6.5em;
    height: 26px;
    border: none;
    border-radius: 15px;
    font-family: '나눔스퀘어R';
    font-weight: 400;
    font-size: 0.8em;
    color: #fff;
    background: #333;
    margin: 10px 5px 0 5px;
    
    
}

button:hover {
    background-color: steelblue;
    opacity: 0.9;
}


.yamaha > a {
    width: 200px;
    height: 55px;
    background: url(../img/yamaha.png) no-repeat center;
    background-size: contain;
   display: block;
   margin: 30px auto;
    
}

.sx > a {
    width: 200px;
    height: 55px;
    background: url(../sx_series/img/sx_series.png) no-repeat center;
    background-size: contain;
   display: block;
   margin: 30px auto;
    
}

.treeworks > a {
     width: 200px;
    height: 55px;
    background: url(../img/0001.png) no-repeat center;
    background-size: contain;
   display: block;
   margin: 30px auto;
}


.cafetribe > a {
     width: 200px;
    height: 55px;
    background: url(../img/cafe_tribe.png) no-repeat center;
    background-size: contain;
   display: block;
   margin: 30px auto;
}
/* footer */


/******* 태블릿 설정 ********/
@media all and (max-width:1200px) {
    .title > li {
        color: #fff;
        font: 500 1.2em/50px '나눔스퀘어R';
    }

    span {
        font-weight: bold;
        font-size: 1.2em;
    }

    .stick {
        width: 12em;
        top: 3%;

    }
    
    .title {
    text-align: center;
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);

}
    
    .portfolio {
        max-width: 560px;
        
    }

   
    .area > li {
    float: left;
    text-align: center;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    margin: 10px
}
    .area > li > a {
        margin: 30px auto;
    }
    

   
}


/******** 모바일 설정 ********/
@media all and (max-width:768px) {
    .title {
        text-align: center;
        position: absolute;
        top: 29%;
        left: 50%;
        transform: translate(-50%, -50%);

    }


    .title > li {
        width: 340px;
        color: #fff;
        font: 200 1.1em/45px '나눔스퀘어R';
    }

    span {
        font-weight: bold;
        font-size: 1.1em;
    }

    .stick {
        width: 8em;
        top: 4%;

    }
    
    .stick > .left {
        height: 50px;
    }
    .stick > .right {
        height: 85px;
    }
    
    .area > li {
        width: 48%;
        max-height: 170px;
        margin: 1%;
    }

    .area > li > span {
        font-size: 0.9em;
        line-height: 20px;
    }
    .area > li > p {
        font-size: 8px;
        display: none;
    }
    
    .area > li > a {
        width: 140px;
        margin: 20px auto 20px auto;
    
    
    }

    button {
        font-size: 0.6em;
        height: 22px;    
        margin: 1px;
    }
}
