@import url('https://webfontworld.github.io/SCoreDream/SCoreDream.css');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root {

    /* font setting */
    --main-font:"SCoreDream" ;
    --sub-font:"Noto Sans KR", sans-serif;
    --m-xlFont: 30px;
    --m-lFont: 24px;
    --m-mFont: 16px;
    --m-sFont: 14px;
    --pc-bigFont: 36px;
    --pc-midFont: 24px;
    --pc-smallFont: 18px;
    
    /* color setting */
    --main-color:#0C385A;
    
}

section {
    height: 100vh;
}

/* flex setting */

.flex, .flex-row, .flex-column, .flex-row-center, .flex-column-center {
    display: flex;
}

.flex-row, .flex-row-center {
    flex-direction: row;
}

.flex-column, .flex-column-center {
    flex-direction: column;
}

.flex-row-center {
    justify-content: center;
    align-items: center;
}

.flex-column-center {
    justify-content: center;
    align-items: center;
}


html {
    font-family: var(--main-font);
}

.pc {
    display: none;
}

.header {
    display: flex;
    flex-direction: row;
    position: fixed;
    background-color: transparent;
    height: 12vh;
    width: 100%;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: 0.4s;
}

.header.scroll {
    background-color: var(--main-color);
    height: 10vh;
}

.header img {
    padding: 1vh 0;
    height: 10vh;
}

.header.scroll img {
    padding: 1vh 0;
    height: 8vh;
}

.menu-btn {
    position: relative;
    cursor: pointer;
    outline: none;
    background: none;
    border:none ;
    width: 35px;
    z-index: 100;
}

.menu-btn::before, .menu-btn .menu-bar, .menu-btn::after {
    display: block;
    content: '';
    width: 100%;
    height: 5px;
    background-color: white;
    margin: 6px 0;
    text-align: right;
    transition: 0.4s;
}

.menu-btn.active::before {
    transform:rotate(-45deg) translate(-8px, 8px);
}

.menu-btn.active .menu-bar {
    opacity: 0;
}

.menu-btn.active::after {
    transform:rotate(45deg) translate(-8px, -8px);
}

.mobile-nav {
    position: fixed;
    background-color: var(--main-color);
    align-items: unset;
    padding-top: 100px;
    top: -100%;
    left: 0;
    transition: 0.4s;
}

.mobile-nav.active {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.mobile-nav ul {
    list-style: none;
    color: white;
    text-align: center;
    width: 100%;
}

.mobile-nav ul > li {
    font-size: var(--m-lFont);
    padding: 10px 0px;
    transition: 0.4s;
}

.mobile-nav ul > li:hover{
    background: rgba(2, 24, 42, 0.8);
    color: rgb(250, 250, 27);
}



.contact-bar {
    background-color: var(--main-color);
    z-index: 999;
    position: fixed;
    bottom: 0;
    height: 10vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-bar .contact-info {
    color: white;
    font-size: var(--m-lFont);
    font-weight: 600;
}

section {
    margin-bottom: 10px;
}

.section1 {
    position: relative;
    background-repeat: no-repeat;
    height: 100vh;
    background-position: center;
    background-size: cover;  
    animation: image 15s infinite alternate;
    overflow: hidden;
}

.modal {
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    text-align: center;
    z-index: 10;
}

.title {
    margin: 10px 0;
}

.title h1 {
    font-family: var(--sub-font);
    font-size: var(--m-xlFont);
    color: white;    
    text-align: center;
}

.title-description {
    font-size: var(--m-sFont);
    color: white;
    font-weight: 300;
    margin-top: 20px;
}

.title-description > p {
    font-size: var(--m-sFont);
    font-weight: 100;
}

.subtitle {
    margin: 10px 0;
}

.contact-link {
    margin-top: 20px;
}

.contact-link a {
    display: inline-block;
    font-size: var(--m-lFont);
    text-decoration: none;
    color: white;
    border: solid 2px white;
    border-radius: 30px;
    padding: 10px 20px;
    width: 50vw;
}
  
  @keyframes image {
    0% {
        background-image: url('../img/top_1.jpg');
    }
    20% {
        background-image: url('../img/top_2.jpg');
    }
    40% {
        background-image: url('../img/top_3.jpg');

      }
    60% {
        background-image: url('../img/top_4.jpg');

    }
    80% {
         background-image: url('../img/top_5.jpg');

    }
    100% {
         background-image: url('../img/top_6.jpg');

    }      
  }

.section2 {
    position: relative;
    background-color: rgb(207, 207, 207);
    padding: 5px;
    text-align: center;
}

.section2 .modal {
    width: 100%;
    position: absolute;
    z-index: 10;
    background-color: rgba(0,0,0,0.60);
}

.section2 .modal .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 100%;
    z-index: 20;
}

.main-color {
    color: var(--main-color)!important; 
}

.section2 .swiper-slide img {
    height: 100%;
}


.swiper-slide .store-box {
    position: absolute;
    bottom: 0px;
    background-color:var(--main-color);
    width: 100%;
    color: white;
    text-align: center;    
}

.swiper-slide .store-box p {
    padding: 5px;
}


.section3 .subtitle {
    text-align: center;
    font-size: var(--m-mFont);
    font-family: var(--sub-font);
}
.section3 .competence-box {
    width: 90%;
    margin: auto;
    margin-top: 20px;
}

.section3 img {
    height: 100%;
    box-shadow: 3px 3px 4px 3px rgba(0,0,0,0.29);
    -webkit-box-shadow: 3px 3px 4px 3px rgba(0,0,0,0.29);
    -moz-box-shadow: 3px 3px 4px 3px rgba(0,0,0,0.29);
}

.section3 p {
    font-size: var(--m-mFont);
    width: 100%;
    align-items: center;
    padding: 10px;
    word-break: keep-all;
    
}

.competence-left, .competence-right {
    width: 100%;   
    background-color: white;
}

.competence-right {
    margin: 20px 0;
    justify-content: flex-end;
}

.section4 {
    height: auto;
   background-color: rgb(255, 0, 0);
}

.section4 .title img {
    width: 50%;
}

.section4 .img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    width: 100vw;
    
}


.section4 .menu img {
   width: 100%;
   overflow: hidden;
}

.section5 {
    width: 100%;
}

.section5 img {
    width: 100%;
}

.remodel {
    position: relative;
    height: 100vh;
    font-size: 50px;
    text-align: center;
    line-height: 100vh;
  }
  
.remodel-img {
position: absolute;
width: 100%;
height: 100%;
height: unset;
overflow: hidden;
display: flex;
justify-content: center;
}

.remodel-img img {
height: 100vh;
}

.overlay {
position: absolute;
font-size: var(--m-xlFont);
color: white;
}









@media only screen and (min-width: 768px) {
    .mobile {
        display:block;
    }
    .pc {
        display: none;
    }
}

@media only screen and (min-width: 1024px) {

.mobile {
    display: none;
}
.pc {
    display: block;
}

.pc-nav ul {
    width: 100%;
}

.pc-nav ul > li {
    color: white;
    font-size: var(--pc-smallFont);
    padding: 10px 10px;
    transition: 0.4s;
    list-style: none;
}

.pc-nav ul > li > a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.pc-nav ul > li > a:hover {
    color: var(--main-color);
}

.section2 {
    height: 100vh;
}

}

