@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */

#skipToContent a {
    z-index: 100000;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

#skipToContent a:focus,
#skipToContent a:active {
    width: 200px;
    height: 50px;
    background: #21272e;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 50px
}

.only-desktop {
    display: block;
}

.only-desktop-tablet {
    display: block;
}

.only-tablet-mobile {
    display: none;
}

.only-tablet {
    display: none;
}

.only-mobile {
    display: none;
}

.contain {
    max-width: 1380px;
    margin: 0 auto;
    padding-right: var(--space-container);
    padding-left: var(--space-container);
}

#wrapper {
    position: relative;
    padding-top: var(--header-height);
}

/* header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-height);
    transition: .2s;
    background: #fff;
}

#header .contain {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-50);
    height: 100%;
    z-index: 2;
}

.header-fixed #header {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sitelogo {
    flex-shrink: 0;
}

.sitelogo a {
    display: block;
}

.sitelogo img {
    display: block;
    height: clamp(20px, calc(24 / var(--inner) * 100vw), 24px);
}

#gnb {
    flex: 1;
    min-width: 0;
}

#gnb > ul {
    display: flex;
    justify-content: center;
}

#gnb > ul > li {
    position: relative;
    padding: 0 clamp(18px, calc(23 / var(--inner) * 100vw), 23px);
}

#gnb > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: var(--header-height);
    color: #2A2A2A;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.2em;
    text-align: center;
}

.pull-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-20);
}

.top-links {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    font-size: var(--font-size-16);
    font-weight: 500;
    line-height: 1.2em;
}

.top-links .link {
    color: #2A2A2A;
}

.top-links .btn {
    display: inline-block;
    padding: var(--space-8) var(--space-20);
    border-radius: 4px;
    background: var(--color-secondary);
    color: #fff;
}

.user-account {
    position: relative;
}

.user-account .toggle-button {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6) var(--space-12);
    background: transparent;
    border: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2em;
}

.user-account .toggle-button .profile-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 700;
    line-height: 1.2em;
}

.user-account .toggle-button .profile-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-account .toggle-button .profile-arrow {
    flex-shrink: 0;
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    width: 16px;
    height: 16px;
}

.user-account .toggle-button .profile-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

.user-account .toggle-layer {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    padding: 9px 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #E5E5E5;
    z-index: 100;
}

.user-account .toggle-layer ul li a {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    text-decoration: none;
}

.user-account .toggle-layer ul li a:hover {
    background: #f7f7f7;
}

.user-account.active .toggle-button .profile-arrow {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

/* for mobile */
.btn-m-menu {
    display: none;
    position: relative;
    width: 24px;
    height: 24px;
}

.btn-m-menu div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    width: 100%;
    height: 100%;
}

.btn-m-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #121212;
}

.mobile-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    overflow: auto;
    transition: .2s linear;
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    background: #fff;
    z-index: 102;
}

.mobile-navigation .home {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 20px;
    border-bottom: 1px solid #ddd;;
}

.mobile-navigation .home img {
    height: clamp(20px, calc(24 / var(--inner) * 100vw), 24px);
}

.mobile-navigation .nav-menu > ul > li {
    border-bottom: 1px solid #ddd;
}

.mobile-navigation .nav-menu > ul > li > a {
    position: relative;
    padding: 12px 48px 12px 20px;
    display: block;
    color: #242424;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5em;
}

/* .mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:20px; transform:translateY(-75%) rotate(45deg); width:11px; height:11px; border-right:2px solid #505050; border-bottom:2px solid #505050;} */
.mobile-navigation .nav-menu > ul > li.active > a {
    color: #fff;
    background: var(--color-primary);
}

.mobile-navigation .nav-menu > ul > li.active > a:after {
    transform: translateY(-35%) rotate(-135deg);
    border-color: #fff;
}

.mobile-navigation .nav-menu .submenu {
    display: none;
    background: #f8f8f8;
    color: #454545;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
}

.mobile-navigation .nav-menu .submenu ul li {
    border-top: 1px solid #e5e5e5;
}

.mobile-navigation .nav-menu .submenu ul li a {
    display: block;
    padding: 12px 20px;
}

.mobile-navigation .nav-menu .submenu ul li a:hover {
    color: var(--color-primary);
}

