@charset "UTF-8";

/* 背景画像 */
.wrapper {
    background: url(../../img/index_bg.png) no-repeat 50% 300px;
    /* background-size: 2880px auto ; */
}

main {
    padding: 0 20px 20px;
}

/* 2段組拡張 */
.flex-columns.ex {
    justify-content: space-between;
    margin-bottom: 30px;
}
.flex-columns.ex > figure {
    position: relative;
}

.flex-columns.ex > figure p {
    width: 480px;
    /* padding-right: 30px; */
}

/* PCレイアウト用イメージ */
.pc-img {
    position: absolute;
    top: 0;
    left: -100px;
}

/* コンテンツ部分 */
.document {
    width: 420px;
}

/* ボタン */
.btn-typ-c {
    width: 350px;
    margin:40px 0 30px 0;
}

/** --------------------------------
* タブレット
*/
.wrapper.tablet .flex-columns.ex {
    margin-bottom: 30px;
}
.wrapper.tablet .flex-columns.ex > figure {
    width: 50%;
}

.wrapper.tablet .flex-columns.ex > figure p {
    width: 100%;
    padding-right: 40px;
}

.wrapper.tablet .pc-img {
    position: static;
    width: 90%;
    height: inherit;
}
/* コンテンツ部分 */
.wrapper.tablet .document {
    width: 50%;
}

/** --------------------------------
* sp
*/
@media screen and (max-width: 767px) {

    /* 背景画像 */
    /* .wrapper.message {
        background: url(../../img/bg.png) repeat-y 50% 6em;
        background-size: 300% auto;
    } */

    /* 2段組拡張 */
    .flex-columns.ex {
        width: 100%;
        flex-direction: column;
    }

    .flex-columns.ex > figure img {
        width: 100%;
        height: inherit;
    }

    /* PCレイアウト用イメージ */
    .pc-img {
        /* display: none; */
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: inherit;
        display: block;
        margin: 0 auto 30px;
    }

    /* コンテンツ部分 */
    .document {
        width: 100%;
    }

    .flex-columns.ex > figure p {
        width: 100%;
        padding-right: 0;
    }

    /* ボタン */
    .btn-typ-c {
        width: 100%;
        margin:30px 0 30px;
    }
}