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

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

a:hover {
    opacity: 0.7;
}

img {
    width: 100%;
}

/* =================
header
================== */
header {
    padding: 0px 0;
    border-top: 5px solid blue;
    /* background-color: rgb(64, 166, 250); */
}

.header-title {
    font-size: 32px;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.nav-items {
    margin: auto;
}

.nav-item {
    padding-left: 20px;
}

/* =================
section共通
================== */
.section-title {
    font-size: 32px;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px;
    border-top: 2px solid #000;
}

.section-title:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #000;
}

.section-title span {
    font-size: 40px;
    font-size: 3.5rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 5px;
    padding-left: 10px;
    color: #fff;
}

/* =================
top
================== */
.top {
    width: 100%;
    height: 400px;
    text-align: center;
    line-height: 2.0;
    background-image: url(../img/top_image2.jpg);
    background-size: cover;
}

.top-title {
    font-size: 40px;
    font-weight: bold;
    color: white;
    padding-top: 130px;
}

.top-message {
    font-size: 23px;
    color: white;
}

/* =================
about
================== */
.about {
    padding-top: 10px;
}

.about-wrapper {
    display: flex;
    margin: 30px;
    justify-content: space-around;
}

.about-img {
    width: 45%;
    border-radius: 999px;
}

.about-message {
    width: 45%;
}

/* =================
service
================== */
.service-wrapper {
    margin: 30px;
    display: flex;
    justify-content: center;
}

.service-items {
    display: flex;
    justify-content: space-between;
}

.service-item-title {
    text-align: center;
    font-size: 18px;
    border-bottom: 1px solid #000;
}

.service-item {
    border: 2px solid black;
    /* width: 30%; */
    padding: 15px;
    margin: 0 20px;
}

.service-item-message {
    text-align: center;
}

/* =================
work
================== */
.work-items {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding: 20px 0;
}

.work-item {
    padding: 20px 20px;
    border: 2px solid;
    margin: 0 20px;
    text-align: center;
}

.work-item-img {
    width: 100%;
    height: auto;
}
.work-item-title {
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid;
}

.work-item-message {
    text-align: center;
    padding-top: 10px;
}

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

.contact-items {
    display: flex;
    justify-content: space-between;
    width: 20%;
    margin: auto;
    padding: 20px 0;
}

.contact-item {
    padding: 20px 0;
}

.contact-item a {
    color: blue;
    text-decoration: none;
}

.contact-item img {
    width: 40px;
}

/* =================
footer
================== */
footer {
    text-align: center;
    background-color: black;
    color: white;
}

footer p {
    margin: auto;
}


/* =================================
page-top
===================================*/
.page-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
}

.page-top a {
    background-color: #999;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 20px 20px;
}

.page-top a:hover {
    background-color: #666;
    text-decoration: none;
}

/* =================
レスポンシブ
================== */
@media screen and (max-width:768px) {
    /* =================
    section共通
    ================== */
    .section-title {
        font-size: 18px;
        position: relative;
        overflow: hidden;
        padding: 1.5rem 2rem 1.5rem 130px;
        border-top: 2px solid #000
    }
    
    .section-title:before {
        position: absolute;
        top: -150%;
        left: -100px;
        width: 200px;
        height: 300%;
        content: '';
        -webkit-transform: rotate(25deg);
        transform: rotate(25deg);
        background: #000;
    }
    
    .section-title span {
        font-size: 10px;
        font-size: 2rem;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        display: block;
        padding-top: 10px;
        padding-left: 20px;
        color: #fff;
    }

    /* =================
    top
    ================== */
    .top {
        height: 200px;
        line-height: 1.5;
    }

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

    .top-message {
        font-size: 18px;
    }

    /* =================
    about
    ================== */
    .about {
        padding-top: 10px;
    }
    .about-wrapper {
        display: block;
        margin: auto;
    }

    .about-img {
        width: 45%;
        margin: auto;
    }

    .about-message {
        font-size: 14px;
        width: 80%;
        margin: auto;
    }
    /* =================
    service
    ================== */
    .service-wrapper {
        margin: 0px;
        display: block;
        justify-content: center;
    }

    .service-items {
        display: block;
    }

    .service-item {
        border: 2px solid black;
        /* width: 30%; */
        padding: 15px;
        margin: 0px 20px 10px 20px;
    }

    /* =================
    work
    ================== */
    .work-items {
        display: block;
        width: 100%;
        margin: auto;
        padding: 0px 0;
    }

    .work-item {
        padding: 0px 10px;
        margin: 10px 20px;
    }

    .work-item-img {
        width: 100%;
        height: auto;
        padding: 10px;
    }

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

    .contact-items {
        display: flex;
        justify-content: space-between;
        width: 50%;
        margin: auto;
        padding: 20px 0;
    }

    .contact-item {
        text-align: center;
        padding: 20px 0;
    }

    .contact-item a {
        color: blue;
        text-decoration: none;
    }

    .contact-item img {
        width: 40px;
    }


}