@import url(reset.css);

@font-face {
    font-family: 'Giants';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Giants';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'GiantsInline';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Inline.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PartialSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/PartialSansKR-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GoyangDeokyang';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/GoyangDeogyang.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'KblcourtEbttf';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-5@1.0/KBLCourt_EBTTF.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KblJumpCondensed';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-5@1.0/KBLJump_EB_CondensedTTF.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FounderYooGeonWook';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2112@1.0/establishRetrosansOTF.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
/* 768/1024  480/880 */ 

#wrap { width: 100%;}


/* 헤더(로고,탑메뉴,네비)----------------------------------------------------------------------------------- */

/* 헤더 전체 배경 가독성만 살짝 보완 */
header { 
    width: 100%; position: absolute; top: 0; left: 0; z-index: 9999; 
    background: rgba(0, 0, 0, 0.3); 
    transition: background 0.3s;
}
/* 마우스 올렸을 때만 배경을 조금 더 진하게 (서브메뉴 가독성) */
header:hover { background: rgba(0, 0, 0, 0.6); }

.header { width: 1200px; margin: 0 auto;}
h1 { padding: 40px 0 15px 0; text-align: center;} /* 로고 중앙 유지 */

.top_menu { position: absolute; top: 30px; right: 15%; display: flex;} /* 위치 고정 */
.top_menu li { padding: 0 10px;}
.top_menu li a { font-size: 14px; color: #fff;}
.top_menu li a:hover {color: #000000;}


nav { width: 100%; }
nav > ul.gnb { width: 1200px; margin: 0 auto; height: 60px; display: flex; } 
nav > ul.gnb > li { position: relative; width: 16.666%; text-align: center; line-height: 60px; }

/* 1. 메인 메뉴 (GNB) */
nav > ul.gnb > li > a { 
    color: #fff; 
    font-size: 18px; 
    display: block; 
    position: relative; 
    transition: all 0.3s;
}

/* 야구 베이스라인 하단 바 (서브메뉴에 마우스 있어도 유지되도록 설정) */
nav > ul.gnb > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
    transform: translateX(-50%);
}

/* 메인 메뉴나 서브 메뉴 전체 영역(li)에 호버 시 밑줄 노출 */
nav > ul.gnb > li:hover > a::after { 
    width: 50%; 
}

/* 2. 서브 메뉴 (Sub Menu) */
nav ul.sub { 
    position: absolute; 
    top: 50px; 
    left: 0; 
    z-index: 888; 
    width: 100%; 
    display: none; 
    padding: 15px 0;
}

/* 서브 메뉴 아이템 기본 상태 */
nav ul.sub li a { 
    display: inline-block; /* 중요: 선이 글자 길이에 딱 맞게 생기도록 설정 */
    padding: 7px 0; 
    color: #fff; 
    font-size: 16px; 
    position: relative; 
    transition: color 0.3s ease;
    text-align: center; /* 기존 중앙 정렬 유지 */
}

/* 서브메뉴 하단 바 (기본은 너비 0) */
nav ul.sub li a::after {
    content: '';
    position: absolute;
    bottom: 15px; /* 글자 바로 아래 붙도록 위치 조절 */
    left: 50%;
    transform: translateX(-50%); /* 중앙에서부터 퍼지도록 설정 */
    width: 0;
    height: 1px; /* 얇고 세련된 라인 */
    background: #fff; /* 메인 메뉴와 통일감 있는 화이트 */
    transition: width 0.3s ease;
}

/* 서브메뉴 호버 시: 글자색 강조 및 밑줄 노출 */
nav ul.sub li a:hover { 
    color: #fff; 
    font-weight: bold; 
}

nav ul.sub li a:hover::after {
    width: 100%; /* 글자 너비의 80%만큼만 밑줄이 생겨서 더 세련돼 보임 (100%로 수정 가능) */
}
/* 3. 서브메뉴 전체 배경 (Background) */
.nav_bg { 
    background: rgba(0, 0, 0, 0.5); /* 영상 위에서 더 선명하게 살짝 어둡게 조정 */
    width: 100%;
    height: 320px; 
    position: absolute;
    top: 175px; 
    left: 0;
    z-index: 777;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.toggle { display: none;}

/* 헤더 반응형------------------------------------------------------------------------------ */

@media(max-width:1220px){
    .header { width: 100%;}
    nav  ul.gnb { width: 100%;} 
    h1 { padding: 45px 0 15px 0;}
    h1 img { width: 14%; }
    nav ul.gnb li a {font-size: 18px; display: block;}
    

}

@media(max-width:768px){
    h1 { padding: 30px 0 40px 0;}
    h1 img { width: 17%; }
    nav ul.gnb li { line-height: 0; }
    nav ul.gnb li a {font-size: 18px; display: block;}
    .top_menu { display: none;}
}

@media(max-width:480px){
    nav  ul.gnb { display: none; }
    h1 { padding: 20px 0 15px 20px; text-align: left; }
    h1 img { width: 27%; }
    .toggle { display: block; position: absolute; top: 25px; right: 15px; }
    .toggle i { color: #fff; font-size: 1.3rem;}
}


/* 배너--------------------------------------------------------------------------------- */

.banner { width: 100%; overflow: hidden; position: relative;}
.banner_768 { width: 100%; overflow: hidden; position: relative; display: none;}
.banner_480 { width: 100%; overflow: hidden; position: relative; display: none;}


.img_text { 
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'GMarketSans';
    font-weight: 700;
    font-size: 4vw;
    text-align: center;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 3);
    width: 100%;
}

.img_text span {
    color: #ff2121;
}

.img_text_2 { 
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5vw;
    text-align: center;
    font-weight: 500;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 3);
}

/* @media(max-width:768px){
    .banner { display: none;}
    .banner_768 { display: block;}
    .img_text { 
    top: 44%;
    left: 40%;
    transform: translate(-50% -50%);
    font-size: 6vw;
}
} */

@media(max-width:480px){
    .banner { display: none;}
    .banner_768 { display: none;}
    .banner_480 { display: block;}
    .img_text { 
    top: 50%;
    left: 50%;
    transform: translate(-50% -50%);
    font-size: 40px;
    line-height: 45px;
}
.img_text_2 { 
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 3);
    width: 100%;
}
}



/* 메인,컨텐츠랩,타이틀--------------------------------------------------------------------- */

main { width: 100%;}
.contents_wrap_1 { width: 100%; padding: 100px 5% 150px 5%; }
.contents_wrap_2 { width: 100%; margin-top: 150px;}



.contents { width: 1200px; margin: 0 auto;}


.sub_title { 
    width: 100%; 
    text-align: center;
    font-size: 40px;
    color: #000;
    font-family: 'GMarketSans';
    font-weight: 700;
}

.sub_text {
    text-align: center;
    color: #777;
    font-size: 18px;
    padding: 20px 0 50px 0;
} 

@media(max-width:1220px){
    .contents { width: 100%; padding: 0 5%; }
}

@media(max-width:768px){
    .contents_wrap_1 { margin-top: 60px; padding: 0;}
    .contents_wrap_2 { margin-top: 100px; }
    .sub_title { font-size: 30px;}
    .sub_text {font-size: 16px; padding: 10px 0 50px 0; margin-bottom: 0px;} 
}

@media(max-width:480px){
    .contents_wrap_1 { margin-top: 30px; }
    .contents_wrap_2 { margin-top: 60px; }
    .sub_title { font-size: 22px;}
    .sub_text {font-size: 14px; padding: 3px 0 30px 0;}
}


/* 아이콘-------------------------------------------------------------- */

.icon_wrap { display: flex;}
.icon {  width: 12.5%; text-align: center; transition: transform 0.3s ease; /* AOS와 별개로 호버 효과 */}
.icon a i { font-size: 2rem;}
.icon_text { font-size: 18px; padding-top: 20px;}
/* 마우스 올렸을 때 살짝 들리는 효과 추가하면 더 좋음 */
.icon:hover {
    transform: translateY(-10px);
}


/* 아이콘 반응형---------------------------------------------------------- */

@media(max-width:768px){
    .icon_wrap { flex-wrap: wrap;}
    .icon {  width: 25%; }
    .icon a i { font-size: 2rem;}
    .icon_text { font-size: 16px; padding-top: 5px;}
    .mg_botton_30 { margin-bottom: 30px;}
}

@media(max-width:480px){
    .icon a i { font-size: 1.3rem;}
    .icon_text { font-size: 14px; padding-top: 5px;}
    .mg_botton_30 { margin-bottom: 30px;}
}


/* 공지사항----------------------------------------------------------- */

/* .notice_wrap { margin: 0 -15px; display: flex;}
.notice_wrap::after { display: table; content: ''; clear: both;}

.notice_box_wrap { width: 33.333%; padding: 0 15px;}

.notice_box {position: relative; height: 220px; border-top: 1px solid #555; border-bottom: 1px solid #555; padding: 30px 0;}
.notice_box:hover { cursor: pointer; }

.box_tilte { 
    position: absolute; 
    top: 0; 
    left: 0;
    border-bottom: 1px solid #555;
    width: 100%;
    padding: 7px 0;
    color: #000;
    font-size: 18px;
}

.n_tilte { padding: 30px 0 10px 0;}
.n_tilte a {color: #000; font-weight: 600;}
.n_tilte a:hover {color: #ff2121; }
.n_date { position: absolute; bottom: 20px; left: 0px; font-size: 14px; color: #999;} */


/* 공지사항 반응형------------------------------------------------------------------------ */

/* @media(max-width:1200px){
    .notice_box { height: 250px;}
}

@media(max-width:920px){
    .notice_wrap { flex-wrap: wrap;}
    .notice_box_wrap { width: 100%; }
    .notice_box { height: auto; border-bottom: 0px solid #555;}
    .n_date { position: static; padding-top: 30px;}
    .bottom_line { border-bottom: 1px solid #555;}
}

@media(max-width:768px){

}

@media(max-width:480px){
    .box_tilte { width: 100%; padding: 5px 0; font-size: 16px;}
    .notice_box {padding: 20px 0;}
    .n_text { font-size: 14px; line-height: 20px;}
    .n_date { font-size: 12px;}
} */




/* 박물관소식---------------------------------------------- */

.sbm-main-content {
    width: 100%;
    padding: 0 0 150px 0;
    background: #fff;
}

.sbm-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 100px; 
    padding: 0 20px;
    align-items: flex-start; 
}

