﻿@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;
}
@font-face {
    font-family: 'Ram';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Ramche.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

html,body {
  font-family: 'pretendard';
}

.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: 100%;
}

section.section01,
section.section07 {    
    margin: 0 auto;
    position: relative;   
    width: 1140px;
}

section.section01 .marquee,
section.section07 .marquee {
    height: 70px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

section.section01 .marquee div,
section.section07 .marquee div {
    width: 1400%;
    height: 70px;
    background-color: #ccedff;
    position: absolute;
    overflow: hidden;
    display: flex;
    align-items: center;
    animation: marquee 20s linear infinite;
}

section.section07 .marquee div {
    background-color: #14529b;
}

section.section01 .marquee span,
section.section07 .marquee span {
    width: 517px;
    height: 31px;
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/marquee01.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-right: 50px;
}

section.section07 .marquee span {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/marquee01_w.png);
}

@keyframes marquee {
    0% { left: 0; }
    100% { left: -100%; }
}

section.section02 {    
    margin: 0 auto;
    height: 1137px; 
    position: relative;   
}

section.section03 {
    background-color: #0f4281;
    color: #fff;    
    width: 1140px;
    height: fit-content;
    position: sticky;
    top: 96px;
    z-index: 3;
}

section.section03 .section03-inner {
    position: relative;
    width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 65px;
    box-sizing: border-box;
}

section.section03 .runningBoy {
    position: absolute;
    top: -97px !important;
    left: -80px !important; 
    z-index: 5;
    pointer-events: none;
    transition: transform 0.08s linear;
    will-change: transform;
    width: 116px;
    height: auto;
}

section.section03 .tab-container{
    width: 100%;
    display: flex;    
    align-items: center;
    justify-content: space-between;
}

section.section03 a{
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center; 
    position: relative;
}

section.section03 a .tabBtn01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab01.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    width: 330px;
    height: 89px;
}

section.section03 a.active .tabBtn01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab01_active.png);
}

section.section03 a .tabBtn02 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab02.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    width: 324px;
    height: 83px;
}

section.section03 a.active .tabBtn02 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab02_active.png);
}

section.section03 a .tabBtn03 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab03.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 324px;
    height: 83px;     
}

section.section03 a.active .tabBtn03 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/tab03_active.png);
}

section.section04 {   
    position: relative;   
}

section.section04 .runningGirl {
    position: absolute !important;
    top: 86px;
    left: 53% !important;
    width: 350px;
    transform: unset !important;
}

section.section04 .timerGame {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/bg/section04-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    width:1140px;
    height: 1367px; 
    position: relative; 
}

section.section04 .timerGame > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

section.section04 #randomTimer,
section.section04 #timer {
    font-size: 60px;
    font-weight: 700;
    font-family: 'Ram';
    width: fit-content;
    max-width: 210px;
    position: relative;
    color: #000;
}

section.section04 #randomTimer {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/goal.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: unset;
    width:623px;
    height: 238px;
    top: -55px;
    margin: 0 auto;
    position: relative;
}

section.section04 #randomTimer span{
    position: relative;
    top: 44%;
    left: 27%;
}

/* randomTimer ~ text-container까지 같이 sticky */
.section04 .timer-sticky-wrap {
    position: sticky;
    top: 332px; 
    z-index: 1;
    margin-bottom: 140px;
    box-sizing: border-box;
}

section.section04 #timer {
    top: 19.3%;
    left: 42.5%;
}

section.section04 .text-container {
    position: relative;
    top: 35.5%;
    color: #fff;
    font-size: clamp(15px, 2vw, 37px);
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;  
}

section.section04 .text-container .divine {
    width: 1px;
    height: 34px;
    border: 1px solid #fff;
    position: relative;
}

section.section04 .text-container span {
    color: #ebfa63;
    margin-left: 5px;
}

section.section04 #startBtn {
    background: url('https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/startBtn.png') no-repeat center / contain;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    width: 410px;
    height: 100px;
}

/* 실행 중일 때 시작 버튼 배경 변경 */
section.section04 #startBtn.running,
section.section04 #stopBtn.running {
    display: block;
}

section.section04 #stopBtn {
    background: url('https://resources.fujifilm.co.kr/upload/img/event/501/pc/img/stopBtn.png') no-repeat center / contain;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    width: 410px;
    height: 100px;
}

