@charset "utf-8";

/* common ------------------------------------------ */
body {
    font-family: 'メイリオ', Meiryo, 'Meiryo UI', 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴシック', 'Hiragino Sans', YuGothic, 'Yu Gothic', 'Yu Gothic UI', sans-serif;
    background-color: #1A3C60;
}

/* SP ------------------------------------------ */
body {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-content: space-between;
}

#contents {
    flex-direction: column;
    flex: 1;
}

a.button {
    font-size: 13px;
    display: block;
    height: 40px;
    width: 150px;
    border-radius: 5px;
    line-height: 40px;
    position: relative;
    text-align: center;
    padding-left: 20px;
    background-color: #A2B2C7;
    margin: auto;
    margin-top: 20px;
}

a.button:before {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    height: 23px;
    width: 23px;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/sp/ic-fail-b.png")
}

a.txt_link {
    font-size: 13px;
    display: block;
    margin-top: 20px;
    color: #333333;
}

.under {
    text-decoration: underline;
}

a.banner_B {
    display: block;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

/* v */
.content-V {
    padding: 35px 2em 35px;
    text-align: center;
    background-image: url("../img/sp/bg-v.jpg");
    background-size: cover;
    background-position: center top;
}

.content-V p {
    color: #fff;
    max-width: 353px;
    text-align: left;
    margin: auto;
    margin-top: 20px;
    line-height: 1.4;
}

.content-V h1 {
    display: block;
    max-width: 304px;
    margin: auto;
}

.content-V h1 img {
    width: 100%;
    height: auto;
}

/* b */
.content-B {
    padding: 35px 2em 35px;
    text-align: center;
    background-image: url("../img/sp/bg-b.jpg");
    background-size: cover;
    background-position: center top;
}

.content-B p {
    max-width: 353px;
    text-align: left;
    margin: auto;
    margin-top: 20px;
    line-height: 1.4;
}

p.txt {
    background-color: rgba(240, 240, 240, .7);
    border-radius: 5px;
    padding: 20px 20px;
    margin-top: 20px;
    max-width: 350px;
    text-indent: -0.5em;
    padding-left: 2em;
}

.content-B h1 {
    display: block;
    max-width: 310px;
    margin: auto;
}

.content-B h1 img {
    width: 100%;
    height: auto;
}

.content-B a.button {
    color: #fff;
    background-color: #1A3C60
}

.content-B a.button:before {
    background-image: url("../img/sp/ic-fail-w.png")
}

/* machine */
div.machine {
    display: block;
    width: 100%;
    height: auto;
    margin: -20px auto 0;
    background-image: url("../img/sp/machine.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    z-index: 1;
}

div.machine:after {
    content: "";
    display: block;
    padding-top: 74%;
}

/* footer */
#footer {
    position: relative;
    flex: 1;
}

#footer div.link-group {
    position: relative;
    z-index: 5;
    background-color: rgba(240, 240, 240, .7);
    border-radius: 5px;
    padding: 20px 20px;
    max-width: 300px;
    min-height: 85px;
    margin: -3em auto 0;
    text-align: center;
}

#footer div.link-group h2 {
    height: 11px;
    width: auto;
    margin: 0 auto 20px;
}

#footer div.link-group h2 img {
    height: 11px;
    width: auto;
}

#footer div.link-group a {
    text-decoration: underline;
    margin: 0;
    color: #1A3C60;
    position: relative;
}

#footer div.link-group a:first-of-type {
    margin-right: 20px;
}

#footer div.link-group a:before {
    position: relative;
    top: 1px;
    right: 5px;
    margin: auto;
    content: "";
    display: inline-block;
    height: 11px;
    width: 11px;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/sp/ic-blank.png")
}

#footer div.link-group.notice {
    --notice-red: #b90000;
    margin-top: 24px;
    padding: 20px 20px;
    height: auto;
    border:2px solid var(--notice-red);
}
#footer div.link-group.notice h2 {
    width: 100%;
    height: auto;
    padding: 8px 20px;
    border-bottom: 2px solid var(--notice-red);

    font-weight: 700;
    color: var(--notice-red);
}
#footer div.link-group.notice ul {
    list-style-type: none;
    display: grid;
    row-gap: 10px;
    text-align: left;
}
#footer div.link-group.notice li {
    display: grid;
}
#footer div.link-group.notice a {
    display: block;
    margin-right: 0;
}
#footer div.link-group.notice a::before {
    display: none;
}
#footer div.link-group.notice a:not(:last-child){
    margin-bottom: 8px;
}
#footer div.link-group .date {
    font-size: 14px;
    font-weight: 700;
}

