@charset "UTF-8";
/* education/indexのスタイル */

/* ===============================================
                spスタイル
=============================================== */
@media screen and (max-width: 768px) {
    .hgroup {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hgroup h3 {
        font-style: italic;
    }
    .hgroup figure {
        width: 70%;
    }
    .hgroup p {
        margin-top: 2rem;
        color: #002D69;
    }
    .wingProgram_flow {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .wingProgram_flow .step {
        width: 80%;
        padding-top: 3rem;
    }
    .wingProgram_flow .step p {
        text-align: left;
    }


    .wingProgram_features {
        width: 80%;
        padding-top: 3rem;
        margin: 0 auto;
    }
    .wingProgram_features h4 {
        width: 100%;
        box-sizing: border-box;
        padding: 0.5rem 1.5rem;
        border: 2px solid #002D69;
        border-radius: 3rem;
        background-color: #fff;
        font-size: 2rem;
        color: #002D69;
        font-style: italic;
        position: relative;
    }
    .wingProgram_features h4:after {
        content: "";
        display: block;
        width: 2px;
        height: 2.5rem;
        background-color: #002D69;
        position: absolute;
        right: 0;
        bottom: -2.4rem;
        left: 0;
        margin: auto;
        z-index: -2;
    }
    .features_wrap {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
        padding-bottom: 1rem;
        margin-top: 2rem;
        border: 2px solid #002D69;
        position: relative;
        z-index: -100;
    }
    .features_wrap:before {
        content: "";
        display: block;
        width: 1.8rem;
        height: 1.2rem;
        background-image: url('../image/fig_wing_arrow_btm.png');
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        position: absolute;
        right: 0;
        bottom: -2.3rem;
        left: 0;
        margin: auto;

    }
    .features_wrap:after {
        content: "";
        display: block;
        width: 2px;
        height: 2.3rem;
        background-color: #002D69;
        position: absolute;
        right: 0;
        bottom: -2.3rem;
        left: 0;
        margin: auto;
        z-index: -2;
    }
    .features_wrap p {
        width: 48%;
        padding: 0;
        margin-top: 1rem;
    }
    .features_wrap p a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0.5rem 1.5rem;
        border: 2px solid #002D69;
        border-radius: 3rem;
        background-color: #fff;
        font-size: 1.5rem;
        color: #002D69;
        position: relative;
    }
    .features_wrap p a:after {
        content: "";
        display: block;
        width: calc( 50% + 2px );
        height: 6.6rem;content: "";
        background-color: #eaf1f9;
        position: absolute;
        z-index: -2;
    }
    .features_wrap p:nth-child(2n-1) a:after {
        border-right: 2px solid #002D69;
        top: 0;
        left: -4px;
        bottom: 0;
        margin: auto;
    }
    .features_wrap p:nth-child(2n) a:after {
        border-left: 2px solid #002D69;
        top: 0;
        right: -4px;
        bottom: 0;
        margin: auto;
    }

    .wingProgram_features picture {
        display: block;
        width: 100%;
        padding: 1rem 0;
        margin: 2rem auto 0;
        border: 2px solid #002D69;
        border-radius: 3rem;
        background-color: #fff;
        overflow: hidden;
    }
    .wingProgram_features figcaption {
        margin-top: 1rem;
        line-height: 1.5;
    }

}



/* ===============================================
                    PCスタイル
=============================================== */
@media screen and (min-width: 769px) {

    .wingProgram_contents {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
    }

    /* コンテンツの見出しグループ */
    .hgroup {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 56px;
    }
    .hgroup_order1 {
        order: 2;
        margin: 52px 0 0;
    }
    .hgroup_order2 { order: 1; }
    .hgroup_order3 {
        order: 3;
        color: #002D69;
        font-style: italic;
    }


    .wingProgram_flow {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
    }
    .wingProgram_flow .step {
        width: 31.5%;
    }
    .wingProgram_flow .step figure,
    .wingProgram_flow .step p {
        margin-top: 15px;
        text-align: left;
    }


    .wingProgram_features {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 90px;
    }
    .wingProgram_features > h4 {
        box-sizing: border-box;
        padding: 0.5rem 2rem;
        border: 1px solid #002D69;
        border-radius: 3rem;
        background-color: #fff;
        font-size: 2rem;
        font-style: italic;
        color: #002D69;
        text-align: center;
        letter-spacing: 0.34rem;
        position: relative;
    }
    .wingProgram_features > h4:after {
        content: "";
        display: block;
        width: 2px;
        height: 31px;
        background-color: #002D69;
        position: absolute;
        right: 0;
        bottom: -31px;
        left: 0;
        margin: auto;
        z-index: -2;
    }
    .features_wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100px;
        margin-top: 30px;
        border: 2px solid #002D69;
        background-color: eaf1f9;
        position: relative;
    }
    .features_wrap:before {
        content: "";
        display: block;
        width: 2px;
        height: 31px;
        background: #002D69;
        position: absolute;
        right: 0;
        bottom: -32px;
        left: 0;
        margin: auto;
        z-index: -2;
    }
    .features_wrap:after {
        content: "";
        display: block;
        width: 18px;
        height: 12px;
        background: url('../image/fig_wing_arrow_btm.png') center bottom no-repeat;
        position: absolute;
        right: 0;
        bottom: -32px;
        left: 0;
        margin: auto;
        z-index: -2;
    }
    .features_wrap p {
        width: 20%;
        min-width: 186px;
        margin: 0;
        position: static;
        z-index: 0;
    }
    .features_wrap P a {
        box-sizing: border-box;
        display: block;
        width: 100%;
        padding: 0.5rem 2rem;
        border: 1px solid #002D69;
        border-radius: 3rem;
        background-color: #fff;
        font-size: 1.5rem;
        color: #002D69;
        text-align: center;
        position: relative;
        transition: .3s;
    }
    .features_wrap P a:hover {
        background-color: #ff9;
        transition: .3s;
    }
    .features_wrap P a:before {
        content: "";
        display: block;
        width: 1rem;
        height: 1.4rem;
        background-image: url('../image/fig_wing_arrow_Rb.png');
        background-position: center center;
        background-attachment: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        right: 1rem;
        bottom: 0;
        margin: auto;
    }
    .features_wrap p:first-child a:after {
        content: "";
        display: block;
        width: calc(50% + 3px);
        height: 100px;
        border-right: 2px solid #002D69;
        background-color: #eaf1f9;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -3px;
        margin: auto;
        z-index: -2;
    }
    .features_wrap p:nth-child(2) a:after,
    .features_wrap p:nth-child(3) a:after {
        content: "";
        display: block;
        width: 2px;
        height: 100px;
        background-color: #002D69;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -2;
    }
    .features_wrap p:last-child a:after {
        content: "";
        display: block;
        width: calc(50% + 3px);
        height: 100px;
        border-left: 2px solid #002D69;
        background-color: #eaf1f9;
        position: absolute;
        top: 0;
        right: -3px;
        bottom: 0;
        margin: auto;
        z-index: -2;
    }


    .wingProgram_features figure {
        margin-top: 30px;
    }
    .wingProgram_features figcaption {
        margin-top: 20px;
        text-align: center;
    }
    .wingProgram_features figcaption span {
        display: block;
        font-weight: bold;
    }

}