@charset "UTF-8";

/*******************************

学園の歴史Css

*******************************/

/*-----------------------------
common
-----------------------------*/

.contents section {
    margin-bottom: 80px;
    overflow: hidden;
    text-align: left;
}

.contents .txt-wrap {
    width: 66%;
    float: left;
}

.contents .txt-wrap h3 {
    font-size: 26px;
    font-weight: bold;
}

.contents .txt-wrap ul {
    position: relative;
    margin-left: 15px;
    padding-bottom: 30px;
    margin-left: 5%;
}

.contents .txt-wrap ul:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    border-left: 2px dotted #77b574;
}


.contents .txt-wrap li {
    margin-bottom: 15px;
}

.contents .txt-wrap dl {
    display: table;
}

.contents .txt-wrap dt {
    color: #77b574;
    display: table-cell;
    min-width: 160px;
    padding-right: 1em;
    white-space: nowrap;
}

.contents .txt-wrap dt:before {
    content: "\f111";
    font-family: FontAwesome;
    padding-right: 15px;
    margin: 0 0 0 -5px;
}

.contents .txt-wrap dd {
    display: table-cell;
}

.contents figure {
    margin: 0;
    float: right;
    width: 30%;
}

.contents figcaption {
    margin-top: 10px;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.contents figcaption:before {
    position: absolute;
    content: "\f0d8";
    display: inline-block;
    vertical-align: middle;
    font-family: FontAwesome;
    color: #e68e68;
    font-size: 20px;
    left: 0;
}


/*==== mobile スマフォ横〜用css ===*/

@media screen and (max-width: 896px) {

    .contents .txt-wrap dl {
        display: block;
    }

    .contents .txt-wrap dt {
        display: block;
        padding-right: 0;
    }

    .contents .txt-wrap dd {
        display: block;
        padding-left: 25px;
    }

}

/*==== mobile スマフォ縦用css ===*/

@media screen and (max-width: 480px) {
    .contents section {
        margin-bottom: 40px;
    }

    .contents .txt-wrap {
        width: 100%;
        float: none;
    }

    .contents figure {
        width: 100%;
        max-width: 296px;
        float: none;
        margin: 30px auto 0;
    }

}
