/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* COMMON */
.point {
    color: #EA5514 !important;
    font-weight: 600;
}

section:not(:first-of-type) {
    padding: 60px 0px;
    position: relative;
}

section .inner {
    width: 100%;
    padding: 0px 24px;
    box-sizing: border-box;
}

section .inner.overlap {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title-container {
    max-width: 900px;
    margin: auto auto 50px auto;
}

.title-container .title {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    line-height: 34px;
    margin-bottom: 15px;
    color: #333d4b;
}

.title-container .description {
    font-weight: 600;
    font-size: 17px;
    line-height: 28px;
    text-align: center;
    color: #4e5968;
}

.item-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 100%));
    gap: 15px;
    justify-content: center;
}

.item-container .item {
    width: 100%;
    background-color: #F9F9F9;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0px;
    position: relative;
}

.item-container .item .title {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #333d4b;
    margin-bottom: 16px;
}

.item-container .item .description {
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
    color: #4e5968;
}

.item-container .item.point {
    background-color: #FFF7F3;
}

.item-container .item .icn-center {
    display: block;
    width: 100px;
    height: 80px;
    object-fit: contain;
    margin: auto;
    margin-bottom: 10px;
}

.item-container .item .icn {
    background-color: #ea5513;
    border-radius: 999px;
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 35px;
    right: 35px;
}

.item-container .item .icn-right {
    display: block;
    width: 80px;
    height: 64px;
    object-fit: contain;
    margin: auto;
    position: absolute;
    top: 25px;
    right: 25px;
}

.item-container .item .label {
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: #4e5968;
    text-align: center;
}

.fold-container .fold-wrap {
    max-width: 1200px;
    margin: auto auto 30px auto;
}

.fold-container .fold-wrap .title-wrap {
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.fold-container .fold-wrap .title-wrap .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
}

.fold-container .fold-wrap .description {
    display: none;
}

.fold-container .fold-wrap.active .description {
    display: block;
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    padding: 10px;
    box-sizing: border-box;
}

.fold-container .fold-wrap .plus {
    display: block;
}

.fold-container .fold-wrap .minus {
    display: none;
}

.fold-container .fold-wrap.active .plus {
    display: none;
}

.fold-container .fold-wrap.active .minus {
    display: block;
}

.content-container {
    margin-top: 15px;
    display: block;
}

.content-container .left,
.content-container .right {
    flex: 1;
}

.content-container .left .left-inner {
    margin: auto;
    max-width: 100%;
    background-color: #FFF7F3;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .content-container {
        display: flex;
        gap: 15px;
    }

    .content-container .left .left-inner {
        max-width: 420px;
        margin: 0px 0px 0px auto;
        background-color: #FFF7F3;
        padding: 24px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.content-container .left .left-inner .title-wrap .sub-title {
    font-weight: 400;
    font-size: 20px;
}

.content-container .left .left-inner .title-wrap .title {
    font-weight: 700;
    font-size: 30px;
}

.content-container .left .left-inner .summary,
.content-container .left .left-inner .detail {
    display: flex;
    padding: 5px;
    box-sizing: border-box;
}

.content-container .left .left-inner .summary {
    background-color: #FFFFFF;
    padding: 10px 5px;
    margin-bottom: 20px;
}

.content-container .left .left-inner .key,
.content-container .left .left-inner .value,
.content-container .left .left-inner .unit {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    align-self: baseline;
}

.content-container .left .left-inner .key {
    flex: 3;
}

.content-container .left .left-inner .value {
    flex: 7;
    text-align: right;
    padding-right: 3px;
}

.content-container .left .left-inner .value.point {
    font-size: 34px;
}

.content-container .right .right-inner {
    margin: auto auto 30px auto;
    padding: 12px 0px 0px 0px;
    max-width: none;
    height: 100%;
    align-content: center;
}

.content-container .right .right-inner .description {
    font-weight: 400px;
    font-size: 16px;
    line-height: 23px;
}

@media (min-width: 768px) {
    section:not(:first-of-type) {
        padding: 120px 0px;
    }

    section .inner {
        padding: 0px 24px;
    }

    .title-container {
        margin-bottom: 80px;
    }

    .title-container .title {
        font-weight: 700;
        font-size: 40px;
        line-height: 56px;
        margin-bottom: 20px;
    }

    .title-container .description {
        font-weight: 600;
        font-size: 22px;
        line-height: 33px;
    }

    .item-container {
        grid-template-columns: repeat(2, minmax(0, 435px));
        gap: 30px;
    }

    .item-container .item {
        padding: 35px;
    }

    .item-container .item .title {
        font-size: 38px;
        line-height: 49px;
    }

    .item-container .item .description {
        font-size: 20px;
        line-height: 32px;
    }

    .fold-container .fold-wrap .title-wrap .title {
        font-size: 22px;
        line-height: 26px;
    }

    .fold-container .fold-wrap.active .description {
        font-size: 20px;
        line-height: 40px;
    }

    .content-container .right .right-inner {
        max-width: 460px;
        margin: 0px auto 0px 0px;
        padding-left: 30px;
    }
}

.tab-container {
    margin: auto;
    max-width: 900px;
}

.tab-container .tab-menu-list {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}

.tab-container .tab-menu-list .tab-menu {
    flex: 1;
    text-align: center;
    border-top: 1px solid #4e5968;
    border-bottom: 1px solid #4e5968;
    border-left: 1px solid #4e5968;
    padding: 12px;
    font-size: 17px;
    line-height: 23px;
    cursor: pointer;
}

.tab-container .tab-menu-list .tab-menu:last-child {
    border-right: 1px solid #4e5968;
}

.tab-container .tab-menu-list .tab-menu.selected {
    background-color: #1b284f;
    color: #FFFFFF;
    font-weight: 600;
}

.tab-container .tab-content {
    display: none;
}

.tab-container .tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tab-container .tab-content .option-container {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.tab-container .tab-content .option-container .option-wrap {
    flex: 1;
}

.tab-container .tab-content .option-container .option-wrap .title {
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    color: #333d4b;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .tab-container .tab-content .option-container {
        flex-direction: row;
    }

    .tab-container .tab-content .option-container .option-wrap .title {
        font-size: 22px;
        line-height: 26px;
    }
}

.tab-container .tab-content .option-container .option-wrap .description-box {
    width: 100%;
    border: 1px solid #7e7e7e;
    padding: 12px;
    text-align: left;
    box-sizing: border-box;
}

.tab-container .tab-content .option-container .option-wrap .option-item-wrap {
    display: flex;
}

.tab-container .tab-content .option-container .option-wrap .option-item-wrap .option-item {
    flex: 1;
    border-top: 1px solid #7E7E7E;
    border-bottom: 1px solid #7E7E7E;
    border-left: 1px solid #7E7E7E;
    padding: 12px;
    text-align: center;
    color: #4e5968;
}

.tab-container .tab-content .option-container .option-wrap .option-item-wrap .option-item:last-child {
    border-right: 1px solid #7E7E7E;
}

.tab-container .tab-content .option-container .option-wrap .option-item-wrap .option-item.selected {
    background-color: #1b284f;
    color: #FFFFFF;
    font-weight: 600;
}

.tab-container .result-summary .row {
    background-color: #EA5514;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .tab-container .result-summary .row {
        flex-direction: row;
    }
}

