@charset "utf-8";

/* =====================================================================
   서브 페이지 공통
   accent : #ff8545
   ===================================================================== */

.is-subpage {
    position: relative;
    --sub-hero-h: clamp(440px, 30vw, 571px);
}

.is-subpage #main {
    position: relative;
}

/* sub-hero 바로 아래 인트로 상단 영역 */
.is-subpage .sub-bg-shapes {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--sub-hero-h);
    height: clamp(22rem, 38vw, 34rem);
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.sub-bg-shape {
    position: absolute;
    width: clamp(11rem, 16.5vw, 15.5rem);
    will-change: transform;
}

@media screen and (max-width: 1024px) {
    .sub-bg-shape {
        will-change: auto;
    }
}

.sub-bg-shape img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-bg-shape-2 {
    left: clamp(16px, 7vw, 120px);
    top: clamp(24px, 5vw, 72px);
}

.sub-bg-shape-3 {
    right: clamp(16px, 9vw, 140px);
    top: clamp(140px, 18vw, 260px);
}

.sub-inner {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 30px);
    padding-right: clamp(20px, 4vw, 30px);
}

.sub-label {
    font-family: 'Montserrat';
    color: #ff8545;
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    text-transform: capitalize;
    letter-spacing: -0.01em;
}

/* ===================================================================
   서브 히어로 배너
   =================================================================== */
.sub-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.sub-hero-bg {
    position: relative;
    display: flex;
    width: 100%;
    min-height: clamp(440px, 30vw, 571px);
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.sub-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(126deg, rgba(0, 0, 0, 0.7) -28%, rgba(0, 0, 0, 0) 103%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
}

.sub-hero-inner {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    width: 100%;
    max-width: 1460px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 5.5vw, 70px);
}

.sub-hero-label {
    font-family: 'Montserrat';
    color: #ff8545;
    font-weight: 700;
    font-size: clamp(1.1rem, 1.4vw, 1.5625rem);
    margin-bottom: clamp(12px, 1.6vw, 24px);
}

.sub-hero-title {
    color: #fff;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.9vw, 3.25rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: clamp(24px, 3vw, 48px);
    word-break: keep-all;
}

.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1vw, 16px);
}

.sub-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: clamp(44px, 3.6vw, 54px);
    padding: 0 clamp(18px, 1.6vw, 26px);
    border-radius: 50px;
    background: #ff8545;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 1.25vw, 1.5625rem);
    transition: background 0.25s ease, color 0.25s ease;
}

.sub-tabs a.is-active {
    background: #fff;
    color: #333;
}

.sub-tabs a .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff8545;
}

.sub-tabs a:not(.is-active):hover {
    background: #dd6727;
}


/* ===================================================================
   회사소개 인트로
   =================================================================== */
.sub-intro {
    position: relative;
    z-index: 2;
    overflow: visible;
    padding: clamp(60px, 8vw, 150px) 0 clamp(60px, 7vw, 120px);
}

.sub-intro .sub-inner {
    position: relative;
    z-index: 2;
}

.sub-intro-head {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 90px);
}

.sub-intro-head .sub-tit-dec,
.sub-history-head .sub-tit-dec {
    display: block;
    width: clamp(40px, 2.7vw, 51px);
    height: auto;
    margin: 0 auto clamp(10px, 1vw, 16px);
}

.sub-intro-head .sub-label {
    margin-bottom: clamp(14px, 1.5vw, 22px);
}

.sub-intro-title {
    color: #333;
    font-weight: 700;
    font-size: clamp(2rem, 3.8vw, 4.0625rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.sub-intro-title em {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 400;
    color: #666;
    font-size: clamp(1.1rem, 1.6vw, 1.5625rem);
    letter-spacing: -0.02em;
}

.sub-intro-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 80px);
    align-items: center;
}

.sub-intro-text h4 {
    margin-bottom: clamp(20px, 2vw, 32px);
}

/* ── 스트로크 레이어 (아래): 외곽선만 ── */
.sub-intro-text h4 span {
    display: block;
    position: relative;
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: clamp(1.4rem, 2.2vw, 2.1875rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
    -webkit-text-stroke: 1.5px #E8722A;
    color: transparent;
}

/* ── fill 레이어 (위): 그라디언트 fill만, 스트로크 없음 ── */
.sub-intro-text h4 span::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    -webkit-text-stroke: 0px transparent;
    background-image: linear-gradient(
        to top,
        #E8722A 0,
        #E8722A var(--fill, 0%),
        #fff var(--fill, 0%),
        #fff 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-intro-text p {
    color: #666;
    font-size: clamp(1rem, 1.05vw, 1.125rem);
    line-height: 1.75;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.sub-intro-text p b {
    color: #ff8545;
    font-weight: 800;
}

.sub-intro-text p + p {
    margin-top: clamp(16px, 1.6vw, 26px);
}

.sub-intro-img {
    aspect-ratio: 731 / 513;
    border-radius: 1.5625rem;
    overflow: hidden;
    box-shadow: 20px 20px 30px rgba(97, 63, 42, 0.2);
}

.sub-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===================================================================
   섹션 공통 (인증현황 / 특허등록 / 특허출원)
   =================================================================== */
.sub-section {
    padding: clamp(60px, 7vw, 125px) 0;
}

.sub-section--gray {
    background: #f8f8f8;
}

.sub-section-head {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 80px);
}

.sub-star {
    display: block;
    width: clamp(20px, 1.6vw, 28px);
    height: auto;
    margin: 0 auto clamp(8px, 0.8vw, 12px);
}

.sub-section-head .sub-label {
    margin-bottom: clamp(8px, 1vw, 14px);
}

.sub-section-title {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 4.0625rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: rgba(51, 51, 51, 0.12);
    background-image: linear-gradient(to right, #333, #333);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0% 100%;
    -webkit-background-clip: text;
    background-clip: text;
}


/* ── 카드 그리드 ── */
.sub-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 1.4vw, 26px);
}

