@charset "utf-8";

#header {
    margin-bottom: 60px;
}
#footer {
    margin-top: 0;
}
#main-index {
    letter-spacing: -0.01em;
}

/* section main-links */
#main-index .main-links {
    position: relative;
    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        li {
            flex: 1;
            border: 1px solid #d8d8d8;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.08);
            height: 360px;
            a {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-end;
                color: #333;
                text-decoration: none;
                letter-spacing: -0.025em;
                height: 100%;
                padding-bottom: 40px;

                img {
                    margin-bottom: 14px;
                }
                strong {
                    font-size: 22px;
                }
                p {
                    font-size: 15px;
                    margin-top: 6px;
                    margin-bottom: 24px;
                }
                span {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto;
                    font-size: 16px;
                    font-weight: bold;
                    color: #fff;
                    background: #cc6c14;
                    width: 150px;
                    height: 44px;
                    border-radius: 22px;
                    position: relative;
                    line-height: normal;
                    &:after {
                        content: "";
                        display: block;
                        width: 7px;
                        height: 7px;
                        border-top: 1px solid #fff;
                        border-right: 1px solid #fff;
                        position: absolute;
                        right: 21px;
                        top: 50%;
                        transform: translateY(-50%) rotate(45deg);
                    }
                }
            }
            &:last-child {
                a {
                    span {
                        background: #333;
                    }
                }
            }
        }
    }
}

/* section main-banner */
#main-index .main-banner {
    margin-top: 80px;
    .main-visual {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        .swiper-slide img {
            display: block;
            width: 100%;
        }
        .swiper-pagination {
            left: 50%;
            bottom: 14px;
            transform: translateX(-50%);
            .swiper-pagination-bullet {
                width: 12px;
                height: 12px;
                margin: 0 8px !important;
                background: rgba(255, 255, 255, 0.45);
                opacity: 1;
            }
            .swiper-pagination-bullet-active {
                width: 24px;
                border-radius: 999px;
                background: #fff;
            }
        }
        .swiper-button-prev,
        .swiper-button-next {
            background: none;
            margin-top: 0;
            border: 0;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            z-index: 2;
            &:after {
                display: none;
            }
            img {
                display: block;
            }
        }
        .swiper-button-prev {
            left: 32px;
        }
        .swiper-button-next {
            right: 32px;
        }
    }
}