#footer a.button {
    z-index: 1;
    background-color: #FFA630;
    border: 1px solid #fff;
    margin-top: 50px;
}

#footer a.button:before {
    background-image: url("../img/sp/ic-mail.png")
}

#footer a.logo {
    position: relative;
    display: block;
    z-index: 2;
    width: 115px;
    height: auto;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

#footer a.logo img {
    width: 115px;
    height: auto;
}

/* Tablet ------------------------------------------ */
@media screen and (min-width:768px) {

    a {
        transition: filter 0.3s;
    }

    a:hover {
        filter: brightness(150%);
    }

    a.banner_B:hover {
        filter: brightness(120%);
    }
}

/* PC ------------------------------------------ */
@media screen and (min-width:1024px) {
    body {
        display: block;
        position: relative;
        font-size: 14px;
    }

    a.button {
        font-size: 16px;
        display: block;
        height: 50px;
        width: 180px;
        border-radius: 5px;
        line-height: 50px;
        padding-left: 20px;
        margin-top: 20px;
        position: relative;
        z-index: 5;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    }

    a.button:before {
        height: 23px;
        width: 23px;
        background-image: url("../img/sp/ic-fail-b.png")
    }
    a.txt_link {
        font-size: 16px;
        display: block;
        margin-top: 28px;
        color: #333333;
        position: relative;
        z-index: 5;
    }
    .under {
        text-decoration: underline;
    }
    
    a.banner_B {
        display: block;
        margin-top: 40px;
        position: relative;
        z-index: 10;
    }

    #contents {
        display: flex;
        flex-direction: row;
        position: relative;
    }

    #contents div.content-V,
    #contents div.content-B {
        flex: 1;
    }

    .content-V p,
    .content-B p {
        max-width: 412px;
        min-height: 100px;
        margin-top: 40px;
        position: relative;
        z-index: 5;
    }
    p.txt {
        background-color: rgba(240, 240, 240, .7);
        border-radius: 5px;
        padding: 20px 20px;
        margin-top: 20px;
        max-width: 350px;
        text-indent: -0.5em;
        padding-left: 2em;
    }

    /* v */
    .content-V {
        padding: 35px 2em 35px;
        background-image: url("../img/pc/bg-v.jpg");
        background-position: center;
    }

    #contents div.content-V {
        padding: 110px 0 0;
        height: 100vh;
    }

    .content-V h1 {
        max-width: 260px;
        position: relative;
        z-index: 5;
    }

    /* b */
    .content-B {
        padding: 35px 2em 35px;
        background-image: url("../img/pc/bg-b.jpg");
        background-position: center;
    }

    #contents div.content-B {
        padding: 110px 0 0;
        height: 100vh;
    }

    .content-B h1 {
        max-width: 266px;
        position: relative;
        z-index: 5;
    }

    /* machine */
    div.machine {
        position: absolute;
        top: 32vh;
        right: 0;
        left: 0;
        display: block;
        width: 60%;
        height: auto;
        margin: 0 auto 0;
        background-image: url("../img/pc/machine.png");
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center top;
    }

    div.machine:after {
        content: "";
        display: block;
        padding-top: 61%;
    }

    #footer {
        position: absolute;
        top: 815px;
        right: 0;
        left: 0;
    }

    #footer div.link-group {
        font-size: 16px;
        position: relative;
        z-index: 5;
        background-color: rgba(240, 240, 240, .7);
        border-radius: 5px;
        padding: 20px 40px;
        max-width: 400px;
        height: 100px;
        margin: auto;
    }

    #footer div.link-group h2 {
        height: 16px;
        width: auto;
        margin: 0 auto 20px;
    }

    #footer div.link-group h2 img {
        height: 16px;
        width: auto;
    }

    #footer a.button {
        z-index: 1;
        border: 2px solid #fff;
        margin: 60px auto 0;
    }

    #footer a.logo {
        position: relative;
        display: block;
        z-index: 2;
        width: 115px;
        height: auto;
        margin-top: 30px;
    }

    #footer a.logo img {
        width: 115px;
        height: auto;
    }
}

@media screen and (max-height: 700px) and (orientation: landscape) {
    div.machine {
        display: none;
    }

    #footer {
        position: relative;
    }

    #footer div.link-group {
        margin-top: 40px
    }
}
