﻿body {
    margin: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    position: relative;
    margin: 0;
    color: #767676;
    font-family: "NotoSansKR", "Malgun Gothic", "맑은고딕", Dotum, "돋움", sans-serif;
    letter-spacing: -0.05em;
    word-break: keep-all;
    word-wrap: break-word;
    image-rendering: -webkit-optimize-contrast;
}

a {
    text-decoration: none;
    outline: 0;
}

button {
    padding: 0;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    outline: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.clear::after {
    clear: both;
    content: '';
    display: table;
}

.hide {
    overflow: hidden;
    padding: 0;
    text-indent: 101%;
    white-space: nowrap;
}

.hidden {
    position: absolute;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    width: 0px !important;
    height: 0px !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
i,
p,
div,
span,
li {
    margin: 0;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

label {
    position: relative;
}

textarea {
    width: 100%;
    resize: none;
    overflow-y: auto;
    -webkit-appearance: none;
}

input,
select,
textarea {
    padding: 0;
    border-radius: 0;
}

input[type='text'],
input[type='number'],
input[type='password'],
input[type='date'],
input[type='search'],
input[type='email'],
input[type='tel'] {
    width: 100%;
    -webkit-appearance: none;
}

input[type='text']::-ms-clear,
input[type='password']::-ms-clear,
input[type='password']::-ms-reveal {
    display: none;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input[type='file'] {
    cursor: pointer;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: 0;
}

em {
    display: inline-block;
    font-style: normal;
}

strong {
    font-weight: 700;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table caption {
    position: absolute;
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

th,
td {
    padding: 0;
}

dl,
dd {
    margin: 0;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    vertical-align: top;
}

img[usemap],
map area {
    outline: 0;
}

hr {
    display: none;
}

address {
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GmarketSansMedium';
    min-width: 1140px;
}

.cont {
    width: 1140px;
}

.event-title {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/bg_top_pc.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 811px;
}

.title-candle {
    display: block;
    float: right;
    width: 500px;
}

.title-candle .candle-01,
.title-candle .candle-02,
.title-candle .candle-03 {
    transform: scale(0.7);
    animation: move 3s infinite, move-left 3s infinite;
}

.title-candle .candle-01 > div,
.title-candle .candle-02 > div,
.title-candle .candle-03 > div {
    box-shadow: 0 -50px 5px 4px #ff6a0050, 0 0px 150px 10px #ff6a00;
}

.title-candle .candle-01 {
    top: 194px;
    left: 147px;
}

.title-candle .candle-02 {
    top: 24px;
    left: 195px;
}

.title-candle .candle-03 {
    top: -85px;
    left: 235px;
}

.particles-container {
    height: 860px;
    position: absolute;
    top: -100px;
    /* left: 600px; */
    overflow: hidden;
    width: 1140px;
}

#tsparticles{
    position: absolute;
    width: 100%;
    height: 100%;
}

.event-cont {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/bg_cont_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: fit-content;
    padding: 130px 105px 150px 105px;
}

.tabs {
    width: 930px;
    height: auto;
    background:#fff;
    border-radius: 50px;
}

.tabs .tab-header {
    display:flex;
    align-items:center;
}

.tabs .tab-header div:first-child {
    border-top-left-radius: 50px;
    border-right: 1px solid #fff
}

.tabs .tab-header div:last-child {
    border-top-right-radius: 50px;
    border-left: 1px solid #fff
}

.tabs .tab-header > div {
    width:calc(100% / 3);
    height: 109px;
    cursor:pointer;
    outline:none;
}

.tabs .tab-header .tab-01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_01.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
}

.tabs .tab-header .tab-01.active {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_01_active.png);
}

.tabs .tab-header .tab-02 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_02.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
}

.tabs .tab-header .tab-02.active {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_02_active.png);
}


.tabs .tab-header .tab-03 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_03.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
}

.tabs .tab-header .tab-03.active {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tab_03_active.png);
}

.tabs .tab-body {
    height: calc(100% - 109px);
    padding: 92px 0;
    display: grid;
    justify-content: center;
}

.tabs .tab-body .tabBody {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
}

.tabs .tab-body .tabBody.active {
    display:flex;
}

.candle {
    display: none;
}

.tabs .tab-body .tabBody-01.active .candle {
    display: block;
}

.tabs .tab-body .tabBody-01.active .tabBody-top {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tabCont_01_top.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 451px;
    height: 271px;
}

.tabs .tab-body .tabBody-01.active .tabBody-main {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tabCont_01_main.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 688px;
    height: 770px;
    margin: 50px 0
}

