* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 상단 네비게이션/로고 스타일 */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 120px;
    margin-right: 1rem;
}

.logo img {
    margin-right: 12px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 1rem;
}

.main-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav ul li:last-child {
    margin-right: 0.5rem;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 8px 3px;
    white-space: nowrap;
    display: block;
}

.main-nav ul li a:hover {
    color: #8fd14f;
    border-bottom: 2px solid #8fd14f;
}

/* 기존 header/nav 스타일 제거 및 main에 margin-top 조정 */
header, nav {
    all: unset;
}

main {
    margin-top: 90px;
    padding: 2rem;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    margin-bottom: 3.5rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 슬라이드 배너(캐러셀) 스타일 */
.hero-slider {
    width: 100%;
    height: 400px;
    background: url('bg.jpg') center/cover no-repeat;
    display: block;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
}
.slider-wrapper {
    width: 900px;
    max-width: 95vw;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: opacity 0.5s;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
}
.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.slide-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
}
.slide-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8fd14f;
}
.slide-caption p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,62,80,0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }
.slider-arrow:hover { background: #8fd14f; color: #2c3e50; }
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}
.slider-dots .dot.active {
    background: #8fd14f;
}

/* 주요 섹션(카드형) 스타일 */
.main-section {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    width: 280px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(143,209,79,0.15);
}
.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.card-desc {
    color: #555;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .main-header {
        flex-direction: column;
        height: auto;
        padding: 0.5rem;
    }
    .logo {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .main-nav {
        width: 100%;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .main-nav ul li {
        margin: 0.2rem 0;
        width: 100%;
    }
    .main-nav ul li a {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    main {
        margin-top: 140px;
    }
    .hero-slider { height: 260px; }
    .slider-wrapper { height: 180px; }
    .slide-caption { left: 10px; bottom: 10px; padding: 12px 16px; max-width: 90%; font-size: 0.95rem; }
    .main-section { flex-direction: column; align-items: center; }
    .card { width: 90vw; }
}

/* 로그인 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #fff;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover { color: #2c3e50; }
#login-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1rem;
}
#login-form label {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}
#login-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
#login-form button {
    margin-top: 1rem;
    background: #8fd14f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
#login-form button:hover {
    background: #6bb12f;
}
.login-message {
    margin-top: 0.7rem;
    color: #e74c3c;
    font-size: 0.98rem;
    min-height: 1.2em;
    text-align: center;
}

/* 생활재이야기 상세페이지 스타일 */
.life-story-detail {
    background: #f7f9f6;
    padding-bottom: 2rem;
}
.life-story-hero {
    background: url('life-bg.jpg') center/cover no-repeat;
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding-left: 2.5rem;
    border-radius: 0 0 24px 24px;
    margin-bottom: 2rem;
}
.life-story-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(44,62,80,0.18);
}
.life-story-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2.5rem;
}
.life-story-sidebar {
    width: 260px;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
}
.life-story-menu .menu-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background: #8fd14f;
    padding: 0.7rem 1rem;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.5rem;
}
.life-story-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.life-story-menu ul li {
    padding: 0.7rem 1rem;
    color: #2c3e50;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: background 0.2s, border 0.2s;
}
.life-story-menu ul li.active,
.life-story-menu ul li:hover {
    background: #eaf6e0;
    border-left: 4px solid #8fd14f;
    font-weight: bold;
}
.life-story-contact {
    background: #f3f8ef;
    border-radius: 8px;
    padding: 1rem 1rem 0.7rem 1rem;
    text-align: center;
    font-size: 1rem;
}
.contact-title {
    color: #8fd14f;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.contact-phone {
    color: #27ae60;
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin: 0.5rem 0;
}
.contact-desc {
    color: #888;
    font-size: 0.95rem;
    margin-top: 0.7rem;
}
.life-story-main {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem 2.5rem 2rem 2.5rem;
    min-width: 0;
}
.life-story-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.life-story-search input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #b7d7a8;
    border-radius: 6px;
    font-size: 1rem;
}
.life-story-search button {
    background: #8fd14f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.life-story-search button:hover {
    background: #6bb12f;
}
.life-story-product {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}
.producer-card {
    min-width: 180px;
    text-align: center;
    position: relative;
}
.producer-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.producer-label {
    background: #27ae60;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-radius: 0 0 12px 12px;
    margin-top: -8px;
}
.product-info h2 {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.product-info p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}
.detail-btn {
    background: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.detail-btn:hover {
    background: #8fd14f;
    color: #2c3e50;
}
@media (max-width: 900px) {
    .life-story-container { flex-direction: column; gap: 1.5rem; }
    .life-story-sidebar { width: 100%; min-width: 0; flex-direction: row; gap: 1.5rem; justify-content: space-between; }
    .life-story-main { padding: 1.2rem; }
    .life-story-product { flex-direction: column; align-items: center; gap: 1rem; }
    .producer-card { min-width: 120px; }
    .producer-img { width: 120px; height: 120px; }
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(143, 209, 79, 0.2);
    color: #8fd14f;
    font-weight: bold;
}

@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #2c3e50;
        padding-left: 1rem;
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu li a {
        padding: 0.5rem 0;
        color: #fff;
    }
    
    .dropdown-menu li a:hover {
        background-color: rgba(143, 209, 79, 0.2);
        color: #8fd14f;
        font-weight: bold;
    }
}

