body{
    box-sizing: border-box;
    margin: 0;
    font-family: sans-serif;
}

body ul{
    list-style-type: none;
}

header{
    width:100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #DF8543;
    box-sizing: border-box;
    color: white;
}

header p{
    font-size: 25px;
    font-weight: bold;
}

header div ul{
    display: flex;
    gap: 30px;
}

.header_button{
    color: white;
    text-decoration: none;
}

#semi_main{
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    background-color: rgb(237, 226, 212);
}

#teacher{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

#text_box{
    border: solid 1px black;
    border-radius: 35px;
    background-color: rgb(115, 160, 145);
}

#text_box_i{
    border: solid 1px black;
    border-radius: 35px;
    background-color: rgb(115, 160, 145);
}

#text_box h2{
    padding: 15px;
    padding-left: 40px;
    padding-right: 40px;
    line-height: 0px;
}

#text_box_i h2{
    padding: 15px;
    padding-left: 40px;
    padding-right: 40px;
    line-height: 0px;
}

#t_main{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:60px;
}

#t_img{
    width: 30%;
}

.circle_width{
    width: 100%;
    border: 3px solid gray;
    border-radius: 50%;
    background-color: gray;
    background-image: url(image/T_pic.jpg);
    background-size: cover;
    background-position: center;
}

.circle_height{
    position: relative;
    padding-top: 100%;
}

#t_text{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

#t_text h3{
    font-size: 30px;
}

.t_t_t{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap:50px;
}

.nowrap {
    white-space: nowrap;
}

#student{
    width: 100%;
    display: flex;
    flex-direction: column;
}

#s_title{
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#s_title h3{
    border-bottom: solid 5px rgb(115, 160, 145);
}


#img_li{
    width: 100%;
}

#img_li ul{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0px;
}



.box_width{
    width: 400px;
    background-color: #DF8543;
    border-radius: 10px;
}

.box_height{
    position: relative;
    padding-top: 40%;
}

.box_height p{
    width: 90%;
    position: absolute;
    top:0px;
    left:27px;
    color: white;
}

.box_width_02{
    width: 400px;
    background-color: #9D2503;
    border-radius: 10px;
    color: white;
}

.box_height_02{
    position: relative;
    padding-top: 40%;
}

.box_height_02 p{
    width: 90%;
    position: absolute;
    top:0px;
    left:27px;
}

#ivent{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

#i_title{
    width: 100%;
    display: flex;
    justify-content: center;

}

#i_main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px;
    gap:50px;
}

.img_width{
    width: 600px;
    background-color: azure;
}

#img_1{
    background-image: url(image/konshinkai.JPG);
    background-size: cover;
}

#img_2{
    background-image: url(image/zemi_pic.jpg);
    background-size: cover;
}

#img_3{
    background-image: url(image/aiti_pic.jpg);
    background-size: cover;
}

#img_4{
    background-image: url(image/ceatec_pic.jpg);
    background-size: cover;
}

.img_height{
    height: 400px;
}

.p_width{
    width: 600px;
}

#content{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

#c_title{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#zindex{
    z-index: 1;
}

#p_box{
    margin-top: -30px;
    border: solid 1px black;
    border-radius: 5px;
    background-color: aqua;
    display: flex;
    height: fit-content;
    width: 100%;
    top:40px;
    padding: 50px;
    box-sizing: border-box;
    background-color: white;
}

footer {
    width:100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding:10px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #DF8543;
    box-sizing: border-box;
    color: white;
}

footer ul {
    height: 120px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
}

.button{
    background-color: chocolate;
    border: solid 6px chocolate;
    border-radius: 5px;
}

.button a{
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 500px) {
    header{
        width:100%;
        height:100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding:50px;
        padding-top: 0px;
        margin-top: 0px;
        background-color: #DF8543;
        box-sizing: border-box;
        color: white;
    }

    header div ul{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 10px;
        box-sizing: border-box;
    }


    #t_main{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap:60px;
    }

    #t_text{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .t_t_t{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap:0px;
    }

    #t_img{
        width: 100%;
    }

    .box_width{
        width: 350px;
        background-color: #DF8543;
        border-radius: 10px;
    }

    .box_width_02{
        width: 350px;
        background-color: #9D2503;
        border-radius: 10px;
    }

    .img_width{
        width: 350px;
        background-color: azure;
    }

    .p_width{
        width: 350px;
    }


    .img_height{
        height: 233px;
    }

    footer {
        width:100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding:50px;
        padding-top: 0px;
        margin-top: 0px;
        background-color: #DF8543;
        box-sizing: border-box;
        color: white;
    }

    footer ul {
        height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        box-sizing: border-box;
        padding: 0px;
    }




}

