/* 서브 비주얼 이미지 */
#visual .bg1 {
    background: url('/img/sub/solution_bg.jpg') no-repeat center center / cover;
}

#visual .bg2 {
    background: url('/img/sub/customer_bg.jpg') no-repeat center center / cover;
}

#visual .bg3 {
    background: url('/img/sub/partner_bg.jpg') no-repeat center center / cover;
}

#visual .bg4 {
    background: url('/img/sub/company_bg.jpg') no-repeat center center / cover;
}

#visual .bg5 {
    background: url('/img/sub/pr_bg.jpg') no-repeat center center / cover;
}

#visual .bg6 {
    background: url('/img/sub/policy_bg.jpg') no-repeat center center / cover;
}

/* visual */
#visual {
    position: relative;
    overflow: hidden;
}

#visual .bg {
    min-height: 300px;
    padding-bottom: 38.542%;
    clip-path: inset(0 0 100% 0 round 0 0 20px 20px);
    -webkit-clip-path: inset(0 0 100% 0 round 0 0 20px 20px);
    animation: subVisual var(--aosT) both;
}

#visual .text {
    padding-bottom: 140px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#visual .text h2 {
    font-family: var(--engFont);
    font-size: 16rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
    margin-top: 50px;
    transform: translateY(100%);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: textClip var(--aosT) var(--aosT) both;
}

/* lnb */
#lnb {
    transform: translateY(100%);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: textClip var(--aosT) var(--aosT) both;
}

#lnb ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: -22px;
}

#lnb ul li {
    position: relative;
}

#lnb ul li::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url('/img/sub/lnb_arrow.svg') no-repeat center center / contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

#lnb ul li:first-of-type::before {
    display: none;
}

#lnb a {
    display: inline-block;
    font-family: var(--engFont);
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    padding: 22px;
    position: relative;
}

#lnb ul li:last-of-type a {
    color: #fff;
}

/* common */
#sub {
    --subPt: 130px;
    --subPb: 160px;
    --mainColor: #b10049;
}

.sub-content {
    padding: var(--subPt) 0 var(--subPb);
}

/* viewmore */
#sub .viewmore {
    max-width: max-content;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(17, 17, 17, 0.05);
    border-radius: 999px;
    font-family: var(--engFont);
    font-size: 19px;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
    padding: 0 45px;
    transition:
        background 0.3s,
        color 0.3s;
}

#sub .viewmore span {
    color: #111;
    transition: color 0.3s;
}

#sub .viewmore i {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/img/main/viewmore_icon.svg') no-repeat center center / contain;
    margin-left: 10px;
    transform: rotate(0deg);
    transition:
        filter 0.3s,
        transform 0.3s;
}

#sub .viewmore.white {
    background: transparent;
    border: 1px solid #fff;
    font-weight: 400;
    color: #fff;
}

#sub .viewmore.white span {
    color: #fff;
}

#sub .viewmore.white i {
    filter: invert(1);
    -webkit-filter: invert(1);
}

@media screen and (hover: hover) and (pointer: fine) {
    #sub .viewmore:hover {
        background: #333;
        color: #fff;
    }

    #sub .viewmore:hover span {
        color: #fff;
    }

    #sub .viewmore:hover i {
        filter: invert(1);
        -webkit-filter: invert(1);
        transform: rotate(90deg);
    }

    #sub .viewmore.white:hover {
        background: #fff;
        color: #333;
    }

    #sub .viewmore.white:hover span {
        color: #333;
    }

    #sub .viewmore.white:hover i {
        filter: unset;
        -webkit-filter: unset;
        transform: rotate(90deg);
    }
}

/* visual btns */
#visual .visual-btns {
    display: flex;
    gap: 10px;
    margin-top: 50px;
}

/* partner - structure */
#partner.sub-content {
    padding-top: 30px;
}
#partner .section.first {
    padding-top: 100px;
}

/* partner - list */
#partner .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
#partner .partner-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}
#partner .partner-item {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}
@media screen and (hover: hover) and (pointer: fine) {
    #partner .partner-item:hover {
        border-color: var(--mainColor);
    }
}
#partner .partner-item .logo {
    height: 50px;
    display: flex;
    align-items: center;
}
#partner .partner-item .logo img {
    max-height: 100%;
    width: auto;
    max-width: 220px;
}
#partner .partner-item .desc {
    font-size: clamp(14px, 1.05vw, 17px);
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin-top: clamp(24px, 3vw, 43px);
    flex: 1;
}
#partner .partner-item .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: clamp(16px, 2vw, 30px);
}
#partner .partner-item .tags span {
    font-family: var(--engFont);
    font-size: clamp(12px, 1.05vw, 16px);
    /* font-weight: 300; */
    font-weight: 400;
    color: var(--mainColor);
    line-height: 1.3;
}

/* portal - structure */
#portal.sub-content {
    padding-top: 30px;
}

#portal .section.first {
    padding-top: 100px;
}

/* story - structure */
#story.sub-content {
    padding-top: 30px;
}

#story .section.first {
    padding-top: 100px;
}

/* story - list */
#story .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

#story .story-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

#story .story-item {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

@media screen and (hover: hover) and (pointer: fine) {
    #story .story-item:hover {
        border-color: var(--mainColor);
    }
}

#story .story-item .logo {
    height: 50px;
    display: flex;
    align-items: center;
}

#story .story-item .logo img {
    max-height: 100%;
    width: auto;
}

#story .story-item .name-ko {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    margin-top: 50px;
}

#story .story-item .name-en {
    display: block;
    font-family: var(--engFont);
    font-size: 18px;
    font-weight: 500;
    color: #777;
    margin-top: 8px;
}