/* section main-notice */
#main-index .main-notice {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 80px 0 50px;
    .left {
        width: 486px;
        list-style-type: none;
        padding: 0;
        margin: 0;
        li {
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 21px;
            a {
                background: #f2f2f2;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 40px;
                position: relative;
                letter-spacing: -0.025em;
                padding: 22px 40px;
                color: #333;
                text-decoration: none;
                img {
                    border-radius: 50%;
                    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.08);
                }
                div {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: flex-start;
                    gap: 8px;
                    strong {
                        font-size: 18px;
                        line-height: normal;
                        span {
                            color: #cc6c14;
                        }
                    }
                    > span {
                        font-size: 14px;
                        line-height: normal;
                    }
                }
                &:after {
                    content: "";
                    display: block;
                    width: 12px;
                    height: 12px;
                    border-top: 2px solid #666;
                    border-right: 2px solid #666;
                    position: absolute;
                    right: 21px;
                    top: 50%;
                    transform: translateY(-50%) rotate(45deg);
                }
            }
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    .right {
        flex: 1;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        overflow: hidden;
        padding: 34px 44px;
        height: 378px;
        .widget-board-cache-list {
            position: relative;
            flex: 1;
            .head {
                display:flex;
                align-items: center;
                justify-content: space-between;
                padding-bottom: 14px;
                border-bottom: 1px solid #333;
                .title {
                    font-size: 19px;
                    font-weight: bold;
                    letter-spacing: -0.025em;
                }
                .more {
                    display: inline-flex;
                    justify-content: flex-start;
                    align-items: center;
                    width: 70px;
                    height: 24px;
                    border-radius: 12px;
                    padding-left: 14px;
                    background: #c4a484;
                    text-align: center;
                    text-decoration: none;
                    font-size: 13px;
                    letter-spacing: -0.025em;
                    line-height: 1;
                    color: #fff;
                    position: relative;
                    &:after {
                        content: "";
                        display: block;
                        width: 6px;
                        height: 6px;
                        border-top: 1px solid #fff;
                        border-right: 1px solid #fff;
                        position: absolute;
                        right: 12px;
                        top: 50%;
                        transform: translateY(-50%) rotate(45deg);
                    }
                }
            }
            ul {
                list-style: none;
                padding: 0;
                margin: 0;
                li {
                    border-bottom: 1px solid #e1e1e1;
                    &:last-child {
                        border-bottom: 0;
                    }
                    a {
                        display: block;
                        color: #333;
                        padding: 19px 11px 18px;
                        position: relative;
                        line-height: 17px;
                        font-size:16px;
                        text-decoration: none;
                        letter-spacing: -0.025em;
                        .subject {
                            width: 450px;
                            display: block;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        .date {
                            position: absolute;
                            right: 9px;
                            top: 20px;
                            font-size: 15px;
                        }
                    }
                }
            }
        }
    }
}

/* section main-usage */
#main-index .main-usage {
    padding: 30px 0;
    background: #f7f7f7;
    h3 {
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 27px;
    }
    ul {
        list-style-type: none;
        padding: 30px 24px 16px;
        margin: 0;
        display: flex;
        justify-content: space-between;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.08);
        li {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
            font-size: 13px;
            letter-spacing: -0.025em;
            div {
                margin: 11px 0 10px;
                position: relative;
                &:after {
                    content: '';
                    display: block;
                    position: absolute;
                    top: 9px;
                    left: 100%;
                    width: 130px;
                    height: 2px;
                    background: #b3b3b3;
                }
            }
            span {
                font-weight: bold;
                display: block;
                margin-bottom: 2px;
            }
            p {
                line-height: 18px;
            }
            &:last-child {
                div {
                    &:after {
                        display: none;
                    }
                }
            }
        }
    }
}

/* section recommend-sites */
#main-index .main-recommend-sites {
    margin-top: 70px;
    h3 {
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 27px;
    }
    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        overflow: hidden;
        li {
            flex: 1;
            a {
                text-decoration: none;
                color: #333;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                font-size: 13px;
                line-height: 17px;
                padding: 33px 0 36px;
                position: relative;
                img {

                    display: inline-block;
                    margin-bottom: 9px;
                }
                &:after {
                    display: block;
                    content: '';
                    width: 1px;
                    height: 98px;
                    background: #e8e8e8;
                    position: absolute;
                    right: 0;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }
            &:last-child {
                a:after {
                    display: none;
                }
            }
        }
    }
}

/* section main-trans */
#main-index .main-trans {
    background: #ecf1f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 140px;
    margin: 50px 0 70px;
    div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 7px;
        margin-right: 29px;
        p {
            font-size: 14px;
            letter-spacing: -0.01em;
            margin: 0;
        }
    }
    ul {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        list-style-type: none;
        padding: 0;
        margin: 0;
        li {
            a {
                width: 160px;
                height: 48px;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 12px;
                font-weight: bold;
                text-decoration: none;
                line-height: normal;
                color: #fff;
                background: #333333;
                border-radius: 10px;
                overflow: hidden;
                font-size: 14px;
            }
            &:last-child {
                a {
                    font-weight: normal;
                    background: #fff;
                    color: #333;
                    gap: 6px;
                }
            }
        }
    }
    > img {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

/* section main-external-links */
#main-index .main-external-links {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        flex: 1;
        display: flex;
        align-items: center;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        li {
            flex: 1;
            a {
                font-size: 13px;
                letter-spacing: -0.025em;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-end;
                gap: 18px;
                text-decoration: none;
                color: #333;
                padding: 36px 0 34px;
                position: relative;
                &:after {
                    content: '';
                    display: block;
                    width: 1px;
                    height: 88px;
                    background: #e8e8e8;
                    position: absolute;
                    right: 0;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }
            &:last-child {
                a {
                    &:after {
                        display: none;
                    }
                }
            }
        }
    }
    > a {
        width: 384px;
        background: #ffb066;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        letter-spacing: -0.025em;
        border-radius: 10px;
        overflow: hidden;
        gap: 7px;
        padding: 20px 0 28px;
    }
}