.sub-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1.7rem;
    box-shadow: 0 4px 10px rgba(97, 63, 42, 0.12);
    padding: clamp(16px, 1.5vw, 28px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.35s ease;
}

.sub-card:hover {
    box-shadow: 0 20px 40px rgba(97, 63, 42, 0.2);
}

.sub-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: clamp(10px, 1vw, 18px);
}

.sub-card-tags span {
    background: #eee7e5;
    color: #7e6d68;
    font-weight: 700;
    font-size: clamp(0.8125rem, 0.9vw, 1rem);
    border-radius: 46px;
    padding: 7px 15px;
    line-height: 1;
}

.sub-card-img {
    border: 1px solid #eee;
    border-radius: 1.1rem;
    overflow: hidden;
    aspect-ratio: 279 / 392;
    background: #f4f4f4;
}

.sub-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sub-card:hover .sub-card-img img {
    transform: scale(1.04);
}


/* ── 특허출원 슬라이더 ── */
.sub-app {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 20px);
}

.sub-app-swiper {
    flex: 1;
    min-width: 0;
    padding: 10px 4px 22px;
}

.sub-app-prev,
.sub-app-next {
    flex-shrink: 0;
    width: clamp(48px, 4vw, 64px);
    height: clamp(48px, 4vw, 64px);
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sub-app-prev:hover,
.sub-app-next:hover {
    background: #ff8545;
    border-color: #ff8545;
    color: #fff;
}

.sub-app-prev.swiper-button-disabled,
.sub-app-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}


/* ===================================================================
   연혁
   =================================================================== */
.is-history-page .sub-bg-shapes {
    height: clamp(28rem, 45vw, 42rem);
}

.sub-history {
    position: relative;
    z-index: 2;
    padding: clamp(56px, 7vw, 120px) 0 clamp(80px, 10vw, 160px);
    overflow: visible;
}

.sub-history-head {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 88px);
}

.sub-history-head .sub-label {
    margin-bottom: clamp(14px, 1.5vw, 22px);
    text-transform: lowercase;
}

.sub-history-title {
    color: #333;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.4vw, 4.0625rem);
    line-height: 1.3;
    letter-spacing: -0.05em;
    word-break: keep-all;
}

.sub-timeline {
    position: relative;
    --tl-side: 38%;
    --tl-gap: clamp(20px, 3vw, 48px);
}

.sub-timeline-axis {
    position: absolute;
    left: calc(var(--tl-dot-col) / 2 - 1px);
    top: calc(var(--tl-dot-mt) + var(--tl-dot-size) / 2 - 1px);
    bottom: 0;
    width: 2px;
    height: auto;
    min-height: 2px;
    background: #e0dbd7;
    pointer-events: none;
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}

.sub-timeline-axis.is-synced {
    bottom: auto;
}

.sub-timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 2px;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
    pointer-events: none;
}

.sub-timeline-block {
    display: grid;
    grid-template-columns: var(--tl-side) minmax(0, 1fr);
    column-gap: var(--tl-gap);
    padding-bottom: clamp(56px, 6vw, 100px);
}

.sub-timeline-block:last-child {
    padding-bottom: 0;
}

.sub-timeline-side {
    grid-column: 1;
    padding-right: clamp(8px, 1.5vw, 24px);
    position: sticky;
    top: clamp(80px, 10vw, 120px);
    align-self: start;
}

.sub-timeline-period {
    font-weight: 700;
    font-size: clamp(1.75rem, 3.4vw, 4.0625rem);
    line-height: 1.3;
    color: #ff8545;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 48px);
    word-break: keep-all;
}

.sub-timeline-figure {
    margin: 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 20px 20px 30px rgba(97, 63, 42, 0.2);
    aspect-ratio: 680 / 385;
}

.sub-timeline-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-timeline-figure--bottom img {
    object-position: center bottom;
}

.sub-timeline-events {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 56px);
    position: relative;
    z-index: 1;
    --tl-dot-col: 56px;
    --tl-dot-size: 15px;
    --tl-dot-mt: clamp(8px, 1vw, 12px);
}

.sub-timeline-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--tl-dot-col) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(12px, 2vw, 28px);
}

.sub-timeline-dot {
    justify-self: center;
    display: block;
    width: var(--tl-dot-size);
    height: var(--tl-dot-size);
    margin-top: var(--tl-dot-mt);
    background: url(../images/sub/history_dot.svg) center / contain no-repeat;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: visible;
}

.sub-timeline-body {
    min-width: 0;
}

/* 주황 채움 (active 시 scale 0 → 1) */
.sub-timeline-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--main-color);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.sub-timeline-dot.is-active::before {
    transform: scale(1);
}


.sub-timeline-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 122, 47, 1);
    opacity: 0;
    pointer-events: none;
}

.sub-timeline-dot.is-active::after {
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(4.2); opacity: 0;   }
}

.sub-timeline-year {
    font-size: clamp(1.375rem, 2vw, 2.1875rem);
    font-weight: 700;
    color: #333;
    letter-spacing: -0.05em;
    margin-bottom: clamp(12px, 1.5vw, 20px);
}

