body{
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}

img{
    width: 100%;
    height: auto;
}

a{
    text-decoration: none;
    color: black;
}

a:hover{
    opacity: 0.7;
}

.container{
    width: 90%;
    max-width: 980px;
    margin: auto;
}

.clear::after{
    content:"";
    clear: both;
    display: block;
}

/*=========================
header
===========================*/

header {
    background-color: rgb(255, 211, 117);
    padding: 20px 20px;
}

.header-left{
    float: left;
}

.header-right{
    float: right;
}

.header-title {
    font-weight: bold;
    font-size: 24px;
  }


.header-nav-item{
    float: left;
    margin-left: 50px;
}

.header-nav-item a {
    font-size: 20px;
    font-weight: 500;
    line-height: 36px;
}

/*=========================
top
===========================*/

.top{
    background-image: url(../img/hondana.jpg);
    background-color:rgba(252, 251, 227, 0.63);
    background-blend-mode:lighten;
    background-size: cover;
    padding: 80px;
}

.top-title{
    color: black;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.top-subtitle{
    font-size: 20px;
    text-align: center;
    padding: 20px;
}


/*=========================
section 共通class
==========================*/
.section{
    padding: 60px 0;
}

.section-title{
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;

}

/*=========================
about
==========================*/

.about-left{
    float: left;
    width: 40%;
}

.about-right{
    padding: 30px 10px;
    float: right;
    width: 50%;
    font-size: 20px;
}

/*=========================
course
==========================*/

.course{
    background-color: #f7f8b2;
}

.course-wrapper{
    display: flex;
    justify-content: space-between;
}

.course-item{
    width: 30%;
}

.course-item-title{
    text-align: center;
    font-size: 18px;
}



/*=========================
contact
==========================*/

.contact-message{
    text-align: center;
    margin-bottom: 20px;

}

input[type="text"]{
    width: 600px;
    border: 3px solid #d8d8d8;
    font-size: 18px;
    display: block;
    margin: auto;
    padding: 15px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.btn{
    padding: 20px 60px;
    display: inline-block;
    background-color: #082b48;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
}

.btn:hover{
    opacity: 0.7;
    cursor: pointer;
}

.btn-register{
    background-color: #ec6d64;
    display: block;
    margin: auto;
}



/*=========================
footer
==========================*/

.footer{
    background-color: #082b48;
    color: #fff;
    padding: 20px 0;
}

.copyright{
    font-size: 12px;
    float: right;
}

/*=========================
スマホ用の表示
==========================*/

@media only screen and (max-width: 767px){
    .clear::after{
        content: none;
    }

    /*=========================
     headerのcss
    ==========================*/
    header{
        padding: 20px 0 15px;
    }
    .header-left{
        float: none;
    }
    .header-title{
        text-align: center;
    }
    .header-right{
        float: none;
    }
    .header-nav{
        display: flex;
        justify-content: space-around;
    }

    .header-nav-item{
        float: none;
        margin: 0;
    }


    /*=========================
     topのcss
    ==========================*/

    .top{
        padding: 120px 0;
    }

    .top-title{
        font-size: 32px;
    }

    .top-subtitle{
        font-size: 14px;
    }

    /*=========================
    section 共通class
    ==========================*/
    .section{
        padding: 80px 0;
    }

    .section-title{
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 40px;
    }

    .section p{
        font-size: 18px;
    }
    
    /*=========================
     aboutのcss
    ==========================*/

    .about-left{
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .about-right{
        float: none;
        width: 100%;
    }

    /*=========================
     courseのcss
    ==========================*/

    .course-wrapper{
        flex-wrap: wrap;
    }

    .course-item{
        width: 100%;
        margin-bottom: 20px;
    }

    /*=========================
     contactのcss
    ==========================*/

    input[type="email"]{
        width: 100%;
    }


    /*=========================
     footerのcss
    ==========================*/
    .copyright{
        font-size: 10px;
        float: none;
        text-align: center;
    }
}