.mobile-navigation .close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 26px;
    height: 26px;
    text-indent: -9999em;
    overflow: hidden;
}

.mobile-navigation .close:before,
.mobile-navigation .close:after {
    content: " ";
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #242424;
    border-radius: 3px;
}

.mobile-navigation .close:before {
    transform: rotate(45deg);
}

.mobile-navigation .close:after {
    transform: rotate(-45deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    z-index: 101;
}

html.menu-opened {
    overflow: hidden;
}

html.menu-opened .mobile-navigation {
    -ms-transform: translateX(0);
    transform: translateX(0);
}

html.menu-opened .mobile-overlay {
    display: block;
}

/* main */
.main-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.main-hero .swiper-slide {
    height: 500px;
}

.main-hero .image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 5s linear;
    transform: scale(1.05);
}

.main-hero .caption {
    position: absolute;
    top: 46%;
    left: 0;
    width: 100%;
    padding: 0 5%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.main-hero .caption .text-1 {
    margin-bottom: var(--space-20);
    font-size: var(--font-size-42);
    font-weight: 700;
    line-height: 1.33em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.main-hero .caption .text-2 {
    font-size: var(--font-size-18);
    font-weight: 400;
    line-height: 1.45em;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.main-hero .swiper-slide-active .image {
    transform: scale(1);
}

.main-hero .button {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.10);
    cursor: pointer;
}

.main-hero .button svg {
    display: block;
}

.main-hero .prev {
    left: var(--space-60);
}

.main-hero .next {
    right: var(--space-60);
}

.main-hero .swiper-pagination {
    bottom: 98px;
}

.main-hero .swiper-pagination-bullet {
    width: clamp(18px, calc(28 / var(--inner) * 100vw), 28px);
    height: 2px;
    margin: 0 4px !important;
    border-radius: 0;
    background: #fff;
    opacity: .3;
}

.main-hero .swiper-pagination-bullet-active {
    opacity: 1;
}

.main-hero .page-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.main-hero .page-scroll .text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 1.2px;
    color: #fff;
    margin-bottom: 16px;
    white-space: nowrap;
}

.main-hero .page-scroll .track-bar {
    position: relative;
    overflow: hidden;
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.60);
    margin: 0 auto;
}

.main-hero .page-scroll .track-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 12px;
    background: #fff;
    animation: scroll-bar 2s linear infinite;
}

@keyframes scroll-bar {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.m-head-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-20);
    margin-bottom: 50px;
}

.m-head-wrap .m-head {
    margin-bottom: 0;
}

.m-head {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.m-head .sm {
    font-size: var(--font-size-20);
    font-weight: 400;
    line-height: 1.4em;
}

.m-head .tit {
    font-size: var(--font-size-45);
    font-weight: 700;
    line-height: 1.2em;
}

.m-head .txt {
    font-size: var(--font-size-20);
    font-weight: 500;
    line-height: 1.4em;
}

.m-head .btn {
    margin-top: var(--space-10);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    min-width: clamp(120px, calc(180 / var(--inner) * 100vw), 180px);
    padding: var(--space-16) var(--space-32);
    font-size: var(--font-size-15);
    font-weight: 700;
    line-height: 1.2em;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
}

.m-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-10);
    font-size: var(--font-size-20);
    font-weight: 500;
    line-height: 1.4em;
}

.main-business {
    padding: var(--space-80) 0;
    overflow: hidden;
    background: #fff;
}

.m-biz-items {
    display: flex;
    gap: var(--space-25);
}

.m-biz-item {
    position: relative;
    flex: 1;
    aspect-ratio: 410/500;
    border-radius: var(--radius-15);
    overflow: hidden;
    display: block;
}

.m-biz-item:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
    transition: .2s linear;
    opacity: 0;
}

.m-biz-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.m-biz-item:hover img {
    transform: scale(1.05);
}

.m-biz-item:hover:after {
    opacity: 1;
}

