@media (min-width: 992px) {
    .masthead1 {
        height: 10vh;
    }
}

@media (max-width: 767px) {
    .masthead1 {
        margin-top: -120px;
        height: 1px;
    }
    .masthead1 h1, .masthead1 .h1 {
        font-size: 2.2rem !important;
    }
    .masthead1 .top-head {
        padding-top: 66px;
    }
}

.masthead1 {
    min-height: 15rem;
    position: relative;
    display: table;
    width: 100%;
    /*height: auto;*/
    padding-top: 8rem;
    padding-bottom: 8rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.masthead1 h1, .masthead1 .h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .masthead1 h1, .masthead1 .h1 {
        font-size: 5.5rem;
    }
}

.content-section {
    padding-top: 7.5rem;
    padding-bottom: 1rem;
}

@media (max-width: 767px) {
    .content-section {
        padding-top: 1.5rem !important;
        padding-bottom: 0rem !important;
    }
}

.keep-all {
    word-break: keep-all;
}

/* @media (min-width: 992px) {
  // 테스크탑탑
} 
@media (max-width: 767px) {
  // 모바일
} */

/* env */

.custom-card {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 4px 18px rgba(0, 160, 255, 0.07), 0 1.5px 6px rgba(0, 0, 0, 0.03);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border: none;
    transition: box-shadow 0.2s;
}

.custom-card:hover {
    box-shadow: 0 8px 32px rgba(0, 160, 255, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.skyblue-title {
    color: #1daeff;
    font-weight: bold;
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
}

.title-underline {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1daeff 60%, #b2e6ff 100%);
    border-radius: 2px;
    margin-bottom: 1.1rem;
}

.card-body {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .custom-card {
        padding: 1.3rem 1rem 1rem 1rem;
    }
}

@media (max-width: 767px) {
    .skyblue-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .card-body {
        font-size: 0.98rem;
    }
}

@media (max-width: 767px) {
    .title-underline {
        margin-bottom: 0.7rem;
    }
}

/* env */

/* unit-type */

.tab-content {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .mobi-p-0 {
        padding: 1rem !important;
    }
}

/* unit-type */

@media (min-width: 992px) {
    .portfolio-item:hover .caption {
        background-color: rgba(29, 128, 159, .1);
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
}

/* index */

.bg-cover {
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
}

header.masthead {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 11;
    height: 36px;
}

.sub-logo {
    position: absolute;
    top: 30px;
    left: 3cqi;
    z-index: 11;
    height: 36px;
}

.tb-logo {
    height: 26px;
}

@media (max-width: 767px) {
    .sub-logo {
        top: 140px;
        left: 20px;
    }
}

@media (min-width: 992px) {
    .masthead h1, .masthead .h1 {
        font-size: 3.5rem;
        color: #000;
    }
}

@media (max-width: 767px) {
    .masthead h1, .masthead .h1 {
        font-size: 2.0rem;
        margin: 0;
        padding: 0;
        color: #000;
        word-break: keep-all;
    }
    .tb-menu {
        margin-top: 120px;
    }
    .lead {
        font-size: .9rem;
        word-break: keep-all;
    }
    .top-lead {
        font-size: 1.1rem;
        word-break: keep-all;
    }
}

/* index */

/* premium 이 페이지에서만 적용되는 전용 클래스 */
.premium-portfolio-item {
    display: block;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
    position: relative;
    z-index: 1;
}
.premium-portfolio-item:hover {
    transform: scale(0.92);
    z-index: 10;
}
.premium-portfolio-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    transition: inherit;
}
/* premium */