/* --------------------------------header-------------------------------- */
html,body{
  height: var(--app-height);
  /* height: 100vh; */
}
main{
  height: 100%;
  position: relative;
  overflow: hidden;
}
h1.block {
  display: block;
}
h1 {
  display: none;
}
/* ---------------------------main--------------------------- */
.selectWrap {
    height: 100%;
    padding:30px 3.125rem ;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}


.selectWrap.none {
    display: none !important;
}

h2.title{
}

h2 {
    font-size: 9rem;
    text-align: center;
}
.info {
    font-size: 1.375rem;
    text-align: center;
    font-weight: 400;
    line-height: 2rem;
    margin: 20px 0;
}
/* -----------------swiper------------------- */
.swiper, .moreList {
    width: calc(100% + 20px);
    margin-top:-10px;
    height: 100%;
    cursor: pointer;
}
.moreList.remove {
    display: none;
}
.moreList {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    transition: height ease 0.5s;
}
.moreContent {
    width: 33.3333%;
    @supports (aspect-ratio: 1) {
        aspect-ratio: 1900 / 950; 
    }

    /* 구형 브라우저에서 aspect-ratio를 지원하지 않는 경우 */
    @supports not (aspect-ratio: 1) {
        height:450px;
    }
}
.swiper.remove {
    display: none;

}
.swiper-wrapper {}
.swiper-slide, .moreContent {
    padding: 10px;
    
}
.heiImage, .moreImage {
    height: 90%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}
.infoWrap:nth-child(1) .heiImage, .swiper-slide:nth-child(1) .heiImage, .moreContent:nth-child(1) .moreImage {
    background-image: url(../image/hei0.png);
}
.infoWrap:nth-child(2) .heiImage, .swiper-slide:nth-child(2) .heiImage, .moreContent:nth-child(2) .moreImage {
    background-image: url(../image/01.png);
}
.infoWrap:nth-child(3) .heiImage, .swiper-slide:nth-child(3) .heiImage, .moreContent:nth-child(3) .moreImage {
    background-image: url(../image/04.png);
}
.infoWrap:nth-child(4) .heiImage, .swiper-slide:nth-child(4) .heiImage, .moreContent:nth-child(4) .moreImage {
    background-image: url(../image/02.png);
}
.heiTxt, .moreTxt {
    position:relative;
    margin-top: 2%;
    margin-left: 2%;
    display: inline-block;
}
.swiper-slide .heiImage,
.moreContent .moreImage {

    transition: box-shadow 250ms ease-out;

}


.swiper-slide:hover .heiImage,
.moreContent:hover .moreImage{
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}



.moreContent:hover .moreTxt::after,
.swiper-slide:hover .heiTxt::after {
    position:absolute;
    left:0;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #004CBD 0%, rgba(175 , 207 , 255, 0.6) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
	animation: border 0.2s linear ;
}
@keyframes border {
    0%{width: 0;}
    100%{width: 100%;}
}
/* .swiper .heiTxt::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #004CBD 0%, rgba(175 , 207 , 255, 0.6) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: border-shrink 0.3s linear forwards;
}

@keyframes border-shrink {
    0% { width: 100%; }
    100% { width: 0; }
} */
.button {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.swiper-button-next {
    padding-left: 3px;
}
.swiper-button-prev {
    padding-right: 3px;
}
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #222;
    border-radius: 20px;
    color: black !important;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}
.swiper-button-prev.remove,
.swiper-button-next.remove {
    display: none;
}
.moreBtn.remove {
    display: block; /* 템플릿 스와이프가 생기면 block으로 수정해야함 */
}
.backBtn.block {
    display: block;
}
.backBtn,
.moreBtn {
    display: none;
    height: 40px;
    border: 1px solid #222;
    border-radius: 20px;
    line-height: 40px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 400;
}
.moreBtn span {
}