.m-biz-item .text {
    position: absolute;
    top: clamp(16px, calc(44 / var(--inner) * 100vw), 44px);
    left: clamp(16px, calc(44 / var(--inner) * 100vw), 44px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.m-biz-item .text .info {
    display: flex;
    flex-direction: column;
}

.m-biz-item .text .sm {
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 1.4em;
}

.m-biz-item .text .tit {
    font-size: var(--font-size-28);
    font-weight: 700;
    line-height: 1.4em;
}

.m-biz-item .text .desc {
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 1.4em;
}

.main-project {
    padding: var(--space-80) 0;
    overflow: hidden;
    background: #F4F4F4;
}

.m-prj-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.m-prj-head.m-head {
    flex: 0 0 300px;
    max-width: 300px;
    gap: var(--space-30);
}

.m-prj-head .txt {
    font-size: var(--font-size-18);
    line-height: 1.66em;
    font-weight: 400;
}

.m-prj-accordion {
    flex: 1;
    max-width: 886px;
    display: flex;
    gap: 15px;
    height: clamp(360px, calc(420 / var(--inner) * 100vw), 420px);
}

.m-prj-item {
    flex: 0 0 80px;
    min-width: 80px;
    height: 100%;
    border-radius: var(--radius-15);
    overflow: hidden;
    transition: flex .4s cubic-bezier(.11, .55, .44, .84);;
}

.m-prj-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.m-prj-link .thumb {
    position: absolute;
    inset: 0;
}

.m-prj-link .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s linear;
}

.m-prj-link .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 88%);
    transition: opacity .4s cubic-bezier(.11, .55, .44, .84);
}

.m-prj-link .info {
    position: absolute;
    left: 36px;
    bottom: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    opacity: 0;
    transition: .4s cubic-bezier(.11, .55, .44, .84);
    transform: translateY(100%);
}

.m-prj-link .info .tit {
    font-size: var(--font-size-24);
    font-weight: 700;
    line-height: 1.2;
}

.m-prj-link .info .more {
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 1.2;
}

.m-prj-item.is-active {
    flex: 1 1 600px;
}

.m-prj-item.is-active .info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.m-prj-item.is-active .thumb:after {
    opacity: 0;
}

.main-counter {
    padding: var(--space-80) 0;
    overflow: hidden;
    background: #fff;
}

.main-counter .m-head {
    display: block;
    text-align: center;
    margin-bottom: var(--space-50);
}

.main-counter .items {
    display: flex;
    gap: var(--space-50);
}

.main-counter .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-50);
    padding: var(--space-30);
    border-radius: var(--radius-20);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
}

.main-counter .item .title {
    font-size: var(--font-size-20);
    font-weight: 500;
    line-height: normal;
}

.main-counter .item .number {
    font-size: clamp(32px, calc(52 / var(--inner) * 100vw), 52px);
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.03em;
}

.main-display {
    overflow: hidden;
    background: #fff;
}

.main-display.bg {
    background: #EDEDED;
}

.main-display .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-30);
}

.main-display .m-head {
    margin-bottom: 0;
    padding: var(--space-40) 0;
}

.main-display .image {
    width: 60%;
    max-width: 717px;
}

.main-contact {
    padding: var(--space-100) 0;
    overflow: hidden;
    background: #F4F4F4;
}

.main-contact .m-contact-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.main-contact .m-contact-info {
    flex: 0 0 338px;
    max-width: 338px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 652px;
    padding: 20px 0;
}

.main-contact .m-contact-info .m-head {
    margin-bottom: 0;
    gap: 20px;
}

.main-contact .m-contact-info .txt {
    font-size: var(--font-size-18);
    font-weight: 400;
    line-height: 1.55em;
}

.main-contact .contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-contact .contact-item .label {
    margin: 0 0 4px;
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 20px;
    color: rgba(42, 42, 42, 0.5);
}

.main-contact .contact-item .value {
    margin: 0;
    font-size: var(--font-size-18);
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.45px;
    color: #2A2A2A;
}

.main-contact .contact-item .value p {
    margin: 0;
}

.main-contact .contact-item .value strong {
    font-weight: 700;
}

.main-contact .m-contact-form {
    flex: 1;
    max-width: 883px;
    padding: 30px 50px;
    border-radius: var(--radius-20);
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.main-contact .m-contact-form .inner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 780px;
    margin: 0 auto;
}

.main-contact .form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.main-contact .form-row {
    display: flex;
    gap: 20px;
}

.main-contact .form-row .form-field {
    flex: 1;
    min-width: 0;
}

.main-contact .form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main-contact .form-field .input {
    width: 100%;
    background-color: #fff;
    border: 1px solid #D1D5DB;
}

