/* 회사소개 페이지 스타일 */
.company-about-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.company-about-title {
    text-align: center;
    margin-bottom: 60px;
}

.company-about-title h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 100px 0 0 0;
}

.company-about-title p {
    font-size: 16px;
    color: #666;
}

/* 핵심가치 영역 */
.company-about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.company-about-value-item {
    text-align: center;
}

.company-about-value-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.company-about-value-circle.black {
    background: #000;
}

.company-about-value-circle.white {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

.company-about-value-circle.gray {
    background: #f5f5f5;
    color: #000;
}

.company-about-value-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-about-value-desc {
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

/* 프로세스 영역 */
.company-about-process {
    width: 100%;
    background: #f6f6f6;
    /* padding: 100px 0; */
}

.company-about-process-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-about-process-grid {
    display: flex;
    flex-wrap: wrap;
}

.company-about-process-item {
    display: inline-flex;
    align-items: flex-start;
    width: calc(50% - 40px);
    height: 184px;
    margin: 0 40px 40px 0;
    padding: 40px;
    background: #fff;
}

.company-about-process-icon {
    width: 60px;
    height: 60px;
    margin-right: 30px;
    flex-shrink: 0;
}

.company-about-process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-about-process-text {
    text-align: left;
}

.company-about-process-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-about-process-text ul {
    list-style: none;
}

.company-about-process-text li {
    position: relative;
    padding-left: 10px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 15px;
}

.company-about-process-text li:before {
    content: '-';
    position: absolute;
    left: 0;
}

/* 섹션 콘텐츠 영역 */
.company-about-section {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.company-about-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
}

.company-about-section.reverse .company-about-section-inner {
    flex-direction: row-reverse;
}

.company-about-section-text {
    flex: 1;
}

.company-about-section-text h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.company-about-section-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    word-break: keep-all;
}

.company-about-more-btn {
    display: inline-flex;
    align-items: center;
    color: #111;
    text-decoration: none;
    font-size: 15px;
}

.company-about-more-btn span {
    margin-left: 10px;
    transition: transform 0.3s;
}

.company-about-more-btn:hover span {
    transform: translateX(5px);
}

.company-about-section img {
    width: 50%;
    height: auto;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .company-about-section-inner {
        gap: 50px;
    }
}

@media (max-width: 991px) {
    .company-about-value-grid {
        gap: 30px;
    }

    .company-about-value-circle {
        width: 160px;
        height: 160px;
        font-size: 20px;
    }

    .company-about-process-item {
        width: calc(50% - 20px);
        margin: 0 20px 20px 0;
        padding: 30px;
    }
    
    .company-about-section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .company-about-content {
        margin: 60px auto;
    }

    .company-about-title h2 {
        font-size: 32px;
    }

    .company-about-value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .company-about-process-item {
        width: 100%;
        margin: 0 0 20px 0;
        height: auto;
    }

    .company-about-section-inner {
        flex-direction: column !important;
        gap: 40px;
    }

    .company-about-section img {
        width: 100%;
    }

    .company-about-section-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .company-about-content {
        margin: 40px auto;
        padding: 0 15px;
    }

    .company-about-title {
        margin-bottom: 40px;
    }

    .company-about-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .company-about-title p {
        font-size: 14px;
        word-break: keep-all;
    }

    .company-about-value-circle {
        width: 140px;
        height: 140px;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .company-about-value-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .company-about-process {
        padding: 50px 0;
    }

    .company-about-process-item {
        padding: 20px;
    }

    .company-about-process-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .company-about-process-text h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .company-about-process-text li {
        font-size: 13px;
    }

    .company-about-section {
        padding: 50px 0;
    }

    .company-about-section-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .company-about-section-text p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .company-about-more-btn {
        font-size: 14px;
    }
}

/* 연혁 페이지 스타일 */
.company-history-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.company-history-title {
    text-align: center;
    margin-bottom: 100px;
}

.company-history-title h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-history-title p {
    font-size: 16px;
    color: #666;
    word-break: keep-all;
}

.company-history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-history-timeline-section {
    position: relative;
}

.company-history-timeline-section::after { /*회색선*/
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ddd;
}

.company-history-year-wrap {
    position: relative;
    margin-bottom: 100px;
    padding-left: 25px;
}

.company-history-year-wrap::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    z-index: 1;
}

.company-history-year-wrap::after {
    content: '';
    position: absolute;
    left: -1px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #000;
}

.company-history-year{
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 50px;
    position: absolute;
    left: -125px;
    top: -5px;
}

.company-history-list {
    width: 100%;
    max-width: 600px;
}

.company-history-item {
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
}

.company-history-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company-history-desc {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}



/*****추가 ****/
.contact-write-content {
    text-align: center;
    padding: 100px 0 50px 0;
}




/** 공지사항 추가 */
.board-view-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.board-view-title {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 100px;
    font-size: 35px;
}
.board-view-header { /*회사소개*/
    padding: 15px 20px;
    text-align: left;
    border-top: 2px solid #333;
    background: #f8f8f8;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    color: #666;
}
.board-view-header .board-view-subject { /* 제목 */
    font-size: 20px;
    color: #1d1d1d;
    margin: 0 0 15px 0;
}
.board-view-body { /*내용 */
    text-align: left;
    padding: 30px 0 300px 20px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    color: #1d1d1d;
}
.board-view-buttons { /*목록*/
    text-align: right;

    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}







/* 반응형 스타일 */
@media (max-width: 1200px) {
    .company-history-content {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .company-history-title {
        margin-bottom: 60px;
    }

    .company-history-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .company-history-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .company-history-title h2 {
        font-size: 32px;
    }

    .company-history-title p {
        font-size: 14px;
        padding: 0 20px;
    }

    .company-history-timeline {
        padding: 0;
    }

    .company-history-year {
        font-size: 24px;
        left: -2px;
        top: -10%;
    }
    .company-history-year {
        display: none;
    }
    .company-history-timeline-section::after {
        display: none;
    }
    .company-history-year-wrap::before,
    .company-history-year-wrap::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .company-history-content {
        margin: 40px auto;
    }

    .company-history-title {
        margin-bottom: 40px;
    }

    .company-history-title h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .company-history-year-wrap {
        padding-left: 40px;
        margin-bottom: 60px;
        margin-top: 25%;
    }

    .company-history-timeline-section::after {
        left: 20px;
    }

    .company-history-year-wrap::before {
        left: 17px;
    }

    .company-history-year-wrap::after {
        left: 15px;
    }

    .company-history-item {
        margin-bottom: 20px;
    }

    .company-history-date {
        font-size: 13px;
    }

    .company-history-desc {
        font-size: 13px;
    }
    /**/
    .company-history-year {
        display: none;
    }
    .company-history-timeline-section::after {
        display: none;
    }
    .company-history-year-wrap::before,
    .company-history-year-wrap::after {
        display: none;
    }


    /**/
    .contact-write-content {
    text-align: center;
    padding: 100px 0 50px 0;
}




/** 공지사항 추가 */
.board-view-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.board-view-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
    font-size: 20px;
}
.board-view-header { /* 제목 전체*/
    padding: 15px 20px;
    text-align: left;
    border-top: 2px solid #333;

}
.board-view-header .board-view-subject { /* 제목 */
    font-size: 20px;
    color: #1d1d1d;
    margin: 0 0 15px 0;
}
.board-view-body { /*내용 */
    padding: 30px 0 150px 20px;
    font-size: 14px;

}
.board-view-buttons { /*목록*/
    padding: 20px 20px;
    text-align: left;
}
}

/* 최소 화면 크기 대응 */
@media (max-width: 359px) {
    .company-history-title h2 {
        font-size: 24px;
    }

    .company-history-year {
        font-size: 20px;
    }

    .company-history-year-wrap {
        padding-left: 35px;
    }

    .company-history-date {
        font-size: 12px;
    }

    .company-history-desc {
        font-size: 12px;
    }
    .company-history-year {
        display: none;
    }
    .company-history-timeline-section::after {
        display: none;
    }
    .company-history-year-wrap::before,
    .company-history-year-wrap::after {
        display: none;
    }

    /******/
    /** 공지사항 추가 */
.board-view-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.board-view-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
    font-size: 20px;
}
.board-view-header { /* 제목 전체*/
    padding: 15px 20px;
    text-align: left;
    border-top: 2px solid #333;

}
.board-view-header .board-view-subject { /* 제목 */
    font-size: 20px;
    color: #1d1d1d;
    margin: 0 0 15px 0;
}
.board-view-body { /*내용 */
    padding: 30px 0 150px 20px;
    font-size: 14px;

}
.board-view-buttons { /*목록*/
    padding: 20px 20px;
    text-align: left;
}
}

