 /*스크롤바 안보이게 하기 (完)*/
html, body {
-ms-overflow-style: none;      /* IE, Edge */
scrollbar-width: none;         /* Firefox */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
display: none;                 /* Chrome, Safari, Opera */
}
body {
font-family: 'MaruBuri', 'NanumGothic', 'NanumDdoBagDdoBag', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
font-size: 16px;
}

/*Welcome 화면 (完)*/
#loading {
position: fixed;
top: 0; left: 0;
width: 100vw; height: 100vh;
background: #FFFEEE;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
opacity: 1;
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}   
#loading.fade-out {
opacity: 0;
pointer-events: none;
}
#loading img {
    max-width: 49px;
    height: auto;  
    animation: double-flash 3s ease-in-out 1; 
}
@keyframes double-flash {
    0%   { opacity: 0; }
    25% { opacity: 1; }
    80% { opacity: 0; }
    100%  { opacity: 1; }
}
#loading p {
    font-family: 'NanumDdoBagDdoBag';
    font-size: 24px;
    color: #232323;
    margin-bottom: 0;
    animation: double-flash 3s ease-in-out 1;
}

/* fullpage 메인화면 공통 (完) */
#fullpage {
opacity: 0;
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
#fullpage.fade-in {
opacity: 1;
}
.section{
text-align:center;
}
/*Section 1 (完)*/
.section-1{
background-image: linear-gradient(180deg, #D9D9D9,#FFFFFF);
}
.section-1 .typo {
    top: 5%;
    left: 50%;
    width: 100%; 
    transform: translateX(-50%)
}
.section-1 h2 {
    font-family: 'MaruBuriBold';
    font-size: 40px;
    color: #212127;
}
.section-1 p {
    font-family: 'NanumGothic';
    font-size: 14px;
    color: #383838;
    padding-top: 4px;
    opacity: 0;
    transition: opacity 0.7s;
    white-space: pre-line;
}
.section-1 .img img {
    bottom: 0;
    left: 50%; 
    width: 110%; 
    transform: translateX(-48%);
}
.section-1 .typo span {
    opacity: 0;
    display: inline-block;
    transform: translateY(30px);
}

/*section 2 (完)*/
.section-2{
background-color: #F8F8F8;
}
.section .subject h3 {
    font-family: 'MaruBuriBold';
    font-size: 28px;
    color: #212127;
} 
.section .subject p:nth-of-type(1) {
    font-family: 'NanumGothic';
    font-size: 15px;
    color: #383838;
    margin-bottom: 5px;
}
.section .subject p:nth-of-type(2) {
    font-family: 'MaruBuri';
    font-size: 14px;
    color: #383838;
    margin-bottom: 0;
}
.carousel-img-fit {
    width: auto;
    height: 71vh;                 /* 원하는 세로 프레임 높이로 조정 (예: 60vh, 80vh 등) */
    max-height: 580px;
    max-width: 100%;              /* 가로가 넘치지 않도록 */
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;          /* 세로 프레임에 맞추고, 이미지가 잘리지 않게 */
    object-position: center;
    border-radius: 16px;          /* 원하면 라운드 */
}
#photoCarousel .fp-tableCell {
    height: 0!important;
    vertical-align: baseline;
}
.section-2 .parent {
    display: flex;
    justify-content: center;
    align-items: center;
} 
.fp-slidesContainer {
    height: auto;
    padding: 0 20px;
}
.carousel-control-next {
    transform: translateX(-4%)
}
.carousel-control-prev {
    transform: translateX(4%)
}

