@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,body {
  font-family: 'pretendard';
  scroll-behavior: smooth;
}

main {
    width: 1140px;
}

.service.event.detail .bbs-detail.innerfull .cont.full {
    overflow: unset !important;
}

.event-info-diy {
    margin: 0 auto;
    max-width: 1140px;
}

area {
    cursor: pointer;
}

section {
    overflow-x: hidden;
    margin:0 auto;
    width: 1140px;
}

section.section01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section01.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 1036px;
    position: relative;
}

section.section01 > div  {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section01 .swiper-container {
    overflow: unset;
}

section.section01 .swiper-container .swiper-wrapper {
    position: absolute;
    top: 490px;
    height: 440px;
    width: calc(439px * 12);
    display: flex;
    animation: scroll 20s linear infinite;
    justify-content: space-between;
    gap: 20px;
}

section.section01 .swiper-container .swiper-wrapper .swiper-slide{
    width: auto;
    height: 439px;
}

section.section01 .swiper-container .swiper-wrapper .swiper-slide .content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-318px * 5));
  }
}

.section-wrap {
    position: relative;
    width:100%;
    height: fit-content;
    margin:0 auto;
}

.bubble-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1140px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.bubble.bubble02 {
    position: absolute;
    width: fit-content;
    bottom: 0%;
    left: 32.5%;
    z-index: 4;
    animation: bounce2 1.12s ease-in infinite;
}

@keyframes bounce2 {
  50% {
    bottom: -2%;
  }
}

section.section02 {
    background-color: #ffffff;
    color: #909090;
    height: fit-content;
    position: sticky;
    top: 96px;
    z-index: 3;
    overflow-y: hidden;
}

section.section02 > div  {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section02 .tab-container{
    width: 100%;
    display: flex;    
    align-items: center;
    justify-content: center;
}

section.section02 a{
    width: 16.6%;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: 600; 
    border-bottom: 4px solid #d2d2d2;
    color: #8e8e8e;
}

section.section02 a.active,
section.section02 a:hover{
    color: #232323;
    border-bottom: 4px solid #000000;
}

/* section.section02 a:first-child.active div{
    border-bottom: 4px solid #000000;
    display: flex;
    align-items: center;
    padding: 22px;
} */

section.section02-1 .tab-body section {
    display: none;
}

section.section02-1 .tab-body section.active {
    display:block;
}
 

section.section03 { 
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section03.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain; 
    height: 819px;
    position: relative;
}

section.section03 > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
}

section.section03 .goToBtn {
    position: absolute;
    width: 450px;
    height: 66px;
    left: 50%;
    top: 655px;
    transform: translateX(-50%);
}

section.section04 { 
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section04.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain; 
    height: 965px;
    position: relative;
}

section.section04 > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section04 .film-container {
    position: absolute;
    top: 12%;
}

section.section04 .film-player {
    overflow: hidden;
    width: 1140px;
}

section.section04 .film-player video {
    position: relative;
    max-height: 618px;
    height: 100%;
    outline: none;
    border: 0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

section.section04 .film-container .counter {
    position: absolute;
    top: 68.65%;
    left: 54.4%;
    color: #ff3333;
    font-size: 16px;
    z-index: 1;
    background-color: #fff;
    width: 36px;
}

section.section05 { 
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section05.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain; 
    height: auto;
    position: relative;
}

section.section05 > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
}

section.section05 .select{
    width: 225px;
    height: 40px;
    display: block;
    position: absolute;
    top: 125px;
    right: 53px;
}

section.section05 .select .dropdown {
    height: 40px;
    line-height: 39px;
    font-size: 17px;
    padding-left: 26px;
}

section.section05 .select .dropdown .current {
    color: #000;
}

section.section05 .select .dropdown .list {
    max-height: 210px;
}

section.section05 .select .dropdown .list .option {
    line-height: 19px;
    padding: 11px 26px 10px;
}

section.section05 .card-container {
    width: 100%;
    padding: 206px 46px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;    
    box-sizing: border-box;    
}

section.section05 .card-wrapper {
   width: calc((100% - 15px) / 4);
    max-width: 250px;
    min-height: 338px;
    background: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.068); */
}

section.section05 .card {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #e2e2e2;  
  background: rgb(255, 255, 255);  
}

/* S: 260326 포토북 썸네일 크기 수정-고민정 */
section.section05 .card-content {
  width: 100%;
  height: fit-content;
  min-height: 248px;
  aspect-ratio: 1 / 1;
}
/* E: 260326 포토북 썸네일 크기 수정-고민정 */

section.section05 .card-button-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px;
}

section.section05 .card-button {
  width: 50%;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  font-weight: 600;
}

section.section05 button.card-button:hover {
  background-color: #949494;
  color: #fff;
}

.like-wrapper { 
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: 0.1em solid #f52121 !important;
  cursor: pointer;
}

.check[type="checkbox"] {
  display: none;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
}

/* S: 260327 하트 아이콘 크기 수정-고민정 */
.icon {
  width: 1.8em;
  height: 1.5em;
  margin-left: 0.5em;
  fill: #f52121;
  transition: opacity 0.3s ease-in-out;
}
/* E: 260327 하트 아이콘 크기 수정-고민정 */

.icon.active {
  display: none;
  fill: #f52121;
}

.check[type="checkbox"]:checked + .container .icon.active {
  display: inline-block;
  animation: wiggle 0.5s ease-in-out;
}

.check[type="checkbox"]:checked + .container .icon.inactive {
  display: none;
}

.like-text {
  padding: 0.5em;
}

