body{
    color: #082b48;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}

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

a{
    text-decoration: none;
    color: #082b48;
}

a:hover{
    opacity: 0.7;
}

.container{
    width: 90%;
    margin:auto;
}

.clear:after{
    content: "";
    clear: both;
    display: block;
}

h2{
    text-align: center;
    margin: 30px auto;
    border: 2px solid #082b48;
    width: 200px;
    font-size: 24px;
    border-radius: 5px;
    font-weight: bold;
}

/* ==========
header
============ */

header , footer{
    padding: 20px 0;
    background-color: darkgray;
}


.header-title{
    font-size: 32px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.header-left{
    float: left;
}

.header-right{
    float: right;
}

.header-nav-item{
    float: left;
    margin-left: 30px;
    line-height: 48px;
}

.header-nav-item a{
    font-size: 20px;
    color: #fff;
}
.header-nav-item a:hover{
    background-color: #082b48;
    opacity: 1;
}

.toggle{
    position: relative;
}

.toggle-list {
    position: absolute;
    top: 2.5em;
    width: 130px;
    line-height: 30px;
    background-color: #082b48;
    padding: 8px;
    display: none;
}
.toggle-list a{
    font-size:  18px;
}
.toggle-list a:hover{
    opacity: 0.7;
}

/* =========
top
========== */

.top{
    padding: 80px;
    background-image: url(../img/top.png);
    background-size: cover;
}

.top-title{
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.top-subtitle{
    font-size: 20px;
    text-align: center;
}

/* =========
about
========== */

.about{
    margin: 50px 0;
}

.about-left{
    width: 50%;
    float: left;
}

.about img{
    width: 80%;
}

.about-right{
    width: 50%;
    float: right;
    padding-top: 80px;
    padding-left: 80px;
}

.about-right-title{
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 10px 0;
}

.twitter-follow-button{
    margin-top: 30px;
}

/* =========
service
========== */

.service{
    background-color: lightgray;
    margin: 50px 0;
    padding: 30px 0;
}

.service-contents{
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.service-contents-item{
    width: 30%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 5px 5px 5px darkgrey;
    border-radius: 8px;
}

.item-title{
    font-size: 18px;
    font-weight: bold;
    padding: 5px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid lightgray;
}
.item-text{
    text-align: left;
    padding: 0 10px;
}

/* ==========
works
============ */

.works-item{
    text-align: center;
    padding: 30px 0;
}

.works-item h3{
    font-size: 18px;
    font-weight: bold;
    border-top: 2px solid #082b48;
    border-bottom: 2px solid #082b48;
    padding: 5px 0;
    width: 250px;
    margin: 30px auto;
}

/* =========
contact
========== */

.contact{
    margin: 50px auto;
    width: 60%;
}

.contact input , .contact textarea{
    width: 100%;
}
.contact button{
    display: block;
    margin: 20px auto;
    width: 200px;
    padding: 10px;
    background-color: #082b48;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    font-size: 18px;
}

.contact button:hover{
    cursor: pointer;
    opacity: 0.8;
}

.contact button:active{
    background-color: darkgray;
}

.contact p{
    margin: 5px;
    font-size: 18px;
    font-weight: 600;
}

/* ==========
header
============ */

.top-page{
    width: 50px;
    position: fixed;
    bottom: 50px;
    right: 30px;
}

/* =========
footer
========== */

footer p{
    float: right;
    line-height: 30px;
}

/* =========
スマホ用
========== */
@media screen and (max-width: 767px) {

/* =========
header
========== */

    header{
        width: 100%;
        padding: 0px;
    }
    .container{
        width: 80%;
    }
    .header-left{
        float: none;
    }

    .header-title{
        text-align: center;
        margin: 0;
    }

    .header-right{
        float: none;
    }

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

    .header-nav-item{
        float: none;
        margin: 0 ;
    }

    .top{
        padding: 40px;
    }

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

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

    .about img{
        width: 50%;
    }

    .about-left{
        width: 100%;
        float: none;
        text-align: center;
    }

    .about-right{
        width: 100%;
        float: none;
        padding-top: 20px;
        padding-left: 0px;

    }

    .service-contents{
        flex-wrap: wrap;
        text-align: center;
    }

    .service-contents-item{
        width: 100%;
        margin-bottom: 30px;
    }


    .works-item iframe{
        width:100%;
        height:100%;
    }

    .works-item video{
        width:100%;
        height:100%;
    }

    .contact{
        width: 90%;
    }

    .contact p{
        font-size: 15px;
    }

    footer p{
        font-size: 12px;
        float: none;
        text-align: center;
    }

    }