@charset "utf-8";

html,body{
    width: 100%;
    min-width: 320px;
    font-size: 16px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    color: #ffffff;
    background-color: #404040;
    position: relative;
}

header{
    width: 100%;
    border-bottom: 1px solid #fff;
}

.header-wrap{
    width: 100%;
    height: 72px;
    padding: 0 9px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.logo-wrap{
    padding: 6px 0;
}

.logo{
    height: 60px;
}

.logo img{
    display: block;
    height: 60px;
}

.back{
    width: 36px;
    height: 48px;
    padding-top: 6px;
}

.back a{
    display: block;
    text-align: center;
}

.back img{
    display: block;
    width: 90%;
}

.back a span{
    display: none;
}


.first-view{
    max-width: 1200px;
    background-image: url(../img/school1.png);
    background-clip: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0;
    margin: 0 auto;
}

.filter{
    width: 100%;
    background-color: #222222bb;
    padding: 60px 18px;
}

.title h1{
    font-size: 24px;
    text-align: center;
}

.title h1 span{
    font-size: 54px;
    color: #D82121;
    text-shadow: #333 0 0 2px, #333 0 0 6px;
    font-weight: 500;
}

.title p{
    margin-top: 60px;
    font-size: 18px;
    text-align: center;
}

.point{
    padding: 60px 0;
}

.point h2{
    font-size: 24px;
    text-align: center;
}

.point ul{
    width: 210px;
    margin: 0 auto;
    padding: 1em 0;
}

.point li{
    list-style-type: "▸";
    padding-left: 0.5em;
    margin-bottom: 0.5em;
}

.description{
    max-width: 1200px;
    background-image: url(../img/school2.png);
    background-clip: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0;
    margin: 0 auto;
    border-top: 1px solid #111;
}

.about h2{
    font-size: 24px;
}

.about span{
    display: inline-block;
}

.cards{
    display: flex;
    flex-flow: row wrap;
    padding: 30px 0;
    gap: 18px;
}

.card{
    flex: 1 1 300px;
    padding: 18px;
    border-radius: 6px;
    background-color: rgba(180,180,180,0.2);
}

.card h3{
    font-weight: 500;
    font-size: 18px;
    margin: 1em 0;
}

.icon{
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background-color: #FFBC8F;
    text-align: center;
}

.icon img{
    display: inline-block;
    height: 54px;
    margin-top: 3px;
    line-height: 60px;
}

.skill .icon img{
    height: 48px;
    margin-top: 6px;
}

.reason, .inquiry{
    margin-top: 60px;
}

.reason h2, .inquiry h2{
    font-size: 21px;
    margin-bottom: 18px;
}

.reason h2::before, .inquiry h2::before{
    content: "▼";
    display: inline-block;
    margin-right: 0.5em;
}

.inquiry a{
    display: block;
    width: 210px;
    height: 48px;
    border-radius: 6px;
    background-color: #005d24;
    font-size: 18px;
    line-height: 42px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 18px 0;
    box-sizing: border-box;
}


@media screen and (min-width: 834px){
    header{
        margin-bottom: 60px;
    }

    .header-wrap{
        height: 90px;
    }

    .logo-wrap{
        padding: 12px 0 0 0;
    }

    .logo{
        height: 78px;
    }

    .logo img{
        display: block;
        height: 78px;
    }

    .back{
        width: auto;
        height: 90px;
        padding: 30px 0;
    }

    .back img{
        display: none;
    }

    .back a{
        font-size: 18px;
        line-height: 2;
        padding: 0 0.5em;
    }

    .back a span{
        display: inline;
    }

    .first-view{
        background-size: auto 100%;
        background-position: right;
        padding: 0;
        margin: 0 auto;
    }

    .filter{
        width: 60%;
        background-color: #404040;
        padding: 0 42px 0 18px;
    }

    .title h1{
        font-size: 36px;
        text-align: left;
    }

    .title h1 span{
        font-size: 60px;
    }

    .title p{
        font-size: 24px;
        text-align: left;
    }

    .point{
        padding: 90px 0;
    }

    .point h2{
        font-size: 30px;
        text-align: left;
    }

    .point ul{
        width: auto;
        margin: 0 auto 0 0;
        padding: 2em 0 0 2em;
    }

    .point li{
        font-size: 21px;
    }

    .description{
        background-size: auto 100%;
        background-position: left -10% center;
        margin-top: 90px;
        border-top: none;
        margin-bottom: 60px;
    }

    .description .filter{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        margin: 0 0 0 auto;
        padding: 0 12px 0 48px;
    }

    .about{
        width: 100%;
    }

    .about h2{
        font-size: 30px;
    }

    .card h3{
        font-size: 21px;
        margin: 0.75em 0;
    }

    .reason{
        flex: 1 1 300px;
        margin-top: 30px;
        margin-right: 30px;
    }

    .inquiry{
        flex: 1 1 300px;
        margin-top: 30px;
    }

}

@media screen and (min-width: 1320px){

    .header-wrap{
        padding: 0 60px;
    }

    .title h1{
        font-size: 42px;
    }

    .title h1 span{
        font-size: 72px;
    }

    .title p{
        font-size: 30px;
        text-align: left;
    }

}