@charset "UTF-8";

/* 背景画像 */
.wrapper {
    background: url(../img/information_bg.png) repeat-x 50% 300px;
    background-size: 1880px 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;
} */

/* STEP */
.step {
    width: 500px;
    height: 110px;
    margin: 0 auto 30px;
    border: 3px solid #396398;
    border-radius: 10px;
    display: flex;
    padding: 20px;
    color: #333333;
    font-weight: bold;
    background: #ffffff;
}

.step > * {
    height: 100%;
}

.num {
    width: 125px;
    border-right: 5px solid #396398;
    text-align: center;
    font-size: 2em;
    padding-top: 5px;
}

.num > span {
    display: block;
    font-size: 0.5em;
    margin-bottom: 10px;
}

.label {
    font-size: 1.8em;
    padding: 20px 0 20px 60px;
    line-height: 1;
}

/* → */
.arrow {
    width: 100%;
    text-align: center;
    margin: 0 auto 30px;
    font-size: 2em;
    color: #396398;
}

/* 付帯情報 */
.flow-content {
    margin-left: 230px;
    /* margin-bottom: 50px; */
}

/* タブの設定 */
.tab {
    display: flex;
    width: 100%;
    padding: 0 45px;
    border-bottom: 1px solid #ff4400;
    justify-content: space-between;
    margin: 60px auto 70px;
}

.tab > a {
    width: 290px;
    text-align: center;
    background: #ffffff;
    color: #ff4400;
    text-decoration: none;
    padding: 13px 0;
    border: 1px solid #ff4400;
    border-bottom-width: 0;
    flex-grow: 2;
}
.tab > a:nth-child(even) {
    border-width: 1px 0 0 0;
}
.tab > a.active {
    background: linear-gradient(to right, #e6003a, #f39702);
    color: #ffffff;
}
.tab > a:hover {
    background: #F39C00;
    color: #ffffff;
}

/* インフォメーションの section アニメーション */
section {
    opacity: 0;
}

section.fadeIn {
    opacity: 1;

    animation: fadein 300ms ease-in 0ms;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

/** --------------------------------
* タブレット
*/
.wrapper.tablet .step {
    margin: 0 auto 30px;
}

.wrapper.tablet .arrow {
    margin: 0 auto 30px;
}

.wrapper.tablet .flow-content {
    margin-left: 0;
    margin-bottom: 50px;
}

.wrapper.tablet h2 {
    margin: 0 auto 50px;
}

.wrapper.tablet .tab {
    margin: 60px auto 70px;
}

/** --------------------------------
* 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%;
    } */

    /* STEP */
    .step {
        width: 100%;
        height: 90px;
        margin: 0 auto 30px;
        /* border: 3px solid #396398;
        border-radius: 10px;
        display: flex; */
        padding: 10px;
        /* color: #333333;
        font-weight: bold; */
    }

    .step > * {
        height: 100%;
    }

    .num {
        width: 100px;
        /* border-right: 5px solid #396398; */
        /* text-align: center; */
        font-size: 2em;
        padding-top: 5px;
    }

    .num > span {
        display: block;
        font-size: 0.5em;
        margin-bottom: 10px;
    }

    .label {
        font-size: 1.4em;
        padding: 20px 0 20px 0;
        /* line-height: 1; */
        text-align: center;
        margin: auto;
    }

    .flow-content {
        margin-left: 0;
        /* margin-bottom: 50px; */
    }

    /* タブの設定 */
    .tab {
        /* display: flex;
        width: 100%; */
        font-size: 0.9em;
        padding: 0 10px;
        vertical-align: baseline;
        /* border-bottom: 1px solid #ff4400;
        justify-content: space-between; */
        margin: 30px auto 40px;
    }
}