#story .story-item ul {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#story .story-item ul li {
    font-size: 17px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
}

#story .story-item ul li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
}

#story .story-item .story-extra {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

#story .story-item .story-extra ul {
    margin-top: 0;
}

@media screen and (hover: hover) and (pointer: fine) {
    #story .story-item:hover .story-extra {
        max-height: 300px;
        margin-top: 10px;
    }
}

/* mission - intro */
#story .mission-intro__title {
    font-size: clamp(24px, 3.1vw, 54px);
    font-weight: 400;
    color: #111;
    line-height: 1.6;
    text-align: center;
}
#story .mission-intro__title strong {
    font-weight: 700;
}
#story .mission-intro__card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-top: clamp(24px, 4.2vw, 60px);
}
#story .mission-intro__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s;
}
#story .mission-intro__bg.on {
    opacity: 1;
}
/* #story .mission-intro__dim{ position: absolute; inset: 0; background: rgba(0,0,0,0.5); } */
#story .mission-intro__panels {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.072fr 1fr;
}
#story .mission-intro__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 8.3vw, 132px) clamp(20px, 3.5vw, 60px);
}
/* #story .mission-intro__panel + .mission-intro__panel{ border-left: 1px solid rgba(255,255,255,0.2); } */
#story .mission-intro__icon {
    width: clamp(60px, 6.8vw, 118px);
    height: clamp(50px, 5.8vw, 100px);
    flex-shrink: 0;
}
#story .mission-intro__icon svg {
    width: 100%;
    height: 100%;
}
#story .mission-intro__panel .text {
    font-size: clamp(14px, 1.16vw, 20px);
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    margin-top: clamp(20px, 2.9vw, 40px);
}
#story .mission-intro__panel--center .en {
    font-family: var(--engFont);
    font-size: clamp(16px, 1.39vw, 24px);
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    text-align: center;
}
#story .mission-intro__logo {
    width: clamp(120px, 11vw, 190px);
    flex-shrink: 0;
    margin-top: clamp(12px, 1.16vw, 20px);
}
#story .mission-intro__logo svg {
    width: 100%;
    height: auto;
}

/* contact - structure */
#contact.sub-content {
    padding-top: 30px;
}

#contact .section.first {
    padding-top: 100px;
}

/* contact */
#contact .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

#contact .contact-form {
    margin-top: 90px;
}

#contact .form-divider.top {
    height: 3px;
    background: #111;
}

#contact .form-divider.bottom {
    height: 1px;
    background: #ddd;
}

#contact .form-rows {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 0;
}

#contact .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

#contact .form-field {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact .form-field label {
    font-size: 20px;
    font-weight: 500;
    color: #111;
}

#contact .form-field label .req {
    color: #f00;
}

#contact .form-field input {
    height: 85px;
    padding: 0 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

#contact .form-field input::placeholder {
    color: #999;
}

#contact .form-field input:focus {
    border-color: #111;
}

/* contact - agree */
#contact .form-agree {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 0;
}

#contact .agree-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#contact .agree-item input[type='checkbox'] {
    display: none;
}

#contact .agree-item .check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23DDDDDD'/%3E%3Cpath d='M7 11L11 15L17 9' stroke='white' stroke-width='2'/%3E%3C/svg%3E")
        no-repeat center center / contain;
}

#contact .agree-item input:checked + .check {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23B10049'/%3E%3Cpath d='M7 11L11 15L17 9' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

#contact .agree-item .text {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    line-height: 1.3;
}

#contact .agree-item .terms {
    font-size: 16px;
    font-weight: 600;
    color: var(--mainColor);
}

/* contact - btns */
#contact .form-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#contact .btn-cancel,
#contact .btn-submit {
    width: 200px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

#contact .btn-cancel {
    background: #222;
    color: #fff;
}

#contact .btn-submit {
    background: var(--mainColor);
    color: #fff;
}

@media screen and (hover: hover) and (pointer: fine) {
    #contact .btn-cancel:hover,
    #contact .btn-submit:hover {
        opacity: 0.8;
    }
}

/* portal - arch */
#portal .portal-arch {
    margin-top: 80px;
    overflow: hidden;
}

#portal .portal-arch figure img {
    width: 100%;
    display: block;
}

/* portal - intro */
#portal .portal-intro > h3 {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

#portal .portal-intro > .desc {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-top: 20px;
}

#portal .portal-intro .box {
    border-radius: 30px;
    overflow: hidden;
    margin-top: 40px;
    background: no-repeat center center / cover;
}

.portal-intro .box .text {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 100%);
}

#portal .portal-intro .box .text {
    padding: clamp(40px, 8.7%, 149px) clamp(30px, 5.8%, 100px);
}

#portal .portal-intro .box .text .sub {
    font-size: clamp(14px, 1.05vw, 18px);
    /* font-weight: 300; */
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
}

#portal .portal-intro .box .text h4 {
    font-size: clamp(20px, 2.1vw, 36px);
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    margin-top: 20px;
}

#portal .portal-intro .box .text > p {
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin-top: 40px;
}

/* tab-menu */
.tab-menu {
    padding: 20px;
    pointer-events: none;
}

.tab-menu ul {
    display: flex;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 999px;
    padding: 10px;
    pointer-events: auto;
}

.tab-menu ul li {
    flex: 1 0 auto;
}

.tab-menu ul li > * {
    width: 100%;
    min-height: 60px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 999px;
    font-family: var(--engFont);
    font-size: 22px;
    /* font-weight: 300; */
    font-weight: 400;
    color: #999;
    letter-spacing: -0.02em;
    text-align: center;
    text-stroke: 0.02em transparent;
    -webkit-text-stroke: 0.02em transparent;
    padding: 15px;
    transition:
        background 0.3s,
        color 0.3s,
        text-stroke-color;
}

