﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@font-face {
    font-family: 'Aggravo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

html,body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.event-info-diy {
    margin: 0 auto;
    max-width: 1140px;
}

section {
    position: relative;
    margin:0 auto; 
}

.section01 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/pc/bg.png);
    background-repeat: no-repeat;
    background-position:  center;
    background-size: cover;
    width: 100%;
    max-width: 1140px;
    height: 4381px;    
    margin: 0 auto;    
}

.section01 > div{
    width: 100%;
    height: 100%;
    position: absolute;
}

.section01 .aos-container img:first-child {
    top: 22.6% !important;
    left: 8.5% !important;
    position: absolute !important;
}

.section01 .aos-container img:nth-child(2) {
    position: absolute !important;
    top: 22.7% !important;
    left: 47.5% !important;
}

.section01 .aos-container img:last-child {
    position: absolute !important;
    top: 12.9% !important;
    left: 53.5% !important;
}

.section01 .counter{
    position: absolute;
    font-size: 135px;
    top: 49.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #402bc7;
    font-family: 'Aggravo'
}

.section01 .marquee-container {
    --width: 334px;
    --gap: 0;
    --num-items: 5;
    --ani-offset: calc(var(--width) * var(--num-items) * -1);
    --ani-speed: 10s;
    --bg-clr: #efc3bf;
    width: 990px;
    overflow: hidden;
    position: absolute;
    bottom: 10.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.section01 .marquee-container::before,
.section01 .marquee-container::after{
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  z-index: 1;
  top: 0;
}
.section01 .marquee-container::before{
  left: 0;
  background-image: linear-gradient(to right,var(--bg-clr) 0%,transparent 50%);
}
.section01 .marquee-container::after{
  right: 0;
  background-image: linear-gradient(to left,var(--bg-clr) 0%,transparent 50%);
}

.section01 .marquee-container .marquee {
  display: flex;
  align-items: center;
  animation: slide var(--ani-speed) linear infinite;
}

.section01 .marquee-container .marquee .item{
  flex: 1 0 var(--width);
  text-align: center;
  padding:1rem;
}

.section01 .marquee-container .marquee .item > img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes slide {
  100% {
    transform: translateX(var(--ani-offset));
  }
}

.btn-container {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/pc/cta2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 14.8%;
    width: 100%;
    top: 93.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.btn-container button:first-child {
    position: absolute;
    left: 31%;
    top: 50%;;
    width: 413px;
    height: 172px;
    transform: translate(-50%, -50%);
}

.btn-container button:last-child {
    position: absolute;
    left: 69%;
    top: 50%;
    width: 413px;
    height: 172px;
    transform: translate(-50%, -50%);
}

.cta {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/pc/cta_s.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 86.5%;
    left: 50%;
    position: fixed;
    z-index: 1;
    min-width: 623px;
    min-height: 111px;
    transform: translateX(-50%);
}

.cta button {
    left: 79.5%;
    top: 50%;
    width: 33%;
    height: 57%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.cta2 {
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/pc/cta2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 8%;
    margin-bottom: 6.4%;
    width: 44.5%;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: sticky;
    z-index: 1;
}

/* 신청하기 팝업 */
#application .inner .contents {
    position: relative;
    max-height: calc(100vh - 80px); 
    overflow-x: hidden;
    overflow-y: auto;   
    scrollbar-width: thin;
}

#application .inner .contents .bg-img {
    width: 100%;
    height: 100%;
    display: block;
    min-width: 440px;
}

#application .inner .contents > div { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    min-height: 100%;
}

#application .userID {
    position: absolute;
    top: 113px;
    left: 62%;
    transform: translate(-50%, -50%);
    width: 65%;
    background: transparent;
    border: none;
    padding: 0 0.5vw;
    color: #402bc7;
    font-weight: 700;
    font-size: 16px;
}

#application .channel-container {
    display: flex;
    flex-flow: wrap;
    gap: 0.1vw 0.3vw;
    position: absolute;
    top: 182px;
    left: 64%;
    transform: translate(-50%, -50%);
    width: 68%;   
}

#application .review-channel-button {
    display: flex;
    gap: 0.2vw;
    align-items: center !important;
    cursor: pointer;
}

#application .review-channel-button .radio-circle{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #402bc7;
    position: relative;
}

#application .review-channel-button .channel-label{
    color: #402bc7;
    font-weight: 700;
    font-size: 15px;
}

#application .review-channel-button .radio-circle::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.1s ease-in-out;
}

#application .review-channel-button input[type="radio"]:checked + .radio-circle::before {
  transform: translate(-50%, -50%) scale(1.3);
  background-color: #402bc7;
}