.sbm-news-part { flex: 2; }
.sbm-event-part { flex: 1; }

/* --- ★ 핵심 수정: 제목과 전체보기를 한 줄에 정렬 --- */
.sbm-title-row {
    display: flex;
    justify-content: space-between; /* 제목은 왼쪽, 버튼은 오른쪽 끝 */
    align-items: flex-end;         /* 글자 아래 라인 맞춤 */
    margin-bottom: 20px;           /* 제목과 (표/사진) 사이 간격 */
    height: 35px;                  /* 좌우 높이 어긋남 방지용 고정 높이 */
}

/* 제목 스타일 (왼쪽/오른쪽 공통 적용) */
.sbm-title-row h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.sbm-title-row h2 span { color: #e63946; }


/* --- 전체보기 버튼 호버 효과 --- */
.btn-plus {
    text-decoration: none;
    color: #888;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn-plus:hover {
    /* 5. 로고의 레드 컬러로 변경하며 살짝 굵게 */
    color: #e63946;
    font-weight: 700;
}

/* --- 표 및 사진 설정--- */
.sbm-text-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #111;
}

.event-photo {
    width: 100%;
    height: 440px;
    border-radius: 4px;
    overflow: hidden;
}

.event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-photo:hover img {
    /* 4. 마우스를 올리면 사진이 1.05배 서서히 확대됨 */
    transform: scale(1.05); 
}

