:root {
    --header-height: 65px; /* 기본 헤더 높이 */
}

/* 모바일 헤더 높이 반응형 처리 */
@media (max-width: 991px) {
    :root {
        --header-height: 60px;
    }
}

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

a {
    text-decoration: none;
    color: #333;
}

body {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0;
    font-family: 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans', sans-serif;
}

p { word-break: keep-all; }
h1, h2 { word-break: keep-all; }

/* -----------------------------------------------------------
   헤더 및 네비게이션
----------------------------------------------------------- */
header {
    width: 100%;
    height: var(--header-height);
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1);
    border-bottom: 2px solid #efefef;
    transition: background-color 0.3s, border-bottom 0.3s;
}

header.header-transparent {
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 0px solid rgba(0, 0, 0, 0);
}

.container-nav {
    width: 100%;
    height: 100%;
    line-height: 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap;
    z-index: 9999999999;
}

@media (max-width: 991px) {
    .container-nav {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: space-between;
    }
}

.logo {
    align-items: center;
    height: 100%;
}

.logo > img {
    max-width: 200px;
    position: relative;
}

@media (max-width: 991px) {
    .logo > img {
        top: 0;
        max-width: 150px;
        height: auto;
        display: block;
    }
}

.nav-right {
    list-style: none;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
}
.nav-right > li { padding-left: 1rem; }
.nav-right > li a { cursor: pointer; }

.sm-btn {
    border: none;
    background-color: transparent;
    display: none;
    cursor: pointer;
    height: 100%;
    align-items: center;
}

@media all and (max-width: 991px) {
    .nav-left { display: flex; }
    .nav-right { display: none; }
    .sm-btn { display: flex; }
}

/* -----------------------------------------------------------
   사이드 메뉴
----------------------------------------------------------- */
.side-menu {
    display: none;
    position: fixed; /* absolute -> fixed (스크롤 시 고정) */
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    top: 0;
    left: 0;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.side-menu.side-menu-visible { display: block; }
.side-menu > .logo { margin: 20px auto; }
.side-menu > .logo > img { display: block; width: 200px; margin: 30px auto; }

/* ✅ 모바일 사이드바 로고 크기 제한 */
@media (max-width: 767px) {
    .side-menu > .logo > img {
        width: 150px;
        margin: 20px auto;
    }
}

.side-close {
    border: none;
    background-color: #f7cf64;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.sm-nav { list-style: none; margin: 50px auto; }
.sm-nav > li { margin: 10px 0 0 20px; font-size: 1.1rem; }


/* -----------------------------------------------------------
   팝업 (Modal) 스타일
----------------------------------------------------------- */
.popup-overlay {
    position: fixed; /* ✅ 모바일 중앙 정렬 보장 */
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content-box {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: clamp(400px, 95vw, 420px); /* 이전 설정으로 다시 복구 */
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* ✅ 모바일 팝업 최적화 (화면 잘림 방지, 하단 버튼 보장) */
@media (max-width: 767px) {
    .popup-content-box {
        width: 85%;
        max-width: 400px;
        max-height: 85vh; /* 화면 높이 85% 제한 */
        display: flex;
        flex-direction: column;
    }

    .popup-slider-wrapper {
        flex: 1;
        min-height: 200px;
        height: auto;
    }

    .popup-slide img, .obj-cover {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .popup-bottom-bar {
        flex-shrink: 0; /* 버튼 영역 고정 */
        padding: 0.75rem;
    }
}

.popup-overlay.show .popup-content-box {
    transform: scale(1);
}

.popup-slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #e5e7eb;
}

.popup-slide { width: 100%; height: 100%; }
.obj-cover { width: 100%; height: 100%; object-fit: cover; }

.popup-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background-color 0.2s;
}
.popup-arrow-btn:hover { background-color: rgba(255, 255, 255, 0.6); }
.popup-arrow-btn.prev { left: 10px; }
.popup-arrow-btn.next { right: 10px; }

.popup-pagination {
    position: absolute;
    bottom: 10px !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
}
.popup-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.5;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: all 0.3s;
}
.popup-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

.popup-bottom-bar {
    background-color: #f9fafb;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
}
.popup-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: #4b5563;
}
.popup-close-text-btn {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
}
.popup-close-text-btn:hover { color: #111; }


/* -----------------------------------------------------------
   메인 배너 (Main Banner)
----------------------------------------------------------- */
.main-banner-container {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 70%);
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 18px;
    overflow: hidden;
    box-sizing: border-box;
}

.mainBannerSwiper {
    width: 92%;
    max-width: 1480px;
    margin: 0 auto;
    overflow: hidden;
    /*padding: 0 18px;*/
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .mainBannerSwiper { 
        padding: 0 48px; 
        overflow: visible;
    }
}

/* ✅ 데스크탑 배너 패딩 조정 (3개 뷰) */
@media (min-width: 1020px) {
    .mainBannerSwiper {
        max-width: none !important;
        width: 100% !important;
        padding: 0 60px !important;
    }
    .banner-slide-item {
        width: 750px !important;
    }
}

.banner-slide-item {
    padding: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.banner-slide-item.is-preview {
    opacity: 0.6;
    transform: scale(0.95);
}
.banner-slide-item.is-active-pair {
    opacity: 1;
    transform: scale(1);
}

.banner-card {
    height: 288px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    /*box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);*/
}
@media (min-width: 768px) {
    .banner-card { height: 336px; border-radius: 26px; }
}
@media (min-width: 1200px) {
    .banner-card { height: 372px; }
}
.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.9);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
    cursor: pointer;
    backdrop-filter: blur(6px);
    color: rgba(51, 65, 85, 1);
}
@media (min-width: 768px) {
    .main-banner-arrow { display: flex; }
}
.main-banner-arrow.prev { left: 18px; }
.main-banner-arrow.next { right: 18px; }