.tab-menu ul li.on > * {
    background: #111;
    color: #fff;
    text-stroke-color: #fff;
    -webkit-text-stroke-color: #fff;
}

.tab-menu.sticky {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 800;
}

@media screen and (max-width: 1700px) {
    /* visual */
    #visual .text {
        padding-bottom: 100px;
    }

    #visual .text h2 {
        font-size: 14rem;
    }

    /* lnb */
    #lnb a {
        font-size: 18px;
    }

    /* common */
    #sub {
        --subPt: 80px;
        --subPb: 120px;
    }

    /* visual btns */
    #visual .visual-btns {
        margin-top: 40px;
    }

    #visual .viewmore {
        height: 54px;
        font-size: 17px;
        padding: 0 36px;
    }

    /* tab-menu */
    .tab-menu ul li > * {
        min-height: 55px;
        font-size: 20px;
    }

    /* portal */
    #portal .section.first {
        padding-top: 80px;
    }

    /* partner */
    #partner .section.first {
        padding-top: 80px;
    }
    #partner .partner-list {
        gap: 16px;
        margin-top: 40px;
    }
    #partner .partner-item {
        padding: 40px;
    }

    /* mission intro */
    #story .mission-intro__panel {
        padding: clamp(30px, 5vw, 80px) clamp(16px, 2.5vw, 40px);
    }

    /* story */
    #story .section.first {
        padding-top: 80px;
    }

    #story .story-item {
        padding: 40px;
    }

    #story .story-item .name-ko {
        font-size: 22px;
        margin-top: 40px;
    }

    /* contact */
    #contact .section.first {
        padding-top: 80px;
    }

    #contact .contact-form {
        margin-top: 70px;
    }

    #contact .form-rows {
        gap: 50px;
        padding: 50px 0;
    }

    #contact .form-row {
        gap: 50px;
    }

    #contact .form-field label {
        font-size: 18px;
    }

    #contact .form-field input {
        height: 75px;
    }

    #contact .agree-item .text {
        font-size: 17px;
    }

    #contact .btn-cancel,
    #contact .btn-submit {
        width: 180px;
        height: 70px;
        font-size: 18px;
    }
}

@media screen and (max-width: 1280px) {
    /* visual */
    #visual .text {
        padding-bottom: 50px;
    }

    #visual .text h2 {
        font-size: 13rem;
        margin-top: 25px;
    }

    /* lnb */
    #lnb ul {
        margin: -15px;
    }

    #lnb ul li::before {
        width: 20px;
        height: 20px;
    }

    #lnb a {
        font-size: 17px;
        padding: 15px;
    }

    #lnb a svg {
        width: 20px;
        height: auto;
    }

    /* common */
    #sub {
        --subPt: 60px;
        --subPb: 100px;
    }

    /* visual btns */
    #visual .visual-btns {
        margin-top: 25px;
        gap: 8px;
    }

    #visual .viewmore {
        height: 46px;
        font-size: 15px;
        padding: 0 26px;
    }

    #visual .viewmore i {
        width: 20px;
        height: 20px;
    }

    /* tab-menu */
    .tab-menu {
        padding: 10px;
    }

    .tab-menu ul {
        padding: 7px;
    }

    .tab-menu ul li > * {
        min-height: 50px;
        font-size: 18px;
        padding: 10px;
    }

    /* partner */
    #partner .section.first {
        padding-top: 60px;
    }
    #partner .partner-list {
        grid-template-columns: repeat(2, 1fr);
    }
    #partner .partner-item {
        padding: 30px;
    }

    /* mission intro */
    #story .mission-intro__panel {
        padding: 30px 20px;
    }

    /* portal */
    #portal .section.first {
        padding-top: 60px;
    }

    #portal .portal-intro > .desc {
        font-size: 18px;
    }

    /* story */
    #story .section.first {
        padding-top: 60px;
    }

    #story .story-list {
        gap: 16px;
        margin-top: 40px;
    }

    #story .story-item {
        padding: 30px;
    }

    #story .story-item .name-ko {
        font-size: 20px;
        margin-top: 30px;
    }

    #story .story-item .name-en {
        font-size: 16px;
    }

    #story .story-item ul li {
        font-size: 16px;
    }

    /* contact */
    #contact .section.first {
        padding-top: 60px;
    }

    #contact .contact-form {
        margin-top: 50px;
    }

    #contact .form-rows {
        gap: 40px;
        padding: 40px 0;
    }

    #contact .form-row {
        gap: 30px;
    }

    #contact .form-field label {
        font-size: 17px;
    }

    #contact .form-field input {
        height: 65px;
        font-size: 15px;
    }

    #contact .agree-item .text {
        font-size: 16px;
    }

    #contact .agree-item .terms {
        font-size: 14px;
    }

    #contact .btn-cancel,
    #contact .btn-submit {
        width: 160px;
        height: 60px;
        font-size: 17px;
    }
}