#application .review-channel-button input[type="radio"]:checked + .radio-circle::after{
    left: 0.3em;
    top: 0.05em;
    width: 0.4em;
    height: 0.65em;
    border: solid rgb(255, 255, 255);
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
    display: block;
    content: "";
    position: absolute;
}

#application #etc-input {
    position: absolute;
    top: 32px;
    left: 62%;
    transform: translate(-50%, -50%);
    width: 66%;
    background: transparent;
    border: none;
    color: #402bc7;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Pretendard Variable';
    padding: 0 0.5vw;
}

#application .selectedProduct {
    position: absolute;
    top: 91px;
    left: 47%;
    width: 33.4%;
    background: transparent;
    border: none;
    color: #402bc7;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate(-50%, -50%);
}

#application .myPurchase {
    position: absolute;
    top: 92px;
    left: 80.5%;
    transform: translate(-50%, -50%);
    width: 31%;
    height: 47px;
}

#application #reviewURL {
    position: absolute;
    top: 175px;
    left: 62%;
    transform: translate(-50%, -50%);
    width: 66%;
    background: transparent;
    border: none;
    color: #402bc7;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Pretendard Variable';
    padding: 0 0.5vw;
}

/* 약관동의 */
#application .terms-container {
    position: absolute;
    top: 215px;
    padding: 0 17px;
    width: 100%;
}

#application .terms-container .all-agree {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: #e9e8e8;
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
}

#application .terms-container .check-circle {
    width: 17px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #402bc7;
    position: relative;
    margin-right: 0.2vw;
}

#application .terms-container .check-circle::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.1s ease-in-out;
}

#application .terms-container input[type="checkbox"]:checked + .check-circle::before {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: #402bc7;
}

#application .terms-container input[type="checkbox"]:checked + .check-circle::after{
    left: 0.2em;
    top: 0;
    width: 0.4em;
    height: 0.6em;
    border: solid rgb(255, 255, 255);
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
    display: block;
    content: "";
    position: absolute;
}

#application .all-agree-button,
#application .agree-button {
    display: flex;
    gap: 0.2vw;
    align-items: center !important;
    cursor: pointer;
    width: 100%;
}

#application .all-agree-button .terms-label,
#application .agree-button .terms-label {
    width: 100%;
}

#application .term-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #dddddd;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #e9e8e8;
    color: #000;
    font-weight: 700;
}

#application .term-content {
    max-height: 0;    
    transition: max-height 0.3s ease-out;
    border: 1px solid #dddddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: auto;
    padding-left: 15px;
    margin-bottom: 15px;
    background-color: #e9e8e8;
    scrollbar-width:thin;
}

#application .term-content p {
    padding-bottom: 15px;
    white-space: pre-line;
    margin: 0;
}

#application .term-header .toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

#application .term-header.active .toggle-icon {
    transform: rotate(180deg);
}

#application .application {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 54px;
}

/* 상품선택 팝업 */
#myPurchase .inner {
    overflow-y: auto;
    scrollbar-width:thin;
    height: calc(100vh - 80px);
}

#myPurchase .inner .contents {
    position: relative;
    height: 100%;
    max-height: calc(100vh - 80px);
    background-color: #f6f6f6;
}

#myPurchase .inner .contents > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#myPurchase .myPurchase-header {
    color: #402bc7;
    font-weight: 800;
    font-size: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    margin-bottom: 13px;
}

#myPurchase .myPurchase-contents {
    overflow-y: auto;
    scrollbar-width:thin;
    height: calc(64vh - 28px);
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

#myPurchase .order-inner {
    padding: 0 1.5vw;
    background-color: #fff;
}

#myPurchase .order-inner .order-ti {
    color: #221e1f;
    font-size: 13px;
    padding: 0.5vw 0;
    border-bottom: 1px solid #e2e1e1;
    display: flex;
    align-items: center;
}

#myPurchase .order-inner .order-ti .txt-date {
    font-size: 11px;
    letter-spacing: -0.5;
    padding-left: 8px;
    margin-left: 8px;
    vertical-align: 1.5px;
}

#myPurchase .order-inner .order-ti .txt-date::before {
    position: absolute;
    top: 1px;
    left: 0;
    content: "";
    width: 1px;
    height: 13px;
    background-color: #efefef;
    vertical-align: top;
}

#myPurchase .product-list.small li {
    padding: 0.8vw 0;
    border-bottom: 1px solid #e2e1e1;
}

#myPurchase .product-list.small li:last-child {
    border-bottom: none;
}

#myPurchase .product-list.small li .thumb {
    background: transparent;
    border: none;
    width: 86px;
    height: auto;
}

#myPurchase .product-list.small .check-circle{
    width: 17px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #402bc7;
    position: relative;
    margin-right: 0.3vw;
}