.main-banner-bottom {
    width: 92%;
    max-width: 1480px;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
}
.main-banner-scrollbar {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}
.main-banner-scrollbar .swiper-scrollbar-drag {
    height: 4px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.9);
}
.main-banner-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(15, 23, 42, 0.75);
    white-space: nowrap;
}
.main-banner-fraction .swiper-pagination-current {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.9);
}
.main-banner-fraction .swiper-pagination-total { opacity: 0.6; }
.main-banner-autoplay-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.75);
    padding: 0;
}
@media (max-width: 767px) {
    .main-banner-status { display: none; }
}


/* -----------------------------------------------------------
   증평투어패스란? (.what-jp)
----------------------------------------------------------- */
.what-jp {
    background-color: #fff;
    height: 100%;
    text-align: center;
    padding: 30px;
    color: #333;
}
.what-jp > h6 {
    margin: 50px auto 10px;
    font-size: 15px;
}
.what-jp > h1 {
    margin: 0 0 50px;
    font-size: 50px;
    color: #3c7eb9;
}
.what-jp > p {
    margin-bottom: 10px;
    font-size: 25px;
    color: #333;
}
.what-jp > img {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}
@media all and (max-width: 991px) {
    .what-jp > h1 { font-size: 1.8rem; }
    .what-jp > p { font-size: 0.8rem; }
}


