@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

img {
    vertical-align: bottom;
    width: 100%;
}

a {
    text-decoration: none;
}

body {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.switch_pc {
    display: none;
}

section {
    padding: 30px 0%;
}

.container {
    position: relative;
}

.container .inner {
    background: url(../images/bg_gold.png) repeat-y;
    background-size: 100%;
    padding-bottom: 60px;
}

header {
    background-color: rgba(9, 0, 0, 0.52);
    position: absolute;
}

h1 {
    width: 100%;
    padding: 12px 10%;
    font-size: 16px;
}

.x-link_sp {
    padding: 6px 4%;
}

.youtube {
    background-color: #191919;
    /* 以下YouTube用 */
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    /* 以下YouTube用 */
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

.video-inner::before {
    display: block;
    content: "";
    width: 90%;
    height: 14vw;
    margin: 0 auto 6px;
    background: url(../images/movie-over.png) no-repeat;
    background-size: contain;
}

.video-inner::after {
    display: block;
    content: "";
    width: 90%;
    height: 14vw;
    margin: 0 auto;
    background: url(../images/movie-under.png) no-repeat;
    background-size: contain;
}

/* .video video {
    width: 100%;
    height: auto;
    vertical-align: bottom;
} */

.come {
    margin-top: 4px;
    font-size: 10px;
    text-align: center;
}

.quiz {
    background: #2e683a;
    background: linear-gradient(180deg, rgba(46, 104, 58, 1) 0%, rgba(100, 170, 68, 1) 100%);
}

.quiz .inner {
    padding: 0px 4% 20px;
    position: relative;
    top: -20px;
}

.apply {
    background: #801c1f;
    background: linear-gradient(90deg, rgba(128, 28, 31, 1) 0%, rgba(200, 59, 24, 1) 50%, rgba(128, 28, 31, 1) 100%);
}

.apply .inner {
    padding: 30px 4%;
}

.sos {
    position: relative;
}

.link {
    padding: 30px 0 0;
}

.link-mhlw {
    position: absolute;
    bottom: 4vw;
    right: 8vw;
    width: 20vw;
}

.link h3 {
    height: 34px;
    background-color: #2e683a;
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    padding-top: 10px;
}

.link h3 img {
    width: 268px;
    vertical-align: top;
}

.link-kagawa {
    padding: 24px 8%;
}

.link-kagawa li {
    text-align: center;
    margin-bottom: 16px;
}

.link-kagawa li span {
    display: inline-block;
    padding-top: 6px;
    font-size: 11px;
    font-weight: 500;
}

.kiyaku {
    padding: 0 0 30px;
}

.kiyaku h3 {
    height: 34px;
    background-color: #808080;
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    padding-top: 10px;
}

.kiyaku h3 img {
    width: 174px;
    vertical-align: top;
}

.kiyaku-text {
    margin: 24px 8%;
    padding: 12px;
    height: 312px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #000;
    font-size: 12px;
}

.kiyaku-text p {
    margin-bottom: 1.5em;
}

.kiyaku-text .right {
    text-align: right;
}

footer {
    background-color: #2e683a;
    padding: 12px 10%;
    text-align: center;
}

@media screen and (min-width: 600px) {
    .switch_sp {
        display: none;
    }

    .switch_pc {
        display: block;
    }

    section {
        padding: 50px 1%;
    }

    .inner {
        width: 100%;
        margin: 0 auto;
    }

    .inner,
    header {
        max-width: 1200px;
    }

    .container {
        background: url(../images/bg_header.jpg) no-repeat;
        background-size: cover;
    }

    .container .inner {
        background: url(../images/bg_gold_pc.png) repeat-y;
        background-size: 100%;
        padding-bottom: 90px;
    }

    header {
        width: 100%;
        height: 6vw;
        max-height: 80px;
    }

    h1 {
        width: 38%;
        max-width: 390px;
        padding: 1.4vw 0 0 28px;
    }

    .x-link {
        text-align: center;
        margin-left: 80px;
        padding: 0px 4% 20px;
    }

    .x-link img {
        width: 360px;
    }

    .video {
        width: 70%;
        margin: 0 auto;
        padding: 37px;
        background: #fff200;
        border: 3px solid #080504;
        border-radius: 28px;
    }

    .video-inner {
        max-width: 1200px;
        position: relative;
    }

    .video-inner::before {
        display: inline-block;
        content: "";
        width: 8%;
        height: 125%;
        background: url(../images/movie-side01.png) no-repeat;
        background-size: contain;
        position: absolute;
        top: -6%;
        left: 4%;
        margin: 0;
    }

    .video-inner::after {
        display: inline-block;
        content: "";
        width: 8%;
        height: 125%;
        background: url(../images/movie-side02.png) no-repeat;
        background-size: contain;
        position: absolute;
        top: -6%;
        right: 4%;
        margin: 0;
    }

    .come {
        margin-right: 19%;
        float: right;
        font-size: 13px;
        font-weight: bold;
    }

    .quiz .inner {
        padding: 0px 4%;
        top: -36px;
    }

    .apply .switch_pc {
        width: 75%;
        margin: 0 auto;
    }

    .no-sos {
        padding: 0;
    }

    .sos .switch_pc h3 {
        background-color: #3f6eb4;
    }

    .sos .switch_pc h3 .inner {
        width: 75%;
        max-width: 940px;
        padding: 24px 0 16px;
    }

    .sos .switch_pc .sos-contents {
        background-color: #9fc238;
    }

    .sos .switch_pc .sos-contents .inner {
        padding: 40px 0;
        position: relative;
    }

    .link {
        padding: 50px 0 10px;
    }

    .link .switch_pc {
        display: inline-block;
    }

    .link-mhlw {
        bottom: 40px;
        right: 2px;
        width: 9%;
        max-width: 128px;
    }

    .link h3 {
        height: 50px;
        padding-top: 14px;
    }

    .link h3 img {
        width: 400px;
    }

    .link-kagawa {
        display: flex;
        justify-content: space-between;
        padding: 38px 1%;
    }

    .link-kagawa li {
        width: 48%;
    }

    .kiyaku {
        padding: 0 0 50px;
    }

    .kiyaku h3 {
        height: 50px;
        padding-top: 14px;
    }

    .kiyaku h3 img {
        width: 260px;
    }

    .kiyaku-text {
        width: 80%;
        height: 640px;
        max-width: 920px;
        margin: 54px auto 0;
        padding: 24px 48px;
        line-height: 1.8;
    }

    footer img {
        width: 360px;
    }
}