/* ============================================================
全体共通
============================================================ */
@charset "UTF-8";

body {
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
    background-color: #fffffe;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 0 30px; デフォルトでpaddingが15pxになっているのはなぜ？参考サイトもそうなっている*/
}

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

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

a:hover {
    opacity: 0.5;
    cursor: pointer;
    color: #8c7851;
}

p {
    margin-bottom: 0;
    color: #020826;
    line-height: 1.75em;
}

h1, h2, h3 {
    color: #020826;
}


/* ============================================================
header
============================================================ */
header {
    background-color: #eaddcf;
}

.header-title {
    margin-bottom: 0;
}

.header-title-logo {
    width: 100px;
}

.header-link {
    color: #020826;
    font-size: 20px;
    font-weight: bold;
    margin-left: 50px;
    /* Logoと高さを揃える */
    line-height: 63px;
}


/* ============================================================
top
============================================================ */
.top {
    background-image: url(../img/cherry-blossom-tree_1920-960.jpg);
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    padding: 150px 0;
}

.top-title {
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: -1px -1px 0 #8c7851, -1px 0 0 #8c7851, -1px 1px 0 #8c7851,
        0 -1px 0 #8c7851, 0 1px 0 #8c7851,
        1px -1px 0 #8c7851, 1px 0 0 #8c7851, 1px 1px 0 #8c7851;
}

.top-subtitle {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-shadow: -1px -1px 0 #8c7851, -1px 0 0 #8c7851, -1px 1px 0 #8c7851,
        0 -1px 0 #8c7851, 0 1px 0 #8c7851,
        1px -1px 0 #8c7851, 1px 0 0 #8c7851, 1px 1px 0 #8c7851;
}

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

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    /* ▼h２上下に二重線を入れる */
    padding: 1rem 2rem;
    border-top: 2px solid #020826;
    border-bottom: 2px solid #020826;
}


/* ============================================================
profile
============================================================ */
.profile-card {
    width: 100%;
    max-width: 750px;
    margin: auto;
    padding: 10px;
    background-color: #f9f4ef;
    box-shadow: 0 0 3px 0 #8c7851;
    display: flex;
}

.profile-card-img {
    margin: 10px;
}

.profile-card-img-icon {
    width: 250px;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 0 3px 0 #8c7851;
}

.profile-card-img-sns {
    width: 250px;
    display: flex;
    justify-content: left;
}

.profile-card-img-sns-item {
    width: 30px;
    height: 30px;
    margin: 8px;
}

.profile-card-body {
    text-align: left;
    margin: 10px;
}

.profile-card-body-parts {
    margin-bottom: 20px;
}

.profile-card-body-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}


/* ============================================================
service
============================================================ */
.service {
    background-color: #f9f4ef;
}

.service-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-card {
    width: 30%;
    background-color: #fffffe;
    box-shadow: 0 0 3px 0 #8c7851;
}

.service-card-body {
    margin: 10px;
}

.service-card-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}


/* ============================================================
work
============================================================ */

.work-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.work-card {
    width: 45%;
    background-color: #f9f4ef;
    box-shadow: 0 0 3px 0 #8c7851;
}

.work-card-img {
    margin-bottom: 10px;
}

.work-card-body {
    margin: 10px;
}

.work-card-title {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
}

.work-card-description {
    margin-bottom: 10px;
}

.work-card-link {
    text-align: center;
    margin: 20px 0;
}


/* ============================================================
contact
============================================================ */
.contact {
    background-color: #f9f4ef;
}

.contact-message {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    margin: 30px;
    text-align: center;
}

.contact-item-img {
    width: 80px;
    margin-bottom: 10px;
}

/* ============================================================
footer
============================================================ */
footer {
    background-color: #eaddcf;
    padding: 12px 0;
}

.copyright {
    font-size: 12px;
    text-align: center;
    margin: 0;
}



/* ============================================================
responsive（スマホ対応）
============================================================ */
@media only screen and (max-width: 767px) {


    /* ============================================================
    header
    ============================================================ */
    .header-title-logo {
        width: 80px;
    }

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

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

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

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

    /* section p {
        font-size: 14px;
    } */

    .section-title {
        margin-bottom: 30px;
    }


    /* ============================================================
    profile
    ============================================================ */
    .profile-card {
        flex-direction: column;
    }

    .profile-card-img {
        text-align: center;
    }

    .profile-card-img-icon {
        max-width: 250px;
        width: 100%;
    }


    /* ============================================================
    service
    ============================================================ */
    .service-card {
        width: 100%;
        margin-bottom: 30px;
    }


    /* ============================================================
    work（制作例）
    ============================================================ */
    .work-card {
        width: 100%;
        margin-bottom: 30px;
    }


    /* ============================================================
    contact
    ============================================================ */
    .contact-message {
        margin-bottom: 15px;
    }

    .contact-item {
        width: 45%;
        margin: 10px;
    }

    .contact-item-img {
        width: 50px;
        margin-bottom: 5px;

    }


    /* ============================================================
    footer
    ============================================================ */
    .copyright {
        font-size: 10px;
    }

}