
.about_main_visual {
    background-image: url(../../images/about/submain_bg.webp);
}

.about_main_visual {
    /*width: 100vw;*/
    height: calc(100vw * 1 / 4);
    margin-top: 50px;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin-bottom: 100px;
}
.about_main_visual h1{
    padding-top: 10px;
    font-size: 40px;
    letter-spacing: 5px;
}

.president_message {
    display: flex;
    flex-direction: row;
    text-align: left;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    align-items: center;
    
}
p.msg_head {
    font-size: 30px;
    color: #007AC1;
    font-weight: 800;
    line-height: 1;
    border-bottom: 1px solid #007AC1;
    padding-bottom: 10px;
}
span.post_msg {
    font-weight: 800;
    font-size: 20px;
    color: #000;
}
.about_history {
    margin: 100px auto 50px;
    text-align: center;
}

.about_history img{
    max-width: 620px;
    width: 100%;
}
.gakko_map{
    margin: 100px auto;
}
img.wid_img {
    width: 100%;
}
.gakko_location {
    margin: 100px auto;
}
.gakko_location_link {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    
}
.location_school {
    width: calc(100% / 3 - 10px);
    transition: filter 0.3s ease;
}
.location_school:hover {
    filter: drop-shadow(10px 10px 20px rgba(36, 36, 36, 0.5));
    }
.location_school img{
    width: 100%;
}
.reason_to_choose {
    margin: 100px auto;
}
.reason_to_choose img{
   width: 100%;
}
.reason_to_choose_box_01, .reason_to_choose_box_02, .reason_to_choose_box_03, .reason_to_choose_box_04, .reason_to_choose_box_05{ 
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}


.reason_to_choose_box_txt {
    width: calc(100% / 2);
    justify-items: center;
}
.reason_to_choose_box_img {
    width: calc(100% / 2);
    justify-items: center;
}
.reason_txt{
    display: block;
    margin: auto;
    text-align: center;
    max-width: 370px;
}
.reason_para_title {
    font-weight: 700;
    font-size: 20px;
    text-align: left;
}
.reason_para_title span {
    font-size: 60px;
    font-family: "Noto Sans JP";
    color: #A94247;
    font-weight: 700;
}

.features {
    display: flex;
    text-align: left;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    justify-content: center;
    gap: 30px;
}
.features_img {
    max-height: 100px;
    height: 100%;
    max-width: 500px;
    width: 100%;
    margin: 0 5px;
    gap: 2px;
}

.features_img img{
   width: 100%;
}
.features_text {
    width: calc(100% / 2);
    /* border: 1px solid #3483aa; */
    padding: 30px 10px;
}
.fearures_text_title {
    background: #3483aa;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-weight: 600;
    margin: 0 auto 15px;
    font-size: 110%;
}

/*スマホ*/


@media screen and (max-width: 832px) {
    .about_main_visual{
       height: calc(100vh * 1 / 3);
    }
    .about_main_visual h1{
        font-size: 25px;
    }
    .president_message{
        flex-wrap: wrap;
    }
    .president_message img{
        width: 70%;
    }
    .reason_to_choose_box_01, .reason_to_choose_box_02, .reason_to_choose_box_03, .reason_to_choose_box_04, .reason_to_choose_box_05{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 50px auto;
    }
    .reason_to_choose_box_02, .reason_to_choose_box_04{
        flex-direction: column-reverse;
    }
    .reason_to_choose_box_txt{
        width: 100%;
         justify-items: normal;
    }
    .reason_to_choose_box_img {
        width: 100%;
        justify-items: center;
}
    .features {
    display: block;
}
    .features_img {
    max-width: max-content;
    max-height: max-content;
}
    .features_text {
    width: 100%;
    padding: 30px 0;
}
    .gakko_location_link {
    display: block;
}
    .location_school {
    width: 100%;
}
}









