@charset "UTF-8";

:root {
    /* [컬러 팔레트: Organic Calm Theme] */
    --main-color: #ffffff;
    --accent-color: #8C8780;
    --dark-main-color: #2C2825;
    --text-bright-color: #fff;
    --icon-color: #fff;
    --icon-bk-color: #dcdad5;
    --gray-color: #dcdad5;
    --large-width: 1000px;
    --middle-width: 800px;
}

/* 기본 설정: 폰트 크기 반응형 */
@media (max-width: 599px) {
    :root {
        font-size: 14px;
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    :root {
        font-size: 16px;
    }
}

@media (min-width: 800px) {
    :root {
        font-size: 18px;
    }
}

body {
    margin: 0;
    font-family: '맑은 고딕', 'Apple SD Gothic Neo', 'sans-serif';
    overflow-x: hidden;
    background-color: var(--main-color);
    color: var(--dark-main-color);
}

/* HEADER (헤더)*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
header .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: static;
}

/* 로고 스타일*/
.headA {
    display: inline-block;
    line-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: transparent;
    text-decoration: none;
}

.headA img.logo {
    height: 75px;
    width: auto;
    vertical-align: middle;
}

/* [B] 네비게이션 (PC 메가 메뉴) */
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.headB > ul > li > a {
    display: block;
    padding: 0 25px;
    line-height: 70px;
    color: var(--dark-main-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.headB > ul > li > a:hover {
    color: var(--accent-color);
}

/* PC 버전 서브메뉴 */
@media (min-width: 768px) {
    .headB > ul > li {
        position: static;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .headB .submenu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        text-align: center;
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .headB li.dropdown:hover .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .headB .submenu li {
        display: inline-block;
        margin: 0 15px;
    }

    .headB .submenu li a {
        display: block;
        font-size: 13px;
        color: #666;
        font-weight: 500;
        padding: 5px 0;
        text-decoration: none;
        transition: all 0.3s;
    }

    .headB .submenu li a:hover {
        color: var(--dark-main-color);
    }
}

/* [C] 모바일 대응 (햄버거 버튼 및 사이드바}*/
.headC {
    display: none;
}

@media (max-width: 767px) {
    header .container {
        display: block;
    }

    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 20px;
    }

    /* 햄버거 버튼 스타일 */
    .headC {
        display: block !important;
        margin-right: 0;
        padding: 0;
        border: none;
        background: none;
        font-size: 24px;
        color: var(--dark-main-color);
        cursor: pointer;
        z-index: 10000;
        position: relative;
        transition: color 0.3s ease;
    }
    .headC:hover {
        color: var(--accent-color);
    }

    /* 모바일 메뉴바 */
    .headB {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        font-family: 'nbg', '맑은 고딕', HelveticaNeue, DroidSans, Sans-serif, Helvetica;
        overflow-y: auto;
        line-height: 1;
    }

    .headB ul {
        flex-direction: column;
        padding: 0 20px;
    }

    .headB > ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    /* 모바일 메인 메뉴 텍스트 */
    .headB > ul > li > a {
        display: block;
        padding: 20px 0;
        line-height: 1.2;
        font-size: 16px;
        font-weight: bold;
        color: #333333 !important;
        text-decoration: none !important;
    }

    /* 모바일 서브메뉴 */
    .headB .submenu {
        display: none;
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
        background-color: #f9f9f9;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .headB li.dropdown:hover .submenu {
        display: block;
    }

    .headB .submenu li {
        display: block;
        margin: 0;
        text-align: left;
        padding: 0;
    }

    /* 모바일 서브메뉴 간격 및 스타일 */
    .headB .submenu li a {
        padding: 15px 10px;
        margin-bottom: 5px; 
        font-size: 15px;
        color: #333333 !important;
        font-weight: 500;
        text-decoration: none !important;
        display: block;
    }
    .headB a,
    .headB a:visited,
    .headB a:hover,
    .headB a:active {
        color: #333333 !important;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
    }
}

/* .nohero 클래스 헤더 */
.nohero header {
    position: static;
    border-bottom: solid 1px var(--gray-color);
}

.blur-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 900;
    pointer-events: none;
}

.blur-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-break {
    display: none;
}

@media (max-width: 767px) {
    .mobile-break {
        display: inline;
    }
}

/* HERO SECTION (PC/모바일) */
.conA {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-color: transparent;
}

.pc-only,
.mobile-only {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
    transform: none !important;
}

.conA .container {
    position: relative;
    z-index: 10;
}

/*.conA::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}*/
/* .conA 이면서 동시에 main-index 라는 이름이 있는 곳에만 적용 */
.conA.main-index::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 메인만 어둡게 */
    z-index: 1;
}

@media (min-width: 768px) {
    .pc-only {
        display: block !important;
    }
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .pc-only {
        display: block !important; 
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .mobile-only {
        display: none !important;  
    }
    .conA h1 {
        font-size: 15vw;
    }
}
.conA h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 170px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.conA p {
    font-size: 28px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.conA h1 span.char,
.conA p span.char {
    display: inline-block;
    min-width: 0.3em;
}

@media (max-width: 767px) {
    .conA h1 {
        font-size: 16vw;
        line-height: 1.1;
        text-align: center;
    }
}

/*conB*/
.conB .container {
    padding-top: 80px;
    padding-bottom: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.conB .text {
    padding: 20px 20px 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.conB .text:hover {
    box-shadow: 0 10px 20px rgba(44, 40, 37, 0.1);
    background-color: #f9f8f6;
    transform: translateY(-5px);
}

.conB h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    transition: color 0.3s ease;
    color: var(--dark-main-color);
}

.conB .text:hover h2 {
    color: var(--accent-color);
}

.conB p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    transition: color 0.3s ease;
    color: #595552;
}

.conB .text:hover p {
    color: var(--dark-main-color);
    opacity: 1;
}

.conB a {
    color: var(--dark-main-color);
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.conB a:hover {
    background-color: var(--accent-color);
    color: var(--text-bright-color);
    text-decoration: none;
}

.conB .conB-icon {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    transform: scale(1);
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: none;
}

.conB .text:hover .conB-icon {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .conB .container {
        display: flex;
    }
    .conB .text {
        flex: 1;
    }
}

@media (max-width: 599px) {
    .conB .conB-icon {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/*[Artwork] 모바일 히어로 & 텍스트*/
.mobile-hero-text {
    display: none;
}
@media (max-width: 767px) {
    .conA {
        position: relative !important;
        overflow: hidden;
    }
    /* .conA:has(.mobile-hero-text)::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.65);
        background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
        background-size: 30px 30px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .conA:has(.mobile-hero-text) img.mobile-only {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        filter: blur(5px) brightness(0.7);
        transform: scale(1.1);
    }*/
    .conA:not(:has(.mobile-hero-text)) img.mobile-only {
        filter: none;
        transform: none;
    }
    .mobile-hero-text {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 20;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .mobile-hero-text h1 {
        font-family: 'Playfair Display', serif;
        font-size: 4.5rem;
        line-height: 0.95;
        color: #fff;
        margin: 0 0 15px 0;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        text-align: center;
        width: 100%;
        letter-spacing: -1px;
    }

    .mobile-hero-text p {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.4rem;
        color: #f0f0f0;
        font-weight: 500;
        letter-spacing: 2px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
        text-align: center;
        margin: 0;
    }

    .mobile-hero-text .char {
        display: inline-block;
        transform-style: preserve-3d;
        backface-visibility: hidden;
    }
}

/* listB (Slick Slider)*/
.listB h1 {
    font-size: 2rem;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-main-color);
}

.listB .container {
    max-width: 1000px;
    margin: 30px auto;
}

.listB article {
    padding: 10px;
    box-sizing: border-box;
}

.listB a {
    display: block;
    border: solid 1px var(--gray-color);
    color: inherit;
    text-decoration: none;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listB a:hover {
    opacity: 1;
    background-color: #fff;
    color: var(--dark-main-color);
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.listB .photo {
    min-height: 200px;
    background-position: center;
    background-size: cover;
    flex-grow: 1;
}

.listB .text {
    margin: 10px;
    padding: 10px;
}

.listB h2 {
    font-size: 18px;
    color: var(--dark-main-color);
}

.listB p {
    font-size: 14px;
    opacity: 0.8;
    color: #595552;
}

.listB .slick-prev:before,
.listB .slick-next:before {
    color: var(--dark-main-color);
}

.listB .slick-prev {
    left: -35px;
}

.listB .slick-next {
    right: -35px;
}

.listB .slick-dots li button:before {
    color: var(--dark-main-color);
    opacity: 0.5;
}

.listB .slick-dots li.slick-active button:before {
    color: var(--accent-color);
    opacity: 1;
}

/* artwork-grid */
.artwork-grid {
    width: 100%;
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.artwork-grid h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    color: #504D4A;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    display: block;
    text-decoration: none;
    border: 1px solid var(--gray-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(44, 40, 37, 0.1);
}

.grid-item .photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f4f4f4;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .artwork-grid h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* About Page Content */
.about-page-content {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.yayoi-title,
.about-title {
    font-family: 'Playfair Display', serif;
    color: var(--dark-main-color);
    text-transform: uppercase;
}

.kusama-hero {
    position: relative;
    width: 100%;
    margin-bottom: 100px;
}

.yayoi-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.hero-image-box {
    width: 90%;
    height: 550px;
    margin: 0 auto;
    background-image: url('img/artbord.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-box:hover {
    transform: scale(1.03);
}

.kusama-title {
    font-family: 'Playfair Display', serif;
    color: #fbf0e1;
    text-shadow: 0 4px 15px rgba(160, 160, 160, 0.6);
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 11rem;
    font-weight: 700;
    z-index: 10;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.hero-description {
    width: 100%;
    max-width: 600px;
    margin: 40px auto 0 auto;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    color: #595552;
    line-height: 1.9;
    letter-spacing: 0.03em;
    word-break: keep-all;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    width: 90%;
    margin: 0 auto 80px auto;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 5rem;
    font-weight: 650;
    margin: 0;
    line-height: 1;
}

.about-description {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    color: #595552;
    margin-top: 20px;
    line-height: 1.9;
    letter-spacing: 0.03em;
    word-break: keep-all;
}

.about-image-box {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px;
    margin-top: 20px;
    display: block !important;
    background-image: url('img/kusamayayoi.jpg');
    background-size: cover;
    background-position: center;
}

.about-image-box:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(44, 40, 37, 0.1);
}

.more-info-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    border-top: 1px solid var(--gray-color);
    padding-top: 80px;
    width: 90%;
    margin: 0 auto 80px auto;
}

.grid-aside-title {
    flex-basis: 25%;
    min-width: 200px;
}

.grid-aside-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent-color);
    line-height: 1.3;
    margin: 0;
}

.grid-container-4col {
    flex-basis: 75%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-item-4col {
    text-decoration: none;
    color: var(--dark-main-color);
}

.grid-item-4col .photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f4f4f4;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-item-4col:hover .photo {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(44, 40, 37, 0.1);
}

.grid-item-4col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.grid-item-4col p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.85rem;
    color: #595552;
    margin: 0;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.slogan-section {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    border-top: 1px solid var(--gray-color);
    padding-top: 80px;
    width: 90%;
    margin: 0 auto 80px auto;
}

.slogan-image {
    flex-basis: 40%;
    border-radius: 8px;
    overflow: hidden;
}

.slogan-image img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.slogan-image:hover img {
    transform: scale(1.05);
}

.slogan-text {
    flex-basis: 60%;
}

.slogan-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.4;
    color: var(--dark-main-color);
    margin-bottom: 20px;
}

.slogan-text p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #595552;
}

@media (max-width: 767px) {
    .about-intro,
    .more-info-grid,
    .slogan-section,
    .hero-image-box {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
        margin: 0 auto !important;
    }

    .kusama-title {
        font-size: 19vw;
        color: #fbf0e1;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

    .hero-image-box {
        height: 300px;
        margin-bottom: 40px;
    }

    .about-intro {
        flex-direction: column;
    }

    .about-title {
        font-size: 3.5rem;
        text-align: center;
    }

    .about-image-box {
        width: 100%;
        height: 350px;
        margin-top: 20px;
        background-position: center;
        display: block;
    }

    .more-info-grid {
        flex-direction: column;
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .grid-container-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .slogan-section {
        flex-direction: column;
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .slogan-text h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .slogan-image {
        width: 100%;
    }
}
.timeline-hero {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-container {
    display: flex;
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); 
}

.hero-image {
    flex: 1;
    min-height: 450px;
    background-image: url('img/tlmelinmain.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-text-box {
    flex: 1;
    background-color:#f0f0f0;
    color: #838383;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-text-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--accent-color); 
}

.hero-text-box p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    word-break: keep-all; 
}
/* Timeline Section*/
.timeline-section {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Apple SD Gothic Neo', '맑은 고딕', sans-serif;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--drark-main-colo);
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 2px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #222;
    margin: 15px 0 0 0;
    font-weight: 700;
    word-break: keep-all;
}

.timeline-content p .sub-text {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
    line-height: 1.4;
}

.timeline-intro {
    display: flex;
    width: 100%;
    background-color: #F2F0EB;
    margin-bottom: 60px;
    border-radius: 8px;
    overflow: hidden;
}
.tab-content.show-always {
    display: block !important;
    padding-bottom: 60px;     
    margin-bottom: 60px;   
    border-bottom: 1px solid #dcdad5; 
}

.tab-content.show-always:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.loc-sub-title {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; 
    font-size: 1.8rem;
    color: #2C2825;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700; 
}

.map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
/* 모바일 화면 조정 */
@media (max-width: 767px) {
    .loc-sub-title {
        text-align: center;
        font-size: 1.5rem;
    }
}
.intro-left-box {
    flex-basis: 40%;
    min-height: 150px;
    background-color: var(--accent-color);
    background-image: url('img/kusamayayoi.jpg');
    background-size: cover;
    background-position: center;
}

.intro-right-text {
    flex-basis: 60%;
    padding: 30px;
    box-sizing: border-box;
}

.intro-right-text h2 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: var(--dark-main-color);
}

.intro-right-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #ffedbd;
}

.timeline-container {
    position: relative;
    width: 100%;
    padding: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--gray-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.timeline-item.left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--accent-color);
    z-index: 5;
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -11px;
    transform: translateY(calc( (2.5rem / 2) - 11px ));
}

.timeline-item.right .timeline-dot {
    left: -11px;
    transform: translateY(calc( (2.5rem / 2) - 11px ));
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-color);
    transform: translateY(calc( (2.5rem / 2) - 11px )) scale(1.1);
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-main-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin: 0 0 10px 0;
}

.image-box {
    width: 100%;
    height: 200px;
    background-color: #f4f4f4;
    border-radius: 8px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.timeline-item:hover .image-box {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(44, 40, 37, 0.15);
}

.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s;
}

.image-box .img-hover {
    opacity: 0;
}

.timeline-item:hover .image-box .img-default {
    opacity: 0;
}

.timeline-item:hover .image-box .img-hover {
    opacity: 1;
}

@media (max-width: 767px) {

    .timeline-hero { margin: 30px auto 60px; }
    .hero-container { flex-direction: column; }
    .hero-image { min-height: 300px; }
    .hero-text-box { padding: 40px 25px; text-align: center; }
    .hero-text-box h2 { font-size: 2.2rem; }
    .hero-text-box p { font-size: 1rem; }
    
    .timeline-content p {
        font-size: 0.95rem;
        text-align: left !important;
    }

    .timeline-content p .sub-text {
        font-size: 0.85rem;
    }

    .timeline-intro {
        flex-direction: column;
    }

    .intro-left-box,
    .intro-right-text {
        flex-basis: 100%;
    }

    .intro-left-box {
        min-height: 200px;
    }

    .timeline-container::before {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
        margin-bottom: 40px;
    }

    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
        right: auto;
        transform: translateX(-50%) translateY(calc((2.5rem / 2) - 11px));
    }

    .timeline-item:hover .timeline-dot,
    .timeline-item.left:hover .timeline-dot {
        transform: translateX(-50%) translateY(calc((2.5rem / 2) - 11px)) scale(1.1);
    }
    
}

.loc-sub-title {
    font-family: 'Noto Sans KR', '맑은 고딕', sans-serif;
    font-size: 1.5rem;
    color: #2C2825;   
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.location-divider {
    border: 0;
    border-top: 1px solid #dcdad5; 
    margin: 60px 0;
}

.transport-container {
    display: flex;       
    gap: 40px;          
    align-items: flex-start;
}

.transport-box {
    flex: 1;        
    background: transparent;
}

.transport-box .info-column {
    width: 100%;
    border: none; 
}

@media (max-width: 767px) {
    .transport-container {
        flex-direction: column;
        gap: 50px;
    }
}

/* Support Page Content*/
.support-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
    box-sizing: border-box;
}

.support-page-content .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--dark-main-color);
    margin-bottom: 40px;
    font-weight: 600;
}

.location-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gray-color);
}

.location-tabs .tab-btn {
    padding: 12px 20px;
    text-decoration: none;
    color: #8C8780;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 0;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
}

.location-tabs .tab-btn:hover {
    color: var(--dark-main-color);
}

.location-tabs .tab-btn.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.location-tab-list {
    background-color: #fff;
    border: 0;
    padding: 0;
}

.tab-content {
    display: none;
}

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

.tab-content-layout {
    display: flex;
    gap: 40px;
}

.map-column {
    flex-basis: 45%;
    min-width: 0;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    background-color: #f4f4f4;
    border: 1px solid var(--gray-color);
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    font-size: 0.9rem;
    color: #595552;
    margin-top: 15px;
    line-height: 1.6;
}

.map-address i {
    color: var(--accent-color);
    margin-right: 5px;
}

.map-address a {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-main-color);
    text-decoration: underline;
}