.sub-timeline-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    box-shadow: 10px 10px 20px rgba(97, 63, 42, 0.1);
    padding: clamp(22px, 2.5vw, 32px) clamp(24px, 2.8vw, 40px);
}

.sub-timeline-card ul {
    list-style: disc;
    padding-left: 1.35em;
    color: #666;
    font-size: clamp(0.9375rem, 1vw, 1.125rem);
    line-height: 2.2;
    letter-spacing: -0.02em;
}

.sub-timeline-card li + li {
    margin-top: 0.15em;
}

.sub-timeline-card li {
    word-break: keep-all;
}


/* ===================================================================
   조직도
   =================================================================== */
.is-org-page .sub-bg-shapes {
    height: clamp(24rem, 38vw, 36rem);
}

.sub-org {
    position: relative;
    z-index: 2;
    padding: clamp(56px, 7vw, 120px) 0 clamp(80px, 10vw, 160px);
    overflow: visible;
}

.sub-org-head {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.sub-org-head .sub-tit-dec,
.sub-org-head .sub-label {
    margin-bottom: clamp(14px, 1.5vw, 22px);
}

.sub-org-title {
    color: #333;
    letter-spacing: -0.05em;
    word-break: keep-all;
}

.sub-org-title-main {
    display: block;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.4vw, 4.0625rem);
    line-height: 1.2;
    margin-bottom: clamp(8px, 1vw, 12px);
}

.sub-org-title-sub {
    display: block;
    font-weight: 400;
    font-size: clamp(1rem, 1.3vw, 1.5625rem);
    line-height: 1.5;
    color: #666;
}

.sub-org-title-sub em {
    font-style: normal;
    font-weight: 400;
}

.sub-org-chart {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    box-shadow: 10px 10px 20px rgba(97, 63, 42, 0.1);
    padding: clamp(36px, 4.5vw, 60px) clamp(16px, 2.5vw, 40px);
    overflow: hidden;
}

.sub-org-chart-scroll {
    overflow: visible;
}

.sub-org-chart-inner {
    --org-cols: 7;
    --org-gap: clamp(8px, 1.25vw, 20px);
    --org-stem-h: clamp(20px, 2.5vw, 32px);
    --org-trunk-h: clamp(22px, 2.8vw, 36px);
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.sub-org-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.sub-org-top::after {
    content: '';
    display: block;
    width: 1px;
    height: var(--org-trunk-h);
    background: #eee;
    flex-shrink: 0;
}

.sub-org-node--ceo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1vw, 14px);
    box-sizing: border-box;
    height: clamp(56px, 5vw, 70px);
    padding: 0 clamp(18px, 2vw, 24px);
    border: 1.5px solid #ff8545;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 4px rgba(97, 63, 42, 0.1);
}

.sub-org-star {
    flex-shrink: 0;
    width: clamp(28px, 2.8vw, 43px);
    height: clamp(28px, 2.8vw, 43px);
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
}

.sub-org-node--ceo span {
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

/* 연결선 — CEO 세로 + 가로(ul) + 부서별 세로(li), 간격 없이 이어짐 */
.sub-org-dept {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--org-cols), minmax(0, 1fr));
    gap: var(--org-gap);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* 첫·마지막 열 중앙을 잇는 가로 연결선 (7열 PC) */
.sub-org-dept::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(45% / var(--org-cols));
    right: calc(45% / var(--org-cols));
    height: 1px;
    background: #eee;
    pointer-events: none;
}

.sub-org-dept li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding-top: var(--org-stem-h);
}

.sub-org-dept li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: var(--org-stem-h);
    background: #eee;
    transform: translateX(-50%);
}

.sub-org-dept-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: clamp(52px, 4vw, 60px);
    padding: clamp(10px, 1vw, 10px) clamp(12px, 1.2vw, 20px);
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    box-shadow: 0 4px 2px rgba(97, 63, 42, 0.1);
    font-size: clamp(0.875rem, 1.35vw, 1.2rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    letter-spacing: -0.05em;
    word-break: keep-all;
}


/* ===================================================================
   반응형
   =================================================================== */
@media screen and (max-width: 1024px) {
    .sub-intro-body {
        grid-template-columns: 1fr;
        gap: clamp(28px, 5vw, 48px);
    }
    .sub-intro-img { order: -1; }

    .sub-cards { grid-template-columns: repeat(2, 1fr); }

    .sub-bg-shape { width: 9rem; }

    .sub-timeline {
        --tl-side: 100%;
    }

    .sub-timeline-block {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 36px);
        padding-bottom: clamp(48px, 6vw, 72px);
    }

    .sub-timeline-side {
        padding-right: 0;
        position: static;
        top: auto;
    }

    .sub-timeline-period {
        text-align: left;
        font-size: clamp(1.5rem, 6.5vw, 2.25rem);
        margin-bottom: clamp(16px, 3vw, 24px);
    }

    .sub-timeline-figure {
        border-radius: clamp(16px, 4vw, 25px);
        box-shadow: 12px 12px 24px rgba(97, 63, 42, 0.15);
    }

    .sub-timeline-events {
        grid-column: 1;
        --tl-dot-col: 44px;
        gap: clamp(28px, 5vw, 40px);
    }

    .sub-timeline-item {
        column-gap: clamp(12px, 3vw, 20px);
    }

    .sub-timeline-year {
        font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    }

    .sub-timeline-card {
        border-radius: clamp(16px, 4vw, 25px);
        padding: clamp(18px, 4vw, 24px) clamp(18px, 4vw, 28px);
    }

    .sub-timeline-card ul {
        font-size: clamp(0.875rem, 3.2vw, 1rem);
        line-height: 1.85;
    }
}

