@charset "UTF-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, hr {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
    appearance: none;
    -webkit-appearance: none;
}

html,
body {
    color: #333;
    font-size: 16px;
    font-weight: normal;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "meiryo", sans-serif;
    line-height: 1;
}

body {
    line-height: 1.7;
    background-color: #fff;
    padding: 50px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contents {
    height: calc(100svh - 150px);
    position:relative;
    overflow: hidden;
    border-radius: 0 20px 20px 20px;
}

.header-logo {
    position: fixed;
    top: 50px !important;
    left: 50px !important;
    display: block;
    z-index: 3;
}

.header-logo img {
    object-position: left top;
}

.message {
    position: fixed;
    right: 50px !important;
    bottom: 120px !important;
    display: block;
    z-index: 2;
}

.message img {
    object-position: right bottom;
}

.bg {
    position: absolute;
    right: 0 !important;
    bottom: 0 !important;
    display: block;
    width: 1920px;
    height: 1080px;
    z-index: 1;
}

.bg img {
    object-position: right bottom;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    background-color: #005a9f;
}

footer .copy {
    font-size: 14px;
    height: 50px;
    text-align: center;
    align-items: center;
    line-height: 50px;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

@media screen and (min-height: 1000px) {
    .bg {
        width: 1920px;
        height: 1080px;
    }

    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }
}

@media screen and (min-height: 1080px) {
    .bg {
        width: calc(100svw - 100px);
        height: calc(100svh - 150px);
    }

    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }
}

@media screen and (max-width: 768px) and (min-height: 501px) {
    html,
    body {
        font-size: 3.73333vw;
    }

    body {
        overflow-x: hidden;
        line-height: 1.7;
        padding: 25px;
    }

    .contents {
        height: calc(100svh - 100px);
        border-radius: 0 14px 14px 14px;
    }

    .header-logo {
        position: fixed;
        top: 25px !important;
        left: 25px !important;
        width: 60%;
        height: auto;
    }

    .message {
        position: fixed;
        right: 25px !important;
        bottom: 95px !important;
        width: 70%;
        height: auto;
    }

    .bg {
        width: calc(100svw - 50px);
        height: calc(100svh - 75px);
    }

    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

@media screen and (max-height: 500px) and (min-width: 769px)  {
    html,
    body {
        font-size: 3.73333vw;
    }

    body {
        overflow-x: hidden;
        line-height: 1.7;
        padding: 25px;
    }

    .contents {
        height: calc(100svh - 100px);
        border-radius: 0 14px 14px 14px;
    }

    .header-logo {
        position: fixed;
        top: 25px !important;
        left: 25px !important;
        width: calc(100svw / 3);
        height: auto;
    }

    .message {
        position: fixed;
        right: 25px !important;
        bottom: 95px !important;
        width: calc(100svw / 3);
        height: auto;
    }

    .bg {
        width: 1920px;
        height: 1080px;
    }

    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }
}

@media screen and (max-height: 500px) and (max-width: 768px) {
    html,
    body {
        font-size: 3.73333vw;
    }

    body {
        overflow-x: hidden;
        line-height: 1.7;
        padding: 25px;
    }

    .contents {
        height: calc(100svh - 100px);
        border-radius: 0 14px 14px 14px;
    }

    body .header-logo {
        position: fixed;
        top: 25px !important;
        left: 25px !important;
        width: calc(100svw / 3);
        height: auto;
    }

    body .message {
        position: fixed;
        right: 25px !important;
        bottom: 95px !important;
        width: calc(100svw / 3);
        height: auto;
    }

    .bg {
        width: calc(100svw - 50px);
        height: calc(100svh - 75px);
    }


    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

@media screen and (min-width: 1920px) {
    .bg {
        width: calc(100svw - 100px);
        height: calc(100svh - 150px);
    }
}