:root {
    --main-color: #000000;
    --main-v2-color: #f79e9e;
    --main-bride-color: #f79e9e;
    --main-groom-color: #78c0e9;
    --main-sun-day-color: #b27085;
    --main-sat-day-color: #2a3954;
    --box-bg-color: none; /*rgb(249,247,247);*/
    --box-border-color: rgb(240, 227, 227);
    --box-font-color: #7b2934;
    --box-font-color: #b0385a;
    --box-font-color: #b8537b;
    --box-font-color: #F08080;
    --box-font-color: #f79e9e;
    --box-border-color: #eeeeee;
    --box-font-color: #404040;
    --dday-color: #f79e9e;
}

html {font-size: calc(var(--font-size) * 425 / 390);}

@media (max-width: 430px) {
    html {font-size: calc(var(--font-size) * 430 / 390);}
}
@media (max-width: 425px) {
    html {font-size: calc(var(--font-size) * 425 / 390);}
}
@media (max-width: 420px) {
    html {font-size: calc(var(--font-size) * 420 / 390);}
}
@media (max-width: 410px) {
    html {font-size: calc(var(--font-size) * 410 / 390);}
}
@media (max-width: 400px) {
    html {font-size: calc(var(--font-size) * 400 / 390);}
}
@media (max-width: 390px) {
    html {font-size: calc(var(--font-size) * 390 / 390);}
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
}

.hd {
    opacity: 0;
}
.visible {
    opacity: 1;
}

html {
    touch-action: pan-x pan-y;
}

html,body {
    background: #efefef;
    margin: 0px;

    /*--primary-bg-color: #000;
    --primary-color: #000;
    --secondary-color: #000;
    --font-size: 1.6rem;
    --account-width: 290px;
    --notice-width: 84%;
    --calendar-margin-lr: 2rem;
    --waytocome-margin-lr: 2rem;
    --guestbook-margin-lr: 2rem;
    --font-regular: TmoneyRoundWindRegular;
    --font-regular-spacing: -0.8px;
    --font-gothic: Pretendard-Regular;
    --font-gothic-spacing: -0.2px;
    --font-bold: TmoneyRoundWindRegular;
    --font-bold-weight: bold;*/

    overscroll-behavior: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
}
.layer {
	width: 425px;
    max-width: 100%;
    box-sizing: border-box;
	margin: 0px auto;
	background: transparent;
}
.layer img {max-width: 100%;}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #222;
    text-decoration: none;
}
a:focus {
    outline: none;
}
a:active,
a:hover {
    outline: 0;
}

dl,
menu,
ol,
ul {
    margin: 0;
    list-style: none;
    list-style-image: none;
}

dd {
    margin: 0;
}

p,
pre {
    margin: 0;
}

input {
    touch-action: manipulation;
}

textarea {
    touch-action: manipulation;
}

/* 청첩장의 모든 이미지 또는 특정 클래스의 이미지에 적용 */
img {
    /* iOS(아이폰)에서 길게 누를 때 메뉴 차단 */
    -webkit-touch-callout: none;
    
    /* 텍스트나 이미지가 선택되는 것 방지 */
    -webkit-user-select: none;
    user-select: none;
    
    /* 마우스 우클릭 방지 (안드로이드/PC 대응 보조) */
    -webkit-user-drag: none;
}