@media screen and (max-width: 1280px) and (min-width: 769px) {
    .sub-org-chart-inner {
        --org-gap: clamp(6px, 1vw, 14px);
    }

    .sub-org-dept-box {
        font-size: clamp(0.8125rem, 1.1vw, 1.25rem);
        padding-left: clamp(8px, 1vw, 12px);
        padding-right: clamp(8px, 1vw, 12px);
    }
}

/* 2열 — 행별 가로 + 중앙 세로 줄기 */
@media screen and (max-width: 768px) {
    .sub-hero-bg { border-radius: 0 0 24px 24px; }

    .sub-history-title,
    .sub-org-title-main {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    .sub-org-chart-inner {
        --org-cols: 2;
        --org-gap: clamp(10px, 2.5vw, 14px);
        --org-stem-h: clamp(16px, 3vw, 24px);
        --org-trunk-h: clamp(18px, 3.5vw, 28px);
    }

    .sub-org-dept::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 1px;
        height: auto;
        transform: translateX(-50%);
    }

    .sub-org-dept li::before {
        display: block;
    }

    .sub-org-dept li:nth-child(odd):not(:last-child)::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: calc(100% + var(--org-gap));
        height: 1px;
        background: #eee;
        pointer-events: none;
    }

    /* 마지막 1개 부서(7번째) — CEO·줄기와 한 축으로 중앙 정렬 */
    .sub-org-dept li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - var(--org-gap)) / 2);
        max-width: 100%;
    }

    .sub-org-dept li:last-child:nth-child(odd)::after {
        display: none;
    }

    .sub-org-node--ceo span {
        white-space: normal;
        text-align: center;
    }
}

/* 1열 — 세로 트리 */
@media screen and (max-width: 480px) {
    .sub-timeline-events {
        --tl-dot-col: 40px;
    }

    .sub-timeline-item {
        column-gap: clamp(10px, 3vw, 16px);
    }

    .sub-org-chart {
        padding: clamp(28px, 6vw, 40px) clamp(14px, 4vw, 20px);
    }

    .sub-org-chart-inner {
        --org-cols: 1;
        --org-gap: clamp(8px, 2vw, 12px);
        --org-stem-h: clamp(14px, 3vw, 20px);
    }

    .sub-org-dept {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: min(100%, 320px);
        margin: 0 auto;
    }

    .sub-org-dept::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 1px;
        height: 100%;
        transform: translateX(-50%);
    }

    .sub-org-dept li {
        width: 100%;
    }

    .sub-org-dept li::before {
        display: block;
    }

    .sub-org-dept li::after {
        display: none;
    }

    .sub-org-dept li:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
        max-width: none;
    }

    .sub-org-dept-box {
        min-height: 48px;
        font-size: 1rem;
    }

    .sub-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .sub-bg-shape-3 { display: none; }
    .sub-bg-shape-2 {
        left: clamp(12px, 4vw, 40px);
        top: clamp(16px, 4vw, 40px);
        width: 8.5rem;
    }
}


/* ===================================================================
   주요사업 (2-1)
   =================================================================== */
/* 주요사업 히어로 탭(5개) — 넓은 화면 줄바꿈, 1280px 이하 가로 스크롤 */
.sub-tabs--biz {
    --sub-tabs-biz-gap: clamp(8px, 1vw, 14px);
    gap: var(--sub-tabs-biz-gap);
    max-width: 100%;
    min-width: 0;
}

.sub-tabs--biz a {
    flex: 0 1 auto;
    white-space: nowrap;
}

@media screen and (min-width: 1281px) {
    .sub-tabs--biz {
        flex-wrap: wrap;
        overflow: visible;
    }
}

@media screen and (max-width: 1280px) {
    .sub-tabs--biz {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 0 8px;
        padding-bottom: 6px;
    }

    .sub-tabs--biz::-webkit-scrollbar {
        display: none;
    }

    .sub-tabs--biz a {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

@media screen and (max-width: 768px) {
    .sub-hero-title {
        margin-bottom: clamp(18px, 4vw, 28px);
    }

    .sub-tabs--biz {
        --sub-tabs-biz-gap: clamp(6px, 1.5vw, 10px);
    }

    .sub-tabs--biz a {
        height: 44px;
        min-height: 44px;
        padding: 0 clamp(14px, 3.5vw, 18px);
        font-size: clamp(0.875rem, 3.4vw, 1rem);
        gap: 8px;
    }

    .sub-tabs--biz a .dot {
        width: 6px;
        height: 6px;
    }
}

@media screen and (max-width: 480px) {
    .sub-tabs--biz a {
        height: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.875rem;
    }
}

.sub-business {
    position: relative;
    z-index: 2;
}

.sub-business-head {
    text-align: center;
    padding: clamp(48px, 6vw, 100px) 0 clamp(40px, 5vw, 72px);
}

.sub-business-head .sub-tit-dec {
    display: block;
    width: clamp(40px, 2.7vw, 51px);
    height: auto;
    margin: 0 auto clamp(10px, 1vw, 16px);
}

.sub-business-head .sub-label {
    margin-bottom: clamp(14px, 1.5vw, 22px);
}

.sub-business-title {
    color: #333;
    letter-spacing: -0.05em;
    word-break: keep-all;
}

.sub-business-title-main {
    display: block;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.4vw, 4.0625rem);
    line-height: 1.25;
    margin-bottom: clamp(8px, 1vw, 12px);
}

.sub-business-title-sub {
    display: block;
    font-weight: 400;
    font-size: clamp(1rem, 1.3vw, 1.5625rem);
    line-height: 1.5;
    color: #666;
}

.sub-business-body {
    background: #f8f8f8;
    padding: 100px 0;
}

.sub-business-body .sub-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 80px);
}