/* CEO 인사말 페이지 스타일 */
.company-ceo-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.company-ceo-title {
    text-align: center;
    margin-bottom: 60px;
}

.company-ceo-title h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-ceo-title p {
    font-size: 16px;
    color: #666;
}

.company-ceo-wrap {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.company-ceo-image {
    flex: 1;
    position: relative;
}

.company-ceo-image img {
    width: 100%;
    height: auto;
}

.company-ceo-text {
    flex: 1;
}

.company-ceo-text-title {
    margin-bottom: 50px;
}

.company-ceo-text-title h2 {
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-ceo-greeting {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    word-break: keep-all;
}

.company-ceo-greeting strong {
    color: #333;
}

.company-ceo-signature {
    margin-top: 30px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.company-ceo-signature p {
    font-size: 13px;
    margin-bottom: 10px;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .company-ceo-wrap {
        gap: 40px;
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .company-ceo-wrap {
        gap: 30px;
    }

    .company-ceo-text-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .company-ceo-wrap {
        flex-direction: column;
        padding: 0 20px;
        margin: 40px auto;
    }

    .company-ceo-text {
        flex: none;
        width: 100%;
    }

    .company-ceo-text-title {
        margin-bottom: 30px;
        text-align: center;
    }

    .company-ceo-greeting {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .company-ceo-content {
        margin: 50px auto;
    }
    .company-ceo-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .company-ceo-wrap {
        padding: 0 15px;
    }

    .company-ceo-text-title h2 {
        font-size: 24px;
    }

    .company-ceo-greeting {
        font-size: 13px;
        line-height: 1.6;
    }

    .company-ceo-signature {
        margin-top: 20px;
    }

    .company-ceo-signature p {
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .company-ceo-text-title h2 {
        font-size: 22px;
    }

    .company-ceo-greeting {
        font-size: 12px;
    }
}

/* 인증서 페이지 스타일 */
.company-certification-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.company-certification-title {
    text-align: center;
    margin-bottom: 60px;
}

.company-certification-title h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-certification-title p {
    font-size: 16px;
    color: #666;
}

.company-certification-slider {
    width: 100%;
    padding: 50px 0;
}

.company-certification-item {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
}

.company-certification-image {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
}

.company-certification-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-certification-item-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-certification-item-org {
    font-size: 14px;
    color: #666;
}

.company-certification-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.company-certification-nav-button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.company-certification-nav-button.prev::before {
    content: '<';
    font-size: 24px;
    color: #000;
}

.company-certification-nav-button.next::before {
    content: '>';
    font-size: 24px;
    color: #000;
}

.company-certification-page-info {
    font-size: 16px;
    color: #666;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .company-certification-content {
        padding: 0 40px;
    }

    .company-certification-slider {
        padding: 30px 0;
    }
}

@media (max-width: 991px) {
    .company-certification-item {
        width: 250px;
    }

    .company-certification-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .company-certification-content {
        padding: 0 20px;
        margin: 50px auto;
    }

    .company-certification-title {
        margin-bottom: 0;
    }

    .company-certification-title h2 {
        font-size: 32px;
    }

    .company-certification-title p {
        font-size: 14px;
        padding: 0 20px;
    }

    .company-certification-item {
        width: 100%;
        margin: 0 0 30px 0;
    }

    .company-certification-image {
        height: auto;
        max-height: 300px;
    }

    .company-certification-image img {
        width: 80%;
        margin: 0 auto;
    }

    .company-certification-item-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .company-certification-item-org {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .company-certification-content {
        padding: 0 15px;
    }

    .company-certification-title h2 {
        font-size: 28px;
    }

    .company-certification-image img {
        width: 90%;
    }

    .company-certification-item-title {
        font-size: 15px;
    }

    .company-certification-item-org {
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .company-certification-title h2 {
        font-size: 24px;
    }

    .company-certification-image img {
        width: 100%;
    }

    .company-certification-item-title {
        font-size: 14px;
    }
}

/* Swiper 모바일 스타일 */
@media (max-width: 768px) {
    .swiper {
        padding: 0;
    }

    .swiper-wrapper {
        display: flex;
        flex-direction: column;
        transform: none !important;
    }

    .swiper-slide {
        opacity: 1 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
}

/* 사업분야 페이지 스타일 */
.works-business-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.works-business-title {
    text-align: center;
    margin-bottom: 80px;
}

.works-business-title h2 {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.works-business-title p {
    font-size: 18px;
    color: #666;
}

.works-business-slider {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
}

.works-business-slider .swiper {
    width: 100%;
    height: auto;
}

.works-business-slider .swiper-slide {
    width: 100%;
    height: auto;
}

.works-business-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.works-business-info {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.works-business-info h3 {
    font-size: 36px;
    margin-bottom: 30px;
}

.works-business-category {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
    word-break: keep-all;
    line-height: 1.6;
}

.works-business-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    word-break: keep-all;
    margin-bottom: 50px;
}

.works-business-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.works-business-nav-button {
    font-size: 24px;
    color: #111;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.works-business-nav-button:hover {
    opacity: 0.7;
}

.works-business-page-info {
    font-size: 16px;
    color: #666;
}

/* 모바일 스타일 */
@media (max-width: 768px) {
    .works-business-slider {
        margin-bottom: 0;
    }

    .works-business-slider .swiper {
        height: auto;
    }

    .works-business-slider .swiper-wrapper {
        display: block !important;  /* 블록으로 변경 */
    }

    .works-business-slider .swiper-slide {
        width: 100% !important;
        margin-bottom: 40px;  /* 각 항목 사이 간격 */
        opacity: 1 !important;
    }

    .works-business-info {
        margin: 20px 0 60px;  /* 이미지와 텍스트 사이 간격 조정 */
        text-align: left;  /* 텍스트 왼쪽 정렬 */
        padding: 0 20px;
    }

    .works-business-info h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .works-business-category {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .works-business-desc {
        font-size: 13px;
        margin-bottom: 0;
    }

    /* 네비게이션 숨기기 */
    .works-business-navigation {
        display: none;
    }
}

@media (max-width: 480px) {
    .works-business-slider .swiper-slide {
        margin-bottom: 30px;
    }

    .works-business-info {
        margin: 15px 0 50px;
        padding: 0 15px;
    }

    .works-business-info h3 {
        font-size: 22px;
    }
}

/* 반응형 스타일 */
@media (max-width: 991px) {
    .works-business-title h2 {
        font-size: 42px;
    }

    .works-business-info h3 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .works-business-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .works-business-title {
        margin-bottom: 40px;
    }

    .works-business-title h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .works-business-title p {
        font-size: 15px;
        padding: 0 20px;
    }

    .works-business-slider {
        margin-bottom: 30px;
    }

    .works-business-slider .swiper-slide img {
        height: 300px;
    }

    .works-business-info {
        padding: 0 15px;
    }

    .works-business-info h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .works-business-category {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .works-business-desc {
        font-size: 14px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .works-business-title h2 {
        font-size: 28px;
    }

    .works-business-title p {
        font-size: 14px;
    }

    .works-business-slider .swiper-slide img {
        height: 250px;
    }

    .works-business-info h3 {
        font-size: 24px;
    }

    .works-business-category,
    .works-business-desc {
        font-size: 13px;
    }

    .works-business-navigation {
        gap: 15px;
    }

    .works-business-nav-button {
        font-size: 20px;
    }

    .works-business-page-info {
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .works-business-title h2 {
        font-size: 24px;
    }

    .works-business-slider .swiper-slide img {
        height: 200px;
    }

    .works-business-info h3 {
        font-size: 22px;
    }

    .works-business-category,
    .works-business-desc {
        font-size: 12px;
    }

    .works-business-nav-button {
        font-size: 18px;
    }

    .works-business-page-info {
        font-size: 13px;
    }
}

/* OEM/ODM 페이지 스타일 */
.works-oem-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.works-oem-title {
    text-align: center;
    margin-bottom: 80px;
}

.works-oem-title h2 {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.works-oem-title p {
    font-size: 18px;
    color: #666;
    word-break: keep-all;
    line-height: 1.6;
}

.works-oem-section {
    margin-bottom: 100px;
}

.works-oem-section h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.works-oem-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
    word-break: keep-all;
}

.works-oem-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.works-oem-process-item {
    text-align: center;
    padding: 30px 20px;
}

.works-oem-process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.works-oem-process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.works-oem-process-num {
    width: 24px;
    height: 24px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin: 0 auto 10px;
}

.works-oem-process-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.works-oem-process-text {
    font-size: 14px;
    color: #666;
    word-break: keep-all;
    line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .works-oem-content {
        padding: 0 40px;
    }

    .works-oem-process-grid {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .works-oem-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-oem-title h2 {
        font-size: 36px;
    }

    .works-oem-title p {
        font-size: 16px;
        padding: 0 20px;
    }

    .works-oem-section h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .works-oem-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .works-oem-title {
        margin-bottom: 50px;
    }

    .works-oem-title h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .works-oem-section {
        margin-bottom: 60px;
    }

    .works-oem-desc {
        font-size: 14px;
        text-align: center;
    }

    .works-oem-desc br {
        display: none;
    }

    .works-oem-process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .works-oem-process-item {
        padding: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .works-oem-process-icon {
        width: 50px;
        height: 50px;
    }

    .works-oem-process-title {
        font-size: 16px;
    }

    .works-oem-process-text {
        font-size: 13px;
    }
    /*연혁 아이콘 지우기*/
    .company-history-timeline-section::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .works-oem-title h2 {
        font-size: 28px;
    }

    .works-oem-title p {
        font-size: 14px;
    }

    .works-oem-section h3 {
        font-size: 24px;
        text-align: center;
    }

    .works-oem-desc {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .works-oem-process-item {
        padding: 15px;
    }

    .works-oem-process-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }

    .works-oem-process-num {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .works-oem-process-title {
        font-size: 15px;
    }

    .works-oem-process-text {
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .works-oem-title h2 {
        font-size: 24px;
    }

    .works-oem-title p {
        font-size: 13px;
    }

    .works-oem-section h3 {
        font-size: 20px;
    }

    .works-oem-desc {
        font-size: 12px;
    }

    .works-oem-process-item {
        padding: 10px;
    }

    .works-oem-process-icon {
        width: 35px;
        height: 35px;
    }

    .works-oem-process-title {
        font-size: 14px;
    }
}

/* 포트폴리오 페이지 스타일 */
.portfolio-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.portfolio-title {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-title h2 {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.portfolio-sort {
    color: #666;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.portfolio-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.portfolio-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.portfolio-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.portfolio-desc p {
    margin-bottom: 5px;
}

.portfolio-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.portfolio-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-pagination a:hover,
.portfolio-pagination a.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .portfolio-content {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .portfolio-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .portfolio-title {
        margin-bottom: 30px;
    }

    .portfolio-title h2 {
        font-size: 32px;
    }

    .portfolio-info {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        padding: 15px;
    }

    .portfolio-item h3 {
        font-size: 18px;
    }

    .portfolio-subtitle {
        font-size: 14px;
    }

    .portfolio-desc {
        font-size: 13px;
    }

    .portfolio-pagination {
        margin-top: 30px;
    }

    .portfolio-pagination a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .portfolio-title h2 {
        font-size: 28px;
    }

    .portfolio-info {
        font-size: 13px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .portfolio-item {
        padding: 10px;
    }

    .portfolio-item h3 {
        font-size: 16px;
    }

    .portfolio-subtitle {
        font-size: 13px;
    }

    .portfolio-desc {
        font-size: 12px;
    }

    .portfolio-pagination a {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

/* 문의하기 페이지 스타일 */
.contact-inquiry-content {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
}

.contact-inquiry-path {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin: 30px 0 60px;
}

.contact-inquiry-path span {
    margin: 0 5px;
}

.contact-inquiry-path a {
    color: #666;
    text-decoration: none;
}

.contact-inquiry-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 80px;
}

.contact-inquiry-write-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    float: right;
}

.contact-inquiry-table {
    width: 100%;
    border-top: 1px solid #000;
}

.contact-inquiry-table th,
.contact-inquiry-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    font-weight: normal;
    color: #666;
}

.contact-inquiry-table th {
    font-weight: normal;
    color: #333;
}

.contact-inquiry-table td.title {
    text-align: left;
}

.contact-inquiry-table td.title a {
    color: #666;
    text-decoration: none;
}

.contact-inquiry-table td.title a:hover {
    text-decoration: underline;
}

.contact-inquiry-status {
    display: inline-block;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
}

.contact-inquiry-status.new { background: #eee; }
.contact-inquiry-status.in-progress { background: #fff3cd; }
.contact-inquiry-status.completed { background: #d4edda; }

.contact-inquiry-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 50px 0;
}

.contact-inquiry-pagination a {
    color: #666;
    text-decoration: none;
}

.contact-inquiry-search {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.contact-inquiry-search select,
.contact-inquiry-search input {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.contact-inquiry-search button {
    padding: 8px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .contact-inquiry-content {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .contact-inquiry-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .contact-inquiry-write-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .contact-inquiry-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .contact-inquiry-path {
        font-size: 13px;
        margin: 20px 0 40px;
    }

    .contact-inquiry-table th:nth-child(4),
    .contact-inquiry-table th:nth-child(6),
    .contact-inquiry-table td:nth-child(4),
    .contact-inquiry-table td:nth-child(6) {
        display: none;
    }

    .contact-inquiry-table th,
    .contact-inquiry-table td {
        padding: 15px 10px;
        font-size: 14px;
    }

    .contact-inquiry-table td.title {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .contact-inquiry-pagination {
        gap: 20px;
        margin: 30px 0;
    }

    .contact-inquiry-search {
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-inquiry-search select,
    .contact-inquiry-search input,
    .contact-inquiry-search button {
        font-size: 14px;
        height: 40px;
    }

    .contact-inquiry-search input {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .contact-inquiry-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contact-inquiry-table th:nth-child(1),
    .contact-inquiry-table th:nth-child(3),
    .contact-inquiry-table td:nth-child(1),
    .contact-inquiry-table td:nth-child(3) {
        display: none;
    }

    .contact-inquiry-table th,
    .contact-inquiry-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .contact-inquiry-status {
        padding: 3px;
        font-size: 11px;
    }

    .contact-inquiry-search {
        flex-direction: column;
    }

    .contact-inquiry-search select,
    .contact-inquiry-search input,
    .contact-inquiry-search button {
        width: 100%;
        height: 36px;
    }
}

@media (max-width: 359px) {
    .contact-inquiry-title {
        font-size: 22px;
    }

    .contact-inquiry-table th,
    .contact-inquiry-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .contact-inquiry-pagination {
        gap: 15px;
    }

    .contact-inquiry-pagination a,
    .contact-inquiry-pagination span {
        font-size: 13px;
    }

    .contact-inquiry-write-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .contact-inquiry-search select,
    .contact-inquiry-search input,
    .contact-inquiry-search button {
        height: 34px;
        font-size: 13px;
    }
}

/* 문의글 수정 페이지 스타일 */
.contact-edit-content {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.contact-edit-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

.contact-edit-form {
    border-top: 1px solid #000;
}

.contact-edit-group {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.contact-edit-label {
    width: 200px;
    padding: 20px;
    background: #f8f8f8;
    font-weight: bold;
}

.contact-edit-control {
    flex: 1;
    padding: 20px;
}

.contact-edit-control input[type="text"],
.contact-edit-control input[type="password"],
.contact-edit-control textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.contact-edit-control textarea {
    height: 300px;
    resize: vertical;
}

.contact-edit-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-edit-required {
    color: #dc3545;
    margin-left: 3px;
}

.contact-edit-buttons {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.contact-edit-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.contact-edit-btn:hover {
    background: #444;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .contact-edit-content {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .contact-edit-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .contact-edit-label {
        width: 150px;
        padding: 15px;
    }

    .contact-edit-control {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .contact-edit-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .contact-edit-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contact-edit-group {
        flex-direction: column;
    }

    .contact-edit-label {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-edit-control {
        padding: 15px;
    }

    .contact-edit-control input[type="text"],
    .contact-edit-control input[type="password"] {
        font-size: 14px;
    }

    .contact-edit-control textarea {
        height: 200px;
    }

    .contact-edit-buttons {
        margin-top: 20px;
    }

    .contact-edit-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-edit-content {
        margin: 40px auto;
        padding: 0 15px;
    }

    .contact-edit-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .contact-edit-label {
        padding: 10px;
        font-size: 13px;
    }

    .contact-edit-control {
        padding: 12px;
    }

    .contact-edit-control input[type="text"],
    .contact-edit-control input[type="password"] {
        padding: 8px;
        font-size: 13px;
    }

    .contact-edit-checkbox label {
        font-size: 13px;
    }

    .contact-edit-control textarea {
        height: 180px;
        font-size: 13px;
    }

    .contact-edit-buttons {
        margin-top: 15px;
        gap: 8px;
    }

    .contact-edit-btn {
        padding: 8px 25px;
        font-size: 13px;
    }
}

@media (max-width: 359px) {
    .contact-edit-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-edit-label {
        padding: 8px;
        font-size: 12px;
    }

    .contact-edit-control {
        padding: 10px;
    }

    .contact-edit-control input[type="text"],
    .contact-edit-control input[type="password"] {
        padding: 6px;
        font-size: 12px;
    }

    .contact-edit-checkbox label {
        font-size: 12px;
    }

    .contact-edit-control textarea {
        height: 150px;
        font-size: 12px;
    }

    .contact-edit-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .contact-edit-btn {
        width: 100%;
        padding: 8px 0;
        font-size: 12px;
    }
}

/* 공지사항 페이지 스타일 */
.board-content {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
}

.board-path {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin: 30px 0 60px;
}

.board-path span {
    margin: 0 5px;
}

.board-path a {
    color: #666;
    text-decoration: none;
}

.board-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 80px;
}

.board-table {
    width: 100%;
    border-top: 1px solid #000;
}

.board-table th,
.board-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    font-weight: normal;
    color: #666;
}

.board-table th {
    font-weight: normal;
    color: #333;
}

.board-table td.title {
    text-align: left;
}

.board-table td.title a {
    color: #666;
    text-decoration: none;
}

.board-table td.title a:hover {
    text-decoration: underline;
}

.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 50px 0;
}

.board-pagination a {
    color: #666;
    text-decoration: none;
}

.board-search {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.board-search select,
.board-search input {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.board-search button {
    padding: 8px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .board-content {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .board-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .board-content {
        margin: 60px auto;
        padding: 0 20px;
    }

    .board-path {
        font-size: 13px;
        margin: 20px 0 40px;
    }

    .board-table th:nth-child(3),
    .board-table th:nth-child(4),
    .board-table th:nth-child(5),
    .board-table td:nth-child(3),
    .board-table td:nth-child(4),
    .board-table td:nth-child(5) {
        display: none;
    }

    .board-table th,
    .board-table td {
        padding: 15px 10px;
        font-size: 14px;
    }

    .board-table td.title {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .board-pagination {
        gap: 20px;
        margin: 30px 0;
    }

    .board-search {
        flex-wrap: wrap;
        gap: 8px;
    }

    .board-search select,
    .board-search input,
    .board-search button {
        font-size: 14px;
        height: 40px;
    }

    .board-search input {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .board-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .board-table th:nth-child(1),
    .board-table td:nth-child(1) {
        display: none;
    }

    .board-table th,
    .board-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .board-search {
        flex-direction: column;
    }

    .board-search select,
    .board-search input,
    .board-search button {
        width: 100%;
        height: 36px;
    }
}

@media (max-width: 359px) {
    .board-title {
        font-size: 22px;
    }

    .board-table th,
    .board-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .board-pagination {
        gap: 15px;
    }

    .board-pagination a,
    .board-pagination span {
        font-size: 13px;
    }

    .board-search select,
    .board-search input,
    .board-search button {
        height: 34px;
        font-size: 13px;
    }
}

/* 갤러리 상세보기 페이지 스타일 */
.gallery-view-wrap {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-view-title {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: #f8f8f8;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.gallery-view-title h3 {
    margin: 0;
    font-size: 24px;
}

.gallery-view-info {
    width: 100%;
    max-width: 800px;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.gallery-view-img {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    text-align: center;
}

.gallery-view-img img {
    max-width: 100%;
    width: auto;
    max-height: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    object-fit: contain;
}

.gallery-view-content {
    width: 100%;
    max-width: 800px;
    padding: 30px 20px;
    line-height: 1.6;
    min-height: 200px;
    text-align: center;
    margin: 0 auto;
}

.gallery-view-buttons {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-view-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-view-btn:hover {
    background: #555;
}

.gallery-view-btn.list { background: #666; }
.gallery-view-btn.edit { background: #007a5c; }
.gallery-view-btn.delete { background: #cc0000; }
.gallery-view-btn.confirm { background: #007a5c; }
.gallery-view-btn.cancel { background: #666; }

.gallery-view-comment-form {
    width: 100%;
    margin: 50px 0 30px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
}

.gallery-view-comment-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

.gallery-view-comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    resize: vertical;
}

.gallery-view-comment-form button {
    padding: 12px 30px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-view-comment-form button:hover {
    background: #555;
}

.gallery-view-comment-list {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-top: 2px solid #333;
    margin-top: 50px;
}

.gallery-view-comment-item {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.gallery-view-comment-info {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-view-comment-info span {
    color: #666;
    font-size: 14px;
}

.gallery-view-comment-info button {
    padding: 8px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-view-comment-info button:hover {
    background: #555;
}

.gallery-view-comment-content {
    line-height: 1.6;
    color: #333;
}

.gallery-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.gallery-view-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.gallery-view-modal h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
}

.gallery-view-modal input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gallery-view-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .gallery-view-wrap {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .gallery-view-title h3 {
        font-size: 20px;
    }

    .gallery-view-img {
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .gallery-view-wrap {
        margin: 30px auto;
        padding: 0 20px;
    }

    .gallery-view-title {
        padding: 15px;
    }

    .gallery-view-info {
        padding: 12px 15px;
        font-size: 13px;
    }

    .gallery-view-content {
        padding: 20px 15px;
        font-size: 14px;
    }

    .gallery-view-comment-form {
        padding: 15px;
        margin: 30px 0 20px;
    }

    .gallery-view-comment-form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .gallery-view-comment-item {
        padding: 15px;
    }

    .gallery-view-comment-info {
        font-size: 13px;
    }

    .gallery-view-comment-info button {
        padding: 4px 8px;
        font-size: 11px;
    }

    .gallery-view-buttons {
        margin-top: 20px;
        gap: 8px;
    }

    .gallery-view-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-view-wrap {
        margin: 20px auto;
        padding: 0 15px;
    }

    .gallery-view-title h3 {
        font-size: 18px;
    }

    .gallery-view-info span {
        display: block;
        margin: 3px 0;
    }

    .gallery-view-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .gallery-view-btn {
        width: 100%;
        padding: 10px 0;
    }

    .gallery-view-modal-content {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 359px) {
    .gallery-view-title h3 {
        font-size: 16px;
    }

    .gallery-view-info,
    .gallery-view-content {
        font-size: 12px;
    }

    .gallery-view-comment-form textarea {
        height: 80px;
    }

    .gallery-view-comment-form input,
    .gallery-view-comment-form button {
        font-size: 12px;
    }

    .gallery-view-btn {
        font-size: 12px;
        padding: 8px 0;
    }
}

/* 갤러리 목록 페이지 스타일 */
.gallery-index-wrap {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.gallery-index-title {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-index-title span {
    display: block;
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-index-title h2 {
    font-size: 32px;
    color: #333;
}

.gallery-index-write-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    margin-bottom: 30px;
    float: right;
    transition: background-color 0.3s;
}

.gallery-index-write-btn:hover {
    background: #555;
}

.gallery-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    clear: both;
    padding-top: 20px;
}

.gallery-index-item {
    border: 1px solid #ddd;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-index-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-index-item a {
    text-decoration: none;
    color: inherit;
}

.gallery-index-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-index-item:hover img {
    transform: scale(1.05);
}

.gallery-index-info {
    padding: 20px;
    background: #fff;
}

.gallery-index-info h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.gallery-index-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.gallery-index-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.gallery-index-page-item:hover {
    background: #f8f8f8;
    color: #333;
}

.gallery-index-page-item.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .gallery-index-wrap {
        padding: 0 40px;
    }

    .gallery-index-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .gallery-index-title {
        margin: 60px 0;
    }

    .gallery-index-title span {
        font-size: 16px;
    }

    .gallery-index-title h2 {
        font-size: 28px;
    }

    .gallery-index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-index-item img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-index-wrap {
        padding: 0 20px;
    }

    .gallery-index-title {
        margin: 40px 0;
    }

    .gallery-index-title span {
        font-size: 15px;
    }

    .gallery-index-title h2 {
        font-size: 24px;
    }

    .gallery-index-write-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gallery-index-item img {
        height: 180px;
    }

    .gallery-index-info {
        padding: 15px;
    }

    .gallery-index-info h3 {
        font-size: 14px;
    }

    .gallery-index-pagination {
        gap: 5px;
        margin: 30px 0;
    }

    .gallery-index-page-item {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gallery-index-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-index-item img {
        height: 220px;
    }

    .gallery-index-info h3 {
        font-size: 13px;
    }

    .gallery-index-page-item {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
        padding: 0 8px;
    }

    .gallery-index-page-item:first-child,
    .gallery-index-page-item:last-child {
        display: none;
    }
}

@media (max-width: 359px) {
    .gallery-index-title span {
        font-size: 13px;
    }

    .gallery-index-title h2 {
        font-size: 20px;
    }

    .gallery-index-item img {
        height: 200px;
    }

    .gallery-index-info {
        padding: 12px;
    }

    .gallery-index-info h3 {
        font-size: 12px;
    }

    .gallery-index-write-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .gallery-index-page-item {
        min-width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* 갤러리 글쓰기 페이지 스타일 */
.gallery-write-wrap {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.gallery-write-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-write-title span {
    display: block;
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-write-title h2 {
    font-size: 32px;
    color: #333;
}

.gallery-write-table {
    width: 100%;
    border-top: 2px solid #333;
    border-collapse: collapse;
}

.gallery-write-table th {
    width: 120px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #f8f8f8;
    text-align: left;
}

.gallery-write-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.gallery-write-table input[type="text"],
.gallery-write-table input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.gallery-write-table textarea {
    width: 100%;
    height: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
}

.gallery-write-buttons {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-write-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-write-btn:hover {
    background: #555;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .gallery-write-wrap {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .gallery-write-title {
        margin: 60px 0;
    }

    .gallery-write-title span {
        font-size: 16px;
    }

    .gallery-write-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .gallery-write-wrap {
        margin: 60px auto;
        padding: 0 20px;
    }

    .gallery-write-title {
        margin: 40px 0;
    }

    .gallery-write-title span {
        font-size: 15px;
    }

    .gallery-write-title h2 {
        font-size: 24px;
    }

    /* 테이블 반응형 처리 */
    .gallery-write-table,
    .gallery-write-table tbody,
    .gallery-write-table tr,
    .gallery-write-table th,
    .gallery-write-table td {
        display: block;
        width: 100%;
    }

    .gallery-write-table th {
        padding: 10px 0;
        border-bottom: none;
        background: none;
    }

    .gallery-write-table td {
        padding: 5px 0 15px;
    }

    .gallery-write-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .gallery-write-btn {
        width: 100%;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .gallery-write-wrap {
        margin: 40px auto;
        padding: 0 15px;
    }

    .gallery-write-title h2 {
        font-size: 22px;
    }

    .gallery-write-table input[type="text"],
    .gallery-write-table input[type="password"],
    .gallery-write-table input[type="file"],
    .gallery-write-table textarea {
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .gallery-write-title span {
        font-size: 13px;
    }

    .gallery-write-title h2 {
        font-size: 20px;
    }

    .gallery-write-table input[type="text"],
    .gallery-write-table input[type="password"],
    .gallery-write-table input[type="file"],
    .gallery-write-table textarea {
        font-size: 12px;
    }

    .gallery-write-btn {
        font-size: 12px;
        padding: 10px 0;
    }
}

/* 갤러리 수정 페이지 스타일 */
.gallery-edit-wrap {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.gallery-edit-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-edit-title span {
    display: block;
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-edit-title h2 {
    font-size: 32px;
    color: #333;
}

.gallery-edit-table {
    width: 100%;
    border-top: 2px solid #333;
    border-collapse: collapse;
}

.gallery-edit-table th {
    width: 120px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #f8f8f8;
    text-align: left;
}

.gallery-edit-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.gallery-edit-table input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.gallery-edit-table textarea {
    width: 100%;
    height: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
}

.gallery-edit-current-image {
    margin: 10px 0;
}

.gallery-edit-current-image p {
    margin-bottom: 10px;
    color: #333;
}

.gallery-edit-current-image img {
    max-width: 200px;
    border-radius: 5px;
}

.gallery-edit-notice {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.gallery-edit-buttons {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-edit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-edit-btn:hover {
    background: #555;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .gallery-edit-wrap {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .gallery-edit-title {
        margin: 60px 0;
    }

    .gallery-edit-title span {
        font-size: 16px;
    }

    .gallery-edit-title h2 {
        font-size: 28px;
    }

    .gallery-edit-current-image img {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .gallery-edit-wrap {
        margin: 60px auto;
        padding: 0 20px;
    }

    .gallery-edit-title {
        padding: 15px;
    }

    .gallery-edit-info {
        padding: 12px 15px;
        font-size: 13px;
    }

    .gallery-edit-content {
        padding: 20px 15px;
        font-size: 14px;
    }

    .gallery-edit-comment-form {
        padding: 15px;
        margin: 30px 0 20px;
    }

    .gallery-edit-comment-form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .gallery-edit-comment-item {
        padding: 15px;
    }

    .gallery-edit-comment-info {
        font-size: 13px;
    }

    .gallery-edit-comment-info button {
        padding: 4px 8px;
        font-size: 11px;
    }

    .gallery-edit-buttons {
        margin-top: 20px;
        gap: 8px;
    }

    .gallery-edit-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-edit-wrap {
        margin: 40px auto;
        padding: 0 15px;
    }

    .gallery-edit-title h2 {
        font-size: 22px;
    }

    .gallery-edit-info span {
        display: block;
        margin: 3px 0;
    }

    .gallery-edit-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .gallery-edit-btn {
        width: 100%;
        padding: 10px 0;
    }

    .gallery-edit-modal-content {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 359px) {
    .gallery-edit-title h2 {
        font-size: 20px;
    }

    .gallery-edit-info,
    .gallery-edit-content {
        font-size: 12px;
    }

    .gallery-edit-comment-form textarea {
        height: 80px;
    }

    .gallery-edit-comment-form input,
    .gallery-edit-comment-form button {
        font-size: 12px;
    }

    .gallery-edit-btn {
        font-size: 12px;
        padding: 8px 0;
    }
}

/* 갤러리 댓글 수정 페이지 스타일 */
.gallery-comment-edit-wrap {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.gallery-comment-edit-form {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
}

.gallery-comment-edit-group {
    margin-bottom: 15px;
}

.gallery-comment-edit-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.gallery-comment-edit-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gallery-comment-edit-group textarea {
    width: 100%;
    height: 150px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.gallery-comment-edit-buttons {
    margin-top: 20px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery-comment-edit-btn {
    padding: 12px 30px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-comment-edit-btn:hover {
    background: #555;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .gallery-comment-edit-wrap {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .gallery-comment-edit-wrap {
        margin: 80px auto;
    }

    .gallery-comment-edit-form {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-comment-edit-wrap {
        margin: 60px auto;
        padding: 0 20px;
    }

    .gallery-comment-edit-group label {
        font-size: 14px;
    }

    .gallery-comment-edit-group input,
    .gallery-comment-edit-group textarea {
        font-size: 14px;
    }

    .gallery-comment-edit-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .gallery-comment-edit-btn {
        width: 100%;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .gallery-comment-edit-wrap {
        margin: 40px auto;
        padding: 0 15px;
    }

    .gallery-comment-edit-form {
        padding: 12px;
    }

    .gallery-comment-edit-group {
        margin-bottom: 12px;
    }

    .gallery-comment-edit-group label {
        font-size: 13px;
    }

    .gallery-comment-edit-group input,
    .gallery-comment-edit-group textarea {
        font-size: 13px;
        padding: 6px;
    }

    .gallery-comment-edit-group textarea {
        height: 120px;
    }
}

@media (max-width: 359px) {
    .gallery-comment-edit-group label {
        font-size: 12px;
    }

    .gallery-comment-edit-group input,
    .gallery-comment-edit-group textarea {
        font-size: 12px;
    }

    .gallery-comment-edit-btn {
        font-size: 12px;
        padding: 10px 0;
    }
}

/* 메인 비주얼 섹션 수정 */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 유지 */
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: -90px;
    box-sizing: border-box;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

/* padding-top 제거하고 컨텐츠 래퍼 추가 */
.main-visual-content {
    transform: translateY(-45px); /* header 높이의 절반만큼 위로 올림 */
}

.main-visual h2,
.main-visual p {
    position: relative;
    z-index: 2;
}

.main-visual h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.main-visual p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    word-break: keep-all;
}

.main-visual .more-btn {
    display: inline-flex;
    align-items: center;
    color: #111;
    text-decoration: none;
    font-size: 15px;
}

.main-visual .more-btn span {
    margin-left: 10px;
    transition: transform 0.3s;
}

.main-visual .more-btn:hover span {
    transform: translateX(5px);
}

.main-visual img {
    width: 50%;
    height: auto;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .main-visual {
        padding: 0 40px;
    }
}

@media (max-width: 991px) {
    .main-visual {
        padding: 0 20px;
    }

    .main-visual h2 {
        font-size: 36px;
    }

    .main-visual p {
        font-size: 14px;
        padding: 0 20px;
    }

    .main-visual .more-btn {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .main-visual {
        padding: 0 20px;
    }

    .main-visual h2 {
        font-size: 32px;
    }

    .main-visual p {
        font-size: 13px;
        padding: 0 20px;
    }

    .main-visual .more-btn {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-visual {
        padding: 0 15px;
    }

    .main-visual h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .main-visual p {
        font-size: 12px;
        word-break: keep-all;
    }

    .main-visual .more-btn {
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .main-visual h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .main-visual p {
        font-size: 11px;
    }

    .main-visual .more-btn {
        font-size: 11px;
    }
}

/* 메인 섹션 공통 스타일 */
.main-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 섹션 내부 컨텐츠 스타일 */
.main-products-inner,
#main-portfolio .main-portfolio-inner,
#main-history .main-history-content,
#main-news .main-news-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* 섹션별 타이틀 스타일 */
.main-products-title,
.main-portfolio h2,
.main-history-title,
.main-news-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    opacity: 1;
}

/* 섹션별 설명 텍스트 스타일 */
.main-products-desc,
.main-portfolio p,
.main-history-subtitle,
.main-news-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    word-break: keep-all;
    opacity: 1;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #fff;
}

.header.scrolled .header-logo a,
.header.scrolled .header-nav a,
.header.scrolled .header-util a,
.header.scrolled .all-menu-btn span {
    color: #000;
}

/* 섹션 스타일 */
.main-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 섹션 내부 컨텐츠 */
.main-products-inner,
#main-portfolio .main-portfolio-inner,
#main-history .main-history-content,
#main-news .main-news-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* 푸터 스타일 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: #fff;
    z-index: 1;
    display: block;  /* 항상 보이도록 설정 */
}

/* 기존 fullpage.js 관련 스타일 제거하고 아래 스타일 추가 */
#main-container {
    width: 100%;
    height: 100vh;
}

.main-section {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* 모바일에서는 일반 스크롤로 동작 */
@media (max-width: 768px) {
    #main-container {
        height: auto;
    }
    
    .main-section {
        height: auto;
        min-height: 100vh;
    }
}

/* 상단이동 버튼 스타일 */
.top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* 마지막 섹션 스타일 */
#main-news {
    height: calc(100vh - 200px) !important;  /* 푸터 높이만큼 줄임 */
    background: #f8f8f8;
    padding-bottom: 200px;  /* 푸터 높이만큼 패딩 추가 */
}

/* 다른 섹션들은 전체 높이 유지 */
.main-section:not(#main-news) {
    height: 100vh;
    background: #fff;
}

/* 각 섹션별 스타일 */
#main-slider {
    background: #000;  /* 첫 번째 섹션 배경 */
}

#main-products {
    background: #fff;  /* 두 번째 섹션 배경 */
}

#main-portfolio {
    background: #f8f8f8;  /* 세 번째 섹션 배경 */
}

#main-history {
    background: #fff;  /* 네 번째 섹션 배경 */
}

#main-news {
    background: #f8f8f8;  /* 마지막 섹션 배경 */
}

/* 섹션 내부 컨텐츠 스타일 */
.main-products-inner,
#main-portfolio .main-portfolio-inner,
#main-history .main-history-content,
#main-news .main-news-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;  /* 푸터보다 위에 표시되도록 z-index 조정 */
}

/* PC/모바일 텍스트 영역 제어 */
.works-business-info.mobile {
    display: none;
}

@media (max-width: 768px) {
    .works-business-info.pc {
        display: none;
    }

    .works-business-info.mobile {
        display: block;
        margin: 20px 0 60px;
        text-align: left;
        padding: 0 20px;
    }

    .works-business-slider .swiper-wrapper {
        display: block !important;
    }

    .works-business-slider .swiper-slide {
        width: 100% !important;
        margin-bottom: 0;
        opacity: 1 !important;
    }
}

/* 지도 영역 스타일 */
.map-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map {
    width: 100%;
    height: 500px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;  /* 추가 */
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-width: 100%;  /* 추가 */
    min-height: 100%;  /* 추가 */
}

/* 모바일 지도 스타일 */
@media (max-width: 768px) {
    .map-content {
        padding: 0 20px;  /* 패딩 추가 */
    }

    .map {
        height: 300px;  /* 높이 증가 */
        margin: 30px 0;
        width: 100%;  /* 전체 너비 사용 */
        max-width: none;  /* 최대 너비 제한 제거 */
    }

    .info {
        padding: 30px 0;  /* 상하 패딩만 적용 */
        max-width: 100%;  /* 전체 너비 사용 */
    }
}

@media (max-width: 480px) {
    .map {
        height: 250px;
    }

    .map-content {
        padding: 0 15px;
    }
}

/* 찾아오시는 길 페이지 스타일 */
.contact-map-content {
    width: 100%;
    max-width: 1200px;
    min-height: calc(100vh - 90px - 200px); /* 헤더(90px)와 푸터(200px) 높이를 제외한 최소 높이 */
    margin: 0 auto;
    padding: 90px 20px 0; /* 헤더 높이만큼 상단 패딩 추가 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-map-title {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.contact-map-title h2 {
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-map-title p {
    font-size: 16px;
    color: #666;
}

.contact-map {
    width: 100%;
    height: 500px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.contact-map-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-map-address {
    margin-bottom: 30px;
}

.contact-map-address .ko {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-map-address .en {
    font-size: 14px;
    color: #666;
}

.contact-map-subway {
    margin-bottom: 30px;
}

.contact-map-subway .station {
    display: inline-block;
    padding: 5px 15px;
    background: #0052A4;
    color: #fff;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
}

.contact-map-subway p {
    font-size: 15px;
    color: #333;
}

.contact-map-details p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.contact-map-details span {
    display: inline-block;
    margin: 0 10px;
}

.contact-map-details .time {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* 모바일 스타일 */
@media (max-width: 768px) {
    .contact-map-content {
        min-height: calc(100vh - 70px - 200px); /* 모바일 헤더 높이 조정 */
        padding: 70px 20px 0;
    }

    .contact-map-title {
        margin-bottom: 40px;
    }

    .contact-map-title h2 {
        font-size: 32px;
    }

    .contact-map-title p {
        font-size: 14px;
    }

    .contact-map {
        height: 300px;
        margin: 30px 0;
    }

    .contact-map-address .ko {
        font-size: 16px;
    }

    .contact-map-address .en {
        font-size: 13px;
    }

    .contact-map-subway .station {
        padding: 4px 12px;
        font-size: 13px;
    }

    .contact-map-subway p {
        font-size: 14px;
    }

    .contact-map-details p {
        font-size: 14px;
    }

    .contact-map-details span {
        display: block;
        margin: 5px 0;
    }

    .contact-map-details .time {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        height: 250px;
    }

    .contact-map-title h2 {
        font-size: 28px;
    }

    .contact-map-address .ko {
        font-size: 15px;
        word-break: keep-all;
        padding: 0 20px;
    }

    .contact-map-address .en {
        font-size: 12px;
        word-break: keep-all;
        padding: 0 15px;
    }

    .contact-map-subway .station {
        padding: 3px 10px;
        font-size: 12px;
    }

    .contact-map-details p {
        font-size: 13px;
    }

    .contact-map-details .time {
        font-size: 12px;
        padding: 0 20px;
        word-break: keep-all;
    }
}



::selection {
    background-color:#B32018 ;
    color: #fff;
}
::-moz-selection {
    background-color: #B32018;
    color: #fff;
}