.nominee {
    width: 100%;
    text-align: left;
    padding: 6px 0;
    font-weight: 300;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

section.section05 .bubble {
    position: absolute;
    width: fit-content;
}

section.section05 .bubble01 {
    top: 153px;
    left: 8% !important;
    z-index: 1;
    animation: bounce 1.12s ease-in infinite;
}

section.section05 .bubble .btn-close{
    position: absolute;
    top: 7px;
    right: 11px;
    width: 15px;
    height: 15px;
    z-index: 1;
}

@keyframes bounce {
  50% {
    top: 143px;
  }
}

section.section06 {
    height: 886px; 
    position: relative; 
}

section.section07 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section07.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 820px; 
    position: relative; 
}

section.section07 > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section07 .shareBtn {
    position: absolute;
    left: 9%;
    top: 661px;
    width: 378px;
    height: 61px;
}

section.section07 .tagBtn {
    position: absolute;
    left: 50%;
    top: 661px;
    width: 378px;
    height: 61px;
}

section.section08 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/494/pc/bg/section08.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 2747px;
    position: relative; 
}

section.section08 > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section08 .gif {
    width: 876px;
    height: 418px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

section.section08 .gif img{
    width:100%;
    height: auto;
}

section.section08 .gif01 {
    top:253px
}

section.section08 .gif02 {
    top:847px
}


/* 팝업 */
#popUserPhotoBook .inner {    
    border-radius: 8px;
}

#popUserPhotoBook.open .inner,
#nonLoginAlert.open .inner {
    top: 20%;
    width: fit-content;
}

#popUserPhotoBook .inner header {
    box-shadow: 5px 4px 2px rgba(0, 0, 0, 0.068);
    margin: 0;
    padding: 0;
    height: 59px;
    display: flex;
    align-items: center;
    padding-left: 16px; 
}

#popUserPhotoBook .contents {
    display: flex;
    width: 100%;
    min-width: 720px;
}

#popUserPhotoBook .contents .preview {
    width: 60%;
    min-height: 550px;
    max-height: 550px;
    overflow-y: auto;
    scrollbar-width: thin;
    background-color: #f5f4fa;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#popUserPhotoBook .preview .preview-item {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: zoom-in;
}

#popUserPhotoBook .preview .preview-item img {
    display: block;
    width: 100%;
    height: auto;
}

#popUserPhotoBook .preview .preview-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
    pointer-events: none;
}

#popUserPhotoBook .preview .preview-item::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    line-height: 1;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
    pointer-events: none;
}

#popUserPhotoBook .preview .preview-item:hover::before,
#popUserPhotoBook .preview .preview-item:hover::after {
    opacity: 1;
}

/* 상세보기 이미지 확대 모달 */
#imageZoomModal.image-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

#imageZoomModal.image-zoom-modal.open {
    display: block;
}

#imageZoomModal .image-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

#imageZoomModal .image-zoom-dialog {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    box-sizing: border-box;
}

#imageZoomModal .image-zoom-viewer {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imageZoomModal .image-zoom-viewer img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

#imageZoomModal .image-zoom-close,
#imageZoomModal .image-zoom-prev,
#imageZoomModal .image-zoom-next {
    position: absolute;
    border: 0;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

#imageZoomModal .image-zoom-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
}

#imageZoomModal .image-zoom-prev,
#imageZoomModal .image-zoom-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

#imageZoomModal .image-zoom-prev {
    left: 20px;
}

#imageZoomModal .image-zoom-next {
    right: 20px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    #imageZoomModal .image-zoom-dialog {
        padding: 30px 16px;
    }
    #imageZoomModal .image-zoom-prev,
    #imageZoomModal .image-zoom-next {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    #imageZoomModal .image-zoom-close {
        top: 12px;
        right: 12px;
    } 
}

#popUserPhotoBook .contents .nomiInfo {
    width: 40%;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.068);
    padding: 10px 20px
}

#popUserPhotoBook .contents .nomiInfo p {
    color: #303030;
    font-size: 13px;
}

/* S: 260326 상세보기 수정-고민정 */
#popUserPhotoBook .contents .nomiInfo p.userInfo {
    font-size: 18px;
    margin-bottom: 10px;
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

#popUserPhotoBook .contents .nomiInfo p.userInfo span {
    position: relative;
    color: #000;
}
/* E: 260326 상세보기 수정-고민정 */

#popUserPhotoBook .contents .nomiInfo p.userInfo::before{
    content: "";
    width: 40px;
    height: 40px;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: block;
    position: relative;
}

#popUserPhotoBook .contents .nomiInfo p span {
    color: #aeaeae;
    margin-left: 10px;
    font-weight: 300;
}

#popUserPhotoBook .like-wrapper {
    width: 50%;
    border-radius: 5px;
}

#popUserPhotoBook .shareBtn {
    width: 50%;
    border-radius: 5px;
    border: 1px solid #f26075;
    background-color: #f26075;
    color: #fff;
}

#popUserPhotoBook .shareBtn:hover {
   
    background-color: #ff182d;
}

#popUserPhotoBook .backBtn {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #909090;
    background-color: #909090;
    color: #fff;
    height: 40px;
    margin-top: 10px;
}

#popUserPhotoBook .backBtn:hover {
    border: 1px solid #000;
    background-color: #000;
}
/* S: 260325 dim 처리 추가- 고민정 */
.dim {
    background-color: #00000099;
    color: #fff;
    position: absolute;
    bottom: 3px;
    width: 46.2%;
    height: 48%;
    right: 7.5%;
    font-size: 84px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 6%;
}

.dim span {
    font-size: 30px;
    background: #000;
    padding: 10px 25px;
}
