@charset "UTF-8";

@font-face {
    font-family: 'Michelin-Regular';
    src: url(../font/michelin-regular-webfont.woff);
}

@font-face {
    font-family: 'Michelin-Bold';
    src: url(../font/michelin-bold-webfont.woff);
}

@font-face {
    font-family: 'Michelin-SemiBold';
    src: url(../font/michelin-semibold-webfont.woff);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    overflow: auto;
    font-family: 'Michelin-Regular';
}

#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: space-between;
    background-color: #2a4790;
}
#header img {
    max-width: 100%;
    height: auto;
}

#header_title {
    font-size: 40px;
    line-height: 46px;
    margin-right: 50px;
    color: #ffffff;
    font-family: 'Michelin-Bold';
    align-self: center;
}

#tip {
    position: fixed;
    top: 230px;
    width: 100%;
    color: #2a4790;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    font-family: 'Michelin-SemiBold';
}

#image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 150px;
}

.image-layer {
    position: absolute;
    left: 0;
    top: 150px;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s, z-index .01s .3s;
    width: 100%;
    height: auto;
}

.image-layer.image-layer-visible {
    z-index: 11;
    opacity: 1;
    transition: opacity 1s;
}

#popup_sf {
    position: absolute;
    width: 100%;
    height: calc(100% + 150px);
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
    opacity: 0;
    transition: opacity .3s, z-index .01s .3s;
}

#popup_sf.popup_sf-visible {
    z-index: 10;
    opacity: 1;
    transition: opacity 1s;
}

#popup {
    position: absolute;
    padding: 45px 35px;
    border-radius: 10px;
    background-color: #f8f8f8;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s, z-index .01s .3s;
}

#popup.popup-visible {
    z-index: 12;
    opacity: 1;
    transition: opacity 1s;
}

#popup::after {
    content: '';
    position: absolute;
    left: 42%;
    top: 99%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f8f8f8;
    clear: both;
}

#popup_close {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 14px;
}

#popup_text {
    font-size: 20px;
    line-height: 28px;
}

#popup_text h2 {
    font-family: 'Michelin-Bold';
    margin-bottom: 20px;
}
@media (max-width: 1200px) {
    #header_title {
        font-size: 30px;
        line-height: 40px;
    }
    #tip {
        top: 200px;
        font-size: 20px;
        line-height: 25px;
    }
    #popup_text, #popup_text h2{
        font-size: 16px;
        line-height: 24px;
    }
}