.sub-biz-block {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 28px);
}

.sub-biz-panel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    box-shadow: 10px 10px 20px rgba(97, 63, 42, 0.1);
    padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 47px) clamp(36px, 4vw, 56px);
}

.sub-biz-panel--lab {
    overflow: visible;
}

.sub-biz-panel-head {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 40px);
    margin-bottom: clamp(28px, 3.5vw, 44px);
}

.sub-biz-panel-head .sub-biz-panel-title {
    flex: 0 0 auto;
    min-width: clamp(120px, 10vw, 190px);
    max-width: 32%;
    padding-left: 0;
    margin: 0;
    align-self: center;
}

.sub-biz-panel-head .sub-biz-panel-title > span {
    display: block;
}

.sub-biz-panel-head .sub-biz-note {
    flex: 1;
    min-width: 0;
}

.sub-biz-panel-title {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    margin: 0;
    padding-left: clamp(4px, 0.5vw, 8px);
    font-weight: 700;
    font-size: clamp(1.375rem, 2.2vw, 2.1875rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #333;
}

.sub-biz-panel-icon {
    flex-shrink: 0;
    width: clamp(20px, 1.6vw, 28px);
    height: auto;
    will-change: transform;
}

.sub-biz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 30px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-biz-grid > li {
    min-width: 0;
}

.sub-biz-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 2px rgba(97, 63, 42, 0.06);
}

.sub-biz-card-img {
    position: relative;
    aspect-ratio: 304 / 264;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.sub-biz-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

/* 사업 페이지(2-1~2-5) — 연혁·조직도와 동일 꽃 장식 */
.is-business-page .sub-bg-shapes {
    height: clamp(24rem, 38vw, 36rem);
}

.is-business-page .sub-biz-card-img img {
    decoding: async;
}

@media (hover: hover) {
    .is-business-page .sub-biz-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .is-business-page .sub-biz-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(97, 63, 42, 0.14);
    }

    .is-business-page .sub-biz-intro-machine {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .is-business-page .sub-biz-intro-machine:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(97, 63, 42, 0.1);
    }

    .sub-biz-card:hover .sub-biz-card-img img {
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sub-biz-card-img img {
        transition: none;
    }

    .sub-biz-card:hover .sub-biz-card-img img {
        transform: none;
    }
}

.sub-biz-card-body {
    flex: 1;
    padding: clamp(16px, 2vw, 28px) clamp(14px, 1.5vw, 24px) clamp(20px, 2.2vw, 28px);
}

.sub-biz-card-body h5 {
    font-weight: 700;
    font-size: clamp(0.9375rem, 1.1vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: -0.05em;
    color: #333;
    word-break: keep-all;
}

/* 2-1 전체공정 그리드 카드 타이틀 ↔ 설명 간격 */
.sub-biz-grid .sub-biz-card-body h5 {
    margin-bottom: 20px;
}

.sub-biz-card-body p {
    font-size: clamp(0.8125rem, 0.95vw, 1rem);
    line-height: 1.45;
    letter-spacing: -0.05em;
    color: #666;
    word-break: keep-all;
}

/* 부설연구소 — 번호+제목 / 이미지 사이 화살표 */
.sub-biz-lab-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 36px);
    overflow: visible;
}

.sub-biz-lab-row {
    --biz-lab-arrow: clamp(48px, 3.5vw, 67px);
    --biz-lab-gap: clamp(18px, 2.2vw, 30px);
    display: flex;
    align-items: center;
    gap: var(--biz-lab-gap);
    overflow: visible;
    position: relative;
}

.sub-biz-card--lab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.sub-biz-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vw, 12px);
    margin: 0;
    font-weight: 700;
    font-size: clamp(0.9375rem, 1.2vw, 1.5625rem);
    line-height: 1.25;
    letter-spacing: -0.05em;
    color: #333;
    word-break: keep-all;
}