/* 청첩장 배경색상 스타일 */
.bg_theme_white .pageCover, .bg_theme_white.pageCover { background-color:#fafafa !important; }
.bg_theme_white .gallGridWrapper.multiple + .moreBtnWrap .moreBtnGradient {
    background: linear-gradient(0deg, rgba(250, 250, 250,1) 0%, rgba(250, 250, 250,0.55) 60%, rgba(250, 250, 250,0.5) 73%, rgba(250, 250, 250,0.25) 83%, rgba(250, 250, 250,0) 100%);
}

/* 배경 고정 클래스 */
.stop-scroll {
    overflow: hidden !important;
    height: 100dvh !important;
    position: fixed;
    width: 100%;
}

.pageCover {
    background-size: 100%;

    background-color: #efefef;
    background-color: #f2ece6;

    width: 425px;
    max-width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

:root {--font-size: 10px;}
html.big:root {--font-size: 11px;}
html.big2:root {--font-size: 12px;}

.ft-gowundodum {font-family: 'Gowun Dodum', sans-serif;}
.ft-gowundodum *:not(.ft-gowun-bold) { -webkit-text-stroke: .2px; }
.ft-gowundodum .ft-gowun-bold * { -webkit-text-stroke: 0; }
.ft-gowundodum .ft-gowun-bold { -webkit-text-stroke: 0; }
.ft-gowundodum i { -webkit-text-stroke: 0 !important; }

@font-face {
    font-family: 'Nanum BiSangCe';
    src: url("../font/nanum_bisang.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nanum HyeJunCe';
    src: url("../font/nanum_hyejun.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400;
  src: url("../font/crimson-pro.woff2") format('woff2');
}

.theme_main_2025_v5 {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
}
.theme_main_2025_v5 .image-cover {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    margin-top: 40px;
}
.theme_main_2025_v5 .image-cover .img-wrap {
    padding: 0 50px;
    display: flex;
    width: 100%;
    justify-content: center;
}
.theme_main_2025_v5 .image-cover .img-wrap .box {
    width: 100%;
    height: 100%;
    aspect-ratio: 29/20;
    max-width: 290px;
    max-height: 200px;
    overflow: hidden;
    border-radius: 5px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}
.theme_main_2025_v5 .image-cover .img-wrap .box img {
    width: 100%;
    min-height: 100%;
    image-rendering: -webkit-optimize-contrast; /* iOS에서 효과 있음 */
    image-rendering: auto;
}
.theme_main_2025_v5 .image-cover .img-wrap:nth-child(1) .box {
    transform: rotate(-1.3deg) translate3d(0, 0, 0);
}
.theme_main_2025_v5 .image-cover .img-wrap:nth-child(2) .box {
    transform: rotate(-1.3deg) translate3d(0, 0, 0);
}
.theme_main_2025_v5 .text-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-transform: uppercase;
    font-variant: small-caps; /* SC 스타일 */

    color: rgba(251, 226, 0, 1);
    color: #fff;
}
.theme_main_2025_v5 .text-cover .txt-1 {
    width: 100%;
    color: #f79e9e;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Nanum HyeJunCe";
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    display: flex;
}
.theme_main_2025_v5 .text-cover .txt-1 span {
    font-size: min(21vw, 90px);
    transform: rotate(-6deg);
    margin-left: 17%;
}
.theme_main_2025_v5 .text-cover .txt-2 {
    width: 100%;
    color: #f79e9e;
    text-align: right;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Nanum BiSangCe";
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    display: flex;
}
.theme_main_2025_v5 .text-cover .txt-2 span {
    display: block;
    margin-top: max(-13vw, -52px);
    margin-left: 60%;
    transform: rotate(-6deg);
    font-size: min(13vw, 55px);
}

.sectionMg {
    /*margin: 60px 0 50px 0;*/
    margin: 0 !important;
    padding: 30px 0 25px 0;

    padding: 40px 0 !important;
}

.sectionHead {
    text-align: center;
}
.sectionHead .name {
    display: block;
    font-size: 1.8rem;
    color: var(--main-color);
    /*letter-spacing: -1px;*/
    letter-spacing: 0.5px;
    line-height: 2;
}
.sectionHead .enstr {
    font-size: 1.2rem;
    font-family: Crimson Pro, serif;
    letter-spacing: 3px;
    line-height: 20px;
    color: var(--main-color);
    opacity: 0.6;
    display: block;
    -webkit-text-stroke: 0 !important;
}
.sectionHead .desc {
    color: #555;
    line-height: 1.7;
    font-size: 1.4rem;
}
.sectionHead .desc .emp {
    font-size: 26px;
    margin: 20px 0px 5px 0px;
}

.sectionDesc {
    color: #544f4f; font-size: 1.4rem; line-height: 1.75; margin-top: 20px;
    padding: 0 33px;
}

/* 배경음악 */
.bgmbar {
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0; margin: auto;
    width: 425px;
    max-width: 100%;
    text-align: center;
    z-index: 100;
    height: 39px;
    line-height: 39px;
}
.bgmbar > p {
    color: #fff;
    font-size: 12px;
}
.bgmbar .sound {
    position: absolute;
    top: 0;
    bottom: 0; right: 15px;
    width: 1.7rem;
    filter: invert(31%) sepia(3%) saturate(551%) hue-rotate(332deg) brightness(93%) contrast(88%);
    line-height: 39px;
    font-size: 16px;
}
.bgmbar.fadeBg {
    background: transparent;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}
.bgmbar.fadeBg > p {display: none;}
.bgmbar.fadeBg .sound {
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}
/* 배경음악 END */

.introLayer {
    text-align: center;
}
.introLayer .introMent {
	font-weight: normal;
	font-size: 1.4rem;
	color: #585858;
	padding: 35px 33px;
    line-height: 2.0;
}
.introLayer .line {
	margin: 15px auto 15px auto;
	width: 40px;
	height: 1px;
	background: #000;
    background: #ccc;
    margin: 0 auto 30px auto;
}
.introLayer .title2 {
	padding-top: 10px;
	font-weight: normal; font-size: 1.4rem;
	line-height: 2.0; color: #777;
}
.ft-notosans .introLayer .title2 strong,
.ft-myeongjo .introLayer .title2 strong {
    font-weight: bold;
}
.introLayer .title2 strong {/*font-size: 1.8rem; */font-weight: normal; color: #444;}
.introLayer .introBottomDisplay .ibottom.grid .wrap {
    display: grid;
    grid-template-columns: auto minmax(10px, auto) auto auto minmax(30px, auto) auto;
    grid-template-rows: repeat(2, 1fr);
    row-gap: 5px;
    width: fit-content;
    margin: 0 auto;
    align-items: center;
}
.introLayer .introBottomDisplay .ibottom.grid .wrap .order {
    margin: 0 4px;
}
.introLayer .introBottomDisplay .ibottom.grid .wrap .dot_wrap {
    margin: 0 4px;
}
.introLayer .introBottomDisplay .ibottom.grid .wrap .parentOf {
    margin-left: 1px;
}
.introLayer .introBottomDisplay .ibottom.grid .wrap .n {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
}
.introLayer .introBottomDisplay .ibottom.grid .wrap .n > span.on:not(.flower) {
    width: 100%;
    text-align: justify;
    line-height: .3;
}

.telArea {
    padding-top: 15px; text-align: center;
}
.int_buttn {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    border-radius: 10px;
    box-sizing: border-box;

    border-radius: 14px;

    padding: 9px 30px;
    color: #978686;

    color: #404040;
    background: #fafafa;

    width: 190px;
    border: 1px solid #eee;
    font-size: 1.4rem;

    color: var(--box-font-color);
    border-color: var(--box-border-color);
    background: #fff;

}
.int_buttn > img {opacity: 0.2; width: 20px; vertical-align: middle;}


.sectionBottom {
}
.t-btn {
    border-radius: 14px;
    height: 48px;
    line-height: 48px;
    padding: 0px 30px;
    box-shadow: none;
    border: 1px solid #d1c8c8;
    color: #978686;
    background: none;
    border-color: #e2d2d2;
    border-color: #ddd;
    color: #404040;
    background: #fafafa;
    border-color: transparent;
    border-color: rgb(250, 250, 250);
    min-width: 215px;
    border: 1px solid #eee;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    font-size: 1.4rem;
    color: var(--box-font-color);
    border-color: var(--box-border-color);
    background: #fff;
    cursor: pointer;
    /*
        box-shadow: 1px 1px 3px rgba(0,0,0,.05);
    */
}
.t-btn > img {opacity: 0.2; width: 20px; vertical-align: middle;}
.sectionBottom .img-area {
    padding: 30px 50px 0px 50px;
}
.sectionBottom .img-area > img {
    border-radius: 10px; max-width: 100%;
}
.sectionBottom .img-area.two {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.sectionBottom .img-area.two > div {
    width: 50%;
}
.sectionBottom .img-area > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.sectionBottom .btn-area {
    padding: 30px 0 0 0;
}

.grid-heart {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(240, 128, 128, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.gallery-heart {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(240, 128, 128, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.big-heart {
    position: absolute;
    transform: translate(-50%, -50%) scale(0);
    top: 50%;
    left: 50%;
    font-size: 100px;
    z-index: 1005;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    color: #ff4d4d;
    text-shadow: 0 0 30px rgba(255, 77, 77, 0.6), 0 0 60px rgba(255, 77, 77, 0.3);
}

@keyframes heartBurst {
    0% { 
        transform: translate(-50%, -50%) scale(0); 
        opacity: 0; 
    }
    15% { 
        transform: translate(-50%, -50%) scale(1.4); 
        opacity: 0.9; 
    }
    30% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 1; 
    }
    80% { 
        transform: translate(-50%, -50%) scale(1.2); 
        opacity: 0.9; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(2); 
        opacity: 0; 
    }
}

.animate-heart {
    animation: heartBurst 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.floating-heart {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    z-index: 2010;
    will-change: transform, opacity;
}

@keyframes heartFloatUp {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    30% {
        transform: translate(calc(-50% + var(--side-move)), -100px) scale(1);
    }
    100% {
        transform: translate(calc(-50% + (var(--side-move) * 2)), var(--up-dist)) scale(1.5);
        opacity: 0;
    }
}

.heart-particle {
    position: absolute;
    color: #ff4b2b;
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    z-index: 2010;
    will-change: transform, opacity;
    text-shadow: 0 0 5px rgba(255, 75, 43, 0.5);
}

@keyframes liveHeart {
    0% {
        transform: translate(-50%, 0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -20px) scale(1.2);
    }
    100% {
        /* 위로 올라가면서(y) + 좌우로 흔들리고(x) + 회전(rotate) */
        transform: translate(calc(-50% + var(--x-end)), var(--y-end)) rotate(var(--r-end)) scale(1);
        opacity: 0;
    }
}

.img-container {
    position: relative; 
    width: 100%;
    overflow: hidden;
}

.gallLayerWrapper .moreBtn {
    font-size: 1.4rem;
    text-align: center;
    padding-top: 15px;
    color: #544f4f;
}

.gallGridWrapper {
    padding: 5px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: hidden;
    transition: height 1s ease-in-out;
}
.gallGridWrapper.twoRow { grid-template-columns: repeat(2, 1fr); padding: 5px 20px; gap: 8px; }
.gallGridWrapper.ratio .item {
    aspect-ratio: 10 / 13;
}
.gallGridWrapper .on {
    display: block !important;
}
.gallGridWrapper .item {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    border-radius: 4px;
    display: none;
}
.gallGridWrapper .item .box {
    display: none;
    width: 100%;
    visibility: hidden;
}

.gallGridWrapper:not(.ratio) .item .square { display: block; }
.gallGridWrapper.ratio .item .rectangle { display: block }
.gallGridWrapper .item:nth-child(3),
.gallGridWrapper .item:nth-child(6),
.gallGridWrapper .item:nth-child(9),
.gallGridWrapper .item:nth-child(12),
.gallGridWrapper .item:nth-child(15),
.gallGridWrapper .item:nth-child(18),
.gallGridWrapper .item:nth-child(21),
.gallGridWrapper .item:nth-child(24),
.gallGridWrapper .item:nth-child(27),
.gallGridWrapper .item:nth-child(30),
.gallGridWrapper .item:nth-child(33),
.gallGridWrapper .item:nth-child(36),
.gallGridWrapper .item:nth-child(39),
.gallGridWrapper .item:nth-child(42) {
    margin-right: 0;
}
.gallGridWrapper.multiple {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: calc(((425px - 40px) / 2 - 8px / 2) / 20 * 10);
    gap: 8px;
}
.gallGridWrapper:not(.multiple) + .moreBtnWrap .moreBtnGradient {
    display: none;
}
.gallGridWrapper.twoRow.multiple {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: calc(((425px - 40px) / 2 - 8px / 2) / 16 * 10);
}
@media screen and (max-width: 425px) {
    .gallGridWrapper.multiple {
        grid-auto-rows: calc(((100vw - 40px) / 2 - 8px / 2) / 20 * 10);
    }
    .gallGridWrapper.twoRow.multiple {
        grid-auto-rows: calc(((100vw - 40px) / 2 - 8px / 2) / 16 * 10);
    }
}
.gallGridWrapper.multiple .item {
    aspect-ratio: unset !important;
    height: 100%;
}

.not-prevent-zoom {
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    touch-action: pan-y;
}
.zoomGallWrapper {
    animation: fadeIn;          /* referring directly to the animation's @keyframe declaration */
    animation-duration: 0.5s;   /* don't forget to set a duration! */
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; margin: auto;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10001;
}
#fullbox {
    display: block; width: 100%; height: 100%;
}
#fullbox .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}
#fullbox .swiper-wrapper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}
.zoomGallWrapper .swiper-pagination-bullets {
    bottom: 50px !important;
}
.zoomGallWrapper .swiper-pagination-bullet {
    background: #444;
    width: 12px; height: 12px;
    opacity: 0.5;
}
.zoomGallWrapper .swiper-pagination-bullet-active {
    opacity: 0.8;
    background: #777 !important;
}
.zoomGallWrapper .close {
    position: absolute;
    top: 20px; right: 20px;
    color: #bbb; font-size: 0px;
    z-index: 10002;
    cursor: pointer;
    width: 25px; height: 25px;

    top: 10px; right: 10px; width: 50px; height: 50px;
}
.zoomGallWrapper .close img {
    width: 100%;
}
/* 갤러리 END */

/* 캘린더 */
.calwrap {padding: 0;}
.calander th, .calander td { font-size: 1.4rem; color: #544f4f; }
.calander {margin-bottom: 0;}
.caltit {

}
.caltit .caltit_tit {
    letter-spacing: 1px;
    font-size: 22px;
    opacity: 0.95;
    color: #f79e9e;
    font-size: 2rem;
    font-weight: 400 !important;
    text-shadow: 0 0 #aaa;
}
.caltit .caltit_add {
    letter-spacing: 0px;
    opacity: 0.8;
    font-size: 1.5rem;
    color: #544f4f;
    margin-top: 7px;
}

.calwrap {
    padding: 20px 0px;
    width: 280px; margin: auto; max-width: 90%;
}
.calander {
	width: 100%;
    margin: 0px auto;
    margin-bottom: 20px;
}
.calander th,
.calander td {
	width: 14%;
	text-align: center;
	padding: 6px 0;
    font-weight: normal;
	font-size: 1.4rem;
}
.calander th {
    padding-bottom: 14px;
}
.calander tr th:first-child,
.calander tr td:first-child {
    color: var(--main-sun-day-color);
}
.calander tr th:nth-child(7),
.calander tr td:nth-child(7) {
    color: var(--main-sat-day-color);
}
.calander .dday {
	display: inline-block;
	background: var(--main-v2-color);
	border-radius: 50%;
	width: 30px; height: 30px; line-height: 30px;
	color: #fff;
}
.calander_warpper {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-color: #eee;
    padding: 15px 0;
    margin: 35px 0;
}
.subTitle.v2 {background: transparent; margin-top: 0;}

.dday-wrap {
    letter-spacing: -.5px;
    border-left: 0;
    border-right: 0;
    font-size: .9rem;
    text-align: center;
    padding-bottom: 20px;
}
.dday-wrap .countdown {
    font-family: Crimson Pro !important;
    margin: 0 0 10px;
}
.dday-wrap .countdown>div {
    display: inline-block;
    vertical-align: top;
    font-size: 1rem !important;
    letter-spacing: 0;
    line-height: 1.6rem;
    text-transform: uppercase;
}
.dday-wrap .countdown .desc {
    color: #2b2222;
    opacity: .4;
}
.dday-wrap .countdown>div>span {
    display: inline-block;
    font-size: 1.2rem !important;
    padding: 0 2.5px;
    text-align: center;
    line-height: 2.88rem;
    color: #544f4f;
}
.dday-wrap .countdown .card {
    color: #2b2222;
    font-size: 2.4rem !important;
    width: 32px;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    opacity: .8;
}

img.daycard { display: none !important; }

.calanderSection.no-dday .calander_warpper {
    margin-bottom: 0;
}
.calanderSection.no-dday .dday-wrap {display: none;}

.subTitle {
	text-align: center;
	color: #666;
	padding: 15px 0px; font-weight: normal;
    font-size: 1.8rem;
    margin-top: 30px;
}
.subTitle.v2 {
    font-size: 1.4rem; 
    font-weight: 500; 
    letter-spacing: -0.25px;
    padding: 7px 0px;
    background: #fafafa;
}

.location_wrapper {
    margin: 18px 0 1px;
    text-align: center;
    padding: 0 33px;
}
.location_wrapper .tbox {
    line-height: 3.2rem;
    letter-spacing: -0.2px;
    font-size: 1.5rem;
    color: #888;
}
.location_wrapper .tbox.emp {
    font-size: 1.8rem;
    color: #f79e9e;
    word-break: keep-all;
}
.location_wrapper .tbox > .tel {
    font-size: 1.3rem; color: #666;
    display: block; padding-top: 10px;
}

.map_wrapper {
    padding: 25px 33px;
}

.ybtn {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cacaca;
    font-size: 1.3rem;
    height: 50px;
    border-radius: 8px;
    color: #000;
    border: 1px solid #eaeaea;
}
.ybtn > span {
    padding-left: 20px;
    position: relative;
}
.ybtn > span:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url(../ico/map-location-dot-solid-full.svg);
    margin-top: -8px;
    background-size: auto;
}
.ybtn > img {opacity: 0.2; width: 20px; vertical-align: middle;}

ul.wayto {
    padding: 0px 33px;
}
ul.wayto li.li {
    font-size: 1.3rem;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding-top: 24px;
    line-height: 1.65;
    padding-bottom: 21px;
}
ul.wayto li.li:last-child {
    border: none;
}
ul.wayto li.li .n {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000; 
    letter-spacing: -.03em; 
    margin-bottom: 12px;
    display: block;
}
.wayto li.li.navi {
    display: block;
}
.navi_button_wrap {
    display: flex;
    margin: 0 -3px;
    margin-top: 12px;
}
ul.wayto .navi_button {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cacaca;
    border-radius: 15px;
    margin: 0 3px;
    border: 1px solid #eaeaea;
    height: 57px;
    width: 33.333%;
    background: #fff;
    border-radius: 12px;
    height: 40px;
    border-radius: 8px;
}
ul.wayto .navi_button > span {
    font-weight: 500;
    color: #000;
    position: relative;
    font-size: 1.2rem;
    padding-left: 22px;
}
ul.wayto .navi_button > span:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 17px;
    height: 17px;
    background-image: url(../ico/ico_nav03.png);
    background-size: 17px auto;
    margin-top: -8.5px;
}
ul.wayto .navi_button:nth-child(2) > span:before {
    background-image: url(../ico/ico_nav02.png);
}
ul.wayto .navi_button:nth-child(3) > span:before {
    background-image: url(../ico/ico_nav01.png);
}

.infoTab01 {
    text-align: center;
    padding-bottom: 0px;
}
.infoTab01 .tabContent {
    box-sizing: border-box;
    max-width: 280px; margin: 21px 0 0 0;
}
.infoTab01 .tabContent .imgdiv {
    padding: 0 0px; position: relative;
    margin: auto auto 21px auto;
}
.infoTab01 .tabContent .imgdiv .txt {
    color: #fff; position: absolute; margin: auto; font-size: 1.7rem; left: 0; right: 0;
    -webkit-text-stroke: 0.4px;
    z-index: 5; color: #454545; display: none;
}
.infoTab01 .tabContent .imgdiv .img {
    position: relative;
    height: 90px;
    width: 100%;
    background-image: url(https://img.freepik.com/premium-photo/luxury-wedding-decor_661495-20250.jpg?w=1380);
    /*filter: blur(1.5px);*/
    background-size: cover;
    background-position: center;

    border-radius: 26px 26px 0 26px;
    box-sizing: border-box;
    overflow: hidden;
}
.infoTab01 .tabContent .imgdiv .img:after {
    /*content: " ";
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 3;*/
}
.infoTab01 .t-btn {
    box-shadow: 1px 1px 2px rgb(0 0 0/2%);
    /*font-size: 1.3rem;*/
    cursor: pointer;
}
.infoTab01 .tabContent .sectionDesc {
    /*font-size: 1.3rem;*/ word-break: keep-all; padding: 0;

}
.infoTab01 .tabContent .sectionDesc,
.infoTab01 .tabContent .sectionBottom {
    display: none;
}
.infoTab01 .tabContent.swiper-slide-active .sectionDesc,
.infoTab01 .tabContent.swiper-slide-active .sectionBottom {
    display: block;
}

.imgLayerWrap {
    display: block;
}
.imgLayerWrap.light > img {
    -webkit-mask-image: linear-gradient(180deg,transparent,rgba(0,0,0,.013) 1.1%,rgba(0,0,0,.049) 2.3%,rgba(0,0,0,.104) 3.58%,rgba(0,0,0,.175) 4.94%,rgba(0,0,0,.259) 6.34%,rgba(0,0,0,.352) 7.78%,rgba(0,0,0,.45) 9.26%,rgba(0,0,0,.55) 10.74%,rgba(0,0,0,.648) 12.22%,rgba(0,0,0,.741) 13.66%,rgba(0,0,0,.825) 15.06%,rgba(0,0,0,.896) 16.42%,rgba(0,0,0,.951) 17.7%,rgba(0,0,0,.987) 18.9%,#000 20%,#000 80%,rgba(0,0,0,.987) 81.1%,rgba(0,0,0,.951) 82.3%,rgba(0,0,0,.896) 83.58%,rgba(0,0,0,.825) 84.94%,rgba(0,0,0,.741) 86.34%,rgba(0,0,0,.648) 87.78%,rgba(0,0,0,.55) 89.26%,rgba(0,0,0,.45) 90.74%,rgba(0,0,0,.352) 92.22%,rgba(0,0,0,.259) 93.66%,rgba(0,0,0,.175) 95.06%,rgba(0,0,0,.104) 96.42%,rgba(0,0,0,.049) 97.7%,rgba(0,0,0,.013) 98.9%,transparent);
    mask-image: linear-gradient(180deg,transparent,rgba(0,0,0,.013) 1.1%,rgba(0,0,0,.049) 2.3%,rgba(0,0,0,.104) 3.58%,rgba(0,0,0,.175) 4.94%,rgba(0,0,0,.259) 6.34%,rgba(0,0,0,.352) 7.78%,rgba(0,0,0,.45) 9.26%,rgba(0,0,0,.55) 10.74%,rgba(0,0,0,.648) 12.22%,rgba(0,0,0,.741) 13.66%,rgba(0,0,0,.825) 15.06%,rgba(0,0,0,.896) 16.42%,rgba(0,0,0,.951) 17.7%,rgba(0,0,0,.987) 18.9%,#000 20%,#000 80%,rgba(0,0,0,.987) 81.1%,rgba(0,0,0,.951) 82.3%,rgba(0,0,0,.896) 83.58%,rgba(0,0,0,.825) 84.94%,rgba(0,0,0,.741) 86.34%,rgba(0,0,0,.648) 87.78%,rgba(0,0,0,.55) 89.26%,rgba(0,0,0,.45) 90.74%,rgba(0,0,0,.352) 92.22%,rgba(0,0,0,.259) 93.66%,rgba(0,0,0,.175) 95.06%,rgba(0,0,0,.104) 96.42%,rgba(0,0,0,.049) 97.7%,rgba(0,0,0,.013) 98.9%,transparent);
}
.imgLayerWrap .wave {display: none; z-index: 1;}
.imgLayerWrap.wave .wave.top { position: relative; top: 30px;transform: scaleY(-1);transition: .3s; display: block; margin-top: -30px;}
.imgLayerWrap.wave .wave.bottom {position: relative;top: -30px;margin-bottom: -30px;display: block;}
.imgLayerWrap.rippid .rpd {
    display: block;
}

.main-img-parent {
    overflow: hidden;
}
.end-img-parent,
.main-img-parent {
    position: relative;
}
.end-img-parent .rpd,
.main-img-parent .rpd {
    position: absolute;
    background-repeat: no-repeat;
    display: none;
    z-index: 1;
}
.end-img-parent .rpd.rpd01,
.main-img-parent .rpd.rpd01 {
    top: 0; left: 0;
    width: 100%;
    background-image: url(/src/img/card/rippid-wh-left.png);
    background-size: auto 100%;
    background-position: left top;
    height: 100%;
}
.end-img-parent .rpd.rpd02,
.main-img-parent .rpd.rpd02 {
    top: 0; right: -1px;
    width: 100%;
    background-image: url(/src/img/card/rippid-wh-right.png);
    background-size: auto 100%;
    background-position: right top;
    height: 100%;
}
.end-img-parent .rpd.rpd03,
.main-img-parent .rpd.rpd03 {
    top: 0; left: 0;
    width: 100%;
    background-image: url(/src/img/card/rippid-wh-top.png);
    background-size: 100% auto;
    background-position: top left;
    height: 100%;
}
.end-img-parent .rpd.rpd04,
.main-img-parent .rpd.rpd04 {
    bottom: -1px; left: 0;
    width: 100%;
    background-image: url(/src/img/card/rippid-wh-bottom.png);
    background-size: 100% auto;
    background-position: bottom left;
    height: 100%;
}

.waves {
    position:relative;
    width: 100%;
    height: 40px;
    margin-bottom:-7px; /*Fix for safari gap*/
}

.parallax > use { animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s;animation-duration: 7s; }
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

.blr {
    height: 30px;
    background-color: rgba(255,255,255,0.5);
    background-color: rgba(255,255,255,0.99);

    position: absolute;
    left: -10%; margin: auto;
    width: 120%;
    filter: blur(10px);
    -webkit-filter: blur(8px);
    display: none;
}
.blr.blr01 { top: -15px; }
.blr.blr02 { bottom: -15px; }
/* 사진 END */

/* 방명록 */
ul.books li .video .vbg {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    position: relative;
    border-radius: 5px;
}
ul.books li .video .fa-play {
    background: #222;
    color: #fafafa;
    display: inline-block;
    padding: 10px 9px 10px 11px;
    border-radius: 50%;
    font-size: 10px;

    width: 30px; height: 30px; box-sizing: border-box;

    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
    margin: auto;
}
ul.books li .b.video {
    padding: 0 !important;
    border-radius: 5px;
}
ul.books li .b.video .bottom {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}
ul.books li .b.video .bottom > span {
    background: rgba(0,0,0,0.5); color: #ccc;
}

.books-open-list {
    margin: 30px 30px 20px 30px;
    /*font-family: 'Pretendard';*/

    /*margin-top: -20px;*/
}
.books-open-list-ul {
    padding: 0;
}
.books-open-list-ul > li:not(.nt) {
    display: none;
    box-shadow: 1px 1px 2px rgb(0 0 0/5%);
    position: relative;
    padding: 15px 17px;
    text-align: left;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 1.3rem;
    color: #544f4f;
}

.books-open-list-ul > li .top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.books-open-list-ul > li .top-close {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 5px;
}

.books-open-list-ul > li.on {
    display: block;
}

.books-open-list-ul > li.nt {
    padding-bottom: 25px;
    font-size: 1.4rem;
    color: #555;
    text-align: center;
    font-family: inherit;
}

.ft-yeonsung .books-open-list-ul > li.nt {
    font-size: 1.6rem;
}

.ft-yeonsung .books-open-list-ul > li {
    font-size: 1.5rem;
}

.books-open-list-ul > li .name {
    font-weight: 600;
    line-height: 1.4;
    font-size: inherit;
}
.books-open-list-ul > li .close {
    color: #aaa;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.ft-yeonsung .books-open-list-ul > li .close {
    font-size: 1.4rem;
}
.books-open-list-ul > li .close > span {
    line-height: 1px;
    letter-spacing: -.5px;
}
.books-open-list-ul > li .close .xx {
    color: #aaa;
    vertical-align: top;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../ico/close.svg');
    display: inline-block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(73%) sepia(6%) saturate(9%) hue-rotate(360deg) brightness(94%) contrast(85%);
}
.ft-yeonsung .books-open-list-ul > li .close .xx {
    width: 1.9rem; height: 1.6rem;
}
.books-open-list-ul > li .note {
    line-height: 1.4;
    font-size: inherit;
    word-break: keep-all;
}
.books-open-list-ul > li .note i.fa-pencil-alt {
    font-size: 1.3rem;
}
.books-open-list-ul > li .note .note_in_btn {
    display: block;
    border-radius: 14px;
    height: 48px;
    line-height: 48px;
    padding: 0 30px;
    box-shadow: none;
    background: none;
    min-width: 215px;
    border: 1px solid var(--box-border-color);

    color: var(--box-font-color);
    background: #fff;
    font-size: 1.4rem;
    width: 215px;
    margin: 0 auto;
}

.ft-yeonsung .books-open-list-ul > li .note .note_in_btn {
    font-size: 1.6rem;
}

.books-open-list .moreBtn {
    font-size: 1.4rem;
    text-align: center;
    padding-top: 15px;
    color: #544f4f;
}

.ft-yeonsung .books-open-list .moreBtn {
    font-size: 1.6rem;
}

.books-open-list .books-w-wrap {
    text-align: right; margin-top: 15px;
    display: flex;
    justify-content: right;
}
.books-open-list .books-w {
    border: 1px solid #eaeaea;
    border-radius: 16px;
    font-size: 1.3rem;
    background: #fff;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    height: 45px;
    width: 150px;
    font-weight: 500;
}
.ft-yeonsung .books-open-list .books-w {
    font-size: 1.5rem;
}
.books-open-list-ul > li .note {
    word-break: unset;
}
/* 방명록 END */

/* 마음 전하실 곳 */
.radio-swipe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    height: 42px;
    width: fit-content;
    background-color: rgba(178, 112, 133, 0.1);
    background-color: #f1f1f1;
    border-radius: 25px;
    overflow: hidden;
    min-width: 0;
    text-align: center;
    justify-content: center;
}
.radio-swipe-container input[type="radio"] { display: none; }
.radio-swipe-container label {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 400;
    color: #999;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    padding: 0 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: inline;
    max-width: 160px;
    width: fit-content;
    box-sizing: border-box;
    margin: auto;
    min-width: 95px;
    height: fit-content;
}
.radio-swipe-container.i-1 label {max-width: 260px;}
.radio-swipe-container.i-3 label {max-width: 115px;}
.radio-swipe-container .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    transition: transform 0.3s ease;
}
.radio-swipe-container .slider > span {
    background-color: #fff;
    border-radius: 25px;
    display: flex; 
    width: 100%; 
    height: 100%;
}
.radio-swipe-container.i-1 { grid-template-columns: 1fr; }
.radio-swipe-container.i-2 { grid-template-columns: 1fr 1fr; }
.radio-swipe-container.i-3 { grid-template-columns: 1fr 1fr 1fr; }
.radio-swipe-container.i-1 .slider {width: 100%;}
.radio-swipe-container.i-2 .slider {width: 50%;}
.radio-swipe-container.i-3 .slider {width: 33.3%;}

.radio-swipe-container input[type="radio"]:nth-of-type(1):checked ~ .slider { transform: translateX(0); }
.radio-swipe-container input[type="radio"]:nth-of-type(2):checked ~ .slider { transform: translateX(100%);}
.radio-swipe-container input[type="radio"]:nth-of-type(3):checked ~ .slider { transform: translateX(200%); }

.radio-swipe-container input[type="radio"]:nth-of-type(1):checked + label:nth-of-type(1),
.radio-swipe-container input[type="radio"]:nth-of-type(2):checked + label:nth-of-type(2),
.radio-swipe-container input[type="radio"]:nth-of-type(3):checked + label:nth-of-type(3) { color: #000; }

.swipe_acct_box_wrapper { margin-top: 50px; }
.swipe_acct_box_wrapper .group {display: flex; justify-content: center;}
.swipe_acct_box_wrapper .group-in-content {padding-top: 23px;}
.swipe_acct_box_wrapper .gcontents {
    line-height: 1;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: scale(0.95); /* 약간 축소된 상태에서 시작 */
    transition:
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), /* 부드러운 투명도 변화 */
        max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), /* 높이 전환 */
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 크기 변화 */
}
.swipe_acct_box_wrapper .gcontents.active {
    opacity: 1; /* 활성화된 상태 */
    height: auto; /* 높이를 콘텐츠에 맞게 자동으로 조정 */
    transform: scale(1); /* 원래 크기로 확대 */
}
.swipe_acct_box_wrapper .gcontents .gc1 { display: flex; padding-bottom: 10px; }
.swipe_acct_box_wrapper .gcontents .gc1 .acbox {
    width: 264px;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 24px;
    font-size: 1.3rem;
    padding-top: 24px;
    box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1);
}

.swipe_acct_box_wrapper .gcontents .gc1 .acbox .a-name {
    display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 500;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .a-account {
    display: flex; justify-content: center; align-items: center; gap: 9px;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .buttns {
    display: grid; gap: 8px;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .buttns > a {
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #999;
    padding: 14px;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    color: #000;
    border: 1px solid var(--box-border-color);
    color: #404040;
    border: 1px solid #eaeaea;
    background-color: #f1f1f1;
    background: transparent;
    color: #000;
    cursor: pointer;
    gap: 4px;
    justify-content: space-between;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .buttns > a .c {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFEB00;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .buttns > a .c img {
    width: 60%;
}
.swipe_acct_box_wrapper .gcontents .gc1 .acbox .buttns > a .c.card {
    background: #333;
}
.swipe_acct_box_wrapper .gcontents .gc1 .image-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), var(--bg-url); 
    background-size: contain;
    background-position: right top; 
    background-repeat: no-repeat;
}
.swipe_acct_box_wrapper .gcontents .swiper-wrapper {
    display: flex;
}

.txtnone {
    text-indent: -9999px;
    left: -9999px;
    position: absolute;
}
/* 마음 전하실 곳 END */

/* 우리의 소중한 순간들 */
.card-stack-wrapper {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding-bottom: 62px; 
    padding-top: 20px;
}
.snap-noti {
    padding-top: 8px; color: #544f4f;
}
.card-stack {
    position: relative;
    width: 148px;
    height: 148px;
    box-sizing: border-box;
}
.card-stack img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
    transition: all 1.0s ease-in-out;
}
.snap-noti {font-size: 1.3rem;}

.private-books .wrt,
.private-attend .wrt {
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.private-books .fw  {
    display: none !important;
}

.private-books-one,
.private-attend-one {
    padding: 30px 30px; 
    border-radius: 6px;
    background: var(--box-bg-color);
    border-color: #fadcda;
    border-color: transparent;
    line-height: 1.76;
}
.private-books .wrt,
.private-attend .wrt {
    font-size: 1.4rem;
    border-radius: 14px;
    height: 48px;
    line-height: 48px;
    padding: 0px 30px;
    box-shadow: none;
    border: 1px solid #d1c8c8; 
    color: #978686;
    background: none;
    border-color: #e2d2d2;
    border-color: #ddd;
    color: #404040;

    background: #fafafa;
    border-color: transparent;

    border-color: rgb(250, 250, 250);
    min-width: 215px;

    border: 1px solid #eee;
}
.private-books .wrt.gry,
.private-attend .wrt.gry {
    background: #fafafa;
} 
.private-books .wrt.str,
.private-attend .wrt.str {
    color: var(--box-font-color); ;
    border-color: var(--box-border-color); 
    background: #fff;
}
.private-attend .wrt .i {
    display: initial;
    opacity: 0.7;
}

.btn {
	height: 28px; min-width: 32px;
	display: inline-block;
	text-align: center;
	color: #fff;
	font-size: 1.2rem;
	line-height: 28px;
	border-radius: 5px;
	padding: 0px 10px;
    box-sizing: border-box;
    background: #9295a0;
    vertical-align: inherit;
}
.btn > img {opacity: 0.2; width: 20px; vertical-align: middle;}
/* 우리의 소중한 순간들 END */

/* 엔딩 사진 */
.endingLayer {
    position: relative;
}
.endingLayer.light {
    -webkit-mask-image: linear-gradient(180deg,transparent,rgba(0,0,0,.013) 1.1%,rgba(0,0,0,.049) 2.3%,rgba(0,0,0,.104) 3.58%,rgba(0,0,0,.175) 4.94%,rgba(0,0,0,.259) 6.34%,rgba(0,0,0,.352) 7.78%,rgba(0,0,0,.45) 9.26%,rgba(0,0,0,.55) 10.74%,rgba(0,0,0,.648) 12.22%,rgba(0,0,0,.741) 13.66%,rgba(0,0,0,.825) 15.06%,rgba(0,0,0,.896) 16.42%,rgba(0,0,0,.951) 17.7%,rgba(0,0,0,.987) 18.9%,#000 20%,#000 80%,rgba(0,0,0,.987) 81.1%,rgba(0,0,0,.951) 82.3%,rgba(0,0,0,.896) 83.58%,rgba(0,0,0,.825) 84.94%,rgba(0,0,0,.741) 86.34%,rgba(0,0,0,.648) 87.78%,rgba(0,0,0,.55) 89.26%,rgba(0,0,0,.45) 90.74%,rgba(0,0,0,.352) 92.22%,rgba(0,0,0,.259) 93.66%,rgba(0,0,0,.175) 95.06%,rgba(0,0,0,.104) 96.42%,rgba(0,0,0,.049) 97.7%,rgba(0,0,0,.013) 98.9%,transparent);
    mask-image: linear-gradient(180deg,transparent,rgba(0,0,0,.013) 1.1%,rgba(0,0,0,.049) 2.3%,rgba(0,0,0,.104) 3.58%,rgba(0,0,0,.175) 4.94%,rgba(0,0,0,.259) 6.34%,rgba(0,0,0,.352) 7.78%,rgba(0,0,0,.45) 9.26%,rgba(0,0,0,.55) 10.74%,rgba(0,0,0,.648) 12.22%,rgba(0,0,0,.741) 13.66%,rgba(0,0,0,.825) 15.06%,rgba(0,0,0,.896) 16.42%,rgba(0,0,0,.951) 17.7%,rgba(0,0,0,.987) 18.9%,#000 20%,#000 80%,rgba(0,0,0,.987) 81.1%,rgba(0,0,0,.951) 82.3%,rgba(0,0,0,.896) 83.58%,rgba(0,0,0,.825) 84.94%,rgba(0,0,0,.741) 86.34%,rgba(0,0,0,.648) 87.78%,rgba(0,0,0,.55) 89.26%,rgba(0,0,0,.45) 90.74%,rgba(0,0,0,.352) 92.22%,rgba(0,0,0,.259) 93.66%,rgba(0,0,0,.175) 95.06%,rgba(0,0,0,.104) 96.42%,rgba(0,0,0,.049) 97.7%,rgba(0,0,0,.013) 98.9%,transparent);
}
.endingLayer .wave {display: none; z-index: 1;}
.endingLayer.wave .wave.top { position: relative; top: 30px;transform: scaleY(-1);transition: .3s; display: block; margin-top: -30px;}
.endingLayer.wave .wave.bottom {position: relative;top: -30px;margin-bottom: -30px;display: block;}
.endingLayer.rippid .rpd {
    display: block;
}

.banner01 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 320px;
    position: relative;
}
.banner01.auto {
    height: auto;
}
.banner01 > img {max-width: 100%;}
.banner01 .cover {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.7;
    background-color: rgba(0,0,0,0.2);
    letter-spacing: 2px;
    height: 100%;
    position: absolute; top: 0; left: 0; width: 100%;
    box-sizing: border-box;
    padding: 0px 30px;
}
.banner01 .cover .vcenterbox {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    left: 0;
    right:0;
    margin: auto;
    text-align: left;
}
.banner01 .vcenterbox {
    padding: 80px 30px 0;
}
.banner01.fixed .vcenterbox {
    padding: 0 30px;
}
.banner01 .cover .vcenterbox.right {
    text-align: right;
    right: 30px;
    left: unset;
}
.banner01 .cover .vcenterbox.center {
    text-align: center;
    left: 0px;
}
/* 엔딩 사진 END */

/* 카카오톡 초대장 링크 */
.kkt-share {
    font-size: 1.3rem;
    display: inline-block;
    background-image: url('../ico/icon-kakaotalk.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 16px;
    padding-left: 20px;
    /*font-family: 'RIDIBatang';*/
    text-align: center;
    cursor: pointer;
    letter-spacing: -0.5px;
}
/* 카카오톡 초대장 링크 END */

/* 저작권 */
.card-bottom-copyright {
    font-size: 10px; 
    margin: 20px 0; 
    line-height: 10px; 
    text-align: center; 
    color: #AAA; 
    font-weight: 400;
    font-family: 'Noto Serif KR', serif; 
    letter-spacing: -1px;
}
/* 저작권 END */

/* 연락하기 */
#tel_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    transition: 0.5s opacity;
    /*background: rgba(56,44,48,.84);*/
    background: rgba(255, 255, 255, 1);
    visibility: visible;
    opacity: 1;
    overflow: scroll;
}

#tel_popup .x_button {
    position: absolute;
    top: 10px;
    right:10px;
    font-size: 20px;
    z-index: 1;
}
#tel_popup .ctt {
    width: 350px;
    max-width: 92%;
    /*background: #fff;*/
    border-radius: 4px;
    padding: 0;
    margin-top: 50px;
    font-size: 14px;
    overflow: hidden;
    --animate-duration: 0.25s;
    /*-webkit-box-shadow: 3px 3px 10px 0 rgb(0 0 0/20%);
    -moz-box-shadow: 3px 3px 10px 0 rgba(0,0,0,.2);
    box-shadow: 3px 3px 10px 0 rgb(0 0 0/20%);*/
    z-index: 1;
    padding-top: 10px;
    flex: 0 0 auto;
}
#tel_popup .tp {

    text-align: center;
    font-size: 16px;
    color: #585858;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 50px;
    left: 0; right: 0;

}
#tel_popup .ctt .grd_wrap {
    padding: 10px;
    /*font-family: 'Noto Sans KR', sans-serif;*/
}

#tel_popup .ctt > .grd_wrap:first-child {
    margin-bottom: 30px;
}

#tel_popup .ctt .grd {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 15px;
    align-items: center;
}
#tel_popup .ctt .grd > .cell {
    text-align: center; 
    font-size: 14px;
}
#tel_popup .ctt .grd > .cell.name {
    color: #585858;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
#tel_popup .ctt .grd > .cell.name .baptismal {
    font-size: 13px;
    word-break: keep-all;
}
#tel_popup .ctt .grd > .cell:nth-child(1) {
    text-align: left; font-size: 14px; color:#777777;
}
#tel_popup .ctt .grd > .cell:nth-child(3) {
    text-align: right;
}
#tel_popup .ctt .grd .fa {
    margin: 0 10px;
}
#tel_popup .ctt .grd_wrap.man,
#tel_popup .ctt .grd_wrap.man .fa {color: rgb(102, 142, 170); color: #ccc; }