section.section04 #chanceBtn {
    cursor: pointer;
    position: absolute;
    top: 90.4%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
}

section.section04 #startBtn:disabled,
section.section04 #stopBtn:disabled {
    display: none;
    cursor: not-allowed;
}

section.section05 {
    position: relative;
    width: 1140px;
}

section.section05 .runningBoy2 {
    position: absolute !important;
    top: 86px;
    left: 52% !important;
    width: 338px;
    transform: unset !important;
}

section.section05 .benefit {
    position: absolute !important;
    top: 114px;
    left: 71.5% !important;
    width: 126px;
    transform: unset !important;
}

/* 팝업 */
#correctPopup > div,
#incorrectPopup > div,
#noChancePopup > div,
#noticePopup > div,
#recordUpload > div
  {
    position: relative;
    top: 0;
    left: 0;
    width: 1140px;
    height: 100%;
    margin: 0 auto;
}

#correctPopup .popup-content,
#incorrectPopup .popup-content,
#noChancePopup .popup-content,
#noticePopup .popup-content,
#recordUpload .popup-content {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/popup/correct.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 469px;
    height: 491px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#correctPopup .popup-content .btn-close,
#incorrectPopup .popup-content .btn-close,
#noChancePopup .popup-content .btn-close,
#noticePopup .popup-content .btn-close,
#recordUpload .popup-content .btn-close {
    width: 8%;
    height: 8%;
    position: absolute;
    top: 7%;
    right: 7%;
}

#correctPopup .popup-content .closePopupBtn,
#incorrectPopup .popup-content .closePopupBtn,
#noChancePopup .popup-content .closePopupBtn,
#noticePopup .popup-content .closePopupBtn,
#recordUpload .popup-content .closePopupBtn {
    width: 85%;
    height: 13%;
    position: relative;
    top: 79.5%;
    left: 50%;
    transform: translateX(-50%);
}

/* 타이머 실패 팝업 */
#incorrectPopup .popup-content {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/popup/incorrect.png);
}

/* 기회 없음 팝업 */
#noChancePopup .popup-content {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/popup/noChance.png);
}

/*주의사항 팝업 */
#noticePopup .popup-content {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/popup/notice.png);
    width: 828px;
    height: 370px;
}

#noticePopup .popup-content .closePopupBtn {
    width: 22%;
    height: 17%;
    top: 70%;
}

#noticePopup .popup-content .btn-close {
    width: 5%;
    height: 10%;
    top: 9%;
    right: 4%;
}

/* 인증하기 팝업 */
#recordUpload .popup-content {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/501/popup/recordUpload.png);
    width: auto;
    height: 90%;
    aspect-ratio: 591 / 865;
}

#recordUpload .popup-content > div {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#recordUpload .popup-content .userName,
#recordUpload .popup-content .userBirth,
#recordUpload .popup-content .userID,
#recordUpload .popup-content .userRecord,
#recordUpload .popup-content .btn-container {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
    height: 6%;
}

#recordUpload .popup-content .userBirth {
    top: 35.3%;
}

#recordUpload .popup-content .userID {
    top: 46.5%;
}

#recordUpload .popup-content .userRecord {
    font-size: 0.8vw;
    top: 58.6%;
    left: 20.2%;
    width: 18.5%;
    height: 5.5%;
    border: none;
    cursor: pointer;
    display: inline-block;
}

#recordUpload .popup-content .userRecord input[type="file"] {
    width: 314%;
    height: 40%;
    left: 108%;
    top: 28%;
    position: absolute;
}

#recordUpload .popup-content .userRecord input[type="file"]::file-selector-button {
    display: none;
}

/* 동의 체크 */
#recordUpload .popup-content .userCheck input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

#recordUpload .popup-content .userCheck {
   display: flex;
   gap: 10px;
   top: 80.4%;
   left: 29.5%;
   width:fit-content;
}

#recordUpload .popup-content .userCheck .checkmark {
  position: relative;
  background-color: #fff;
  border: 1px solid #134e96;
  height: 1vw;
  width: 1vw;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
}

#recordUpload .popup-content .userCheck input:checked ~ .checkmark {
  background-color: #134e96;
  height: 1vw;
  width: 1vw;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
}

