body {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    letter-spacing: 3px;
}

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

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

a:hover {
    text-decoration: underline;
}

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

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




/* header */
header {
    padding: 10px;
}

.header-logo {
    font-size: 60px;
    font-weight: 100;
    width: 90px;
    float: left;
}


.header-nav {
    float: right;

}

.header-link {
    float: left;
    margin-left: 50px;

}

.header-link a {
    font-size: 18px;
    font-weight: 1000;
    line-height: 90px;
}


/* top */
.top {
    background-image: url(../img/house-geb39f17de_1280.jpg);
    background-size: cover;
    padding: 90px;
}

.top-title {
    font-size: 80px;
    font-weight: 800;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: whitesmoke;
    margin-bottom: 40px;
}

.top-text {
    font-size: 25px;
    text-align: center;
    font-weight: bold;
    color: whitesmoke;
}

/* section共通 */
.section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 120px 30px;
}

.section-title {
    font-size: 32px;
    text-align: center;
    font-weight: 700;
}

.section-lead {
    text-align: center;
    color: slategray;
    margin-bottom: 70px;
    font-family: 'Courier New', Courier, monospace;
}


/* profile */
.profile-card {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
    background: #fff;
    padding: 20px;
}

.profile-card-img {
    float: left;
    width: 50%;
}

.snslink img {
    width: 10%;
    margin: 12px;
}

.profile-card-text {
    padding: 0 0 0 32px;
    width: 50%;
    line-height: 2.0;
    float: right;
}

.profile-card-name {
    font-weight: bold;
    font-size: 27px;
    font-family: serif;
}

.profile-card-content {
    font-size: 16px;
    font-weight: bold;
}


/* service */
.service {
    background-color: aliceblue;
}

.service-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    width: 1060px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px
}

.service-item {
    padding: 24px 20px;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
    background-color: #fff;
    margin-left: 24px;
}

.service-item_image {
    width: 200px;
    height: 200px;
    text-align: center;
    border-radius: 50%;
}

.service-item_title {
    margin-top: 16px;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
}

.service-item_content {
    line-height: 1.8;
    margin-top: 12px;
    text-align: justify;
}


/* work */
.work-cards {
    display: flex;
    justify-content: space-between;
}

.work-card {
    padding: 24px 20px;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
    background-color: #fff;
    margin-left: 24px;
}

.work-card img {
    overflow-y: auto;
    height: 75%;
}

.work-card-title {
    font-weight: bold;
    font-size: 22px;
    padding: 20px 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.work-card-comment {
    line-height: 1.8;
    margin-top: 12px;
    font-family: serif;
}


/* contact */
.contact {
    background-color: aliceblue;
}

.contact-message {
    text-align: center;
    font-weight: bold;
}

.contact-items {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item {
    width: 200px;
    height: 100px;
    text-align: center;
}

.contact-img {
    display: block;
}

.contact-img img {
    width: 80px;
    height: 80px;
}

.contact-name {
    display: inline-block;
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    color: #007bff;
    letter-spacing: 1px;
}

.contact-name:hover {
    color: #0056b3;
}


/* footer */
footer {
    background-color: dimgrey;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
}




/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
スマホ用の表示
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

@media only screen and (max-width: 767px) {

    .clear::after {
        content: none;
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    header
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
    .header-logo {
        float: none;
        
    }

    .header-nav {
        float: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .header-link {
        float: none;
        margin: 0;
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    top
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

    .top {
        padding: 120px 0;
    }

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

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

    /* ===================
    section 共通クラス
    ====================== */

    .section {
        padding: 80px 0;
    }

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

    .section-lead {
        font-size: 20px;
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    profile
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

    .profile-card {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .profile-card-img {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .profile-card-text {
        float: none;
        width: 100%;
    }

    .profile-card-content{
        letter-spacing: 1px;
        line-height: 1.2;
    }

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

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

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    work
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
    .work-cards {
        flex-wrap: wrap;
        
    }
    

    .work-card {
        width: 100%;
        padding-bottom: 90px;
        margin-bottom: 30px;
        margin-right: 40px;
    }


    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    contact
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
    input[type="email"],
    input[type="text"] {
        width: 100%;
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
    footer
    ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
    .footer {
        font-size: 10px;
        float: none;
        text-align: center;
    }

}