@media screen and (max-width: 900px) {
    /* visual */
    #visual .text {
        padding-bottom: 30px;
    }

    #visual .text h2 {
        font-size: 11rem;
        margin-top: 10px;
    }

    /* lnb */
    #lnb a {
        font-size: 16px;
    }

    /* visual btns */
    #visual .visual-btns {
        margin-top: 15px;
        gap: 6px;
    }

    #visual .viewmore {
        height: 40px;
        font-size: 14px;
        padding: 0 20px;
    }

    #visual .viewmore i {
        width: 18px;
        height: 18px;
    }

    /* tab-menu */
    .tab-menu ul {
        padding: 5px;
    }

    .tab-menu ul li > * {
        min-height: 45px;
        font-size: 17px;
    }

    /* portal */
    #portal .section.first {
        padding-top: 40px;
    }

    #portal .portal-arch {
        margin-top: 40px;
    }

    #portal .portal-intro > .desc {
        font-size: 16px;
    }

    /* partner */
    #partner .section.first {
        padding-top: 40px;
    }
    #partner .partner-list {
        grid-template-columns: repeat(1, 1fr);
    }

    /* mission intro */
    #story .mission-intro__panels {
        grid-template-columns: 1fr;
    }
    /* #story .mission-intro__panel + .mission-intro__panel{ border-left: none; border-top: 1px solid rgba(255,255,255,0.2); } */

    /* story */
    #story .section.first {
        padding-top: 40px;
    }

    #story .story-list {
        grid-template-columns: repeat(1, 1fr);
    }

    #story .story-item {
        padding: 30px;
    }

    #story .story-item .name-ko {
        font-size: 18px;
        margin-top: 24px;
    }

    #story .story-item ul li {
        font-size: 15px;
    }

    /* contact */
    #contact .section.first {
        padding-top: 40px;
    }

    #contact .form-row {
        grid-template-columns: repeat(1, 1fr);
    }

    #contact .form-field input {
        height: 60px;
    }

    #contact .agree-item .text {
        font-size: 15px;
    }

    #contact .btn-cancel,
    #contact .btn-submit {
        width: 140px;
        height: 56px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .tab-menu.sticky {
        top: 70px;
    }

    /* tab-menu */
    .tab-menu ul {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .tab-menu ul::-webkit-scrollbar {
        display: none;
    }

    .tab-menu ul li {
        /* flex: 0 0 auto; */
        flex: 1;
    }

    .tab-menu ul li > * {
        white-space: nowrap;
        font-size: 15px;
        min-height: 40px;
        padding: 8px 20px;
    }
}

/* Company - History */
#history {
    --top: 165px;
}

#history {
    padding-top: 0;
}

#history .tab-menu ul li i {
    display: inline-block;
    width: 8px;
    height: 2px;
    background: #999;
    margin: 0 15px;
    vertical-align: middle;
    transition: background 0.3s;
}

#history .tab-menu ul li.on i {
    background: #fff;
}

#history .section {
    padding-top: var(--subPt);
}

#history .section > div {
    position: relative;
}

#history .bar {
    width: 4px;
    height: calc(100% - var(--top));
    background: #eee;
    border-radius: 999px;
    position: absolute;
    top: var(--top);
    left: 50%;
    transform: translateX(-50%);
}

#history .bar > div {
    width: 6px;
    height: 0;
    background: var(--mainColor);
    border-radius: inherit;
    position: relative;
    transform: translateX(-1px);
    will-change: height;
    transition: height 0.4s;
}

#history .bar span {
    width: 30px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--mainColor);
    border-radius: inherit;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#history .bar span i {
    display: block;
    height: 15px;
    background: url('/img/sub/company/bar_arrow.svg') no-repeat center center / contain;
    margin: 5px 0;
    position: relative;
}

#history .bar span i:last-of-type {
    transform: scaleY(-1);
}

#history .bar span i::after {
    content: '';
    width: 6px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%, 50%);
}

#history .bar span i:last-of-type::after {
    display: none;
}

#history .section section {
    padding-top: 100px;
}

#history .section section:first-of-type {
    padding-top: 0;
}

#history .grid-box {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

#history .grid-box > * {
    padding-inline: 117px;
}

#history .grid-box > *:nth-child(odd) {
    padding-left: 0 !important;
}

#history .grid-box > *:nth-child(even) {
    padding-right: 0 !important;
}

#history .section .sticky {
    position: sticky;
    position: -webkit-sticky;
    top: calc(50% - (var(--stickyH) / 2));
    left: 0;
}

#history .right {
    padding-top: var(--top);
}

#history .right .year {
    display: none;
}

#history .year h3 {
    font-family: var(--engFont);
    font-size: 8rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
    padding-bottom: 60px;
}

#history .year figure {
    display: block;
    padding-bottom: 56.528%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

#history .year figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#history .right dl {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px;
}

#history .right section dl:not(:last-of-type) {
    margin-bottom: 20px;
}

#history .right dl dt {
    font-family: var(--engFont);
    font-size: 22px;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
}

#history .right dl dt span {
    display: inline-block;
    color: var(--mainColor);
    padding-left: 15px;
}

#history .right dl dd {
    font-size: 19px;
    font-weight: 400;
    color: #333;
    letter-spacing: -0.02em;
    line-height: 1.5;
    margin-top: 20px;
}

@media screen and (max-width: 1700px) {
    #history {
        --top: 124px;
    }

    #history .year h3 {
        padding-bottom: 40px;
    }

    #history .right dl {
        padding: 30px;
    }

    #history .right dl dt {
        font-size: 20px;
    }

    #history .right dl dd {
        font-size: 18px;
    }
}

@media screen and (max-width: 1400px) {
    #history .grid-box > * {
        padding-inline: 80px;
    }
}

