@charset "UTF-8";

/*navbar*/

.navbar-brand {
    font-size: 2rem;
}

/*top*/

.top {
    background-image: url(../img/IMG_6381.JPG);
    background-size: cover;
}

/*about*/

.profile-image {
    text-align: center;
    
}

.about-image {
    
    width: 220px;
    height: 300px;
}

.profile-card {
    background-color: blanchedalmond;
    border: 1px ridge lightgray;
    display: flex;
    justify-content: center;
    padding: 30px;
    margin: 0 60px;
}

.profile-body {
    padding-left: 40px;
    width: 65%;
}

.profile-title {
    font-weight: bold;
}

.profile-name {
    margin: 5px 0;
    font-size: 24px;
    line-height: 1.4;
}

.profile-content {
    margin-top: 16px;
    line-height: 1.6;
}


/*service*/

.service-card p {
    line-height: 1.5;
}

/*work*/

.work {
    padding: 0 20%;
}

.workcard-title {
    font-weight: 500;
}

.workcard-text {
    line-height: 1.5;
}

/*SNS*/

#sns {
    background: #FAF7F0;
    padding: 4% 0;
}

#sns .wrapper {
    margin: 0 4%;
    display: flex;
    justify-content: center;
}

.message-form {
    text-align: center;
}

.message-form img {
    margin: 0;
    width: 200px;
    height: 200px;
    display: block;
}

.sns-box {
    width: 300px;
    padding-left: 80px;
}

#sns .sub-title {
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-top: 20px;
    border-bottom: 2px solid #0bd;
}

@media (max-width: 469px) {
    .top {
        font-size: 1rem;
        color: white;
    }

    .top h2 {
        margin: 0 20px;
    }
}

@media (max-width: 767px) {

    .profile-card {
        display: flex;
        flex-direction: column;
    }

    .profile-body {
        padding: 20px 0;
        width: 100%;
        text-align: center;
    }

    .workcard {
        display: flex;
        flex-direction: column;
    }

    #sns .wrapper {
        display: flex;
        flex-direction: column;
        
    }

    .message-form img {
        margin: auto;
    }

    .sns-box {
        margin: auto;
        padding: 30px 0;
    }
}