#about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.company-features {
    list-style: none;
    padding: 0;
}

.company-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #2c3e50;
}

.company-features i {
    color: #8fd14f;
    margin-right: 10px;
    font-size: 1.2rem;
}

.company-features span {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        text-align: center;
    }
    
    .company-features li {
        justify-content: center;
    }
}

/* 인사말 섹션 스타일 */
.greeting-section,
.history-section,
#contact,
.notice-section,
#product,
.arbutus-detail,
.solution-detail,
#life-story-detail {
    margin-top: 0;
    padding-top: 40px;
    margin-bottom: 57px;
}

.greeting-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.greeting-bg {
    flex: 0 0 40%;
}

.greeting-graphic {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.greeting-text {
    flex: 1;
}

.greeting-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.greeting-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}

/* 모바일 화면에서의 스타일 */
@media screen and (max-width: 768px) {
    .greeting-content {
        flex-direction: column;
        gap: 20px;
    }

    .greeting-bg {
        flex: 0 0 100%;
    }

    .greeting-text h2 {
        font-size: 1.5rem;
    }

    .greeting-text p {
        font-size: 1rem;
    }
}

.history-section {
    background: #fff;
    padding: 0 0 60px 0;
}
.history-hero {
    background: url('../image/history-bg.jpg') center/cover no-repeat;
    padding: 48px 0 36px 0;
    text-align: center;
}
.history-hero h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
}
.history-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 0 0;
}
.history-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.history-date {
    min-width: 90px;
    min-height: 90px;
    background: linear-gradient(135deg, #00aee7 60%, #2b7bb9 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-right: 32px;
}
.history-dotline {
    width: 48px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
}
.history-dotline::before, .history-dotline::after, .history-dotline {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #bdbdbd;
    border-radius: 50%;
    margin-right: 8px;
}
.history-dotline::after {
    margin-right: 0;
}
.history-desc {
    font-size: 1.1rem;
    color: #444;
    flex: 1;
}
@media (max-width: 900px) {
    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .history-date {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .history-dotline {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

.manage-section {
    background: #fff;
    padding: 60px 0 60px 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}
.manage-header h2 {
    color: #888;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.manage-features {
    color: #888;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    list-style: disc inside;
    padding-left: 0.5rem;
}
.manage-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 2.5rem;
}
.manage-box {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 24px 12px 24px;
    min-width: 120px;
    font-size: 1.1rem;
    color: #888;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.manage-box ul {
    margin-top: 10px;
    padding: 0;
    list-style: none;
    font-size: 0.98rem;
    color: #888;
    font-weight: 400;
}
.manage-box ul li {
    margin-bottom: 4px;
}
.manage-arrow {
    align-self: center;
    color: #bbb;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0 8px;
    min-width: 60px;
    text-align: center;
}
.manage-detail {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.manage-detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}
.manage-detail-label {
    min-width: 120px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    color: #888;
    font-weight: 600;
    margin-right: 18px;
    text-align: center;
}
.manage-detail-desc {
    color: #888;
    font-size: 0.98rem;
    line-height: 1.7;
    flex: 1;
}
@media (max-width: 900px) {
    .manage-section { padding: 30px 0; }
    .manage-flow { flex-direction: column; gap: 12px; }
    .manage-arrow { margin: 8px 0; }
    .manage-detail-label { min-width: 90px; padding: 8px 10px; font-size: 0.95rem; }
}

.section-breadcrumb {
    font-size: 1.05rem;
    color: #8fd14f;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.section-breadcrumb span {
    color: #2c3e50;
}

.monitor-section {
    background: #fff;
    padding: 60px 0 60px 0;
    max-width: 700px;
    margin: 0 auto 40px auto;
}
.monitor-content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.monitor-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.monitor-btn {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 28px;
    min-width: 140px;
    font-size: 1.1rem;
    color: #888;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
}
.monitor-descs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}
.monitor-desc {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .monitor-section { padding: 30px 0; }
    .monitor-content { flex-direction: column; gap: 12px; }
    .monitor-menu { flex-direction: row; gap: 12px; }
    .monitor-btn { min-width: 90px; padding: 10px 10px; font-size: 0.98rem; }
}

.mobile-section {
    background: #fff;
    padding: 60px 0 60px 0;
    max-width: 700px;
    margin: 0 auto 40px auto;
}
.mobile-content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mobile-btn {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 28px;
    min-width: 140px;
    font-size: 1.1rem;
    color: #888;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
}
.mobile-descs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}
.mobile-desc {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .mobile-section { padding: 30px 0; }
    .mobile-content { flex-direction: column; gap: 12px; }
    .mobile-menu { flex-direction: row; gap: 12px; }
    .mobile-btn { min-width: 90px; padding: 10px 10px; font-size: 0.98rem; }
}

.notice-section {
    background: #fff;
    padding: 40px 0 40px 0;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}
.notice-table-wrap {
    margin-top: 10px;
}
.notice-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 3px solid #234052;
    border-bottom: 3px solid #234052;
    margin-bottom: 0.5rem;
}
.notice-table th {
    background: #efefef;
    color: #444;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.notice-table td {
    color: #444;
    font-size: 1rem;
    padding: 12px 0 12px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.notice-table td.notice-writer,
.notice-table td.notice-date {
    text-align: center;
    color: #444;
    font-size: 1rem;
}

.notice-title.clickable {
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.notice-title.clickable:hover {
    color: #8fd14f;
    text-decoration: underline;
}
.notice-table tr:last-child td {
    border-bottom: none;
}
.notice-pagination {
    text-align: center;
    font-size: 1.1rem;
    color: #234052;
    font-weight: 600;
    margin-top: 0.7rem;
}
@media (max-width: 900px) {
    .notice-section { padding: 20px 0; }
    .notice-table th, .notice-table td { font-size: 0.95rem; padding: 8px 2px; }
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 햄버거 메뉴 버튼 스타일 */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 모바일 화면에서의 스타일 */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 40%;
        height: auto;
        max-height: 80vh;
        background-color: #2c3e50;
        padding: 20px 0;
        transition: top 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .main-nav.active {
        top: 70px; /* 헤더 높이만큼 아래로 */
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 0;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 8px 15px;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid #34495e;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #34495e;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        padding: 6px 25px;
        font-size: 0.85rem;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
    }

    /* 드롭다운 화살표 표시 */
    .dropdown > a::after {
        content: '▼';
        font-size: 10px;
        margin-left: 5px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }

    /* 햄버거 메뉴 애니메이션 */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* 데스크톱 스타일 */
@media screen and (min-width: 769px) {
    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-nav li {
        margin: 0 15px;
        position: relative;
    }

    .main-nav a {
        display: block;
        padding: 10px 15px;
        color: white;
        text-decoration: none;
    }

    .main-nav a:hover {
        color: #3498db;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #2c3e50;
        min-width: 200px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: white;
        text-decoration: none;
    }

    .dropdown-menu a:hover {
        background-color: #34495e;
        color: #3498db;
    }
}

/* 솔루션 상세 페이지 스타일 */
.solution-detail {
    width: 100%;
}

.solution-hero {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: flex-end;
    padding: 40px 40px 20px 40px;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.solution-hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

.solution-hero-title {
    position: relative;
    z-index: 1;
    background: rgba(44,62,80,0.7);
    padding: 10px 30px;
    border-radius: 8px 8px 0 0;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 40px;
}

.solution-detail-body {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    min-height: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.solution-sidebar {
    width: 220px;
    background: #f8f8f8;
    border-right: 1px solid #e0e0e0;
}

.solution-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-sidebar li {
    padding: 14px 30px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.solution-sidebar li.active,
.solution-sidebar li:hover {
    background: #eaf3fa;
    border-left: 4px solid #17608a;
    color: #17608a;
}

.solution-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 40px;
}

.solution-content-text {
    width: 100%;
}

.solution-content-img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 500px;
}

/* 내용+이미지 반복 섹션 스타일 */
.content-image-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.content-image-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-text {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 500px); /* 이미지 영역을 제외한 텍스트 영역 최대 폭 설정 */
}

.content-text p {
    margin: 0;
    line-height: 1.8;
    color: #333;
}

.content-image {
    flex: 0 0 auto; /* 이미지 영역을 고정 크기로 설정 */
    max-width: 480px; /* 이미지 영역 최대 폭을 480px로 제한 */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content-image img {
    max-width: 480px; /* 이미지 최대 폭을 480px로 제한 */
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: contain; /* 비율 유지하면서 컨테이너에 맞춤 */
}

/* 텍스트만 있는 섹션 스타일 */
.content-text-only-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.content-text-only-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-text-only-section p {
    margin: 0;
    line-height: 1.8;
    color: #333;
    max-width: 100%; /* 텍스트 영역을 100%로 설정 */
}

/* 세로 배치 섹션 스타일 (내용 위, 이미지 아래) */
.content-image-vertical-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.content-image-vertical-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-image-vertical-section .content-text {
    margin-bottom: 2rem;
    max-width: 100%; /* 텍스트 영역을 100%로 설정 */
}

.content-image-vertical-section .content-text p {
    margin: 0;
    line-height: 1.8;
    color: #333;
    max-width: 100%; /* 텍스트 영역을 100%로 설정 */
}

.content-image-vertical-section .content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image-vertical-section .content-image img {
    max-width: 480px; /* 이미지 최대 폭을 480px로 제한 */
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: contain; /* 비율 유지하면서 컨테이너에 맞춤 */
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .content-image-section {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .content-text,
    .content-image {
        flex: none;
        width: 100%;
        max-width: 100%; /* 모바일에서는 전체 너비 사용 */
    }
    
    .content-text-only-section .content-text,
    .content-image-vertical-section .content-text {
        max-width: 100%; /* 모바일에서도 텍스트 영역을 100%로 설정 */
    }
    
    .content-image img {
        max-width: 100%; /* 모바일에서는 컨테이너 너비에 맞춤 */
    }
}

@media (max-width: 900px) {
    .solution-content {
        padding: 20px 10px;
    }
    .solution-content-img {
        max-width: 100%;
    }
}

/* fallback: JS에서 클래스 추가 방식도 지원 */

.contact-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}
.contact-info-text {
    flex: 1;
    min-width: 220px;
}
.contact-info-images {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.contact-info-images img,
.contact-img {
    max-width: 480px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    /* margin-bottom: 12px; */
}
@media (max-width: 900px) {
    .contact-flex {
        flex-direction: column;
        gap: 20px;
    }
    .contact-info-images img,
    .contact-img {
        max-width: 98vw;
    }
}

/* 데이터 흐름 다이어그램 스타일 */
.data-flow-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.data-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.data-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.data-box:hover {
    transform: translateY(-5px);
}

.data-box h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.data-box p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.data-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    margin: 0 10px;
}

.data-input {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.data-process {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.data-output {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.data-description {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .data-flow-diagram {
        flex-direction: column;
        gap: 20px;
    }
    
    .data-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .data-box {
        min-width: 180px;
        padding: 20px;
    }
}

/* 연혁 타임라인 스타일 (이미지 참고) */
.history-timeline-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-top: 32px;
    position: relative;
    min-height: 420px;
}

.history-timeline-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.history-timeline-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    font-size: 1.1rem;
}

.history-timeline-year {
    min-width: 110px;
    font-weight: bold;
    font-size: 1.25rem;
    color: #444;
    text-align: right;
    letter-spacing: 1px;
    line-height: 1.2;
}
.history-timeline-year span {
    font-size: 1.1rem;
    color: #8fd14f;
    margin-left: 4px;
    font-weight: 500;
}

.history-timeline-desc {
    flex: 1;
    color: #222;
    background: none;
    padding: 0.2em 0 0.2em 0.5em;
    border-left: 2px solid #8fd14f;
    font-size: 1.08rem;
}

.history-timeline-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: 12px;
    position: relative;
    min-width: 220px;
}

.history-product-img {
    width: 110px;
    max-width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    background: #fff;
}

/* 데코 원 스타일 */
.history-timeline-images::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 10px;
    width: 80px;
    height: 80px;
    background: rgba(120,180,255,0.13);
    border-radius: 50%;
    z-index: 0;
}
.history-timeline-images::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 50px;
    width: 40px;
    height: 40px;
    background: rgba(120,180,255,0.10);
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 900px) {
    .history-timeline-container {
        flex-direction: column;
        gap: 18px;
        min-height: unset;
    }
    .history-timeline-images {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 0;
        margin-top: 0;
        gap: 10px;
    }
    .history-product-img {
        width: 80px;
    }
    .history-timeline-year {
        min-width: 70px;
        font-size: 1.05rem;
    }
    .history-timeline-desc {
        font-size: 0.98rem;
    }
}

.notice-detail-section {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0 0 2rem 0;
}
.notice-detail-table {
    margin: 0 0 1.5rem 0;
}
.notice-detail-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.notice-detail-table th, .notice-detail-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 1rem;
    text-align: left;
    background: #fafbfc;
}
.notice-detail-table th {
    background: #f2f2f2;
    font-weight: bold;
}
.notice-detail-table tbody td {
    background: #fff;
}
.notice-detail-content-header {
    background: #e9e9e9;
    font-weight: bold;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05rem;
}
.notice-detail-content-body {
    padding: 18px 16px 24px 16px;
    background: #fff;
    font-size: 1.08rem;
    color: #222;
    border-bottom: 2px solid #e0e0e0;
    line-height: 1.7;
}
.notice-back-btn {
    margin: 18px 0 0 0;
    padding: 8px 28px;
    background: #f2f2f2;
    color: #333;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    float: right;
}
.notice-back-btn:hover {
    background: #e0e0e0;
}
@media (max-width: 700px) {
    .notice-detail-section {
        padding: 0 0 1rem 0;
    }
    .notice-detail-table th, .notice-detail-table td, .notice-detail-content-header, .notice-detail-content-body {
        padding: 8px 6px;
        font-size: 0.98rem;
    }
    .notice-back-btn {
        padding: 7px 16px;
        font-size: 0.95rem;
    }
}

.arbutus-detail .solution-hero,
.arbutus-detail .solution-hero-title,
.arbutus-detail .solution-detail-body,
.arbutus-detail .solution-sidebar,
.arbutus-detail .solution-content {
    /* Inherit styles from solution-detail */
}

main > section.solution-detail,
main > section.arbutus-detail {
    padding-top: 0;
    margin-top: 0;
}

.solution-detail.content-section,
.arbutus-detail.content-section {
    padding-top: 0;
    margin-top: 0;
}

/* 회원가입 섹션 스타일 */
.signup-section {
    background-color: #fff;
}

.signup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.signup-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.signup-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 30px;
    background-color: #fff;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #ddd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.progress-step.active .step-number {
    background-color: #4CAF50;
}