.sub-biz-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(28px, 2.2vw, 34px);
    height: clamp(28px, 2.2vw, 34px);
    border: 1.5px solid var(--main-color, #ff7a2f);
    border-radius: 50%;
    background: #fff;
    font-weight: 700;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    line-height: 1;
    color: var(--main-color, #ff7a2f);
    letter-spacing: -0.05em;
}

.sub-biz-card--lab .sub-biz-card-body {
    display: flex;
    justify-content: left;
    padding-top: clamp(14px, 1.5vw, 20px);
    padding-bottom: clamp(18px, 2vw, 24px);
}

.sub-biz-flow {
    flex: 0 0 var(--biz-lab-arrow);
    width: var(--biz-lab-arrow);
    height: var(--biz-lab-arrow);
    min-width: var(--biz-lab-arrow);
    margin-left: calc(var(--biz-lab-arrow) / -2 - var(--biz-lab-gap) / 2);
    margin-right: calc(var(--biz-lab-arrow) / -2 - var(--biz-lab-gap) / 2);
    border-radius: 50%;
    background: #ff8545;
    box-shadow: 0 4px 4px rgba(97, 63, 42, 0.15);
    position: relative;
    z-index: 5;
    pointer-events: none;
    flex-shrink: 0;
}

.sub-biz-flow::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(8px, 0.7vw, 11px);
    height: clamp(8px, 0.7vw, 11px);
    margin: -5px 0 0 -7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

@media screen and (min-width: 1281px) {
    .sub-biz-lab-row > .sub-biz-flow:nth-child(2),
    .sub-biz-lab-row > .sub-biz-flow:nth-child(4),
    .sub-biz-lab-row > .sub-biz-flow:nth-child(6) {
        display: block;
    }
}

@media screen and (max-width: 1280px) {
    .sub-biz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sub-biz-card--lab {
        flex: none;
    }

    /* 공정 카드 — 행 단위 2+1 대신 전체를 2열 순서 배치 */
    .sub-biz-lab-rows {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(14px, 2.5vw, 20px);
    }

    .sub-biz-lab-rows > .sub-biz-lab-row {
        display: contents;
    }

    .sub-biz-lab-row > .sub-biz-flow {
        display: none;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .sub-biz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sub-biz-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(16px, 2vw, 24px);
    }

    .sub-biz-panel-head .sub-biz-panel-title {
        max-width: none;
    }
}

@media screen and (max-width: 768px) {
    .sub-business-title-main {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    .sub-business-body .sub-inner {
        gap: clamp(36px, 8vw, 56px);
    }

    .sub-biz-block {
        gap: clamp(12px, 2.5vw, 20px);
    }

    .sub-biz-panel {
        padding: clamp(24px, 5vw, 32px) clamp(16px, 4vw, 20px) clamp(28px, 5vw, 36px);
    }

    .sub-biz-panel-title {
        font-size: clamp(1.25rem, 4.5vw, 1.5rem);
        padding-left: 0;
    }

    .sub-biz-panel-head .sub-biz-note {
        width: 100%;
    }

    .sub-biz-note li {
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    .sub-biz-grid {
        gap: clamp(10px, 2.8vw, 14px);
    }

    .sub-biz-lab-rows {
        gap: clamp(10px, 2.8vw, 14px);
    }

    .sub-biz-card-body {
        padding: clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 14px) clamp(14px, 3vw, 18px);
    }

    .sub-biz-card-body h5,
    .sub-biz-card-label {
        font-size: clamp(0.8125rem, 3.2vw, 0.9375rem);
    }

    .sub-biz-card-body p {
        font-size: clamp(0.75rem, 2.8vw, 0.8125rem);
    }

    .sub-biz-num {
        width: clamp(24px, 6vw, 28px);
        height: clamp(24px, 6vw, 28px);
        font-size: 0.8125rem;
    }
}

/* ===== 사업 상세 (실크정련·사염색·포염색·가공) ===== */
.sub-business--detail .sub-business-head {
    display: none;
}

.sub-business--detail .sub-biz-detail-head {
    background: #fff;
}

.sub-business--detail .sub-biz-detail-intro {
    background: #fff;
    padding-bottom: clamp(48px, 6vw, 80px);
}

.sub-business--detail .sub-biz-detail-intro .sub-inner {
    padding-bottom: 0;
}

.sub-business--detail .sub-business-body {
    background: #f8f8f8;
    padding: clamp(80px, 8vw, 100px) 0;
}

.sub-biz-detail-head {
    text-align: center;
    padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
}

.sub-biz-detail-head .sub-tit-dec {
    display: block;
    width: clamp(40px, 2.7vw, 51px);
    height: auto;
    margin: 0 auto clamp(10px, 1vw, 16px);
}

.sub-biz-detail-head .sub-label {
    margin-bottom: clamp(12px, 1.2vw, 18px);
    text-transform: capitalize;
}

.sub-biz-detail-title {
    margin: 0 0 clamp(16px, 2vw, 24px);
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 4.0625rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #333;
    word-break: keep-all;
}

.sub-biz-detail-desc {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.5625rem);
    line-height: 1.4;
    letter-spacing: -0.05em;
    color: #666;
    word-break: keep-all;
}

.sub-biz-intro {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    box-shadow: 10px 10px 20px rgba(97, 63, 42, 0.1);
    padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 47px) clamp(32px, 3.5vw, 48px);
}

.sub-biz-intro-machines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 36px);
    margin-bottom: clamp(20px, 2.5vw, 32px);
}

.sub-biz-intro-machine {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    overflow: hidden;
}

.sub-biz-intro-machine-img {
    aspect-ratio: 635 / 348;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.sub-biz-intro-machine-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-biz-intro-machine h5 {
    margin: 0;
    padding: clamp(16px, 2vw, 24px);
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.5625rem);
    line-height: 1.25;
    letter-spacing: -0.05em;
    color: #333;
    text-align: center;
}

.sub-biz-note {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 14px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-biz-detail-intro .sub-biz-intro .sub-biz-note {
    margin-top: 0;
}

.sub-biz-note li {
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 1vw, 14px);
    padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 28px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    font-weight: 500;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    line-height: 1.65;
    letter-spacing: -0.05em;
    color: #333;
    word-break: keep-all;
}

.sub-biz-note li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 0.55em;
    border-radius: 50%;
    background: #333;
}

.sub-business--detail .sub-biz-block .sub-biz-panel-head {
    background: transparent;
}

.sub-business--detail .sub-biz-block .sub-biz-panel--lab {
    margin-top: 0;
}

.sub-biz-panel-title small {
    display: block;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.05em;
    color: #666;
    margin-top: 0.15em;
}

.sub-biz-lab-row > .sub-biz-flow,
.sub-biz-process-row > .sub-biz-flow {
    display: none;
}

.sub-biz-process-row {
    --biz-lab-card-cols: 3;
    --biz-lab-flow-count: 2;
    --biz-lab-gap-count: 4;
}