.main-contact .form-field select.input {
    max-width: 379px;
}

.main-contact .form-field textarea.input {
    min-height: 208px;
}

.main-contact .form-label {
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    color: #555;
}

.main-contact .form-label .is-req {
    color: #EF4444;
}

.main-contact .button-area {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-contact .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 50px;
    padding: 15px 60px;
    border: 0;
    border-radius: 10px;
    background: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -1px;
    color: #fff;
    cursor: pointer;
}

/* quick */
.quick-menu {
    position: fixed;
    bottom: var(--space-container);
    right: var(--space-container);
    z-index: 80;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    width: clamp(140px, calc(200 / var(--inner) * 100vw), 200px);
}

.quick-links .link-item {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-18) var(--space-24);
    border-radius: var(--radius-12);
    background: #fff;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.80);
    font-size: 12px;
    line-height: 1.5em;
    letter-spacing: 0;
}

.quick-links .link-item strong {
    font-size: 14px;
    line-height: 1.5em;
    color: #000;
}

.quick-links .link-item.st2 {
    background: #000;
    color: rgba(255, 255, 255, 0.80);
}

.quick-links .link-item.st2 strong {
    color: #fff;
}

.quick-links .link-item svg {
    flex-shrink: 0;
}

.quick-links .link-item span {
    flex: 1;
}

.quick-links .link-item .arrow-icon {
    transition: .2s;
}

.quick-links .link-item:hover .arrow-icon {
    transform: translateX(4px);
}

.scroll-top {
    width: clamp(48px, calc(56 / var(--inner) * 100vw), 56px);
    aspect-ratio: 1;
    margin: var(--space-16) auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.10);
}

.scroll-top svg {
    display: block;
    transition: .2s;
}

.scroll-top:hover svg {
    transform: translateY(-2px);
}

/* footer */
#footer {
    padding: clamp(30px, calc(65 / var(--inner) * 100vw), 65px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: #000;
    color: #fff;
    font-size: var(--font-size-14);
    line-height: 1.42em;
    letter-spacing: -.02em;
}

#footer a {
    color: inherit;
}

#footer a:hover {
    text-decoration: underline;
}

#footer address {
    font-style: normal;
}

.footer-top {
    display: grid;
    grid-template-columns:25% auto;
    gap: var(--space-48);
    margin-bottom: var(--space-48);
}

.foot-logo img {
    display: block;
    height: clamp(20px, calc(24 / var(--inner) * 100vw), 24px);
}

.foot-nav {
    display: grid;
    gap: var(--space-48);
    grid-template-columns:repeat(3, 1fr);
}

.foot-nav .nav-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.foot-nav .nav-item h3 {
    font-size: var(--font-size-14);
    font-weight: 400;
    line-height: 1.4em;
}

.foot-nav .nav-item ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.foot-nav .nav-item p {
    line-height: 1.7em;
}

.foot-bottom {
    border-top: 1px solid #fff;
    padding-top: var(--space-32);
}

.foot-bottom .bar {
    margin: 0 .4em;
}


/* 팝업 전체 배경 레이어 */
.policy-modal {
    display: none; /* 기본 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* 어두운 반투명 배경 */
.policy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* 팝업 본체 상자 */
.policy-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%; /* 모바일 기본 너비 */
    max-width: 800px; /* PC 버전 최대 너비 */
    max-height: 80vh; /* 화면 높이의 최대 80%까지만 차지 */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* 헤더와 바디를 세로로 정렬 */
    overflow: hidden;
}

/* 팝업 헤더 */
.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.policy-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.btn-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

/* ⭐ 핵심: 내부 스크롤 영역 */
.policy-modal-body {
    padding: 20px;
    overflow-y: auto; /* 내용 많으면 세로 스크롤 생성 */
    -webkit-overflow-scrolling: touch; /* iOS 모바일에서 부드러운 가속 스크롤 적용 */
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    flex: 1; /* 남은 높이를 가득 채움 */
}

/* ==========================================================================
약관 레이어 팝업 내 테이블 전용 CSS (.policy-modal 전용 마크업 적용)
========================================================================== */

/* 팝업 내 테이블 컨테이너 및 기본 선언 */
.policy-modal table,
.policy-modal .board-list table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 2px solid #4C2913; /* 상단 브라운 포인트 라인 */
    margin: var(--space-16, 16px) 0;
}

