@charset "UTF-8";

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

a {
    text-decoration: none;
    color: black;
}

body {
    line-height: 1.7;
}

header {
    text-align: center;
    background-color: rgb(255, 255, 254);
    position: fixed;
    width: 100%;
    z-index: -10px;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

main {
    padding-top: 150px;
}

.main-visua {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/main-vsual-nontitle.png);
    height: 360px;
    text-align: center;
}

.section {
    padding: 0 4%;
}

.section-title {
    text-align: center;
}

.inpuery {
    text-align: center;
}

input {
    display: block;
    margin: 20px auto;
}

.button {
    background-color: brown;
    border: none;
    color: aliceblue;
    padding: 10px;
}

footer {
    text-align: center;
    border-top: 2px solid rgb(218, 210, 210);
}

@media screen and (min-width:768px) {
    header {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    main {
        padding-top: 94px;
    }

    .sp-only {
       display: contents;
    }

    .section {
        padding: 0 10%;
    }

    .about-inner {
        display: flex;
        gap: 32px;
    }

    .about-inner img {
        width: 50%;
    }

    .course-list {
        display: flex;
        gap: 12px;
    }
}