@media screen and (min-width: 1281px) {
    .sub-biz-lab-row > .sub-biz-flow:nth-child(2),
    .sub-biz-lab-row > .sub-biz-flow:nth-child(4),
    .sub-biz-lab-row > .sub-biz-flow:nth-child(6),
    .sub-biz-process-row > .sub-biz-flow:nth-child(2),
    .sub-biz-process-row > .sub-biz-flow:nth-child(4) {
        display: block;
    }
}

@media screen and (max-width: 1280px) {
    .sub-biz-intro-machines {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .sub-biz-detail-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .sub-biz-detail-desc {
        font-size: 0.9375rem;
    }
}


/* ===================================================================
   제품 (3-1) — 메인 sec_5 패턴 기반
   =================================================================== */
.sub-product {
    position: relative;
    z-index: 2;
    background: #fff;
    padding-bottom: clamp(80px, 10vw, 140px);
}

.sub-product-head {
    text-align: center;
    padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
}

.sub-product-head .sub-tit-dec {
    display: block;
    width: clamp(40px, 2.7vw, 51px);
    height: auto;
    margin: 0 auto clamp(10px, 1vw, 16px);
}

.sub-product-head .sub-label {
    margin-bottom: clamp(12px, 1.2vw, 18px);
    text-transform: capitalize;
}

.sub-product-title {
    margin: 0;
    color: #333;
    font-weight: 700;
    font-size: clamp(2.25rem, 4.5vw, 4.0625rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    word-break: keep-all;
}

.sub-product-body .sub-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
}

/* SORIE 브랜드 소개 */
.sub-product-brand {
    position: relative;
    overflow: hidden;
    border-radius: clamp(16px, 1.8vw, 26px);
    min-height: clamp(280px, 32vw, 496px);
}

.sub-product-brand-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.sub-product-brand-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.5vw, 30px);
    min-height: inherit;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px);
    text-align: center;
}

.sub-product-brand-logo {
    width: clamp(200px, 22vw, 352px);
    height: auto;
    object-fit: contain;
}

.sub-product-brand-desc {
    margin: 0;
    max-width: 44rem;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.03em;
    color: #333;
    word-break: keep-all;
}

.sub-product-brand-desc span {
    display: block;
}

.sub-product-brand-desc em {
    font-style: normal;
    font-weight: 600;
    color: var(--main-color);
}

/* 제품 그리드 (메인 sec_5-products) */
.sub-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    border-radius: clamp(14px, 1.4vw, 20px);
    overflow: hidden;
}

.sub-product-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
}

.sub-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sub-product-card:hover img {
    transform: scale(1.06);
}

.sub-product-card-info {
    position: absolute;
    inset: 0;
    padding: clamp(14px, 1.6vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sub-product-card:hover .sub-product-card-info {
    opacity: 1;
}

.sub-product-card-info p,
.sub-product-card-arrow {
    transform: translateY(0.625rem);
    transition: transform 0.35s ease;
}

.sub-product-card:hover .sub-product-card-info p,
.sub-product-card:hover .sub-product-card-arrow {
    transform: translateY(0);
}

.sub-product-card-info p {
    margin: 0;
    font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    word-break: keep-all;
}

.sub-product-card-arrow {
    align-self: flex-end;
    width: clamp(2rem, 2.6vw, 2.5rem);
    height: clamp(2rem, 2.6vw, 2.5rem);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    transition: background 0.45s ease, transform 0.35s ease;
}

.sub-product-card-arrow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left center;
}

.sub-product-card-arrow svg {
    position: relative;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sub-product-card:hover .sub-product-card-arrow {
    background: rgba(255, 255, 255, 0.1);
}

.sub-product-card:hover .sub-product-card-arrow svg {
    transform: translateX(1.5rem);
}

.sub-product-card:hover .sub-product-card-arrow::before {
    width: 1.9rem;
}

@media screen and (max-width: 1024px) {
    .sub-product-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: unset;
    }
}

@media screen and (max-width: 768px) {
    .sub-product-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .sub-product-brand {
        min-height: clamp(240px, 50vw, 360px);
    }

    .sub-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .sub-product-brand-desc {
        font-size: 0.9375rem;
    }

    .sub-product-brand-logo {
        width: min(65vw, 120px);
    }
}


/* ===================================================================
   공지사항 게시판 (4-1 리스트 / 4-2 상세)
   =================================================================== */
.sub-notice,
.brd-view-wrap {
    position: relative;
    z-index: 9;
    padding: clamp(56px, 7vw, 110px) 0 clamp(80px, 10vw, 140px);
}

/* ── 툴바 (총건수 좌 + 검색 우) ── */
.brd-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(20px, 2.5vw, 32px);
}

.brd-total {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: #888;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brd-total strong {
    color: var(--main-color);
    font-weight: 700;
}

/* ── 검색 pill (툴바 내) ── */
.brd-search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f2f2f2;
    border-radius: 50px;
    padding: 0 clamp(14px, 1.5vw, 20px);
    height: clamp(40px, 3vw, 48px);
    transition: box-shadow 0.2s;
}

.brd-search-pill:focus-within {
    box-shadow: 0 0 0 2px var(--main-color);
}

.brd-search-pill input {
    border: none;
    background: transparent;
    font-size: clamp(0.875rem, 1vw, 0.9375rem);
    color: #333;
    width: clamp(140px, 18vw, 260px);
    outline: none;
    font-family: inherit;
    letter-spacing: -0.02em;
}