#recordUpload .popup-content .userCheck .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

#recordUpload .popup-content .userCheck input:checked ~ .checkmark:after {
  display: block;
}

#recordUpload .popup-content .userCheck .checkmark:after {
    left: 0.3vw;
    width: 0.35vw;
    height: 0.7vw;
    border: solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
    transition: all 500ms ease-in-out;
}

#recordUpload .popup-content .btn-container {
    top: 87.2%;
    display: flex;
    gap: 0.5vw;
}

#recordUpload .popup-content .btn-container button {
    width: 49%;
    height: 116%;
}

#recordUpload .popup-content .btn-close {
    top: 4%;
    right: 5%;
    height: 4%;
}

/* 캐러셀 */
section.section04 .owl-carousel,
section.section06 .owl-carousel {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 17.5%;
    width: 1140px;
}

section.section06 .owl-carousel {
    top: 72.3%;
}

section.section04 .card,
section.section04 .owl-item,
section.section06 .card,
section.section06 .owl-item {
  transition: all 1s ease-out;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

section.section04 .card,
section.section06 .card {
  transform: scale(0.75);
  transition: transform 0.4s 0.5s ease-out, opacity 1s ease;
  
}
section.section04 .active .card,
section.section06 .active .card {
  transform: box-shadow 0.3s ease, transform 0.1s 0.4s ease-in, opacity 0.4s ease;
}

section.section04 .active .card__content,
section.section06 .active .card__content {
  opacity: 1;
  transition: opacity 0.4s ease;
}

section.section04 .active .card__content img,
section.section06 .active .card__content img {
    width: auto;
    height: 100%;
    aspect-ratio: 348 / 490;
} 

section.section06 .active .card__content img {
    aspect-ratio: 398 / 424;
}

section.section04 .center .card,
section.section06 .center .card {
  opacity: 1;
  transform: scale(1);
}

section.section04 .owl-nav,
section.section06 .owl-nav {
    position: absolute;
    top: 42%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    margin-top: 0;
}

section.section04 .owl-nav button,
section.section06 .owl-nav button {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 0 !important;  
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto;
}

section.section04 .owl-nav .owl-prev,
section.section06 .owl-nav .owl-prev {
    left: 12px;
}

section.section04 .owl-nav .owl-next,
section.section06 .owl-nav .owl-next {
    right: 12px;
}

section.section04 .owl-nav button span,
section.section06 .owl-nav button span {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    font-size: 0;
}

/* 화살표 모양 */
section.section04 .owl-nav .arrow::before,
section.section06 .owl-nav .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: center;
}

section.section04 .owl-nav .arrow-prev::before,
section.section06 .owl-nav .arrow-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

section.section04 .owl-nav .arrow-next::before,
section.section06 .owl-nav .arrow-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

/* section01 날개 와이퍼 애니메이션 */
section.section02 > div  {
    position: relative;
    top: 0;
    left: 0;
    width: 1140px;
    height: 100%;
    margin: 0 auto;
}

section.section02 img {
    position: absolute !important;
}

section.section02 .wing_l,
section.section02 .wing_r
 {
    z-index: 1;
    /* transform: unset !important; */
}

section.section02 .wing_l {
    left: 19% !important;
    top: 8%;
    -webkit-animation: spinn 1s infinite;
    transform-origin: right;
}

@-webkit-keyframes spinn{
  0%{-webkit-transform: rotate(0deg);}
  50%{-webkit-transform: rotate(-20deg);}
  100%{-webkit-transform: rotate(-0deg);}
}

section.section02 .wing_r {
    left: 70% !important;
    top: 10%;
    -webkit-animation: spin 1s infinite;
    transform-origin: left;
}

@-webkit-keyframes spin{
  0%{-webkit-transform: rotate(0deg);}
  50%{-webkit-transform: rotate(20deg);}
  100%{-webkit-transform: rotate(0deg);}
}

/* Timer 깜빡임 애니메이션 */
section.section04 .timerGame .watch_blink {
    position: absolute !important;
    top:33%;
    -webkit-animation: blink 1s infinite;
}

@-webkit-keyframes blink {
	0% {opacity: 0}
	49%{opacity: 0}
	50% {opacity: 1}
}