/* 팝업 테이블 헤더 스타일 설정 */
.policy-modal table thead th,
.policy-modal .board-list table thead th {
    height: 53px;
    padding: 14px 16px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43em;
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    text-align: center; /* 약관 표 헤더는 가운데 정렬이 기본 */
    word-break: keep-all;
}

/* 팝업 테이블 바디(내용물) 스타일 설정 */
.policy-modal table tbody td,
.policy-modal .board-list table tbody td {
    height: auto;
    padding: 14px 16px;
    color: #555; /* 가독성을 위해 기존 #999에서 약간 짙은 계열로 보정 */
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    text-align: left; /* 약관 상세 설명 표는 기본 왼쪽 정렬이 깔끔합니다 */
    border-bottom: 1px solid #E5E5E5;
    word-break: break-all; /* 모달 내부에서 글자가 넘쳐 쪼개지는 현상 방지 */
}

/* 첫 번째 열(구분, 항목 등)에 강조가 필요한 경우 */
.policy-modal table tbody td:first-child,
.policy-modal .board-list table tbody td:first-child {
    color: #333;
    font-weight: 500;
    background: #FDFDFD; /* 살짝 밝은 배경 분리 효과 */
    text-align: center; /* 구분 칼럼은 가운데 정렬 */
}

/* 약관 내 강조할 텍스트가 표 안에 있을 때 적용 */
.policy-modal table tbody td strong {
    color: #4C2913;
    font-weight: 700;
}

.swal-wide-btn {
    padding-left: 40px !important; /* 기존보다 좌측 여백 확대 */
    padding-right: 40px !important; /* 기존보다 우측 여백 확대 */
    font-weight: 500; /* 필요시 글자 두께 조절 */
}

/* 게시대 호버 예약현황 전용 레이어 */
     /* ==========================================
        게시대 예약현황 팝업 (PC 툴팁 / 모바일 바텀시트)
        ========================================== */
 .sb-popover-layer {
     position: absolute;
     z-index: 999999 !important;
     min-width: 230px;
     max-width: 320px;
     background: #ffffff !important;
     border: 1px solid #e2e8f0;
     border-radius: 10px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
     padding: 14px;
     font-size: 13px;
     color: #334155;
     pointer-events: none; /* PC 마우스 호버 간섭 방지 */
 }

.sb-popover-head {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-popover-close {
    display: none; /* PC에서는 숨김 */
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
}

.sb-popover-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-popover-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #f8fafc;
}

.sb-popover-item:last-child {
    border-bottom: none;
}

.sb-popover-badge {
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 4px;
}

.sb-popover-status.status-closed {
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    padding: 3px 8px;
    border-radius: 4px;
}

.sb-popover-status.status-avail {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 4px;
}

.sb-popover-msg {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 10px 0;
}

/* 모바일 딤 배경 */
.sb-popover-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    display: none;
}

/* 모바일 화면 (768px 이하) 전용 스타일 */
@media (max-width: 768px) {
    .sb-popover-layer {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        border-radius: 16px 16px 0 0 !important;
        padding: 18px 20px env(safe-area-inset-bottom, 20px) 20px !important;
        pointer-events: auto !important; /* 터치 및 닫기 버튼 허용 */
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        animation: sbSlideUp 0.25s ease-out;
    }

    .sb-popover-close {
        display: block !important;
    }

    @keyframes sbSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}
/* END 게시대 호버 예약현황 전용 레이어 */

/* 레이어 팝업 반응형 대응 (모바일 화면 등 좁은 화면 영역 제어) */
@media screen and (max-width: 768px) {
    .policy-modal table tbody td,
    .policy-modal table thead th {
        padding: 10px 8px; /* 패딩 축소 */
        font-size: 13px; /* 폰트 리사이징 */
    }
}

/* 화면 전체를 덮는 반투명 오버레이 */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); /* 배경 어둡기 조절 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 최상단 레이어 */
}

/* 스피너 스타일 */
.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid #ffc107; /* 노란색 (warning 색상) */
    border-right-color: transparent; /* 한쪽 면을 비워 회전 효과 */
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

/* 회전 애니메이션 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 접근성용 텍스트 (시각적으로 숨김) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}