
.ub-content {
    margin-bottom: 0.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    .head {
        padding: 0.5rem 0;

        .title {
            font-size: 1.5rem;
            font-weight: 500;
            color: var(--color-text);
            text-align: center;
        }

        .sub-title {
            font-size: 0.8rem;
            text-align: center;
            color: var(--color-text);
            margin-top: 1rem;
        }
    }

    .body {
        padding: 0.5rem 0;
    }

    .foot {
        padding: 0.5rem 0;
        text-align: center;

        .action {

        }
    }
}

.ub-content {

    .item-basic {
        .h1 {
            font-size: 1.5rem;
        }

        .h2 {
            font-size: 1rem;
        }

        .h3 {
            font-size: 0.8rem;
        }

        .text-white {
            color: #FFF;
        }

        .width-narrow {
            max-width: 600px;
        }

        .margin-auto {
            margin: 0 auto;
        }
    }
}

.ub-content {
    .item-a {
        text-align: center;
        display: block;
        padding: 1rem 0;
        line-height: 1.5;
        text-decoration: none;
        width: 100%;
        margin-bottom: .5rem;

        &:hover {
            .icon, .image {
                transform: scale(1.1);
            }
        }

        .icon {
            font-size: 3rem;
            line-height: 3rem;
            height: 3rem;
            text-align: center;
            display: block;
            transition: all 0.1s linear;
        }

        .image {
            width: 60%;
            margin: 0 auto;
            outline: none;
            transition: all 0.1s linear;
        }

        .title {
            height: 2rem;
            line-height: 1rem;
            overflow: hidden;
            padding-top: 1rem;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--color-text);
        }

        .slogan {
            color: #c4cfdb;
            line-height: 1rem;
            height: 2rem;
            padding-top: 1rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }

    .item-b {
        border-radius: 0.25rem;
        background: #FFF;
        width: 100%;
        overflow: hidden;
        box-shadow: 0 0 0.5rem #EEE;
        text-align: center;
        padding: 1rem;
        margin-bottom: .5rem;

        .title {
            height: 2rem;
            line-height: 1rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-text);
            padding: 1rem 0 0 0;
        }

        .slogan {
            font-size: 0.8rem;
            color: var(--color-text);
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding: 1rem 0 0 0;
        }

        .desc {
            font-size: 0.7rem;
            color: #8A889A;
            line-height: 1.25rem;
            text-align: center;
            display: block;
            padding: 1rem 0 0 0;
            width: 80%;
            margin: 0 auto;
        }

        .image {
            border-top: 0.05rem dashed #EEE;
            margin: 0 -1rem 0 -1rem;
            padding: 1rem 1rem 0 1rem;
            margin-top: 1rem;
        }
    }

    .item-c {
        text-align: center;
        display: block;
        padding: 1rem;
        line-height: 1.5;
        border-radius: 0.2rem;
        text-decoration: none;
        width: 100%;

        .image {
            width: 60%;
            margin: 0 auto;
            outline: none;
            transition: linear all 0.2s;

            &:hover {
                transform: scale(1.1);
            }
        }

        .title {
            height: 2rem;
            line-height: 1rem;
            overflow: hidden;
            padding-top: 1rem;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--color-text);
        }
    }

    .item-d {
        border-radius: 0.25rem;
        background: #FFF;
        width: 100%;
        overflow: hidden;
        box-shadow: 0 0 0.5rem #EEE;
        padding: 1rem;
        margin-bottom: .5rem;

        .logo {
            float: right;
            width: 30%;
            height: 2rem;
            overflow: hidden;
        }

        .title {
            height: 2rem;
            line-height: 1rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding: 0.5rem 0 0 0;
            font-size: 0.9rem;
            font-weight: 500;
            color: #1E2844;
        }

        .desc {
            border-top: 0.05rem dashed #EEE;
            margin: 1rem 0 0 0;
            font-size: 0.7rem;
            color: #8A889A;
            line-height: 1.25rem;
            display: block;
            padding: 1rem 0 0 0;
            height: 10rem;
            overflow: hidden;

            &:before {
                content: "“";
                font-size: 2.5rem;
                line-height: 1.5rem;
                color: #1F2841;
                display: block;
                text-align: left;
            }

            &:after {
                content: "”";
                font-size: 2.5rem;
                line-height: 1.5rem;
                color: #1F2841;
                display: block;
                text-align: right;
            }
        }
    }

    .item-e {
        overflow: hidden;

        &:nth-child(even) {
            .image {
                float: right;
            }

            .text {
                float: right;
            }
        }

        .image {
            float: left;
            width: 50%;
            padding: 1rem 0;

            .cover {
                width: 80%;
                margin: 0 auto;
                transition: all linear 0.2s;

                &:hover {
                    transform: translateY(-0.5rem);
                }
            }
        }

        .text {
            float: left;
            width: 50%;
            padding: 1rem 3rem;

            .title {
                color: #12263C;
                font-weight: bold;
                font-size: 1rem;
            }

            .sub-title {
                font-size: 0.8rem;
                color: var(--color-primary);
                margin-top: 1rem;
                font-weight: bold;
            }

            .desc {
                font-size: 0.7rem;
                color: #00133B;
                line-height: 1rem;
                margin-top: 1rem;

                p {
                    margin: 0;
                    padding: 0;
                    line-height: 1.2rem;
                    color: #c4cfdb;
                }
            }
        }

    }
}

@media screen and (max-width: 40rem) {
    .ub-content {
        .item-e {
            .image {
                float: none !important;
                width: auto !important;
                padding: 0 !important;
            }

            .text {
                float: none !important;
                width: 80% !important;
                padding: 0 !important;
                margin: 0 auto !important;
            }
        }
    }
}

.ub-content {
    .panel-a {
        color: #FFF;
        padding: 2rem;
        text-align: left;

        .box {
            max-width: var(--container-width);
            margin: 0 auto;

            .title {
                font-size: 1.8rem;
                line-height: 2rem;
            }

            .sub-title {
                margin-top: 0.8rem;
                font-size: var(--font-size-medium);
            }
        }
    }

    .panel-b {
        color: #FFF;
        padding: 1.5rem;
        text-align: left;
        position: relative;
        overflow: hidden;

        .bg, .mask {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            background-size: cover;
            background-position: center;
        }

        .bg {
            filter: blur(1rem);
        }

        .mask {
            background: rgba(0, 0, 0, 0.5);
        }

        .box {
            position: relative;
            text-align: left;
            max-width: var(--container-width);
            margin: 0 auto;

            .c {
                display: flex;
                align-items: center;

                .c1 {
                    width: 7rem;
                    flex-shrink: 0;

                    .cover {
                        margin-bottom: 0;
                        border-radius: 0.5rem;
                    }
                }

                .c2 {
                    padding-left: 1rem;
                }
            }
        }

        .title {
            font-size: 1.2rem;
        }

        .sub-title {
            margin-top: 0.8rem;
            font-size: var(--font-size-medium);

            a {
                color: #FFF;
            }
        }
    }
}

@media screen and (max-width: 40rem) {

    .ub-content {
        .panel-a {
            text-align: center;
        }

        .panel-b {
            padding: 1rem;

            .box {
                .c {
                    display: block;
                    text-align: center;

                    .c1 {
                        width: auto;
                    }

                    .c2 {
                        padding-left: 0;
                        margin-top: 1rem;
                    }
                }
            }
        }
    }
}