.info-column {
    flex-basis: 55%;
    min-width: 0;
}

.info-column dl {
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-color);
}

.info-column dl:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.info-column dt {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-main-color);
    margin-bottom: 15px;
}

.info-column dd {
    margin: 0;
    font-size: 0.9rem;
    color: #595552;
    line-height: 1.7;
}

.info-column dd span {
    display: block;
    margin-bottom: 8px;
}

.info-column dd span.info {
    color: #8C8780;
    font-size: 0.85rem;
    margin-top: 10px;
}

.subway-line {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 5px;
    vertical-align: middle;
}

.subway-line.line-T {
    background-color: #009bbf;
}

.subway-line.line-E {
    background-color: #b6007a;
}

.info-column dt strong {
    vertical-align: middle;
    margin-left: 5px;
}

@media (max-width: 767px) {
    .support-page-content {
        padding: 40px 20px;
    }

    .location-tabs .tab-btn {
        padding: 12px 10px;
        font-size: 0.8rem;
    }

    .tab-content-layout {
        flex-direction: column;
        gap: 30px;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(30px);
}

.fade-in-right {
    transform: translateX(-30px);
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Exhibition Section*/
.kusama-exhibition-section {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.exhibition-container {
    display: flex;
    position: relative;
    height: 450px;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.exhibition-info-panel {
    flex-basis: 40%;
    min-width: 400px;
    height: 100%;
    background-color: var(--dark-main-color);
    color: white;
    padding: 40px;
    box-sizing: border-box;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exhibition-info-panel .info-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exhibition-info-panel .info-text h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Playfair Display', serif;
}

.exhibition-info-panel .info-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.exhibition-info-panel .controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.exhibition-info-panel .nav-arrows {
    display: flex;
}

.exhibition-info-panel .arrow {
    background-color: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    color: var(--dark-main-color);
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.exhibition-info-panel .arrow:hover {
    background-color: #ccc;
}

.exhibition-info-panel .arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.exhibition-image-slider {
    flex-basis: 60%;
    height: 100%;
    z-index: 5;
    box-sizing: border-box;
    overflow: hidden;
}

.exhibition-image-slider .slick-list {
    overflow: hidden;
    padding-left: 10px;
}

.exhibition-image-slider .slide-item {
    height: 450px;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.exhibition-image-slider .slide-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f4f4f4;
    border-radius: 8px;
}

.exhibition-image-slider .slide-text-content {
    padding: 20px 10px 0 10px;
}

.exhibition-image-slider .slide-text-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--dark-main-color);
}

.exhibition-image-slider .slide-text-content p {
    font-size: 0.9rem;
    color: #595552;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.exhibition-image-slider .slide-text-content a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.exhibition-image-slider .slide-text-content a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .exhibition-container {
        flex-direction: column;
        height: auto;
    }

    .exhibition-info-panel {
        width: 100%;
        min-width: auto;
        height: auto;
        padding: 30px 20px;
    }

    .exhibition-info-panel .info-text h2 {
        font-size: 1.8rem;
    }

    .exhibition-info-panel .info-text p {
        font-size: 1rem;
    }

    .exhibition-image-slider {
        width: 100%;
        height: 450px;
    }
}

/* FOOTER*/
footer {
    color: #888;
    color: #888;
    background-color: var(--dark-main-color);
}
footer .container {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.footA {
    margin-bottom: 30px;
}
.footA h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.footA h2 img.logo-footer {
    height: 45px;
    width: auto;
    vertical-align: middle;
}

.footA h2:not(:has(img)) {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    letter-spacing: 0.2em;
}

.footA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.footA a {
    color: inherit;
    text-decoration: none;
}

.footB div {
    margin-bottom: 20px;
}

.footB h3 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: solid 1px currentColor;
    font-size: 14px;
}

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

.footB a {
    display: block;
    padding: 5px;
    color: inherit;
    font-size: 12px;
    text-decoration: none;
}

.footB a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footC {
    font-size: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.7;
}

.footD {
    margin-top: 20px;
}

.footD ul {
    display: flex;   
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
    gap: 15px;       
}

.footD a {
    display: flex; 
    justify-content: center;
    align-items: center;
    
    width: 30px;  
    height: 30px;
    border-radius: 50%; 
    
    background-color: #888; 
    color: #333; 
    
    text-decoration: none;
    transition: 0.3s;
}

.footD a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    footer .container {
        display: flex;
        flex-wrap: wrap;
    }

    .footA {
        flex: 0 0 40%;
    }

    .footB {
        flex: 0 0 60%;
        display: flex;
    }

    .footC {
        flex: 0 0 100%;
    }

    .footB > div {
        flex: 1;
    }

    .footB div:not(:first-child) {
        margin-left: 40px;
    }
}

/* pptx: 비디오*/
.pptx {
background-color: #66CBE5; background-color: var(--main-color); color: #fff;
color: var(--text-bright-color);
}
.pptx video {
width: 100%;
position: center; }

@media (min-width: 768px) { 
    .pptx .container {
        display: block; 
        width: 1500px; 
        margin-left: auto; 
        margin-right: auto;
    }
}