.tab-container .result-summary .row .key {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tab-container .result-summary .row .key {
        flex-direction: row;
    }
}

.tab-container .result-summary .row .key,
.tab-container .result-summary .row .value-wrap .value,
.tab-container .result-summary .row .value-wrap .unit {
    color: #FFFFFF;
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
}

.tab-container .result-summary .row .key .description {
    font-weight: 400;
    font-size: 18px;
    align-content: end;
}

.tab-container .result-summary .row .value-wrap .value {
    flex: 1;
    text-align: right;
}

.tab-container .result-summary .row .value-wrap {
    display: flex;
    width: fit-content;
    flex: 1;
}

.tab-container .result-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-container .result-detail .table-wrap {
    width: 100%;
    overflow-x: auto;
    /* 모바일에서 좌우 스크롤 */
}

.tab-container .result-detail .table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.tab-container .result-detail .table-wrap table th,
.tab-container .result-detail .table-wrap table td {
    padding: 15px 20px;
    color: #4e5968;
    background-color: #f9f9f9;
    text-align: right;
}

.tab-container .result-detail .table-wrap table th:first-child,
.tab-container .result-detail .table-wrap table td:first-child {
    text-align: left;
}

.tab-container .result-detail .table-wrap table th {
    font-weight: 600;
}

/* 375px 이하: 테이블이 좁아지면 그냥 스크롤 허용 */
@media (max-width: 375px) {
    table {
        min-width: 480px;
        /* 4컬럼이 너무 찌그러지지 않도록 최소값 */
    }
}

/* SECTION. HERO */
.hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.hero .img-wrap.background {
    height: 450px;
}

.hero .img-wrap.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero .title-container .img-wrap.logo {
    margin: auto;
    width: 200px;
}

.hero .title-container .img-wrap.logo img {
    width: 100%;
}

.hero .title-container .title {
    margin-bottom: 5px;
    color: #FFFFFF;
}

.hero .title-container .btn-wrap {
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 15px;
}

@media (min-width: 768px) {
    .hero .title-container .btn-wrap {
        flex-direction: row;
    }
}

.hero .title-container .btn-wrap .btn {
    gap: 10px;
    width: 200px;
    padding: 25px;
    border-radius: 0px;
    background-color: #0000008c;
    color: #FFFFFF;
    border: 1px solid #ffffff61;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}

.hero .title-container .btn-wrap .btn.google img {
    width: 22px;
}

/* SECTION. PROFIT */
.profit {
    min-height: 1000px;
    margin-bottom: 100px
}

.profit .img-wrap {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.profit .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION. REWARD */
.reward {
    position: relative;
}

.reward .item-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 50%));
    gap: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .reward .item-container {
        grid-template-columns: repeat(4, minmax(0, 202.5px));
    }
}

/* 슬라이더 */
.slider-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 기본 range 스타일 제거 */
.slider-wrap input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #E5E5E5;
    border-radius: 4px;
    outline: none;
    border: none;
}

/* 트랙 (Webkit) */
.slider-wrap input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: #E5E5E5;
    border-radius: 4px;
}

/* 핸들 (Webkit) */
.slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #1B284F;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px;
}

.slider-wrap input[type="range"]::-moz-range-track {
    height: 4px;
    background: #E5E5E5;
    border-radius: 4px;
}

.slider-wrap input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #1b284f;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    font-size: 14px;
    color: #333;
}