body {
    margin: 0;
    font-family: YuGothic;
    color: #555555;
}

/* ナビバー */
.navbar {
    width: 980px;
    margin: 0 auto;
}

.navbar img {
    width: 256px;
    height: 50px;
    padding: 10px 0px;
    float: left;
}

.navbar ul {
    list-style-type: none;
}

.nav-item {
    font-size: 18px;
    float: right;
    line-height: 50px;
    padding-left: 18px;
}

.navbar a {
    color: #555555;
    text-decoration: none;
}

/* トップ画像 */

.landeing {
    clear: left;
    background-image: url(img/header.jpg);
    background-size: cover;
    background-position: center;
    /* width: 100％; */
    min-height: 100vh;
}

/* Our Ability */
h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 70px;
}

hr {
    border: 2px solid #51A2BC;
    width: 185px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.ability {
    text-align: center;
    width: 1100px;
    margin: 0 auto;
}

.ability-row {
    float: left;
    width: 33%;
}

h2 {
    font-style: 32px;
    margin-top: 20px;
}

.ability p {
    font-size: 20px;
    margin-top: 10px;
}

/* article */
.article {
    display: flex;
    width: 980px;
    margin: 0 auto;
}

.article-block {
    margin-top: 70px;
    width: 980px;
}

.article-left {
    float: left;
    text-align: left;
}

.article h2 {
    font-size: 32px;
    line-height: 25px;
}

.article p {
    padding-top: 20px;
    font-size: 22px;
    line-height: 0px;
}

.article a {
    font-size: 22px;
    color: #51A2BC;
    text-decoration: none;
    border: 2px solid #51A2BC;
    border-radius: 30px;
    padding: 5px 40px;
    display: inline-block;
    margin-top: 20px;
}

.article a:hover {
    background-color: #51A2BC;
    color: white;
    border: 2px solid #51A2BC;
}

.article-img {
    float: right;
    text-align: center;
}

/* footer */
footer {
    clear: left;
    margin-top: 70px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 12px;
    font-family: 'Helvetica Neue, Bold';
    text-align: center;
    background-color: #D5D5D5;
    color: #FFFFFF;
}

/* レスポンシブデザイン */
@media (max-width: 1000px) {
    .navbar {
        width: 850px;
        margin: 0 auto;
    }
    .ability {
        width: 900px;
    }
    .ability-row {
        float: left;
        width: 300px;
    }
    .article {
        width: 850px;
    }
    
  }
  
@media (max-width: 670px) {
    .navbar img {
        width: 256px;
        margin-left: 15px;
    }
    .landeing {
        background-size: cover;
        width: 100vw;
        height: auto;
        min-height: 100vh;
    }
    .ability {
        width: 300px;
    }
    .ability h2 {
        margin-top: 10px;
        margin-bottom: 0px;
    }
    .ability p {
        font-size: 20px;
        margin-bottom: 40px;
    }
    .article {
        width: 400px;
    }
    .article-block {
        width: 400px;
    }
    .article-left {
        text-align: center;
        float: none;
    }
    .article-img {
        padding-top: 50px;
        margin: 0 auto;
        float: none;
    }

    .ability-img {
        margin: 0 auto;
        text-align: center;
    }
}