.tabs .tab-body .tabBody-01.active .tabBody-main .counter {
    width: 140px;
    height: 70px;
    position: relative;
    top: 22px;
    left: 182px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 29px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes move {
    0% { transform: skewX(5deg) skewY(8deg) scale(0.7); }
    50% { transform: skewX(-5deg) skewY(-3deg) scale(0.7); }
    100% { transform: skewX(5deg) skewY(8deg) scale(0.7); }
}

@keyframes move-left {
    50% { transform: skewX(3deg) scale(0.7); }
}

@keyframes flame-up {
    50% {
        box-shadow:
                0 0px 0px 3px white,
                0 -38px 1px 2px white,
                0 -41px 2px 3px gold,
                0 -50px 5px 4px #ff6a00,
                0 0px 150px 10px #ff6a00,
                0 -10px 2px 4px white,
                0 -5px 3px 3px white;
    }
}

@keyframes blink {
  100% { opacity: 0; }
  25% { opacity: 1; }
 50% { opacity: 1; }
}

@keyframes blink2 {
  100% { opacity: 1; }
  25% { opacity: 0; }
 50% { opacity: 1; }
}

@keyframes blink3 {
  100% { opacity: 1; }
  25% { opacity: 1; }
 50% { opacity: 0; }
}

@keyframes seesaw-right {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(10deg); }
}

@keyframes seesaw-left {
    0%, 100% { transform: rotate(10deg); }
    50%      { transform: rotate(-10deg); }
}

.click-r {
    animation: seesaw-right 2s infinite ease-in-out;
    left: 160px;
    bottom: 65px;
}
.click-l {
    left: 430px;
    bottom: 40px;

    animation: seesaw-left 2s infinite ease-in-out;
}

.click {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/click.png);
    background-repeat: no-repeat;
    width: 76px;
    height: 30px;
    position: relative;
}

.tabs .tab-body .tabBody-01.active .tabBody-main .candle {
    display: flex;
    width:100%;
}

.candle-01, .candle-02, .candle-03 {
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.candle-01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/candle_01.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 77px;
    height: 146px;
    position: relative;
    top: 66px;
    left: 256px;
    animation: blink 2s infinite;
}

.candle-01 > div {
    position: relative;
    width: 1px;
    height: 0px;
    box-shadow: 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00;
    top: 72px;
    left: 30px;
}

.candle-02 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/candle_02.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 75px;
    height: 139px;
    position: relative;
    top: 38px;
    left: 235px;
    animation: blink2 2s infinite;
}

.candle-02 > div {
    position: relative;
    width: 1px;
    height: 0px;
    box-shadow: 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00;
    top: 72px;
    left: 44px;
}

.candle-03 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/candle_03.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 71px;
    height: 140px;
    position: relative;
    top: 72px;
    left: 204px;
    animation: blink3 2s infinite;
}

.candle-03 > div {
    position: relative;
    width: 1px;
    height: 0px;
    box-shadow: 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00;
    top: 72px;
    left: 34px;
}


.tabs .tab-body .tabBody-01.active .tabBody-bottom {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tabCont_01_bottom.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 687px;
    height: 238px;
}

.tabs .tab-body .tabBody-02.active {
    position: relative; /* 오버레이 버튼 배치 기준 */
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tabCont_02.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 836px;
    height: 954px;
}

.tabs .tab-body .tabBody-03.active {
    position: relative; /* 오버레이 버튼 배치 기준 */
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/tabCont_03.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 704px;
    height: 720px;
}

/* 오버레이 버튼 공통 스타일 */
.hotspot {
    position: absolute;
    display: block;
    cursor: pointer;
    /* 배경색이나 border로 임시로 영역 확인 가능 */
}

/* 각 버튼의 위치와 크기 지정 */
.hotspot1 {
    top: 868px;
    left: 246px;
    width: 341px;
    height: 85px;
}
.hotspot2 {
    top: 580px;
    left: 176px;
    width: 344px;
    height: 81px;
}


.e-popup-overlay {
    display: none; /* 기본은 숨김 */
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* 어두운 배경 */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

body.no-scroll {
    overflow: hidden;
}

.e-popup {
    background-color: #fff;
    text-align: center;
    width: 630px;
    height: 520px;
    font-family: 'notoSans';
}

.e-popup .close-popup {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/446/btn-close.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 50px;
    height: 50px;
}

.e-popup .popup-header {
    text-align: right;
}
.e-popup .popup-contents {
    margin: 20px 0;
}

.e-popup .p-title{
    color: #ff1e58;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.e-popup .p-text {
    color: #171717;
    font-size: 25px;
    white-space: pre-wrap;
    line-height: 1.5;
    padding: 0 110px;
}

.e-popup .popup-bottom button {
    color: #fff;
    width: 318px;
    height: 78px;
    font-size:25px;
    margin: 10px 0;
}

.e-popup .popup-bottom button:first-child {
    background-color: #171717;
}

.e-popup .popup-bottom button:last-child {
    background-color: #424242;
}