@media screen and (max-width: 1280px) {
    #history {
        --top: 87px;
    }

    #history .tab-menu ul li i {
        width: 6px;
        height: 1px;
        margin: 0 10px;
    }

    #history .bar {
        width: 2px;
    }

    #history .bar > div {
        width: 4px;
    }

    #history .bar span {
        width: 26px;
        height: 50px;
    }

    #history .bar span i {
        height: 12px;
        margin: 5px 0;
    }

    #history .bar span i::before {
        bottom: 5px;
    }

    #history .year h3 {
        padding-bottom: 20px;
    }

    #history .right dl {
        padding: 20px;
    }

    #history .right dl dt {
        font-size: 18px;
    }

    #history .right dl dt span {
        padding-left: 10px;
    }

    #history .right dl dd {
        font-size: 16px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 1000px) {
    #history .bar {
        left: 35px;
    }

    #history .grid-box {
        grid-template-columns: repeat(1, 100%);
    }

    #history .grid-box > * {
        padding-inline: 50px;
    }

    #history .left {
        display: none;
    }

    #history .right {
        padding-top: 0;
    }

    #history .right .year {
        display: block;
    }
}

@media screen and (max-width: 900px) {
    #history {
        --top: 64px;
    }

    #history .bar {
        left: 30px;
    }

    #history .bar span {
        width: 20px;
        height: 45px;
    }

    #history .bar span i {
        height: 10px;
    }

    #history .grid-box > * {
        padding-inline: 45px;
    }

    #history .year h3 {
        font-size: 7rem;
    }
}

/* terms popup */
.terms-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 9000;
    visibility: hidden;
    opacity: 0;
    transition:
        visibility 0s 0.3s,
        opacity 0.3s;
}

.terms-popup.on {
    visibility: visible;
    opacity: 1;
    transition:
        visibility 0s,
        opacity 0.3s;
}

.terms-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.terms-popup__modal {
    position: relative;
    width: min(936px, calc(100% - 40px));
    max-height: min(641px, 85vh);
    background: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.3s;
}

.terms-popup.on .terms-popup__modal {
    transform: scale(1) translateY(0);
}

.terms-popup__head {
    flex-shrink: 0;
    padding: clamp(24px, 3.8vw, 60px) clamp(20px, 5vw, 93px) clamp(16px, 2.5vw, 40px);
    text-align: center;
    position: relative;
}

.terms-popup__title {
    display: block;
    font-size: clamp(18px, 1.95vw, 30px);
    font-weight: 500;
    color: #111;
    line-height: 1.3;
}

.terms-popup__close {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: clamp(14px, 1.8vw, 24px);
    right: clamp(14px, 1.8vw, 24px);
    padding: 0;
    color: #111;
    transition: opacity 0.3s;
}

.terms-popup__close svg {
    width: clamp(16px, 1.4vw, 20px);
    height: clamp(16px, 1.4vw, 20px);
}

@media screen and (hover: hover) and (pointer: fine) {
    .terms-popup__close:hover {
        opacity: 0.4;
    }
}

.terms-popup__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(20px, 5vw, 93px) clamp(24px, 3.8vw, 60px);
}

.terms-popup__scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: clamp(14px, 1.5vw, 21px) clamp(14px, 2.1vw, 30px);
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
}

.terms-popup__scroll::-webkit-scrollbar {
    width: 6px;
}

.terms-popup__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.terms-popup__scroll::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 20px;
}

.terms-popup__scroll p + p {
    margin-top: 1em;
}

@media screen and (max-width: 768px) {
    .terms-popup__modal {
        max-height: 90vh;
        border-radius: 16px;
    }
}

/* brochure popup */
.brochure-popup .terms-popup__modal {
    max-height: min(882px, 90vh);
}

.brochure-popup .terms-popup__body {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
}

.brochure-popup .terms-popup__body::-webkit-scrollbar {
    width: 6px;
}

.brochure-popup .terms-popup__body::-webkit-scrollbar-track {
    background: transparent;
}

.brochure-popup .terms-popup__body::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 20px;
}

.brochure-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.brochure-form__section-title {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin-bottom: 20px;
}

.brochure-form__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brochure-form__fields input[type='text'],
.brochure-form__fields input[type='tel'],
.brochure-form__fields input[type='email'] {
    height: 62px;
    padding: 0 30px;
    background: #fff;
    border: none;
    outline: 1px solid #ddd;
    outline-offset: -1px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #111;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: outline-color 0.3s;
}

.brochure-form__fields input::placeholder {
    color: #999;
}

.brochure-form__fields input:focus {
    outline-color: #111;
}

/* company size radio */
.brochure-form__size {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.size-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
    user-select: none;
}

.size-option input[type='radio'] {
    display: none;
}

.size-option .size-radio {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11.5' stroke='%23DDDDDD'/%3E%3Ccircle cx='12' cy='12' r='8' fill='%23DDDDDD'/%3E%3C/svg%3E")
        no-repeat center center / contain;
}

.size-option input:checked + .size-radio {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11.5' stroke='%23B10049'/%3E%3Ccircle cx='12' cy='12' r='8' fill='%23B10049'/%3E%3C/svg%3E");
}

/* brochure agree */
.brochure-form__agree label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.brochure-form__agree input[type='checkbox'] {
    display: none;
}

.brochure-form__agree .check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23DDDDDD'/%3E%3Cpath d='M7 11L11 15L17 9' stroke='white' stroke-width='2'/%3E%3C/svg%3E")
        no-repeat center center / contain;
}