/* 리스트 스타일  */
.sbm-text-list li { border-bottom: 1px solid #eee; }
.sbm-text-list li a {
    display: flex;
    align-items: center;
    padding: 24px 10px;
    text-decoration: none;
    color: #333;
}

.cate { font-weight: 700; color: #e63946; margin-right: 20px; min-width: 80px; }
.subject { font-size: 17px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date { font-size: 15px; color: #aaa; margin-left: 30px; }

/* --- 표(리스트) 호버 효과 --- */
.sbm-text-list li a {
    display: flex;
    align-items: center;
    padding: 24px 10px;
    text-decoration: none;
    color: #333;
    /* 부드러운 전환을 위해 transition 추가 */
    transition: all 0.3s ease; 
    background-color: #fff;
}

.sbm-text-list li a:hover {
    /* 1. 배경색을 아주 연한 회색으로 변경 */
    background-color: #f8f9fa; 

}

.sbm-text-list li a:hover .subject {
    /* 3. 호버 시 제목 텍스트 색상을 좀 더 진하게 강조 */
    color: #000;
    font-weight: 500;}

/* 전시--------------------------------------------------------------------------------- */


/* .ex_wrap { padding: 60px 5%; border-bottom: 1px solid #ccc;}

.ex_img { float: left; width: 40%;}
.ex img { border-radius: 20px;}

.ex_text { width: 60%; float: left; padding: 5% 0 0 5%;}
.ex_title { font-size: 55px; font-weight: 700; color: #555; letter-spacing: -2px;}
.ex_sub { margin-top: 10px; font-size: 23px;  color: #777; padding: 35px 70px 50px 0; line-height: 1.7; text-align: justify;} */



.contents_wrap_3 {
    width: 100%;
    display: flex;
    background-color: #f4f2f0; /* 차분한 박물관 내벽 색상 */
    position: relative;
    overflow: hidden;
}

.ex_intro {
    flex: 1; 
    height: 700px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 70px; /* 왼쪽 여백 확보 */
}

.intro_txt {
    position: relative;
    max-width: 85%;
    text-align: left;
    /* 상하에 옅은 라인을 넣어서 텍스트를 하나의 구역으로 묶어줌 */
    padding: 50px 0;
    border-top: 1px solid #ddd;    /* 상단 연한 선 */
    border-bottom: 1px solid #ddd; /* 하단 연한 선 */
}

/* 태그 및 오른쪽 장식 선 */
.intro_txt .txt_tag { 
    display: inline-block;
    color: #e63946; 
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
    position: relative;
    padding-right: 50px; /* 선이 들어갈 자리 */
}

/* ★ 요청하신 오른쪽 장식 선 ★ */
.intro_txt .txt_tag::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: #e63946;
}

/* 메인 타이틀 */
.intro_txt h2 {
    font-size: 44px; 
    font-weight: 700;
    line-height: 1.4; /* 너무 벌어지지 않게 살짝 조절 */
    color: #111;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

/* 본문 텍스트 */
.intro_txt p {
    font-size: 20px;
    color: #555; 
    line-height: 1.9;
    word-break: keep-all;
    /* 본문 앞에 아주 작은 불렛이나 포인트를 주면 덜 심심함 */
}

/* 본문 내 강조 (네이비) */
.intro_txt p strong {
    color: #003875;
    font-weight: 700;
    /* 강조 글자 밑에 아주 옅은 형광펜 효과를 줄 수도 있음 */
    background: linear-gradient(to top, rgba(0, 56, 117, 0.1) 30%, transparent 30%);
}
/* 3. 오른쪽: 다이아몬드 전시장 영역 */
.ex_diamond_zone {
    flex: 1.2; 
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* ★ center에서 flex-start로 변경 */
    padding-top: 80px;      /* ★ 이 수치를 키울수록 야구장이 아래로 내려갑니다 */
    position: relative;
}
/* ★오른쪽 섹션 배경 이미지 설정★ */
.ex_diamond_zone::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    /* 중앙에서 퍼지는 아주 은은한 조명 느낌 */
    background: radial-gradient(circle at center, rgba(0, 56, 117, 0.05) 0%, rgba(244, 242, 240, 0) 60%);
}
/* 4. 다이아몬드 전시장 원형 랩 (전체 경기장) */
.ex_diamond_wrap {
    width: 100%; 
    max-width: 550px; 
    margin: 0 auto;
    position: relative;
    height: 550px; 
    background: radial-gradient(circle, #349417 0%, #2fa12f 100%); /* 초록색 잔디 그라데이션 */
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.1); 
    box-shadow: 0 0 50px rgba(0,0,0,0.5); 
    overflow: visible; 
    z-index: 2; 
}

/* 4. 투수 마운드 (기본 스타일) */
.pitcher_mound {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; 
    height: 120px;
    background: #f1a139; 
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3); /* 은은한 테두리 */
}

/* ★ 1. 꾸미기: 글자 주변에 퍼지는 은은한 빛 (Pulse) ★ */
.pitcher_mound::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: moundGlow 2s infinite ease-out;
    pointer-events: none;
}

/* ★ 2. 꾸미기: 깔끔한 텍스트 가이드 ★ */
.pitcher_mound::after {
    content: 'MOUSE OVER THE BASES';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    
    /* 텍스트 스타일: 박스 없이 폰트 강조 */
    width: 180px;
    text-align: center;
    white-space: pre;
    font-size: 15px;
    font-weight: 900;
    color: #fff; /* 흰색 글씨로 깔끔하게 */
    letter-spacing: 1px;
    line-height: 1.2;
    
    /* 가독성을 위한 최소한의 그림자 */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 
                 0 0 15px rgba(255, 215, 0, 0.4); /* 미세한 골드 광채 */
    
    /* 부드러운 둥둥 효과 */
    animation: floatingText 2s infinite ease-in-out;
    pointer-events: none;
}

/* --- 애니메이션 정의 --- */

/* 1. 배경 광채가 은은하게 퍼짐 */
@keyframes moundGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 2. 글자가 공중에 부드럽게 떠 있음 */
@keyframes floatingText {
    0%, 100% { transform: translate(-50%, -60%); } /* 위로 */
    50% { transform: translate(-50%, -40%); }      /* 아래로 */
}

/* 베이스라인 */
.ex_diamond_wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 78%; height: 78%; 
    border: 2px dashed #dddddd; 
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
}