/* section main-cs */
#main-index .main-cs {
    border-top: 1px solid #cccccc;
    margin-top: 80px;
    padding-top: 73px;
    .container {
        .main-cs-items {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
             > div {
                 flex: 1;
                 .main-cs-title {
                     font-size: 15px;
                 }
             }
            .cs {
                letter-spacing: -0.025em;
                strong {
                    display: block;
                    font-size: 19px;
                    margin-bottom: 5px;
                }
                p:nth-child(2) {
                    font-size: 13px;
                    margin-bottom: 6px;
                }
                p:nth-child(3) {
                    font-size: 14px;
                    font-weight: bold;
                    margin-bottom: 17px;
                }
                ul {
                    list-style-type: none;
                    padding: 0;
                    margin: 0;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    li {
                        a {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 150px;
                            height: 38px;
                            font-size: 14px;
                            line-height: normal;
                            text-decoration: none;
                            color: #333;
                            border: 1px solid #cccccc;
                            background: #f5f5f5;
                            border-radius: 6px;
                        }
                    }
                }

            }
            .bank {
                margin: 4px 90px 0 auto;
                max-width: 340px;
                > div {
                    display: flex;
                    align-items: center;
                    border: 1px solid #e8e8e8;
                    border-radius: 6px;
                    overflow: hidden;
                    padding: 22px 0 22px 20px;
                    gap: 23px;
                    margin-top: 15px;
                    div {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        gap: 2px;
                        position: relative;
                        padding-left: 30px;
                        &:before {
                            content: '';
                            display: block;
                            width: 1px;
                            height: 46px;
                            background: #e8e8e8;
                            position: absolute;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                        }
                        p {
                            font-size: 15px;
                            font-weight: bold;
                            margin-bottom: 0;
                        }
                        span {
                            font-size: 13px;
                        }
                    }
                }
            }
            .currency {
                margin-top: 4px;
                max-width: 300px;
                .main-cs-title {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 15px;
                    span {
                        font-size: 13px;
                        font-weight: normal;
                    }
                }
                table {
                    th,
                    td {
                        font-size: 14px;
                        letter-spacing: -0.01em;
                    }
                    th {
                        border: 0;
                        padding: 12px 5px 8px;
                        position: relative;
                        font-weight: bold;
                        font-size: 12px;
                        background: #e8e8e8;
                        &:first-child {
                            border-radius: 6px 0 0 6px;
                            &:after {
                                content: "";
                                display: block;
                                width: 1px;
                                height: calc(100% - 4px);
                                background: #fff;
                                position: absolute;
                                right: 0;
                                top: 50%;
                                transform: translateY(-50%);
                            }
                        }
                        &:last-child {
                            border-radius: 0 6px 6px 0;
                        }
                    }
                    td {
                        border-width: 0 0 1px;
                        padding: 19px 5px 16px;
                        position: relative;
                        font-size: 13px;
                        &:first-child:after {
                            content: "";
                            display: block;
                            width: 1px;
                            height: 24px;
                            background: #e7e7e7;
                            position: absolute;
                            right: 0;
                            top: 50%;
                            transform: translateY(-50%);
                        }
                    }
                }
            }
        }
    }
}