#tel_popup .ctt .grd_wrap.woman,
#tel_popup .ctt .grd_wrap.woman .fa {color: #c8b1b7; color: #ccc  }

#tel_popup .ent {
    font-size: 12px;
    font-family: Crimson Pro,serif;
    letter-spacing: 3px;
    line-height: 20px;
    color: #585858;
    opacity: 0.6;
}
#tel_popup .grd_line {
    border-bottom: 1px solid #AAAAAA; padding-bottom: 9px; margin: 0 15px;
    color: #585858; font-size: 14px;
}

.ft-yeonsung #tel_popup .ctt {font-size: 16px;}
.ft-yeonsung #tel_popup .tp {font-size: 20px;}
.ft-yeonsung #tel_popup .ctt .grd > .cell {font-size: 17px;}
.ft-yeonsung #tel_popup .ctt .grd > .cell:nth-child(1) {font-size: 16px;}
.ft-yeonsung #tel_popup .grd_line {font-size: 16px;}

.cell > a > img {
    width: 20px; 
    margin: 0 8px;
    filter: invert(60%) sepia(0%) saturate(5200%) hue-rotate(64deg) brightness(87%) contrast(105%);
}
/* 연락하기 END */

/* 인터뷰 */
#interview_pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    /*
    justify-content: center;
    flex-direction: column;
    align-items: center;
    */
    transition: 0.5s opacity;
    background: rgba(255, 255, 255, 1);
    visibility: visible;
    opacity: 1;

    box-sizing: border-box;
    padding: 150px 35px 24px 35px;

    overflow-y: scroll;
}