.backBtn span::after {
    font-family: swiper-icons;
    letter-spacing: 0;
    font-variant: initial;
    padding-right: 10px;
}
.moreBtn span::after {
    font-family: swiper-icons;
    letter-spacing: 0;
    font-variant: initial;
    padding-left: 10px;
}
/* ----------------------텍스트 가로무한---------------------- */
.rolling {
	width: 100%;
	height: 3.125rem;
    margin-top: 20px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.rolling__loop {
    color: white;
    position: absolute;
    display: flex;
    align-items: center;
    animation: loopText 30s linear infinite; /* 애니메이션 속도 조정 */
    white-space: nowrap; /* 가로로 텍스트가 잘리지 않도록 설정 */
}

.rolling__content {
	white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

@keyframes loopText {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}
.line {
    display: inline-block;
    width: 30px;
    border: 1px solid #434343;
    margin: 0 30px;
}
/* ---------------------infoWrap-------------------- */
.infoWrap {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: calc(var(--vh, 1vh) * 98); /* --vh 변수를 사용하여 동적으로 높이 설정 */
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 3.125rem 3.125rem 0 0;
    transition: all 0.5s ease;
    overflow: hidden;
}
.infoWrap.none {
    height: 0;
}
.infoWrap.padding {
    padding: 45px 3.125rem 0 3.125rem;
}
.nameCancle {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.name::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #004CBD 0%, rgba(175 , 207 , 255, 0.6) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
}
.name {
    font-size: 1.75rem;
}
.closeBtn {
    width: 40px;
    height: 40px;
    border: 1px solid #222;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.closeBtn img {
    width: 70%;
}
.infoDetail {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 15px 0;
}
.infoTxt {
  width: 100%;
}
.infoTxt p {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 2rem;
}
.infoTxt p.templatePoint {
  font-size: 1.25rem ;
  color: #606060;
}
.infoTxt p.notice {
    font-size: 1rem;
    line-height: 1rem;
    color:#999999;
    margin-top:0.1rem;
}

.price {
    font-size: 1.125rem;
    font-weight: 400;
}
.price::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #004CBD 0%, rgba(175 , 207 , 255, 0.6) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
}
.price em {
    font-size: 1.375rem;
}
.preview {
    height: 100%;
    border-radius: 0;
}
.preview:hover p {
    display: flex;
    opacity:1;
    pointer-events:auto;
}
.preview p {
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity:0;
    pointer-events:none;
    background-color: rgba(34, 34, 34, 0.3);
    transition:all 250ms ease-out;
}
.detail {
    border: 2px solid #fff;
    padding: 5px;
    color: #fff;
    font-size: 2.813rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px 40px;
}
/* ----------------------custom-------------------------- */
.customWrap {
    display: none;
}
.customWrap.block {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
}
.customWrap iframe {
  height: 100vh;
  width: 100%;
}
.customWrap p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    border: 1px solid #fff;
    background-color: rgba(34, 34, 34, 0.2);
    padding: 5px 20px;
    left: 1%;
}
.customizing_button{
    top:auto !important; left:auto !important; 
    right:4%; bottom:4%;
    cursor:pointer;
    display:none;
}
.customizing_button.block{
    display:block;
}

.customWrap p, .customC {
    position: absolute;
    top: 2%;
    z-index: 9999;
}
.customC {
    width: 40px;
    height: 40px;
    right: 1%;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.customC img {
    width: 70%;
}


/* deletePopup */
.deleteBg {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
  }
  .deleteBg.block {
    display: block;
  }
  .deletePopup {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    z-index: 9999;
    padding: 3% 5%;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 0.188rem;
    box-shadow: 0.125rem 0.25rem 0.5rem rgba(0, 0, 0, .15);
  }
  .delCWrap {
    position: absolute;
    top: 1.875rem;
    right: 1.875rem;
  }
  .deleteCancle {
    font-size: 2rem;
    font-weight: 400;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 100px;
    border: 1px solid #575656;
    padding: .3rem;
  }
  .deleteCancle img {
    height: 100%;
  }
  .deleteTop {
    margin: 0 1.563rem;
  }
  .deleteWarning {
    font-size: 1.875rem;
  }
  .deleteAgreeInfo {
    font-weight: 400;
    font-size: 1.375rem;
    margin: 1.25rem 0;
    line-height: 2.25rem;
  }
  .websiteNameWrap {
    text-align: start;
  }
  .websiteNameWrap p {
    font-weight: 400;
    margin-bottom: 0.313rem;
  }
  .deleteSelect {}
  .deleteSelect span {}
  .deleteBottom {
    display:flex;
    flex-direction:row;
    margin-top: 3.75rem;
    justify-content:space-between;
  }
  .deleteCheck {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.625rem;
  }
  .deleteCheck input:checked::after {
    content:'✔';
    position: absolute;
    line-height: .9rem;
    font-size: 14px;
    left: 50%;
    transform: translateX(-50%);
  }
  .deleteCheck input {
    margin-right: 1.25rem;
    position: relative;
    text-align: center;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 0.125rem solid #ccc;
    outline: none;
  }
  .deleteCheck input {}
  .deleteCheckBtn {
    width:47%;
  }
  .deleteCheckBtn button {
    width: 100%;
    font-size: 1.375rem;
    font-weight: 500;
    height: 2.5rem;
    background-color: #ddd;
    border-radius: 0.188rem;
  }
  .deleteCheckBtn button.active {
    background-color: #777;
    color: #fff;
  }