@charset "UTF-8";

/* 背景画像 */
/* .wrapper.message {
    background: url(../../img/bg.png) repeat 50% 100px;
    background-size: 2880px auto ;
} */

main {
    padding: 0 20px 20px;
}

.top-img-type-a > img {
    background: url(../img/message_fig1.png) no-repeat center top, url(../img/message_bg.png) no-repeat center top;
    background-size: auto auto, auto auto;
}

/* 図 */
.svg1, .svg2 {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.svg2 {
    margin-bottom: 90px;
}

/* カラム：内定者研修, 新入社員研修 */
.flex-columns.cards {
    justify-content: space-between;
}

.card {
    width: 460px;
    padding: 30px 40px;
    border: 1px solid #cccccc;
}

.midashi {
    /* height: 2.5em; */
    /* line-height: 2.5; */
    font-size: 1.8em;
    padding: 10px;
    /* font-weight: bold; */
    background: #FFE9E0;
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
}

/** --------------------------------
* タブレット
*/
.tablet .svg1, .tablet .svg2 {
    padding-bottom: 50px;
} 

.tablet .svg1 > svg, .tablet .svg2 > svg {
    width: 100%;
    height: inherit;
}

.tablet .flex-columns.cards > * {
    width: 48%;
    /* position: relative; */
}

.tablet .flex-columns.cards img {
    width: 100%;
    /* position: relative;
    bottom: 0; */
}

/** --------------------------------
* sp
*/
@media screen and (max-width: 767px) {

    /* 背景画像 */
    /* .wrapper.message {
        background: url(../../img/bg.png) repeat-y 50% 6em;
        background-size: 300% auto;
    } */

    .top-img-type-a > img {
        background-size: auto 100%, 100% 100%;
    }

    /* 図 */
    .svg1 > *, .svg2 > * {
        width: 100%;
        height: inherit;
    }


    .svg2 {
        margin-bottom: 50px;
    }

    .card {
        width: 100%;
        padding: 15px 20px;
    }

    .card img {
        width: 100%;
        height: inherit;
    }

    .card:first-child {
        margin-bottom: 20px;
    }

    .flex-columns.cards {
        flex-direction: column;
        justify-content: inherit;
    }

    /* 囲み */
    .midashi {
        font-size: 1.3em;
        padding: 10px;
    }
    
}