@charset "UTF-8";
.card {
    max-width: 600px;
    min-width: 320px;
}
.card .wrap {
    max-width: 100%;
}
.card .container {
    background: url("../image/new-v4/card/2605v_img_card_bg.png") no-repeat top center;
    background-size: 100% auto;
    padding-bottom: 120px;
}
.card section + section {
    margin-top: 0 !important;
}
.hero .title {
    padding: 60px 0 20px;
    text-align: center;
}
.hero .title img {
    width: 70%;
}
.hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
/* 컨테이너 설정 */
.card-deck {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
    position: relative;
    margin: 0 0 0 15%;
}
/* 카드 공통 스타일 */
.card-ani {
    position: absolute;
    width: 55%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;

    animation-name: continuousJump;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
/* 카드 A (왼쪽 배치 + 왼쪽으로 12도 기울임) */
.card-a {
    --start-x: -35%;
    --rotate-deg: -12deg; /* 왼쪽으로 12도 */
    transform: translateX(var(--start-x)) rotate(var(--rotate-deg));
    z-index: 3;
}
/* 카드 B (오른쪽 배치 + 오른쪽으로 12도 기울임) */
.card-b {
    animation-delay: -1.25s; 
    --start-x: 30%;
    --rotate-deg: 12deg; /* 오른쪽으로 12도 */
    transform: translateX(var(--start-x)) rotate(var(--rotate-deg)) scale(0.9);
    z-index: 2;
}
.deco {
    display: block;
    position: absolute;
}
.deco.ico1 {
    top: -10%;
    right: 20%;
    width: 10%;
    height: auto;
}
.deco.ico2 {
    top: -15%;
    left: 42%;
    width: 14%;
    height: auto;
}
.deco.ico3 {
    bottom: 40%;
    left: -12%;
    width: 20%;
    height: auto;
    z-index: 1;
      
    --start-x: 0;
    --rotate-deg: 0; /* 왼쪽으로 12도 */
    transform: translateX(var(--start-x)) rotate(var(--rotate-deg));
    animation-delay: -0.8s; 
    animation-name: continuousJump2;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.deco.ico4 {
    bottom: 5%;
    right: 10%;
    width: 20%;
    height: auto;
    z-index: 3;    
    --start-x: 0;
    --rotate-deg: 0; /* 왼쪽으로 12도 */
    transform: translateX(var(--start-x)) rotate(var(--rotate-deg));
    
    animation-name: continuousJump2;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}


/* --- 키프레임(Keyframes) 정의 --- */
/* --- 멈춤 없이 계속 번갈아 점프하는 키프레임 --- */
@keyframes continuousJump {
  /* 바닥 상태에서 출발 */
  0% {
    transform: translateX(var(--start-x)) translateY(0) rotate(var(--rotate-deg));
  }
  
  /* 50% 지점에서 최고 점 정점 달성 (쉬지 않고 최고 높이까지 상승) */
  50% {
    transform: translateX(var(--start-x)) translateY(20px) rotate(var(--rotate-deg));
  }
  
  /* 100% 지점에서 다시 바닥 착지 (착지하자마자 무한 반복 루프에 의해 0%로 즉시 연결) */
  100% {
    transform: translateX(var(--start-x)) translateY(0) rotate(var(--rotate-deg));
  }
}


/* --- 멈춤 없이 계속 번갈아 점프하는 키프레임 --- */
@keyframes continuousJump2 {
  /* 바닥 상태에서 출발 */
  0% {
    transform: translateX(var(--start-x)) translateY(0) rotate(var(--rotate-deg));
  }
  
  /* 50% 지점에서 최고 점 정점 달성 (쉬지 않고 최고 높이까지 상승) */
  50% {
    transform: translateX(var(--start-x)) translateY(20px) rotate(var(--rotate-deg));
  }
  
  /* 100% 지점에서 다시 바닥 착지 (착지하자마자 무한 반복 루프에 의해 0%로 즉시 연결) */
  100% {
    transform: translateX(var(--start-x)) translateY(0) rotate(var(--rotate-deg));
  }
}

.hero .txt {
    padding: 20px 0;
    text-align: center;
    font-size: 18px;
    color: #543F37;
}
.event-info {
    margin: 0 24px 60px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    gap: 12px;
    background: #fff;
}
.event-info dl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.event-info dl dt {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    color: #6D7280;
}
.event-info dl dt img {
    width: 24px;
    height: 24px;
    margin-right: 4px;
    vertical-align: middle;
}
.event-info dl dd {
    font-size: 16px;
    color: #FC541E;
}
.event-info dl dd strong {
    font-size: 20px;
    font-weight: 700;
}

.card-info-box {
    margin: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.card-info-box.benefit {    
    padding: 60px 24px;
    border-radius: 24px;
}
.card-info-box.type01 {    
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(116, 116, 116, 0.25);
}
.card-info-box.type02 {
    background: #F4F5FA;
}
.card-info-box .title-badge {
    width: 69px;
    height: 32px;
    background: url("../image/new-v4/card/2605v_img_badge.png") no-repeat center;
    background-size: contain;
    font-size: 13px;
    font-weight: 700;
    line-height: 32px;
    color: #FF6428;
}
.card-info-box .title-h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}
.card-info-box .title-h2 strong {
    color: #FF6428;
}
.card-info-box .sub-text {
    font-size: 14px;
    line-height: 1.4;
    word-break: keep-all;
    color: #6D7280;
    padding: 0 30px;
}
.card-info-box .sub-text.desc {
    color: #6D7280;
    }
.card-info-box table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
}
.card-info-box th,
.card-info-box td {
    font-size: 13px;
    padding: 10px 5px;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    border-left: none;
    border-top: none;    
    position: relative;
}
.card-info-box th:last-child,
.card-info-box td:last-child {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
}
.card-info-box tr:last-child th,
.card-info-box tr:last-child td {
    border-bottom: none;
  }
.card-info-box th.highlight {   
    z-index: 1;
    animation: gradientMove 4s ease infinite alternate;
}
.card-info-box td.highlight {
    color: #ff4500;
    font-weight: bold;
    z-index: 1;
    background-color: #ffffff;
    animation: gradientMove 4s ease infinite alternate;
  }
@keyframes gradientMove {
    0% {
     color: #ff4500;
    }
    20%, 100% {
      color: #fff;
    }
}
.card-info-box th.highlight::before,
.card-info-box td.highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-image: linear-gradient(270deg, #FF7C49 0%, #FF5877 100%);
    color: #fff;
    opacity: 0;
    animation: smoothFade 4s ease-in-out infinite alternate;
  }
@keyframes smoothFade {
    0% { opacity: 0; }
    20%, 100% { opacity: 1; }
}
.card .notice-area .box {
    margin-top: 0;
}
.notice-area .box h3,
.card .notice-list li {
    color: #6D7280;
    font-size: 14px;
}
.card .notice-list li a {
    color: #6D7280;
    text-decoration: underline;
}
.card .fixed-bt-card {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 20px 5%;
    width: 100%;
    z-index: 50;
    box-sizing: border-box;
}
.card .btn-card {
    margin: 0 auto;
    display: flex;
    width: 100%;
    height: 56px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color:#fff;
    border-radius: 12px;
    background: var(--Brand-brand800, #FF6428);
    box-shadow: 0 2px 16px 0 rgba(255, 55, 75, 0.20);
}

@media screen and (min-width: 399px) {
    .card-deck {
        height: 260px;
    }
}
@media screen and (min-width: 479px) {
    .title {
    padding: 60px 0;
    }
    .hero .txt {
        padding: 20px 0 60px;
    }
    .card-deck {
        height: 400px;
    }
    
    
    /* 카드 A (왼쪽 배치 + 왼쪽으로 12도 기울임) */
    .card-a {
        --start-x: -80px;
    }
    /* 카드 B (오른쪽 배치 + 오른쪽으로 12도 기울임) */
    .card-b {
        --start-x: 80px;
    }
    .deco.ico3 {
        bottom: 40%;
        left: -7%;
        width: 20%;
        height: auto;
        z-index: 1;
    }
    .deco.ico4 {
        bottom: 5%;
        right: 10%;
        width: 20%;
        height: auto;
    }
    
    .hero .txt {
        font-size: 24px;
    }
    .event-info dl dt {
        font-size: 20px;
    }
    .event-info dl dt img {
        width: 36px;
        height: 36px;
    }
    .event-info dl dd {
        font-size: 24px;
    }
    .event-info dl dd strong {
        font-size: 28px;
    }
    .card-info-box.benefit {
        padding: 60px 40px;
    } 
    .card-info-box.benefit img {
        padding: 20px 0;
    } 
    
    .card-info-box {
        margin: 120px 24px;
    }
    .card-info-box .title-badge {
        width: 138px;
        height: 64px;
        font-size: 24px;
        line-height: 64px;
    }
    .card-info-box .title-h2 {
        font-size: 40px;
    }
    .card-info-box .sub-text {
        font-size: 20px;
    }
    .card-info-box .sub-text.desc {
        font-size: 18px;
    }
    
    .card .btn-card {
        max-width: 570px;
        height: 60px;
        font-size: 24px;
    }
    .card-info-box th,
    .card-info-box td {
        font-size: 16px;
    }
    .notice-area .box h3,
    .card .notice-list li {
        font-size: 15px;
    }

}