/* 공통 베이스 스타일 */
.base_item {
    position: absolute;
    width: 100px; 
    height: 100px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* 베이스 위치 설정 */
.base_1st { top: 50%; right: -25px; transform: translateY(-50%); } 
.base_2nd { top: -25px; left: 50%; transform: translateX(-50%); } 
.base_3rd { top: 50%; left: -25px; transform: translateY(-50%); } 
.base_home { bottom: -25px; left: 50%; transform: translateX(-50%) scale(1.05); } 

/* 베이스 아이콘 */
.base_icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 75px; 
    height: 75px;
    background: #fff;
    border: 3px solid #272727; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px; 
    font-weight: 900; 
    color: #111;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}

.base_home .base_icon {
    border-radius: 12px 12px 40px 40px;
    background: #ff2121;
    color: #fff;
    border-color: #ff2121;
}

.base_item:hover .base_icon {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1) rotate(-8deg);
}

/* 5. 정보창 스타일 및 위치 */
.base_info {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 350px; 
    height: 350px; 
    background: #ffffff;
    /* border-radius: 25px; */
    padding: 35px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid #000;
}

.base_item:hover .base_info {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.base_2nd:hover .base_info { top: 180%; }
.base_home:hover .base_info { top: -80%; }
.base_1st:hover .base_info {
    left: -150%; 
    top: 50%;
    transform: translate(0, -50%) scale(1); 
}
.base_3rd:hover .base_info {
    left: 250%; 
    top: 50%;
    transform: translate(-100%, -50%) scale(1); 
}

.base_info img {
    width: 180px; 
    height: 180px;
    object-fit: cover;
    /* border-radius: 20px; */
    margin-bottom: 20px;
    /* border: 4px solid #000; */
}

.base_info h3 { 
    font-size: 28px; 
    font-weight: 800; 
    color: #111; 
    margin-bottom: 12px; 
    letter-spacing: -1px;
}

.base_info p { 
    font-size: 16px; 
    color: #444; 
    line-height: 1.6; 
    word-break: keep-all; 
    max-width: 90%;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
/* 전시탭-------------------------------------------------------------------------------------- */
/* .tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    display: flex;
}
.tab button {
    cursor: pointer;
    font-size: 20px;
    padding: 14px 0;
    transition: 0.3s;
    width: 25%;
    background: #fff;
    color: #000;
    font-weight: 500;
}
.tab button:hover {
    border-bottom: 3px solid #ddd;
}
.tab button.active {
    border-bottom: 3px solid #ff2121;
}
.tabcontent {
    display: none;
    padding: 0;
    border-top: none;
} */


/* 박물관 사진--------------------------------------------------------------------------- */

/* 섹션 전체 배경: 흰색 */
.museum_info_section {
    padding: 120px 0;
    color: #111111;
}

/* 1600px 전용 컨테이너 */
.mi_container {
    width: 1600px;
    margin: 0 auto;
}

/* 제목 라인 */
.mi_title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 60px;
    padding-bottom: 25px;
    border-bottom: 2px solid #111; 
    text-align: left;
}

/* 그리드 레이아웃 */
.mi_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mi_card {
    text-align: left;
    cursor: pointer;
}

/* 이미지 박스 */
.mi_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 30px;
}