.brochure-form__agree input:checked + .check {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23B10049'/%3E%3Cpath d='M7 11L11 15L17 9' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

.brochure-form__agree .text {
    font-size: 18px;
    font-weight: 500;
    color: #111;
}

.brochure-form__agree .terms {
    font-size: 16px;
    font-weight: 600;
    color: var(--mainColor);
    white-space: nowrap;
}

/* brochure buttons */
.brochure-form__btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.brochure-form__btn-cancel,
.brochure-form__btn-submit {
    width: 180px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.3s;
}

.brochure-form__btn-cancel {
    background: #222;
    color: #fff;
}

.brochure-form__btn-submit {
    background: var(--mainColor);
    color: #fff;
}

@media screen and (hover: hover) and (pointer: fine) {
    .brochure-form__btn-cancel:hover,
    .brochure-form__btn-submit:hover {
        opacity: 0.8;
    }
}

@media screen and (max-width: 768px) {
    .brochure-form__size {
        gap: 14px;
    }

    .size-option {
        font-size: 15px;
    }

    .brochure-form__agree .text {
        font-size: 15px;
    }

    .brochure-form__btn-cancel,
    .brochure-form__btn-submit {
        width: 140px;
        height: 52px;
        font-size: 17px;
    }
}

/* ceo */
#ceo.sub-content {
    padding-top: 30px;
}
#ceo .section.first {
    padding-top: 100px;
}
#ceo .ceo-wrap {
    display: grid;
    grid-template-columns: 812fr 830fr;
    align-items: center;
    gap: clamp(24px, 4.5vw, 78px);
}
#ceo .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
#ceo .ceo-text {
    margin-top: clamp(30px, 3.5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2.3vw, 40px);
}
#ceo .ceo-greeting {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.16vw, 20px);
}
#ceo .ceo-greeting__name {
    font-size: clamp(15px, 1.74vw, 22px);
    font-weight: 500;
    color: #111;
    line-height: 1.3;
}
#ceo .ceo-greeting__body {
    font-size: clamp(15px, 1.39vw, 22px);
    font-weight: 400;
    color: #111;
    line-height: 1.6;
}
#ceo .ceo-sign {
    font-size: clamp(14px, 1.28vw, 22px);
    font-weight: 400;
    color: #111;
    line-height: 1.3;
}
#ceo .ceo-sign strong {
    font-weight: 600;
}
#ceo .ceo-photo {
    aspect-ratio: 830 / 680;
    border-radius: clamp(16px, 1.74vw, 30px);
    overflow: hidden;
    background: #b8b8b8;
}
#ceo .ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 1700px) {
    #ceo .section.first {
        padding-top: 80px;
    }
}
@media screen and (max-width: 1280px) {
    #ceo .section.first {
        padding-top: 60px;
    }
}
@media screen and (max-width: 900px) {
    #ceo .section.first {
        padding-top: 40px;
    }
    #ceo .ceo-wrap {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 768px) {
    #ceo .ceo-photo {
        aspect-ratio: 4 / 3;
    }
}

/* career */
#career.sub-content {
    padding-top: 30px;
}
#career .section.first {
    padding-top: 100px;
}
#career .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
#career .career-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(30px, 3.5vw, 60px);
}
#career .career-item {
    position: relative;
    background: #fff;
    border: 1px solid #999;
    border-radius: 20px;
    padding: clamp(24px, 2.9vw, 50px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(180px, 17.4vw, 300px);
}
#career .career-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(30px, 2.2vw, 42px);
    height: clamp(30px, 2.2vw, 42px);
    flex-shrink: 0;
    background: var(--mainColor);
    border-radius: clamp(6px, 0.52vw, 10px);
    font-family: var(--engFont);
    font-size: clamp(12px, 0.94vw, 18px);
    font-weight: 500;
    color: #fff;
}
#career .career-info {
    margin-top: auto;
    padding-top: clamp(16px, 2.1vw, 40px);
}
#career .career-info__title {
    display: block;
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}
#career .career-info__desc {
    font-size: clamp(13px, 0.94vw, 18px);
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin-top: clamp(8px, 1.04vw, 20px);
}
#career .career-icon {
    position: absolute;
    bottom: clamp(16px, 2.6vw, 50px);
    right: clamp(16px, 2.6vw, 50px);
    width: clamp(40px, 4.2vw, 81px);
    pointer-events: none;
}
#career .career-icon img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 1700px) {
    #career .section.first {
        padding-top: 80px;
    }
}
@media screen and (max-width: 1280px) {
    #career .section.first {
        padding-top: 60px;
    }
}
@media screen and (max-width: 900px) {
    #career .section.first {
        padding-top: 40px;
    }
    #career .career-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 560px) {
    #career .career-list {
        grid-template-columns: 1fr;
    }
}

/* news */
#news.sub-content {
    padding-top: 30px;
}
#news .section.first {
    padding-top: 100px;
}
#news .section-title {
    font-family: var(--engFont);
    font-size: clamp(28px, 3.1vw, 54px);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

/* news - featured */
#news .news-swiper {
    margin-top: clamp(24px, 3.5vw, 60px);
}
#news .news-swiper .swiper-slide {
    height: auto;
}
#news .news-featured {
    display: grid;
    grid-template-columns: 800fr 440fr 440fr;
    gap: 20px;
}
#news .news-feat {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: clamp(240px, 26vw, 500px);
}
#news .news-feat__bg {
    position: absolute;
    inset: 0;
    background: #444 no-repeat center center / cover;
    transition: transform 0.5s;
}
#news .news-feat__dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 60%);
}
#news .news-feat__body {
    position: absolute;
    inset: 0;
    padding: clamp(20px, 2.6vw, 50px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#news .news-feat__deco {
    position: absolute;
    right: 40px;
    bottom: 40px;
    pointer-events: none;
}
#news .news-feat__deco img {
    display: block;
    width: auto;
    height: auto;
    max-height: clamp(80px, 9.4vw, 200px);
}
#news .news-feat--main .news-feat__deco img {
    max-height: clamp(100px, 10.4vw, 200px);
}
#news .news-feat__cate {
    font-size: clamp(13px, 1.04vw, 20px);
    font-weight: 500;
    color: #ee3176;
    line-height: 1.3;
}
#news .news-feat__title {
    font-size: clamp(16px, 1.56vw, 30px);
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    margin-top: clamp(6px, 0.52vw, 10px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
#news .news-feat__date {
    font-family: var(--engFont);
    font-size: clamp(12px, 1.04vw, 20px);
    /* font-weight: 300; */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-top: clamp(8px, 0.63vw, 12px);
}
@media screen and (hover: hover) and (pointer: fine) {
    #news .news-feat:hover .news-feat__bg {
        transform: scale(1.04);
    }
}