#myPurchase .product-list.small .check-circle::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.1s ease-in-out;
}

#myPurchase .product-list.small input[type="radio"]:checked + .check-circle::before {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: #402bc7;
}

#myPurchase .product-list.small input[type="radio"]:checked + .check-circle::after{
    left: 0.2em;
    top: 0;
    width: 0.4em;
    height: 0.6em;
    border: solid rgb(255, 255, 255);
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
    display: block;
    content: "";
    position: absolute;
}

#myPurchase .product-list.small label {
  display: flex;
  cursor: pointer;
}

#myPurchase .product-list.small .purchase-item {
  display: flex;
  align-items: center;
}

#myPurchase .product-list.small .purchase-item .txt-ti {
    font-weight: 600;
    font-size: 15px;
    color: #221e1f;
    line-height: 1.2;
}

#myPurchase .product-list.small .purchase-item .price {
    margin-top: 0.8vh;
}

#myPurchase .product-list.small .purchase-item .txt-price em{
    font-size: 16px;
}

#myPurchase .product-list.small .purchase-item .txt-price strong {
    font-size: 12px;
}

#myPurchase .selectedProduct {
    position: absolute;
    bottom: 145px;
    left: 29%;
    width: 67%;
    height: 10%;
    line-height: 1;
    background: transparent;
    border: none;
    padding: 0 0.5vw;
    color: #402bc7;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1;
}

#application .selectedProduct span::after,
#myPurchase .selectedProduct span::after {
    /* content: ","; */
}

#myPurchase .myPurchase-footer {
    position: absolute;
    bottom: 0;
}

#myPurchase .myPurchase-footer > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#myPurchase  .addList {
    width: 50%;
    height: 30%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: 5%;
}


/* 신청완료 팝업*/
#completed .inner {
    overflow-y: auto;
    width: 500px;
    scrollbar-width:thin;
}

#completed .inner .contents{
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/popup/complete.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 572px;
    max-height: unset;
    min-width: 500px;
}

#completed .inner .contents > div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#completed .completed {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 68px;
}

/* 신청내역 확인 팝업 */
#checkReward .inner {
    overflow-y: auto;
    width: 500px;
    scrollbar-width:thin;
}

#checkReward .inner .contents{
    background-image: url(https://resources.fujifilm.co.kr/upload/img/event/470/popup/checkReward.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 606px;
    max-height: unset;
    min-width: 500px;
}

#checkReward .inner .contents > div {
    width: 100%;
    height: 100%;
    position: absolute;
}

#checkReward .later {
    position: absolute;
    bottom: 26px;
    left: 29%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 62px;
}

#checkReward .checkReward {
    position: absolute;
    bottom: 26px;
    left: 70.5%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 62px;
}

/* 신청서 폼 */
.form_top {
    position: relative;
    z-index: 1;
}

.form_bottom {
    position: relative;
    top: -56px;
    z-index: 0;
    transition: top 0.5s ease-out;
}

.form_bottom.active {
    top: 0;
}

/* 신청내역 팝업 */
#myRewardList .inner {
    overflow-y: auto;
    scrollbar-width:thin;
    height: calc(100vh - 80px);
}

#myRewardList .inner .btn-close {
    background-color: transparent;
}

#myRewardList .inner .contents{
    position: relative;
    height: 100%;
    max-height: calc(100vh - 80px);
    padding: 0;
    background-color: #f6f6f6;
}

#myRewardList .inner .contents > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#myRewardList .myRewardList-header {
    color: #402bc7;
    font-weight: 800;
    font-size: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10%;
    margin-bottom: 13px;
}

#myRewardList .myRewardList-contents {
    overflow-y: auto;
    scrollbar-width:thin;
    height: calc(68vh - 40px);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

#myRewardList .myRewardList-contents table thead tr td,
#myRewardList .myRewardList-contents table tbody tr td {
    text-align: center;
    border: none;
    border-bottom: 1px solid #e2e1e1;
}

#myRewardList .purchase-item .thumb {
    background: transparent;
    border: none;
    width: 100%;
    height: auto;
}

#myRewardList .purchase-item {
    display: flex;
    align-items: center;
}

#myRewardList .purchase-item .txt-ti {
    font-weight: 600;
    font-size: 15px;
    color: #221e1f;
    line-height: 1.2;
    text-align: left;
    margin-left: 7px;
}

#myRewardList .myRewardList-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
}

#myRewardList .myRewardList-footer img {
    width: 100%;
    height: 100%;
    display: block;
}

#myRewardList .myRewardList-footer button {
    position: absolute;
    bottom: 9%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 49%;
    height: 40%;
}