/* -----------------------------------------------------------
   상품 목록 (.p-container)
----------------------------------------------------------- */
.p-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 100px;
}
.p-container > h2 {
    text-align: center;
    font-size: 2rem;
    margin: 10px auto 70px;
    color: #333;
}
.p-container > h5 {
    text-align: center;
    font-size: 1.1rem;
    margin: 50px auto 0;
}
.p-p-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5%;
    justify-content: center;
}
.p-p-container a {
    display: inline-block;
    width: 24.5%; /* 4개씩 배치 */
    margin: 0 0 50px;
    cursor: pointer;
    color: inherit;
}
.p-product {
    width: 100%;
    border: 2px solid #eee;
    box-sizing: border-box;
    transition: all 0.3s;
}
.p-product:hover { border-color: #ccc; }
.product-img {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-information {
    width: 90%;
    margin: 10px auto;
    padding: 15px;
}
.p-title {
    height: auto;
    min-height: 40px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1.1rem;
}
.line {
    width: 100%;
    height: 1px;
    border-bottom: 3px dotted #919191;
    margin: 10px 0;
}
.price-wrap {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
}
.price-per { color: #d10000; font-weight: bold; }
.price { font-size: 1.2rem; font-weight: bold; }

@media all and (max-width: 991px) {
    .p-container { max-width: 850px; }
    .p-container > h2 { font-size: 2.3rem; margin: 50px auto 0; }
    .p-p-container { width: 80%; margin: 0 auto; min-width: 528px; }
    .p-p-container a { width: 48%; margin: 10px 0; }
}
@media all and (max-width: 576px) {
    .p-container > h2 { font-size: 1.2rem; margin: 0 auto; }
    .p-container > h5 { font-size: 1rem; margin: 100px auto 0; }
    .p-p-container { width: 100%; min-width: 300px; }
    .p-p-container a { width: 70%; display: block; margin: 0 auto; padding: 5%; }
}
@media all and (max-width: 460px) {
    .p-p-container a { width: 95%; }
}


/* -----------------------------------------------------------
   푸터 (Footer)
----------------------------------------------------------- */
.footer-container-bg { background-color: #d2d2d2; padding: 0 100px; }
.footer-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    max-width: 1180px;
    margin: 0 auto;
}
.footer-row { display: flex; }
.footer-in-title {
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    font-weight: bold;
    color: #fff;
    line-height: 2;
}
.footer-info {
    width: 19.38rem;
    font-size: 0.75rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0;
}
.footer-info > ul > li { list-style: none; }
.footer-info > a { color: #999; }
.footer-info-ftc { text-decoration: underline; }
.footer-info-ftc:hover { color: #ccc; }
.footer-logo { flex: 0 0 33%; max-width: 33%; }
.footer-jp-logo {
    background: url('https://dsj1e5gc359pm.cloudfront.net/jptourpass/images/jp_gun_logo.png') no-repeat;
    background-size: contain;
    display: block;
    margin: 20px 0 0 130px;
    width: 165px;
    height: 40px;
    cursor: pointer;
}
.footer-trav-logo {
    background: url('https://dsj1e5gc359pm.cloudfront.net/jptourpass/images/travolution_logo.png') no-repeat;
    background-size: contain;
    display: block;
    margin: 20px 0 0 130px;
    width: 165px;
    height: 40px;
    cursor: pointer;
}
.footer-content { flex: 0 0 66%; max-width: 66%; }
.footer-company { max-width: 100%; margin-bottom: 1.5rem; }
.footer-list {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: #999;
    line-height: 2.17;
}
.footer-list:hover { color: #ccc; }
.footer-about { white-space: nowrap; }
.footer-partner { white-space: nowrap; }
.footer-download::after { content: ""; clear: both; display: block; }
.footer-dl-line {
    border-style: none;
    width: 100%;
    height: 0.0625rem;
    background-color: #666;
    margin: 1.875rem 0;
}
.footer-dl-icon { display: flex; float: left; }
.footer-dl-icon > a { display: block; }
.footer-dl-icon > .footer-dl-appstore { margin-right: 0.625rem; }
.footer-dl-icon > .footer-dl-google img { height: 2.5rem; }
.footer-copyright {
    display: flex;
    float: right;
    height: 2.5rem;
    white-space: nowrap;
}
.footer-copyright > span {
    display: flex;
    align-self: center;
    font-size: 0.75rem;
    color: #999;
    line-height: 2.17;
}

@media all and (max-width: 991px) {
    .footer-container-bg { padding: 0; }
    .footer-container { padding: 1.5rem 1rem; }
    .footer-row { flex-direction: column; }
    .footer-in-title { margin-bottom: 0.9375rem; }
    .footer-info { width: 100%; padding: 0 8px; font-size: 0.6875rem; }
    .footer-logo { flex: 0 0 90%; max-width: 90%; }
    .footer-logo > div { margin: 16px 8px 0 0; }
    .footer-content { flex: 0 0 90%; max-width: 90%; }
    .footer-about { max-width: 100%; display: flex; flex-direction: column; }
    .footer-about > .footer-list { color: #fff; }
    .footer-service { display: none; }
    .footer-partner { display: none; }
    .footer-sns {
        max-width: 100%;
        margin-top: 2.5rem;
        text-align: center;
    }
    .footer-sns > .footer-in-title { display: none; }
    .footer-sns > .footer-list { display: inline-block; margin-right: 0.9375rem; }
    .footer-sns > .footer-list:hover { color: #fff; }
    .footer-dl-line { margin: 0.625rem 0 1.875rem; }
    .footer-dl-icon { width: 16.56rem; margin: 0 auto 1.25rem; float: none; }
    .footer-copyright { display: block; float: none; height: auto; text-align: center; }
    .footer-copyright > span { display: inline; font-size: 0.6875rem; }
    .footer-list-hide { display: none; }
}


/* -----------------------------------------------------------
   Map Section (Index Only)
----------------------------------------------------------- */
.map-section {
    width: 100%; height: 100%; margin: 0 auto;
    background-image: url("https://dsj1e5gc359pm.cloudfront.net/jptourpass/images/mapbgimg06.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.map-container {
    max-width: 1180px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.map-left { position: relative; width: 550px; margin: 50px 0; }
.mapImg { width: 550px; }
.map_mb { display: none; }
.move { position: absolute; cursor: pointer; }
.move:hover { animation: move 1.0s infinite; }
@keyframes move {
    from { transform: scale(1.0); }
    50% { transform: scale(1.1); }
    to { transform: scale(1.0); }
}
/* 맵 아이콘 위치들 (생략 없이 복구) */
.map-left>img:nth-of-type(2){ position: absolute; top:180px;left: 260px; width:80px; cursor: pointer; }
.map-left>img:nth-of-type(3){ position: absolute; top:200px;left: 120px; width:80px; cursor: pointer; }
.map-left>img:nth-of-type(4){ position: absolute; top:290px;left: 90px; width:105px; cursor: pointer; }
.map-left>img:nth-of-type(5){ position: absolute; top:295px;left: 200px; width:55px; cursor: pointer; }
.map-left>img:nth-of-type(6){ position: absolute; top:400px;left: 120px; width:70px; cursor: pointer; }
.map-left>img:nth-of-type(7){ position: absolute; top:380px; left:230px; width:85px; cursor: pointer; }
.map-left>img:nth-of-type(8){ position: absolute; top:455px; left:150px; width:80px; cursor: pointer; }
.map-left>img:nth-of-type(9){ position: absolute; top:655px; left:305px; width:115px; cursor: pointer; }
.map-left>img:nth-of-type(10){ position: absolute; top:700px; left:450px; width:80px; cursor: pointer; }

.map-right {
    width: 400px; background: white; border-radius: 20px;
    box-shadow: 5px 5px 5px #999; border: 10px solid white;
}
.m-r-title {
    width: 100%; height: 4rem; background-color: rgba(0,0,0,0.7); border-radius: 16px 16px 0 0;
}
.m-r-title > p {
    width: 95%; height: 4rem; color: #fff; padding-top: 12px; margin: 0 auto;
    text-align: center; font-size: 1.2rem; line-height: 1.4rem;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.map-r-img { width: 100%; height: 18rem; position: relative; cursor: pointer; background-color: #d2d2d2; }
.map-r-img img { width: 100%; height: 100%; object-fit: cover; }
.map-r-img-txtbg { width:100%; height: 18rem; position: absolute; top: 0; background-color: rgba(0,0,0,0.5); }
.map-r-img-txt {
    width: 90%; position: absolute; top: 42%; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 1.2rem; line-height: 30px; text-align: center;
}
.map-info { padding: 20px; }
.map-info > div { display: flex; margin-bottom: 10px; color: #111; height: 40px; }
.map-info h6 { width: 20%; font-weight: bold; font-size: 1.2rem; }
.map-info p { width: 80%; font-size: 1rem; padding-top: 2px; }
.map-more-btn {
    width: 50%; background: #333; color: #eee; padding: 10px 30px;
    margin: 20px auto; border-radius: 20px; border: 3px solid #333; cursor: pointer;
    display: block; text-align: center;
}
.map-more-btn:hover { background-color: #fff; color: #000; }

@media all and (max-width: 991px) {
    .map-left, .map-right { display: none; }
    .map_mb { display: block; text-align: center; }
    .map_mb > img { width: 100%; }
    .map-container { display: block; padding: 10px; height: auto; }
    .map-section { height: auto; padding: 10px; }
}


/* -----------------------------------------------------------
   Subpage: Common & Banner
----------------------------------------------------------- */
.titleBanner {
    width: 100%; height: 300px;
    margin: 0 auto;
    position: relative;
    top: 65px; /* 헤더 높이만큼 띄움 */
}
.titleBanner img {
    width: 100%; height: 100%; object-fit: cover;
}
.titleBanner > h1 {
    width: 100%; margin: 0 auto; font-size: 40px; text-align: center;
    position: absolute; top: 40%; left: 50%; transform: translateX(-50%);
    color: #333;
}
@media all and (max-width: 991px) {
    .titleBanner {
        /* background-image removed */
    }
    .titleBanner img { display: none; }
    .titleBanner > h1 { font-size: 35px; top: 45%; }
}

.subNavWrapper {
    width: 100%; height: 50px;
    border-bottom: 2px solid #eee; border-top: 2px solid #eee;
    margin-top: 65px; /* 헤더 고려 */
}
.subNavWrapper > ul {
    width: 65%; height: 50px; margin: 0 auto;
    display: flex; list-style: none; cursor: pointer;
}
.subNavWrapper > ul > li {
    line-height: 50px; margin-right: 20px; color: #666;
}
.subNavHome > a > img { width: 30px; margin-top: 9px; }
@media all and (max-width: 991px) {
    .subNavWrapper > ul { width: 90%; }
}


/* -----------------------------------------------------------
   Subpage: 이용방법 (How To)
----------------------------------------------------------- */
.jp-content-container {
    width: 100%; height: auto; margin: 0 auto; text-align: center;
}
.jp-tour { margin: 80px auto 60px; }
.jp-tour h2 { margin-bottom: 30px; font-size: 2rem; }
.jp-tour p { margin-bottom: 30px; word-break: keep-all; }
.jp-tour img { width: 90%; max-width: 500px; }

.howtoTab { width: 100%; margin: 80px auto 100px; }
.howtoTabMenu {
    margin: 20px auto; list-style: none;
    display: flex; align-items: center; justify-content: center;
}
.howtoTabMenu > li {
    width: 30%; max-width: 200px; cursor: pointer; color: #333;
    padding: 10px 0; margin: 0 10px; border-bottom: 3px solid #eee;
}
li.here { border-bottom: 3px solid #0c83e2; color: #000; opacity: 1; }

.howtoTabContents {
    width: 100%; min-height: 1000px; position: relative; margin: 20px auto;
}
.howtoTabContents > div {
    position: absolute; top: 0; left: 0; width: 100%; background: #fff;
    display: none; /* JS로 제어 */
}
.howtoTabContents > div.here { display: block; }

.howtoProductImgPc { width: 100%; max-width: 1280px; }
.howtoProductImgMb { display: none; }

@media all and (max-width: 991px) {
    .jp-tour > h2 { width: 80%; font-size: 1.5rem; margin: 30px auto; }
}
@media all and (max-width: 576px) {
    .howtoTabContents { height: auto; }
    .howtoTabMenu > li { font-size: 0.9rem; margin: 0; }
    .howtoProductImgPc { display: none; }
    .howtoProductImgMb { display: block; width: 100%; max-width: 300px; margin: 0 auto; }
    .howtoTabContents > div { position: relative; height: auto; }
}


/* -----------------------------------------------------------
   Subpage: 시설안내 (Facility Info)
----------------------------------------------------------- */
.infoContainer { width: 90%; margin: 0 auto; text-align: center; max-width: 1280px; }
.infoContainer > h2 { margin: 80px auto 50px; font-size: 2rem; }
.gridWrapper {
    margin: 20px auto 300px; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-gap: 0.2rem;
}
.info-productCard {
    margin: 20px auto; width: 90%; height: 330px; border: 2px solid #eee; text-align: right;
}
.info-productImg { margin: 10px auto; width: 90%; height: 150px; }
.info-productImg > img { width: 100%; height: 100%; }
.infoTxt {
    text-align: left; width: 90%; margin: 0 auto;
    text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.info-productNam { margin-top: 20px; }
.info-productAdd { font-size: 15px; }
.info-productCard > button {
    margin-top: 40px; margin-right: 15px; background: #eee;
    width: 80px; height: 35px; border: 2px solid #eee;
    text-align: center; cursor: pointer; border-radius: 10%;
}
.info-productCard > button:hover { background: #fff; }
.info-productBene { font-size: 14px; color: #ff0000; }

.infoPopWrapper {
    width: 100%; height: 100%; position: fixed; display: none; z-index: 999999;
}
.grayBg { width: 100%; height: 100%; background: rgba(0,0,0,0.5); position: fixed; }
.infoPopBox {
    position: absolute; width: 70%; height: 75%; max-width: 1000px; min-width: 580px;
    background: #fff; top: 14%; left: 50%; transform: translateX(-50%);
    border-top: 3px solid red; border-bottom: 3px solid red; overflow: auto;
}
.infoPopBox > button {
    width: 35px; height: 25px; position: absolute; top: 0; right: 0;
    background: red; color: #fff; border: none; cursor: pointer;
}
.popBoxImg {
    width: 90%; height: 160px; display: flex; justify-content: space-between; margin: 20px auto;
}
.popBoxImg > div { width: 30%; height: 100%; max-width: 250px; }
.popBoxImg img { width: 100%; height: 100%; }
.popBoxAll { width: 80%; margin: 0 auto; display: flex; border-bottom: 2px solid #949494; }
.popBoxAll.noborder { border-bottom: none; }
.popBoxAll > h4 { width: 15%; margin: 10px 0; word-break: keep-all; }
.popBoxAll > p { width: 90%; margin: 10px 0; }

@media all and (max-width: 576px) {
    .infoPopBox { width: 100%; height: 100%; min-width: 280px; top: 0; left: 0; transform: none; }
    .popBoxAll { display: block; }
    .popBoxAll > h4, .popBoxAll > p { width: 100%; }
}


/* -----------------------------------------------------------
   Subpage: 공지사항 (Notice)
----------------------------------------------------------- */
.noticeh3{
    width:100%; height: auto;
    text-align: center;
    margin: 80px auto 30px;
    color: #333;
    font-size: 2rem;
    word-break:keep-all;

}

.jp-notice-container { width: 80%; margin: 0 auto; max-width: 1280px; }
.notice-content { width: 100%; margin: 30px auto 150px; }
.notice-content-table { width: 100%; border-collapse: collapse; }
.notice-content-table thead {
    font-size: 20px; width: 100%; border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; height: 50px;
}
.notice-content-table tbody tr { border-bottom: 1px solid #cccccc; line-height: 50px; color: #737373; cursor: pointer; }
.notice-content-table td { text-align: center; }
.notice-content-table td:nth-of-type(2) { text-align: justify; }

.notice-content-layout { margin-bottom: 50px; border-bottom: 2px solid #858585; }
.notice-content-name {
    width: 100%; border-top: 2px solid #ccc; border-bottom: 2px solid #ccc;
    margin-top: 30px; display: flex; font-size: 1.1rem; line-height: 52px;
}
.noticeList-num { width: 20%; text-align: center; }
.noticeList-name { width: 60%; text-align: left; }
.noticeList-date { width: 20%; text-align: center; }
.notice-content-add { width: 80%; margin: 50px auto; }
.notice-content-add img { display: block; width: 70%; margin: 0 auto; }
a.noticeList-back {
    display: block; width: 120px; height: 50px; background-color: #ccc;
    text-align: center; line-height: 52px; margin: 0 auto 50px; border-radius: 10px;
}

@media all and (max-width: 991px) {
    .notice-content-name { flex-wrap: wrap; height: auto; line-height: 1.5; padding: 10px 0; }
    .noticeList-num { width: 20%; }
    .noticeList-name { width: 80%; }
    .noticeList-date { width: 100%; text-align: right; padding-right: 20px; font-size: 0.8rem; }
}


/* -----------------------------------------------------------
   Subpage: FAQ
----------------------------------------------------------- */
.jp-faq-container { width: 80%; min-height: 1100px; margin: 0 auto; max-width: 1280px; }
.faqTab { margin: 50px auto 150px; }
.faqChoice {
    width: 70%; margin: 50px auto; display: flex; flex-wrap: wrap; justify-content: center; list-style: none;
}
.faqChoice > li {
    padding: 0 10px; cursor: pointer; height: 30px; line-height: 32px; border-radius: 50px;
}
.faqChoice > li:hover, .faqChoice > li.active { background-color: #e1e3e7; }
.qBox {
    display: flex; justify-content: space-between; border-bottom: 2px solid #333; padding: 20px 50px; cursor: pointer;
}
.aBox {
    display: none; padding: 40px 50px; background-color: rgba(225, 227, 231, 0.8); border-bottom: 2px solid #333;
}
.aboxAni { transform: rotate(180deg); }
.qBoxColor { color: #ff3434; }
.faqContents{
    position: relative;
}
.faqContents>div{
    display: none;
    width:100%;
    background-color:#fff;
}
.faqContents>div.active{ display: block; }
@media all and (max-width: 991px) {
    .jp-faq-container {
        width: 90%;
        min-height: auto;
    }
}
/* 공지사항 헤더 스타일 오버라이드 */
.titleBanner.notice-header {
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 0; /* index.css의 top: 65px 초기화 */
    margin-top: 80px; /* 네비바와의 간격 확보 */
    padding: 80px 20px 40px;
    background: none !important; /* 배경 이미지 삭제 */
}
.titleBanner.notice-header h1 {
    position: static !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    color: #111827 !important; /* text-gray-900 */
}

/* 이용방법 헤더 스타일 오버라이드 */
.titleBanner.howto-header {
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 0; /* index.css의 top: 65px 초기화 */
    margin-top: 80px; /* 네비바와의 간격 확보 */
    padding: 80px 20px 40px;
    background: none !important; /* 배경 이미지 삭제 */
}
.titleBanner.howto-header h1 {
    position: static !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    color: #111827 !important; /* text-gray-900 */
}

/* 제휴가맹점 헤더 스타일 오버라이드 */
.titleBanner.facility-header {
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 0; /* index.css의 top: 65px 초기화 */
    margin-top: 80px; /* 네비바와의 간격 확보 */
    padding: 80px 20px 40px;
    background: none !important; /* 배경 이미지 삭제 */
}
.titleBanner.facility-header h1 {
    position: static !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    color: #111827 !important; /* text-gray-900 */
}

/* 자주묻는질문 헤더 스타일 오버라이드 */
.titleBanner.faq-header {
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 0; /* index.css의 top: 65px 초기화 */
    margin-top: 80px; /* 네비바와의 간격 확보 */
    padding: 80px 20px 40px;
    background: none !important; /* 배경 이미지 삭제 */
}
.titleBanner.faq-header h1 {
    position: static !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    color: #111827 !important; /* text-gray-900 */
}
