/* =====================================================
共通
===================================================== */

/* 全体共通 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 横スクロール防止 */
html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif;
    background: #000;
    color: #fff;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}


/* =====================================================
教育制度
===================================================== */

/* -------------------------
教育制度セクション全体
------------------------- */
.educationsystem {
    padding: 75px 15px 50px;
}

@media screen and (min-width:480px) {
    .educationsystem {
        padding: 125px 20px 50px;
    }
}

@media screen and (min-width:1025px) {
    .educationsystem {
        padding-left: 0;
        padding-right: 0;
    }
}

.educationsystem-wrap {
    max-width: 1032px;
    margin: 0 auto;
}

/* -------------------------
セクション見出し
------------------------- */
.section-heading {
    margin: 0 auto;
    padding-bottom: 20px;
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 10px;
}

.section-title span {
    display: inline-block;
    margin-top: 4px;
    margin-right: .35em;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, .75);
}

/* -------------------------
画像
------------------------- */
.educationsystem-image {
    padding-bottom: 30px;
}

.educationsystem-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* -------------------------
テキスト
------------------------- */
.educationsystem-text {
    margin: 0 auto;
    padding: 20px 0 50px;
    color: #fff;
    line-height: 2.5em;
}

@media screen and (min-width:480px) {
    .educationsystem-text {
        padding-bottom: 80px;
    }
}

@media screen and (min-width:641px) {
    .educationsystem-text {
        padding-bottom: 100px;
    }
}

@media screen and (min-width:1025px) {
    .educationsystem-text {
        padding-bottom: 130px;
    }
}

.educationsystem-text p {
    max-width: 690px;
    margin: 0 auto;
    font-size: 15px;
    text-align: left;
}

/* -------------------------
詳しく見る→
------------------------- */
.saiyou {
    position: relative;
}

.saiyou img {
    display: block;
    width: 100%;
    height: auto;
}

.saiyou-text {
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

@media screen and (min-width:480px) {
    .saiyou-text {
        top: 8%;
        bottom: 8%;
    }
}

@media screen and (min-width:641px) {
    .saiyou-text {
        top: 10%;
        bottom: 10%;
    }
}

.saiyou-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
}

@media screen and (min-width:480px) {
    .saiyou-text p {
        font-size: 20px;
    }
}

@media screen and (min-width:641px) {
    .saiyou-text p {
        font-size: 25px;
    }
}

.saiyou-text a {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 15px;
    border: 1px solid #fff;
    transition: .3s;
}

@media screen and (min-width:480px) {
    .saiyou-text a {
        margin-top: 10px;
    }
}

@media screen and (min-width:641px) {
    .saiyou-text a {
        margin-top: 15px;
    }
}

.saiyou-text a:hover {
    background: #fff;
    color: #000;
}