@charset "UTF-8";

/*-------------------
    共通部分
 -------------------*/
body {
    font-family: Meiryo, 'メイリオ', sans-serif;
    line-height: 1.5;
    color: #374734;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: auto;
}

a {
    text-decoration: none;
    color: #374734;
}

a:hover {
    color: #658361;
}

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


/*-------------------
    header
 -------------------*/
header {
    background: #f8fae4;
    border-top: 5px solid #658361;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
}

.header-container img {
    width: 150px;
    height: auto;
}

.header-container img:hover {
    opacity: 0.8;
}

.nav-hidden {
    display: none;
}

#menu-btn {
    display: none;
}

.header-nav {
    display: flex;
}

.header-nav-list {
    margin-left: 40px;
}

.header-nav-list a {
    font-weight: 700;
    font-size: 19px;
    font-family: 'Raleway';
    line-height: 156px;
}

 /*-------------------
    top
 -------------------*/
.top {
    background: url(../img/welcome.jpg) ;
    background-size: cover;
    padding: 200px 0;
}

.top-title {
    font-family: 'Raleway';
    font-size: 70px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 0 #000,-2px 2px 0 #000,2px -2px 0 #000,-2px -2px 0 #000;
}

.top-subtitle {
    font-size: 30px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
}


 /*-------------------
    section共通
 -------------------*/
.section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Raleway';
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    color: #658361;
    padding-bottom: 30px;
}


/*-------------------
    about
 -------------------*/
.about-wrapper {
    display: flex;
}

.about-img img {
    width: 90%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.about-name {
    font-size: 30px;
    font-weight: 700;
}

.about-introduction {
    margin-top: 10px;
}


/*-------------------
    service
 -------------------*/
.service-wrapper {
    display: flex;
    justify-content: space-between;
}

.service-menu {
    width: 30%;
}

.service-img {
    text-align: center;
}

.service-img img {
    width: 200px;
    height: 200px;
    border: 3px solid #d0dd97;
    border-radius: 100px;
    object-fit: cover;
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}


/*-------------------
    works
 -------------------*/
.works-wrapper {
    display: flex;
    justify-content: space-between;
}

.works-menu {
    width: 46%;
}

.works-menu img:hover {
    opacity: 0.8;
}

.works-text {
    text-align: center;
    margin-top: 10px;
}


/*-------------------
    contact
 -------------------*/
.contact-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.contact-icon {
    display: flex;
    justify-content: space-around;
}

.contact-icon img:hover {
    opacity: 0.8;
}

.icon-mail,
.icon-twitter {
    text-align: center;
}

.icon-twitter {
    margin-top: 12px;
}

.icon-mail img {
    width: 200px;
    height: 200px;
}

.icon-twitter img {
    width: 150px;
    height: 150px;
}

.twitter {
    margin-top: 38px;
}


/*-------------------
    contact-form
 -------------------*/
form {
    margin-top: 80px;
}

.form-menu {
    margin-bottom: 24px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
textarea {
    border: 2px #b9bcac solid;
    border-radius: 5px;
    padding: 10px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 360px;
}

input:focus,
textarea:focus {
    outline: 2px solid #658361;
}

textarea {
    width: 100%;
    max-width: 720px;
}

.btn {
    display: inline-block;
    font-size: 18px;
    background-color: #b9bcac;
    border-radius: 5px;
    padding: 10px 20px;
}

.btn:hover {
    opacity: 0.8;
    cursor: pointer;
}

.btn-register {
    display: block;
    background-color: #d0dd97;
    border: 2px solid #658361;
    margin: auto;
}


/*-------------------
    footer
 -------------------*/
footer {
    background: #f8fae4;
    padding: 20px 0;
    border-bottom: 5px solid #658361;
}

.copyright {
    font-weight: bold;
    text-align: right;
    font-family: 'Raleway';
}

.end-message {
    display: none;
  }

.false-message {
    display: none;
  }

/*-------------------
    SP版
 -------------------*/
 @media (max-width: 767px){

    /* ================
        header
    ===================  */
    #menu-btn {
        display: block;
        order: 3;
    }

    #menu-btn img {
        width: 100%;
        max-width: 46px;
    }

    nav {
        margin-right: 25px;
        margin-left: 30px;
        text-align: right;
        background-color:#d0dd97;
        display: none;
        order: 2;
        flex-grow: 2;
    }

    #nav-input:checked  ~ nav {
        display: block;
        animation: 1s fadeIn;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .header-nav {
        display: block;
    }

    .header-nav-list {
        margin-left: 10px;
        margin-right: 10px;
    }

    .header-nav-list a {
        line-height: 60px;
    }

    /* ================
        top
    ===================  */
    .top {
        padding: 120px 0;
    }

    .top-title {
        font-size: 50px;
    }

    .top-subtitle {
        font-size: 18px;
    }

    /* ================
        section共通
    ===================  */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    /* ================
        about
    ===================  */
    .about-wrapper {
        flex-direction: column;
    }

    .about-img img {
        width: 100%;
    }

    .about-name {
        font-size: 25px;
    }

    /* ================
        service
    ===================  */
    .service-wrapper {
        flex-wrap: wrap;
    }

     .service-menu {
        width: 100%;
        margin-bottom: 46px;
    }

    .service-menu:last-child {
        margin-bottom: 0;
    }

    /* ================
        works
    ===================  */
    .works-wrapper {
        flex-direction: column;
    }

    .works-menu {
        width: 100%;
    }

    .menu-bootstrap {
        margin-top: 40px;
    }

    /* ================
        contact
    ===================  */
    .contact-title {
        font-size: 16px;
        font-weight: normal;
    }

    /* ================
        footer
    ===================  */
    .copyright {
        text-align: center;
    }


 }