#interview_pop .x_button {
    position: absolute;
    top: 10px;
    right:10px;
    color: #fff;
    font-size: 20px;
    z-index: 1;
}
#interview_pop .ctt {
    width: 350px;
    max-width: 91%;
    /*background: #fff;*/
    border-radius: 4px;
    margin: auto;
    padding: 0;
    font-size: 14px;
    overflow: hidden;
    --animate-duration: 0.25s;
    /*-webkit-box-shadow: 3px 3px 10px 0 rgb(0 0 0/20%);
    -moz-box-shadow: 3px 3px 10px 0 rgba(0,0,0,.2);
    box-shadow: 3px 3px 10px 0 rgb(0 0 0/20%);*/
    z-index: 1;
    padding-top: 10px;
}
#interview_pop .tp {

    text-align: center;
    font-size: 16px;
    color: #585858;
    letter-spacing: 2px;
    font-weight: 500;
    position: absolute;
    top: 5%;
    margin: auto;
    left: 0; right: 0;

}
#interview_pop .ent {
    font-size: 12px;
    font-family: Crimson Pro,serif;
    letter-spacing: 3px;
    line-height: 20px;
    color: #585858;
    opacity: 0.6;
}

#interview_pop .grd_line {
    border-bottom: 1px solid #AAAAAA; padding-bottom: 9px; margin: 0 15px;
    color: #585858; font-size: 14px;
}