/* news - swiper pagination */
#news .news-swiper-pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
}
#news .news-swiper-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: #ddd;
    opacity: 1;
    border-radius: 999px;
    margin: 0 !important;
    flex-shrink: 0;
}
#news .news-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--mainColor);
}

/* news - meta */
#news .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(20px, 2.6vw, 50px);
}
#news .news-count {
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
#news .news-count em {
    font-family: var(--engFont);
    font-size: clamp(15px, 1.04vw, 20px);
    font-weight: 400;
    color: var(--mainColor);
}
#news .news-search {
    display: flex;
    gap: 10px;
}
#news .news-search__input {
    height: clamp(44px, 3.1vw, 60px);
    width: clamp(160px, 15.6vw, 300px);
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: clamp(13px, 0.94vw, 18px);
    font-weight: 400;
    color: #111;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
#news .news-search__input::placeholder {
    color: #666;
}
#news .news-search__input:focus {
    border-color: #111;
}
#news .news-search__btn {
    width: clamp(44px, 3.1vw, 60px);
    height: clamp(44px, 3.1vw, 60px);
    flex-shrink: 0;
    background: var(--mainColor);
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
    padding: 0;
}
/* #news .news-search__btn svg{ width: clamp(16px, 1.04vw, 20px); height: clamp(16px, 1.04vw, 20px); } */
@media screen and (hover: hover) and (pointer: fine) {
    #news .news-search__btn:hover {
        opacity: 0.8;
    }
}

/* news - table */
#news .news-table {
    margin-top: clamp(12px, 1.04vw, 20px);
}
#news .news-table__head,
#news .news-table__row {
    display: flex;
    align-items: stretch;
    min-height: clamp(50px, 4.9vw, 95px);
}
#news .news-table__head {
    background: #f5f5f5;
}
#news .news-table__row {
    background: #fff;
    border-bottom: 1px solid #ddd;
}
#news [class^='col-'] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}
#news .col-no {
    width: clamp(50px, 4.7vw, 90px);
    flex-shrink: 0;
}
#news .col-cate {
    width: clamp(80px, 11.5vw, 220px);
    flex-shrink: 0;
}
#news .col-title {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    padding: 10px clamp(12px, 1.56vw, 30px);
}
#news .col-author {
    width: clamp(80px, 11.5vw, 220px);
    flex-shrink: 0;
}
#news .col-date {
    width: clamp(100px, 13.5vw, 260px);
    flex-shrink: 0;
}
#news .news-table__head .col-no {
    font-family: var(--engFont);
}
#news .news-table__head [class^='col-'] {
    font-size: clamp(14px, 1.04vw, 20px);
    font-weight: 500;
    color: #111;
}
#news .news-table__row .col-no {
    font-family: var(--engFont);
    font-size: clamp(14px, 1.04vw, 20px);
    font-weight: 400;
    color: #555;
}
#news .news-table__row .col-cate {
    font-size: clamp(14px, 1.04vw, 20px);
    font-weight: 500;
    color: var(--mainColor);
}
#news .news-table__row .col-title a {
    font-size: clamp(13px, 1.04vw, 20px);
    font-weight: 400;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.3s;
    width: 100%;
}
#news .news-table__row .col-author {
    font-size: clamp(13px, 1.04vw, 20px);
    font-weight: 400;
    color: #555;
}
#news .news-table__row .col-date {
    font-family: var(--engFont);
    font-size: clamp(12px, 1.04vw, 20px);
    /* font-weight: 300; */
    font-weight: 400;
    color: #555;
}
@media screen and (hover: hover) and (pointer: fine) {
    #news .news-table__row:hover {
        background: #f9f9f9;
        cursor: pointer;
    }
    #news .news-table__row:hover .col-title a {
        color: var(--mainColor);
    }
}

/* news - paging */
#news .news-paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: clamp(30px, 3.1vw, 60px);
}
#news .paging-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    flex-shrink: 0;
    padding: 0;
}
#news .paging-nums {
    display: flex;
    gap: 5px;
}
#news .paging-nums a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-family: var(--engFont);
    font-size: 18px;
    font-weight: 400;
    color: #666;
    transition:
        background 0.3s,
        color 0.3s;
}
#news .paging-nums a.on {
    background: var(--mainColor);
    color: #fff;
}
@media screen and (hover: hover) and (pointer: fine) {
    #news .paging-arrow:hover {
        border-color: #111;
    }
    #news .paging-nums a:not(.on):hover {
        color: #111;
    }
}

@media screen and (max-width: 1700px) {
    #news .section.first {
        padding-top: 80px;
    }
}
@media screen and (max-width: 1280px) {
    #news .section.first {
        padding-top: 60px;
    }
    #news .col-author {
        display: none;
    }
}
@media screen and (max-width: 900px) {
    #news .section.first {
        padding-top: 40px;
    }
    #news .news-featured {
        grid-template-columns: 1fr;
    }
    #news .news-feat {
        height: clamp(200px, 50vw, 360px);
    }
}
@media screen and (max-width: 768px) {
    #news .col-no {
        display: none;
    }
    #news .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    #news .news-search {
        width: 100%;
    }
    #news .news-search__input {
        flex: 1;
        width: auto;
    }
}