/*Section 3*/
.section-3{
background-image: linear-gradient(180deg, #D9D9D9,#FFFFFF);
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}

.section-3 .fp-slides {
    overflow: hidden!important;
}

.click-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.click-arrow-container img{
    max-width: 15px;
    animation: blink 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/*section 4 (完)*/
.section-4{
background-color: #F8F8F8;
}
.section-4 .button-wrap {    
margin: 0;
gap: 14px;
margin-top: 14px;
}
.section-4 .button-wrap .col {    
padding: 0;
}
.section-4 .button-wrap .col a {    
    padding: 10px 0;
    background-color: #ececec;
    box-shadow: -2px 2px 1px rgba(0, 0, 0, 0.25);
    border-color: #F0f0f0;
    font-family: 'NanumGothicBold';
    color: #212127;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-4 .button-wrap .col a img {    
    padding-right: 5px;
    max-width: 25px;
}

/*Section 5*/
.section-5{
background-image: linear-gradient(180deg, #D9D9D9,#FFFFFF);
}


.section-5 .parent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px
} 

.section-5 .account-card {
    text-align: left;
    font-family: 'NanumGothic';
    color: #383838;
}
.section-5 .account-card p:nth-of-type(1) {
        font-family: 'NanumGothicBold';
        font-size: 15px;
        color: #212127;
        margin-bottom: 1px;
}

.section-5 .account-card p:nth-of-type(2) {
        color: #383838;
        font-family: 'NanumGothic';
        font-size: 14px;
}

.section-5 .accordion {
    width: 100%;
    position: relative;
}

.section-5 .subject button {
    font-size: 15px;
    font-family: 'nanaumGothic';
    padding: 4px 0;
}

.section-5 .accordion p {
    font-family: 'nanumGothicBold';
}
.section-5 .accordion button i {
    padding-right: 4px;
}
.section-5 .accordion-item {
    border: none;
}
.section-5 .accordion-item .accordion-collapse .accordion-body {
    padding: 20px 0 5px 0
}
.section-5 .accordion-item .accordion-button:not(.collapsed) {
    color: inherit;
    background-color: inherit;
    padding: 10px 0 20px 0;
    border-bottom: 0.5px dashed black;
}
.section-5 .accordion-item {
    border: none;
}

.section-5 .accordion-item .accordion-body button {
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
}
.section-5 .accordion-item .accordion-button::after {
        position: absolute;
        right: 10px;
}



/*바텀업 시트 RSVP*/
/* 오버레이 */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
    transition: opacity 0.3s;
    opacity: 0;
}

/* 바텀시트 */
.bottom-sheet {
    position: fixed;
    left: 0; right: 0;
    bottom: -100%;
    width: 100vw;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 1001;
    transition: bottom 0.35s cubic-bezier(0.4,0,0.2,1);
    will-change: bottom;
}

.sheet-handle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 6px 0;
    cursor: pointer;
    background: inherit;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.03);
}
.handle-bar {
    width: 50px;
    height: 4px;
    background: #ddd;
    border-radius: 3px;
    margin-bottom: 6px;
}

.bottom-sheet.active {
    bottom: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px 5px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 700;
        font-size: 20px;
        color: #232323;
        font-family: 'NanumGothicBold';
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
}
.sheet-content {
    padding: 20px;
    width: 100%;
    color: #232323;
    font-family: 'NanumGothic';
    font-size: 14px;
}

.sheet-content .form-control::placeholder {
    color: #c3c3c3;
    font-family: 'NanumGothic';
    font-size: 13px;
}

.sheet-content .form-check-inline {
    font-size: 15px;
}

.sheet-content button {
    font-weight: 900;
}

.sheet-content input:focus,
textarea:focus,select:focus {
  outline: none;
  box-shadow: none;
}



/*버튼 디자인*/
.openSheetBtn {
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.25);
    border: 0;
    min-height: 60px;
    background-color: #f2f2f2;
    font-family: 'NanumGothic';
    font-size: 15px;
    color: #7c7c7c;
    border-bottom: 1px solid #7c7c7c;
}
.openSheetBtn .sheet-handle {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#bottomSheet .card-body {
    padding: 0;
}

.form-title-font {
    font-size: 15px;
    font-family: 'NanumGothicBold';
    color: #232323;
}

/*팝업 width*/
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}
.popup-content {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 400px; width: 90%;
}
.popup-content p { margin-top: 0; color: #333; font-family: 'NanumDdoBagDdoBag'; font-size: 22px; color: #232323;}
.popup-content button {
    background: #0d6efd; color: #fff; border: none;
    padding: 10px 20px; border-radius: 4px; cursor: pointer;
}

/*지도 */
.gm-style .gm-style-iw-c {
  max-width: 360px!important;
  max-height: auto!important;
}

/*연락처*/
.contact a {
text-decoration: none;
}
.contact i {
font-size: 1.5rem; color: #198754;
}
.contact .border-right {
border-right: 1px solid #212127;
} 

/*아코디언*/
.section-2 .accordion {
    padding: 0;
    margin: 0;
}
.section-2 .accordion .accordion-item {
        border: none;
        background-color: inherit;
}
.section-2 .accordion .accordion-item {
        border: none;
        background-color: inherit;
        display: flex;
        justify-content: center;
        align-items: baseline;
        padding: 0;
        border-right: 1px solid #212127;
        border-radius: 0;
}
.section-2 .accordion .accordion-item p {
        font-family: 'NanumGothic';
        font-size: 15px;
        color: #383838;
        margin-bottom: 5px;
}
.section-2 .accordion .accordion-item button {
        border-radius: 0;
        background-color: inherit;
        justify-content: center;
}
.section-2 .accordion .accordion-item button::after {
        margin-left: 5px;
}
.section-2 .accordion .accordion-item .accordion-button:not(.collapsed) {
    color: inherit;
    box-shadow: none;
}

.section-2 .accordion .accordion-item .accordion-body {
        padding: 5px;
}

.accordion-button:focus,
.accordion-button:active {
    outline: none !important;
    box-shadow: none !important;
}