.brd-search-pill input::placeholder { color: #aaa; }

.brd-search-pill button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.brd-search-pill button:hover { color: var(--main-color); }

/* ── 카드 리스트 ── */
.brd-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 12px);
}

.brd-item {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 16px);
    background: #f5f5f5;
    border-radius: clamp(8px, 0.8vw, 12px);
    padding: clamp(18px, 1.8vw, 24px) clamp(24px, 2.4vw, 36px);
    transition: background 0.2s;
    cursor: pointer;
}

.brd-item:hover { background: #ffeee5; }
.brd-item:hover .brd-item-title { color: var(--main-color); }

/* 공지 고정글 — 왼쪽 얇은 선 강조 */
.brd-item--notice {
    padding-left: calc(clamp(24px, 2.4vw, 36px) - 3px);
}

.brd-item-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 4px;
    background: var(--main-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0;
}

.brd-item-title {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    color: #222;
    letter-spacing: -0.03em;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.brd-item-date {
    flex-shrink: 0;
    font-size: clamp(0.8125rem, 0.9vw, 0.9375rem);
    color: #999;
    white-space: nowrap;
    letter-spacing: 0;
}

/* ── 페이지네이션 ── */
.brd-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: clamp(28px, 3.5vw, 44px);
}

.brd-pager a,
.brd-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: clamp(0.875rem, 1vw, 0.9375rem);
    color: #555;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.brd-pager a:hover { border-color: var(--main-color); color: var(--main-color); }

.brd-pager span.is-active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    font-weight: 700;
}

.brd-pager .brd-pg-arrow { color: #aaa; font-size: 16px; }
.brd-pager .brd-pg-arrow:hover { color: var(--main-color); }

/* ── 게시글 상세 ── */
.brd-view-head {
    border-top: 2px solid #333;
    padding: clamp(22px, 2.8vw, 36px) clamp(10px, 1.5vw, 16px) clamp(18px, 2.2vw, 28px);
    border-bottom: 1px solid #ddd;
}

.brd-view-category {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--main-color);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: clamp(10px, 1.2vw, 14px);
}

.brd-view-title {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 700;
    color: #222;
    line-height: 1.45;
    letter-spacing: -0.03em;
    margin-bottom: clamp(12px, 1.5vw, 18px);
    word-break: keep-all;
}

.brd-view-meta {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    font-size: clamp(0.8125rem, 0.9vw, 0.9375rem);
    color: #999;
    letter-spacing: -0.02em;
}

.brd-view-meta span { display: flex; align-items: center; gap: 5px; }
.brd-view-meta b { color: #666; font-weight: 600; }

.brd-view-body {
    padding: clamp(32px, 4vw, 56px) clamp(10px, 1.5vw, 16px);
    border-bottom: 1px solid #ddd;
    color: #444;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 1.9;
    letter-spacing: -0.02em;
    min-height: 220px;
    word-break: keep-all;
}

.brd-view-body p + p { margin-top: 1.1em; }
.brd-view-body strong { font-weight: 700; color: #222; }

.brd-view-body .brd-view-section {
    margin: clamp(20px, 2.5vw, 30px) 0 clamp(10px, 1.2vw, 14px);
    font-weight: 700;
    color: #333;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    border-left: 3px solid var(--main-color);
    padding-left: 12px;
}

.brd-view-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(16px, 2vw, 24px);
}

.brd-view-body ul li {
    position: relative;
    padding-left: 1.2em;
    color: #555;
    margin-bottom: 0.4em;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
}

.brd-view-body ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: 700;
}

/* 이전글/다음글 */
.brd-view-nav {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-top: clamp(28px, 3.5vw, 48px);
}

.brd-view-nav-row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 20px);
    padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 28px);
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.brd-view-nav-row:last-child { border-bottom: none; }
.brd-view-nav-row.is-link:hover { background: #fff9f6; }
.brd-view-nav-row.is-link:hover .brd-view-nav-title { color: var(--main-color); }

.brd-view-nav-label {
    flex-shrink: 0;
    width: 48px;
    font-size: clamp(0.8125rem, 0.9vw, 0.9375rem);
    font-weight: 700;
    color: #888;
    letter-spacing: -0.02em;
}

.brd-view-nav-title {
    flex: 1;
    min-width: 0;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
    transition: color 0.15s;
}

.brd-view-nav-title.is-none { color: #bbb; }

.brd-view-nav-date {
    flex-shrink: 0;
    font-size: clamp(0.8125rem, 0.9vw, 0.9375rem);
    color: #bbb;
}

/* 목록 버튼 */
.brd-view-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(24px, 3vw, 36px);
}

.brd-btn-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 clamp(28px, 3vw, 42px);
    background: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: background 0.2s;
}

.brd-btn-list:hover { background: var(--main-color); }

/* ── 공지사항 반응형 ── */
@media screen and (max-width: 768px) {
    .brd-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
    .brd-search-pill { width: 100%; }
    .brd-search-pill input { flex: 1; width: auto; }
    .brd-item-title { white-space: normal; }
    .brd-view-nav-date { display: none; }
}

@media screen and (max-width: 480px) {
    .brd-item { padding: clamp(14px, 3.5vw, 18px) clamp(16px, 4vw, 22px); }
    .brd-item--notice { padding-left: calc(clamp(16px, 4vw, 22px) - 3px); }
    .brd-pager a,
    .brd-pager span { min-width: 32px; height: 32px; font-size: 0.8125rem; }
    .brd-view-meta { flex-wrap: wrap; gap: 8px; }
    .brd-view-nav-row { padding: clamp(12px, 3vw, 16px) clamp(12px, 4vw, 16px); }
}