@charset "utf-8";

html{
    font-family:'Noto Sans JP',sans-serif;
    color: #333333;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.u-wrapper{
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 100px;
}

/* header */
.header{
    display: flex;
    justify-content: space-between;
    background-color: #188888;
    color: #ffffff;
    width: 100%;
    padding: 38px 0;
}

.header_title{
    font-size: 24px;
    font-weight: bold;
}

.header_inner{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_navList{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.header_navItem a{
    color: #ffffff;
}

.header_navItem a:hover{
    text-decoration: underline;
}

/* firstView */
.firstView{
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../image/FV.png') no-repeat center/cover;
    width: 100%;
    height: 500px;
}

.firstView_title{
    margin: 0;
    padding: 8px 32px;
    font-size: 40px;
    font-weight: bold;
    background-color: #ffffff;
}

/* section */
section{
    display: block;
}

.u-sectionTitle{
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 4px;
}

.u-sectionSubtitle{
    text-align: center;
    font-size: 18px;
    margin-bottom: 64px;
}

/* course */
.course{
    padding: 80px 0;
}

.course_cards{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.course_card{
    background: #ffffff;
    filter: drop-shadow(0 4px 15px rgba(51,51,51,0.25));
}

.course_cardImage{
    width: 100%;
    height: auto;
}

.course_cardTitle{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;

}

.course_cardText{
    font-size: 16px;
}

.course_textBox{
    padding: 24px;
}

/* news */
.news{
    background-color: #F1F8F8;
    padding: 80px 0;
}

.news_list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 64px;
}

.news_item{
    background: #ffffff;
    display: flex;
}

.news_date{
    text-align: center;
    background-color: #188888;
    color: #ffffff;
    padding: 24px 0;
    width: 22%;
}

.news_description{
    margin: 0;
    width: 78%;
    padding: 24px 50px 24px 24px;
}

.u-button{
    display: block;
    background: #EC8812;
    color: #ffffff;
    padding: 16px 64px;
    margin: 0 auto;
    font-size: 20px;
    cursor: pointer;
}

/* contact */
.contact{
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact_form{
    display: flex;
    flex-direction: column;
}

label{
    cursor: pointer;
}

.contact_label{
    margin-bottom: 12px;
}

.contact_input,.contact_textarea{
    border: solid 1px #c4c4c4;
    padding: 10px;
    margin-bottom: 32px;
    font-size: 16px;
}

.contact_textarea{
    min-height: 160px;
}

.contact_button{
    margin-top: 64px;
}

.footer{
    background: #188888;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    padding: 30px 0;
}

@media screen and (max-width:768px){
    .u-wrapper{
        padding: 0 20px;
    }

    .u-sectionSubtitle{
        margin-bottom: 40px;
    }

    .header{
        padding: 16px;
    }

    .header_title{
        margin-bottom: 10px;
    }

    .header_inner{
        flex-direction: column;
    }

    .firstView{
        height: 540px;
    }

    .firstView_title{
        font-size: 32px;
    }

    .course{
        padding: 64px 0;
    }

    .course_cards{
        flex-direction: column;
    }

    .news{
        padding: 64px 0;
    }

    .news_list{
        gap: 32px;
    }

    .news_item{
        flex-direction: column;
    }

    .news_date{
        width: 100%;
        padding: 12px 16px;
    }

    .news_description{
        width: 100%;
        padding: 12px 16px;
    }

    .contact{
        padding: 64px 30px;
    }

    .contact_button{
    margin-top: 40px;
}

}