.mi_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mi_card:hover .mi_thumb img {
    transform: scale(1.08);
}


/* 텍스트 디테일 */
.mi_details h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
}

.mi_time {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 캡슐형 태그 그룹 */
.mi_tag_group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mi_tag_group a {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    color: #111;
    padding: 6px 18px;
    border: 1px solid #111;
    transition: all 0.2s;
}

.mi_tag_group a:hover {
    background-color: #111;
    color: #fff;
}
/* 스토리---------------------------------------------------------------------------- */

.story_wrap { display: flex;}
.story { position: relative; width: 20%;  background: #000; overflow: hidden;}
.story:hover img { transform: scale(1.1); opacity: 0.3;}
.story * { transition: all 0.5s ease;}

.story_text { 
    position: absolute; 
    top: 40%; left: 0;
    color: #fff;
    font-size: 24px;
    text-align: center;
    width: 100%;
    z-index: 10;
    transform: translateY(100px);
    opacity: 0;
}

.story:hover .story_text { 
    transform: translateY(0);
    opacity: 1;
}


@media(max-width:768px){
    .story_wrap { flex-wrap: wrap;}
    .story { width: 50%;}
    .view_x { display: none;}
    .story:nth-child(1) {order: 1;}
    .story:nth-child(2) {order: 2;}
    .story:nth-child(3) {order: 4;}
    .story:nth-child(4) {order: 3;}
}



/* 하단배너--------------------------------------------------------- */


@keyframes bimg { 
    0% {
        background-size: 100%;
        background-position: right;
    }
    50% { 
        background-size: 120%;
        background-position: left;
    }
    100% {
        background-size: 100%;
        background-position: left;
    }
}


.f_banner_text {
    width: 100%;
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 55px;
    color: #fff;
    font-family: 'GMarketSans';
    font-weight: 700;
    line-height: 70px;
}

.span_1 { color: #53c542;}
.span_2 { color: #ff2121;}


/* 하단배너 반응형------------------------------------------------------------- */

@media(max-width:1024px){
    .contents_wrap_3 { display: none;}
}

/* 풋터----------------------------------------------------------------- */

footer {
    width: 100%;
    /* ★ 어두운 배경색으로 변경 ★ */
    background-color: #111; 
    padding: 80px 0;
    /* 상단 라인을 조금 더 짙게 해서 구분 */
    border-top: 1px solid #222;
}

.footer_inner {
    width: 1600px;
    margin: 0 auto;
}

/* 상단 영역 스타일 */
.footer_top {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.f_logo {
    width: 150px;
    filter: brightness(0) invert(1); /* 로고 이미지를 흰색으로 반전시키는 팁 */
    opacity: 0.9;
}

.f_menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: 50px;
}

.f_menu li a {
    text-decoration: none;
    /* ★ 글자색을 밝은 회색으로 변경 ★ */
    color: #fff; 
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

/* 호버 시 로고 레드 컬러로 강조 */
.f_menu li a:hover { color: #e63946; }



.sns {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.sns a i {
    font-size: 28px;
    /* ★ SNS 아이콘 색상 변경 ★ */
    color: #b3b3b3; 
    transition: transform 0.3s, color 0.3s;
}

.sns a i:hover {
    color: #fff; /* 호버 시 흰색 */
    transform: translateY(-3px);
}

/* 중간 구분선 스타일 */
.f_line {
    border: 0;
    /* ★ 구분선 색상을 어둡게 변경 ★ */
    border-top: 1px solid #333; 
    margin-bottom: 30px;
}

/* 하단 상세 정보 영역 */
.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.copy_info {
    font-style: normal;
    /* ★ 상세 정보 글자색 변경 ★ */
    color: #888; 
    font-size: 14px;
    line-height: 1.8;
}

.info_row span {
    margin-right: 20px;
    position: relative;
}

/* 정보 사이의 구분 세로선 색상 변경 */
.info_row span:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: #444; /* 어두운 세로선 */
    margin-left: 20px;
    vertical-align: middle;
}

.copyright {
    margin-top: 15px;
    color: #666;
    font-size: 13px;
}
.family_site select {
    /* 1. 기본 화살표 숨기기 */
    -webkit-appearance: none;  /* 크롬, 사파리 */
    -moz-appearance: none;     /* 파이어폭스 */
    appearance: none;          /* 표준 */
    background: #222 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
    
    /* 3. 화살표 위치 조절 (오른쪽에서 15px 띄움) */
    background-position: calc(100% - 15px) center; 
    
    /* 4. 텍스트와 화살표 사이 패딩 확보 */
    padding: 10px 40px 10px 15px; 
    
    border: 1px solid #333;
    color: #aaa;
    font-size: 13px;
    min-width: 180px;
    cursor: pointer;
}

/* IE에서 화살표 숨기기 */
.family_site select::-ms-expand {
    display: none;
}

/* 풋터 반응형------------------------------------------ */

@media(max-width:1220px){
    .footer { width: 100%; padding: 0 5%;}
}

@media(max-width:940px){
    .footer { flex-wrap: wrap;}
    .f_logo { width: 100%; padding: 0 0 20px 0 ;}
    .copy { width: 70%;}
    .sns { width: 30%; text-align: right;}
    .sns a i { font-size: 1.8rem;}
}

@media(max-width:768px){
    footer { margin: 85px 0 50px 0; }
    .f_logo img { width: 20%;}
    .sns a { padding: 0;}
}

@media(max-width:480px){
    footer {margin: 50px 0 30px 0; }
    .sns { display: none;}
    .f_logo { padding: 0 0 10px 0;}
    .f_logo img { width: 35%;}
    .copy { width: 100%; font-size: 14px; line-height: 18px;}
}