/* news - view */
#news .news-view {
    margin-top: clamp(30px, 3.5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 4.2vw, 80px);
}
#news .news-view__head {
    padding-bottom: clamp(20px, 2.1vw, 40px);
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.56vw, 30px);
}
#news .news-view__title {
    font-size: clamp(22px, 2.6vw, 50px);
    font-weight: 600;
    color: #111;
    line-height: 1.6;
}
#news .news-view__meta {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.04vw, 20px);
}
#news .news-view__meta-label {
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
    color: #555;
}
#news .news-view__meta-date {
    font-family: var(--engFont);
    font-size: clamp(14px, 1.04vw, 20px);
    /* font-weight: 300; */
    font-weight: 400;
    color: #999;
}
#news .news-view__meta-div {
    width: 1px;
    height: 12px;
    background: #eee;
    flex-shrink: 0;
}
#news .news-view__meta-author {
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    color: #999;
}

#news .news-view__article {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.25vw, 24px);
}
#news .news-view__content {
    width: 100%;
    max-width: 1000px;
    min-height: clamp(200px, 25vw, 480px);
    background: #fbfbfb;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.14vw, 22px);
    font-weight: 400;
    color: #333;
}

#news .news-view__attach {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
#news .news-view__attach-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(14px, 1.56vw, 30px) clamp(16px, 1.56vw, 30px);
}
#news .news-view__attach-row + .news-view__attach-row {
    border-top: 1px solid #eee;
}
#news .news-view__attach-left {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.04vw, 20px);
    min-width: 0;
}
#news .news-view__attach-num {
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    flex-shrink: 0;
}
#news .news-view__attach-bar {
    width: 1px;
    height: 20px;
    background: #eee;
    flex-shrink: 0;
}
#news .news-view__attach-file {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.78vw, 15px);
    min-width: 0;
}
#news .news-view__attach-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#news .news-view__attach-name {
    font-size: clamp(13px, 0.94vw, 18px);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#news .news-view__attach-down {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--engFont);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
}
#news .news-view__attach-row--active .news-view__attach-name {
    color: var(--mainColor);
}
#news .news-view__attach-row--active .news-view__attach-down {
    color: var(--mainColor);
}
#news .news-view__attach-row:not(.news-view__attach-row--active) .news-view__attach-name {
    color: #666;
}
#news .news-view__attach-row:not(.news-view__attach-row--active) .news-view__attach-down {
    color: #999;
}

#news .news-view__nav {
    background: #f8f8f8;
    min-height: clamp(50px, 3.6vw, 70px);
    padding: 0 clamp(16px, 1.56vw, 30px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#news .news-view__nav-item {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.04vw, 20px);
}
#news .news-view__nav-label {
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
#news .news-view__nav-bar {
    width: 1px;
    height: 15px;
    background: #eee;
    flex-shrink: 0;
}
#news .news-view__nav-title {
    font-size: clamp(13px, 0.94vw, 18px);
    font-weight: 400;
    color: #666;
}
#news .news-view__nav-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#news .news-view__back-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 4.2vw, 80px);
}
#news .news-view__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 210px;
    height: clamp(54px, 3.6vw, 70px);
    padding: 0 clamp(30px, 3.3vw, 63px);
    background: #222;
    border-radius: 999px;
    font-size: clamp(16px, 1.04vw, 20px);
    font-weight: 500;
    color: #fff;
    transition: background 0.3s;
}
@media screen and (hover: hover) and (pointer: fine) {
    #news .news-view__back:hover {
        background: #444;
    }
}
@media screen and (max-width: 768px) {
    #news .news-view__nav-item.news-view__nav-prev .news-view__nav-title,
    #news .news-view__nav-item.news-view__nav-next .news-view__nav-title {
        display: none;
    }
    #news .news-view__nav-bar {
        display: none;
    }
}

/* news - sns */
#news .sns-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(30px, 3.1vw, 60px) 20px;
    margin-top: clamp(30px, 3.5vw, 60px);
}
#news .sns-item {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.56vw, 30px);
}
#news .sns-item__thumb {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #eee;
    border: 1px solid #ddd;
}
#news .sns-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
@media screen and (hover: hover) and (pointer: fine) {
    #news .sns-item:hover .sns-item__thumb img {
        transform: scale(1.04);
    }
}
#news .sns-item__info {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.56vw, 30px);
}
#news .sns-item__top {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 0.78vw, 15px);
}
#news .sns-item__cate {
    font-family: var(--engFont);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 500;
    color: var(--mainColor);
    line-height: 1.3;
}
#news .sns-item__title {
    font-size: clamp(15px, 1.14vw, 22px);
    font-weight: 500;
    color: #111;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
#news .sns-item__date {
    font-size: clamp(12px, 0.83vw, 16px);
    font-weight: 400;
    color: #555;
    line-height: 1.3;
}
@media screen and (max-width: 1280px) {
    #news .sns-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 900px) {
    #news .sns-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 560px) {
    #news .sns-list {
        grid-template-columns: 1fr;
    }
}

/* contact - captcha */
#contact .captcha-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#contact .captcha-img-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
#contact .captcha-img-wrap img {
    width: auto !important;
    height: 80px !important;
    border-radius: 10px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}
#contact .captcha-refresh {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition:
        transform 0.4s ease,
        opacity 0.2s;
}
#contact .captcha-refresh svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    display: block;
}
#contact .captcha-refresh:hover {
    opacity: 0.75;
    transform: rotate(180deg);
}