.step-text {
    color: #666;
    font-size: 14px;
}

.progress-step.active .step-text {
    color: #4CAF50;
    font-weight: bold;
}

.signup-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.agreement-section {
    margin-bottom: 30px;
}

.agreement-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.agreement-text {
    margin-bottom: 15px;
}

.agreement-text textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.agreement-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agreement-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.agreement-check label {
    font-size: 14px;
    color: #333;
}

.phone-verification {
    margin-bottom: 30px;
}

.phone-verification h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-prefix {
    width: 60px;
    text-align: center;
    background-color: #f0f0f0;
}

.phone-middle,
.phone-suffix {
    width: 80px;
}

.phone-prefix,
.phone-middle,
.phone-suffix {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 16px;
}

.phone-separator {
    font-size: 20px;
    color: #666;
}

.verify-btn {
    padding: 0 20px;
    height: 40px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.verify-btn:hover {
    background-color: #0052a3;
    text-decoration: none;
    color: white;
}

/* 정보 입력 화면 스타일 */
.info-input-section {
    margin-bottom: 30px;
}

.info-input-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.info-notice {
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.form-table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    min-height: 60px;
}

.form-row:last-child {
    border-bottom: none;
}

.form-label {
    width: 120px;
    padding: 20px 15px;
    background-color: #f8f9fa;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e0e0e0;
}

.form-input-group {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.required {
    color: #e74c3c;
    margin-left: 2px;
}

.duplicate-check-btn {
    padding: 0 15px;
    height: 40px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.duplicate-check-btn:hover {
    background-color: #5a6268;
}

.address-input {
    flex: 1;
}

.address-search-btn {
    padding: 0 15px;
    height: 40px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.address-search-btn:hover {
    background-color: #5a6268;
}

.address-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.address-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.address-checkbox label {
    font-size: 13px;
    color: #0066cc;
    font-weight: 500;
}

/* 완료 화면 스타일 */
.completion-section {
    text-align: center;
    padding: 40px 20px;
}

.completion-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
}

.completion-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 24px;
}

.completion-section p {
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.signup-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.confirm-btn,
.cancel-btn {
    padding: 0 40px;
    height: 50px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.confirm-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
}

.confirm-btn:hover {
    background-color: #3d8b40;
}

.confirm-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.confirm-btn:disabled:hover {
    background-color: #cccccc;
}

.cancel-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cancel-btn:hover {
    background-color: #e8e8e8;
} 