@font-face {
    font-family: 'FedExSans_W_Rg'; 
    src: url('font/FedExSans_W_Rg.woff'),
    url('font/FedExSans_W_Rg.woff2');
}

@font-face {
    font-family: 'FedExSans_W_Bd'; 
    src: url('font/FedExSans_W_Bd.woff'),
    url('font/FedExSans_W_Bd.woff2');
}

.bg_story {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: top;
    background-image: url(image/background.jpg);
    color: #fff;
    font-family: 'FedExSans_W_Rg';
    font-size: 18px;
}

.bg_story img {
    object-fit: cover;
}

.swiper-wrapper {
    height: fit-content !important;
}

.header_logo {
    display: flex;
    justify-content: end;
}

.header_logo img {
    height: 50px;
    width: auto;
    padding-left: 50px;
}

.button_story_banner {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 20px;
    width: fit-content !important;
}

.bg_color {
    background-color: #f2ecea;
    padding-bottom: 80px;
}

.overline_story {
    color: #4D148C;
    font-size: 14px;
}

.headline_story {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    font-family: 'FedExSans_W_Rg';
    color: #000;
}

.button_story {
    padding: 5px 20px;
    border: 2px solid #FF6200;
    width: auto;
    display: inline-block;
    background-color: #FF6200;
    color: #fff;
    text-align: center;
}

.bg_intro {
    text-shadow: 3px 2px 4px black;
}

.header_headline {
    font-family: 'FedExSans_W_Bd';
    font-size: 48px;
    text-shadow: 3px 2px 4px black;
}

.slider_box .button_story {
    width: 100%;
}

.bg_white {
    background-color: #fff;
}

.bg_gray {
    background-color: #EDE8E5;
    border: 1px solid transparent;
    border-radius: 5px;
}

.bg_small {
    font-size: 14px;
}

.bg_story iframe { 
    width: 100%;
    aspect-ratio: 16 / 9;
}

@media only screen and (max-width: 767px)  {
    html::before {
        content: ' ';
        display: block;
        background-image: url('image/background_mobile.jpg');
        background-position: left;
        background-size: cover;
        height: 100vh; width: 100vw;
        top: 0; bottom: 0; left: 0; right: 0;
        position: fixed;
        z-index: -10; 
    }

    .bg_story {
        background-image: none;
    }

    .header_headline {
        font-size: 34px;
        text-align: center;
    }

    .header_logo img {
        height: 30px;
        padding-left: 30px;
    }

    .bg_story .h4, .bg_story h4 {
        font-size: 1rem;
    }

    .bg_story header {
        margin-top: 4.4rem !important;
    }
    
    .h5, h5 {
        font-size: 1.2rem;
    }
}