ul.interview {
    display: block;
}
ul.interview > li {
    display: block;
    border-top: 1px solid #AAAAAA;
    box-sizing: border-box;
    padding: 20px 0;
    line-height: 1.52;
    word-break: keep-all;
}
ul.interview > li > .q {
    display: block;
    color: #585858;
    font-size: 14px;
    margin-bottom: 8px;
}
ul.interview li > .a {
    display: block;
    font-size: 14px;

    color: #585858;
    font-weight: 400;
    letter-spacing: 0;
}
ul.interview > li.more {
    color: #fff;
    color: #585858;
    text-align: center;
    font-size: 14px;
    border: none;
}
/* 인터뷰 END */

/* 약도 */
.popImg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    visibility: hidden;
    background: rgba(255, 255, 255, 1);
    touch-action: pinch-zoom;
    opacity: 0;
}
.popImg .in {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    transform: translate(-50%,-50%);
}
.popImg .in .container {
    position: relative;
    height: 100%;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.popImg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: move;
    touch-action: none;
    vertical-align: top;
    transform: translateX(0px) translateY(0px) translateZ(0px) scale(1, 1);
}
.popImg .x_button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 20px;
    z-index: 1;
}
.popImg .down_button {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 20px;
    z-index: 1;
}
.pageCover.blur6 {
    -webkit-filter: blur(6px);
    -moz-filter: blur(6px);
    -o-filter: blur(6px);
    -ms-filter: blur(6px);
    filter: blur(6px);
}
.popImg.visible {
    opacity: 1; visibility: visible;
}
/* 약도 END */

/* 방명록 작성하기 */
.clse {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px; 
    height: 20px;
    font-size: 2rem;
    color: #bbb;
    cursor: pointer;
}

.guestbook-write-page select,
.guestbook-write-page input { font-family: 'Gowun Dodum', sans-serif; font-size: 14px;}
.guestbook-write-page input::placeholder {font-weight: normal !important; font-size: 14px; font-family: 'Gowun Dodum', sans-serif;}
.guestbook-write-page input:focus { outline: none; }
.guestbook-write-page {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; background: #fff; display: none;
    font-family: 'Gowun Dodum', sans-serif; font-size: 14px; animation-duration: 0.35s !important;
    max-width: 425px;right: 0;margin: auto;
}
.guestbook-write-page * {letter-spacing: -0.5px;}
.guestbook-write-page .frm {position: relative; height: 100%; background: #fff; border-radius: 0px;color: #585858;}
.guestbook-write-page .frm .frmIn { padding: 15px 25px; }
.guestbook-write-page .frm .hea { text-align: center; font-size: 16px; padding: 10px 0px 25px 0px; margin-top: 30px; color: #585858; line-height: 1.2;  margin-bottom: 30px;letter-spacing: 0.5px;}
.guestbook-write-page .frm .hea > span {
    font-size: 12px;
    font-family: Crimson Pro,serif;
    letter-spacing: 3px;
    line-height: 20px;
    color: #585858;
    opacity: 0.6;
}

.guestbook-write-page .frm .put { width: 100%; border: 1px solid #ccc;border-radius: 3px; font-size: 14px; padding: 13px 10px;}
.guestbook-write-page .frm .put::placeholder {font-size: 14px; color: #999;}
.guestbook-write-page .frm div > .put:last-child {float: right;}
.guestbook-write-page .frm textarea.put {float: none; width: 100%; box-sizing: border-box;height: 150px;}
.guestbook-write-page .tip {font-size: 14px; margin-bottom: 10px;font-weight: 600; display: inline-block;color: #585858; position: relative;}
.guestbook-write-page .tip .spot { background: #f76767;height: 5px;width: 5px;border-radius: 100%;display: inline-block;position: absolute;top: 0;right: -10px;}
.guestbook-write-page .tip.emp {font-size: 14px; color: #585858; line-height: 1.8; margin-bottom: 10px;letter-spacing: -0.5px;}
.guestbook-write-page .frm select.put {background: #fff;padding: 0 9px; border: 1px solid #ccc;border-radius: 3px; font-size: 14px; box-sizing: border-box; height: 42.4px; line-height: 42.4px;}

.guestbook-write-page .att-fdver {border-bottom: 1px solid #AAAAAA; position: relative; padding-left: 75px;}
.guestbook-write-page .att-fdver-btn {text-align: center;display: block;vertical-align: middle; font-size: 14px; color: #fff; background: #333; font-family: 'Gowun Dodum', sans-serif; font-weight: 300; width: 100%; height: 60px; line-height: 60px;box-sizing: border-box;}
.guestbook-write-page .att-fdver .nm {height: 60px; position: absolute; width: 75px;text-align: left;top: 0; left: 0;}
.guestbook-write-page .att-fdver .nm .text {position: relative;font-size: 14px; color: #585858; line-height: 60px;}
.guestbook-write-page .att-fdver .spot {background: #f76767;height: 5px; width: 5px; border-radius: 100%; display: inline-block;position: absolute; top: 0; right: -10px;}
.guestbook-write-page .att-fdver select {height: 60px;border: none;box-sizing: border-box;color: #585858; font-size: 14px; width: 100%; font-weight: 400;background: transparent !important;}
.guestbook-write-page .att-fdver input {height: 60px;border: none;box-sizing: border-box;color: #585858; font-size: 14px; width: 100%; font-weight: 400;}
.guestbook-write-page .att-fdver input::placeholder {color: #aaa; letter-spacing: -1px;font-size: 14px !important; font-weight: 200 !important;}
.guestbook-write-page .att-fdver textarea {height: 140px;border: none;box-sizing: border-box; color: #585858; font-family: 'Gowun Dodum', sans-serif; font-size: 13px; width: 100%; font-weight: 400; padding: 23px 2px 1px 2px; resize: none; min-height: 140px;}
.guestbook-write-page .att-fdver textarea::placeholder {color: #aaa; letter-spacing: -1px;font-size: 14px !important; font-weight: 200 !important;}
.guestbook-write-page .att-fdver textarea:focus {outline: none;}

.guestbook-write-page .box-chk {position: absolute;visibility: hidden;}
.guestbook-write-page .box-chk + label {text-align: center;border: 1px solid #eaeaea;display: inline-block;vertical-align: middle;font-size: 14px;color: #aaaaaa; font-weight: 300;width: calc(50% - 5px);height: 40px;line-height: 38px; float: left; box-sizing: border-box;-webkit-transition: all 0.1s ease-in-out 0s;transition: all 0.1s ease-in-out 0s;}
.guestbook-write-page .box-chk-wrap {margin-bottom: 10px;}
.guestbook-write-page .box-chk-wrap > .box-chk + label:last-child {float: right;}
.guestbook-write-page .box-chk:checked + label.v01_pink { background: #f76868;color: #fff;}
.guestbook-write-page .box-chk:checked + label.v01_blue { background: #689ef7; color: #fff;}
.guestbook-write-page .box-chk:checked + label.v01_black { background: #333;color: #fff;}
.guestbook-write-page .box-chk:checked + label.v01_gray {background: transparent; font-weight: 500;color: #222; border-color: #222;}
.guestbook-write-page .box-chk:checked + label.v02_pink {border-color: #f76868;color: #f76868; font-weight: 500;}
.guestbook-write-page .box-chk:checked + label.v02_blue {border-color: #689ef7; color: #689ef7; font-weight: 500; }

.guestbook-write-page .att-priv-box {border: 1px solid #eaeaea;box-sizing: border-box;padding: 15px 17px; margin-top: 30px;}
.guestbook-write-page .att-priv-box p {font-size: 14px; letter-spacing: -1.2px;color: #aaa; font-weight: 300; padding-bottom: 10px;}

.guestbook-write-page .att-fdver input:-webkit-autofill {-webkit-box-shadow: 0 0 0 1000px #fff inset;}
/* 방명록 작성하기 END */

/* 참석 의사 전달하기 */
.rsvp-write-page select,
.rsvp-write-page input { font-family: 'Gowun Dodum', sans-serif; font-size: 14px;}
.rsvp-write-page input::placeholder {font-weight: normal !important; font-size: 14px; font-family: 'Gowun Dodum', sans-serif;}
.rsvp-write-page input:focus { outline: none; }
.rsvp-write-page {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 900; background: #fff; display: none;
    font-family: 'Gowun Dodum', sans-serif !important; 
    font-size: 14px; overflow-y: scroll; 
    animation-duration: 0.35s !important;
    max-width: 425px;right: 0;margin: auto;
}
.rsvp-write-page * {letter-spacing: -0.5px;}
.rsvp-write-page .frm {position: relative; height: 100%; background: #fff; border-radius: 0px;color: #585858;}
.rsvp-write-page .frm .frmIn { padding: 15px 25px; }
.rsvp-write-page .frm .hea { text-align: center;font-size: 16px; padding: 10px 0px 25px 0px; margin-top: 30px; color: #585858; line-height: 1.2;  margin-bottom: 30px;letter-spacing: -1px;}
.rsvp-write-page .frm .hea > span {
    font-size: 12px;
    font-family: Crimson Pro,serif;
    letter-spacing: 3px;
    line-height: 20px;
    color: #585858;
    opacity: 0.6;
}

.rsvp-write-page .frm .put { width: 100%; border: 1px solid #ccc;border-radius: 3px; font-size: 14px; padding: 13px 10px;}
.rsvp-write-page .frm .put::placeholder {font-size: 14px; color: #999;}
.rsvp-write-page .frm div > .put:last-child {float: right;}
.rsvp-write-page .frm textarea.put {float: none; width: 100%; box-sizing: border-box;height: 150px;}
.rsvp-write-page .tip {font-size: 14px; margin-bottom: 10px; display: inline-block;color: #585858; position: relative;}
.rsvp-write-page .tip .spot { background: #f76767;height: 5px;width: 5px;border-radius: 100%;display: inline-block;position: absolute;top: 0;right: -10px;}
.rsvp-write-page .tip.emp {font-size: 14px; color: #585858; line-height: 1.8; margin-bottom: 10px;letter-spacing: -0.5px;}
.rsvp-write-page .frm select.put {background: #fff;padding: 0 9px; border: 1px solid #ccc;border-radius: 3px; font-size: 16px;box-sizing: border-box; height: 42.4px; line-height: 42.4px;}

.rsvp-write-page .att-fdver {border-bottom: 1px solid #eaeaea; position: relative;padding-left: 75px;}
.rsvp-write-page .att-fdver-btn {text-align: center;display: block;vertical-align: middle; font-size: 14px; color: #fff; background: #333; font-weight: 300; height: 60px;line-height: 60px;box-sizing: border-box;}
.rsvp-write-page .att-fdver .nm {height: 60px; position: absolute; width: 75px;text-align: left;top: 0; left: 0;}
.rsvp-write-page .att-fdver .nm .text {position: relative;font-size: 14px; color: #585858; line-height: 60px;}
.rsvp-write-page .att-fdver .spot {background: #f76767;height: 5px; width: 5px; border-radius: 100%; display: inline-block;position: absolute; top: 0; right: -10px;}
.rsvp-write-page .att-fdver select {height: 60px;border: none;box-sizing: border-box;color: #585858; font-size: 14px; width: 100%; font-weight: 400;background: transparent !important;}
.rsvp-write-page .att-fdver input {height: 60px;border: none;box-sizing: border-box;color: #585858; font-size: 14px; width: 100%; font-weight: 400;}
.rsvp-write-page .att-fdver input::placeholder {color: #aaa; letter-spacing: -1px;font-size: 14px !important; font-weight: 200 !important;}

.rsvp-write-page .box-chk {position: absolute;visibility: hidden;}
.rsvp-write-page .box-chk + label {text-align: center;border: 1px solid #eaeaea;display: inline-block;vertical-align: middle;font-size: 14px;color: #aaaaaa; font-weight: 300;width: calc(50% - 5px);height: 40px;line-height: 38px; float: left; box-sizing: border-box;-webkit-transition: all 0.1s ease-in-out 0s;transition: all 0.1s ease-in-out 0s;}
.rsvp-write-page .box-chk-wrap > .box-chk + label:last-child {float: right;}
.rsvp-write-page .box-chk:checked + label.v01_pink { background: #f76868;color: #fff;}
.rsvp-write-page .box-chk:checked + label.v01_blue { background: #689ef7; color: #fff;}
.rsvp-write-page .box-chk:checked + label.v01_black { background: #333;color: #fff;}
.rsvp-write-page .box-chk:checked + label.v01_gray {background: transparent; font-weight: 500;color: #222; border-color: #222;}
.rsvp-write-page .box-chk:checked + label.v02_pink {border-color: #f76868;color: #f76868; font-weight: 500;}
.rsvp-write-page .box-chk:checked + label.v02_blue {border-color: #689ef7; color: #689ef7; font-weight: 500; }

.rsvp-write-page .att-priv-box {border: 1px solid #eaeaea;box-sizing: border-box;padding: 15px 17px; margin-top: 30px;}
.rsvp-write-page .att-priv-box p {font-size: 14px; letter-spacing: -1.2px;color: #aaa; font-weight: 300; padding-bottom: 10px;}
/* 참석 의사 전달하기 END */

/* 챗봇 */
@media only screen and (max-width: 768px) {
    .chat-circle {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* 챗봇 버튼 고정 */
.chat-circle {
    position: fixed; /* 브라우저 화면을 기준으로 고정 */
    bottom: 30px;    /* 바닥에서 30px 띄움 */
    right: 30px;     /* 우측에서 30px 띄움 */
    z-index: 9999;   /* 다른 어떤 요소보다 위에 오도록 매우 높은 값 설정 */
    transition: transform 0.2s ease-in-out; /* 마우스 올렸을 때 효과 */
    
    /* 이미지 버튼을 위한 추가 설정 */
    width: 65px;
    height: 65px;
    background: none;
    border: none;
    cursor: pointer;
}

/* 챗봇 대화창 고정 */
.chat-box {
    position: fixed; /* 버튼과 마찬가지로 화면에 고정 */
    bottom: 110px;   /* 버튼보다 위에 나타나도록 높이 조절 */
    right: 30px;
    z-index: 9999;   /* 버튼과 동일하게 최상단 레이어 유지 */
    
    width: 350px;
    height: 450px;
    background: white;
    display: none;   /* 처음엔 숨김 */
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* 떠 있는 느낌을 위해 그림자 강화 */
    border-radius: 15px;
    overflow: hidden;
}

.chat-btn-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 이미지 비율 유지 */
    border-radius: 50%; /* 이미지가 사각형일 경우 원형으로 제한 */
    /* 버튼 느낌을 주려면 약간의 그림자를 추가하세요 */
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3));
}

/* 마우스를 올렸을 때 살짝 커지는 효과 */
.chat-circle:hover {
    transform: scale(1.1);
}
/* 챗봇 END */

/* 챗봇 대화하기 */
.header-right .clse {
    font-size: 2rem;
    color: #bbb;
    cursor: pointer;
}
.chat-page {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; z-index: 100; background: #fff; display: none;
    font-family: 'Gowun Dodum', sans-serif; font-size: 14px; animation-duration: 0.35s !important;
    max-width: 425px;right: 0;margin: auto;
    letter-spacing: -0.5px;
}

/* 화면 전체 높이를 사용하도록 설정 */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100dvh; /* 원하는 높이로 조절 */
    border: 1px solid #ddd;
}

/* 대화 내역: 남은 공간을 모두 차지하고 내용이 많아지면 스크롤 생성 */
.chat-page .chat-log {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
}

/* 입력창 영역: 하단에 고정 */
.chat-page .chat-input-area {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
    gap: 10px;
    align-items: center;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.chat-page .chat-input-area input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 전체 대화창 배경 (카톡 배경색) */
.chat-log {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background-color: #bacee0; /* 카톡 배경색 */
    overflow-y: auto;
    height: 100%;
}

/* 메시지 컨테이너 (한 줄 전체 차지) */
.message-container {
    display: flex;
    width: 100%;

    /* 애니메이션이 끝난 상태(opacity: 1)를 유지 */
    animation: fadeInUp 0.3s ease-out forwards;
}

/* 사용자 메시지는 오른쪽 정렬 */
.user-container {
    justify-content: flex-end;
}

/* 봇 메시지는 왼쪽 정렬 */
.bot-container {
    justify-content: flex-start;
}

/* 공통 말풍선 스타일 */
.message {
    max-width: 70%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-all;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 사용자 말풍선 (노란색) */
.user-bubble {
    background-color: #f79e9e;
    color: #FFFFFF;
    border-radius: 15px 0px 15px 15px; /* 오른쪽 위 각진 모서리 */
    margin-right: 5px;
}

/* 봇 말풍선 (흰색) */
.bot-bubble {
    background-color: #ffffff;
    color: #000;
    border-radius: 0px 15px 15px 15px; /* 왼쪽 위 각진 모서리 */
    margin-left: 5px;
}

/* 생각 중 말풍선 전용 스타일 */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 15px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background-color: #888;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}

/* 새로운 메시지가 추가될 때 적용될 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-input-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 24px; /* 매우 둥근 모서리 */
    padding: 8px 12px;
    margin: 15px; /* 바닥에서 살짝 띄움 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#chat-message-input {
    flex: 1;
    width: 100%;       /* 너비를 꽉 채워서 옆으로 나가지 못하게 함 */
    resize: none;      /* 오른쪽 아래 조절 핸들 제거 */
    overflow-y: hidden; /* 스크롤바가 생기지 않도록 숨김 (JS가 조절할 거니까) */
    
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;

    /* 줄바꿈 관련 설정 */
    white-space: pre-wrap; /* 공백과 줄바꿈을 유지하며 너비에 맞춰 줄바꿈 */
    word-break: break-all; /* 긴 단어도 너비에 맞춰 줄바꿈 */
    
    box-sizing: border-box; 

    height: auto;
    min-height: 36px; 
    line-height: 1.5;
    max-height: 150px; /* 너무 길어지면 멈춤 */
    
    padding: 10px;
    border: none;
    outline: none;
}

.send-icon-btn {
    background: #f79e9e; /* 포인트 컬러 */
    color: white;
    border: none;
    border-radius: 50%; /* 동그란 아이콘 버튼 */
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    margin-bottom: 4px;
}

.send-icon-btn:hover {
    transform: scale(1.1);
}

.send-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* 입력창이 비활성화(disabled) 되었을 때의 스타일 */
#chat-message-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 전송 버튼이 비활성 느낌이 나도록 */
.send-icon-btn {
    transition: all 0.3s ease;
}

/* 전체 컨테이너: 배경과 일체감을 위해 border 제거 및 높이 고정 */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background-color: #ffffff;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

/* 헤더: 높이를 낮추고 그라데이션 적용 */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px; /* 높이를 낮추기 위해 padding 축소 */
    background: linear-gradient(135deg, #f79e9e 0%, #ffb4b4 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(247, 158, 158, 0.3);
    z-index: 10;
    margin-top: 0;
    border-top: none;
}

.header-left {
    display: flex;
    align-items: center;
}

/* 프로필 이미지 사이즈 소폭 축소 */
.profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.6);
}

.profile-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: white;
}

/* 온라인 초록색 동그라미 */
.status-indicator {
    font-size: 10px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4CAF50; /* 밝은 초록색 */
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

/* 대화창: 헤더와 딱 붙도록 설정 */
.chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #fcfcfc; /* 헤더 핑크색과 대비되는 연한 배경 */
    border: none;
}

/* 우측 상단 아이콘 컬러 */
.icon-btn svg {
    opacity: 0.9;
}
/* 챗봇 대화하기 END */

/* 알림창 */
.pop-design {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999;
}
.pop-design .background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0,0,0,0.2)
}
.pop-design .in {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 90%;
    max-width: 365px;
    z-index: 100;

    background: #fff;
    padding-top: 47px;
    padding-bottom: 36px;

    width: 280px;
    border-radius: 10px;
    padding: 0 15px;
    padding-top: 32px;
    padding-bottom: 25px;
}
.pop-design .title {
    color: #000;
    line-height: 1.3;
    font-size: 13px;
    margin-bottom: 15px;
}
.ft-yeonsung .pop-design .title {
    font-size: 15px;
}
.pop-design .btns {

}
.pop-design .btns button {

    vertical-align: middle;
    margin: 0; padding: 0; box-sizing: border-box;
    border: 0;

    display: inline-block;
    width: 110px;
    height: 48px;
    line-height: 48px;
    background: #f79e9e;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    border-radius: 12px;

    height: 32px;
    line-height: 32px;
    font-family: 'Gowun Dodum', sans-serif;
    font-size: 12px;
    width: 80px;
    border-radius: 8px;

    font-weight: 500;
}
.pop-design .ipts {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    border-radius: 8px;
    font-weight: 500;
    box-sizing: border-box;
    border: 1px solid #f79e9e;
    width: 100%;
    padding: 0 10px;
}
.pop-design .ipts:focus {
    border-color: #000;
}
.pop-design .ipts::placeholder {color: #aaa;}
/* 알림창 END */

.drag-prevent {
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    touch-action: pan-y;
}