@charset "UTF-8";

body {
    color: #082b48;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}

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

a {
    text-decoration: none;
    color: #082b48;
}

a:hover {
    opacity: 0.7;
}

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

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

/*===========================
header
===========================*/

header {
    padding: 20px 0;
}

.header-left {
    float: left;
}

.header-right {
    float: right;
}

.header-nav-item {
    float: left;
    margin-left: 50px;
}

.header-title {
    font-size: 40px;
    font-weight: bold;
}

.header-nav-item a {
    line-height: 60px;
    font-weight: bold;
}

/*===========================
top
===========================*/

.top-title {
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    padding-top: 10px;
}

.top-subtitle {
    text-align: center;
    margin-top: 20px;
    font-size: 25px;
}

.top {
    background-image: url(../img/top.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
}

/*===========================
about
===========================*/

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

.about-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.section {
    padding: 60px 0;
}

.about-left {
    float: left;
    width: 48%;
}

.about-right {
    float: right;
    width: 48%;
}

.profile {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}

.name {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
}

.message {
    font-size: 20px;
    font-weight: bold;
}

.message-sub {
    font-size: 17px;
    margin-top: 20px;
}

/*===========================
service
===========================*/

.service-item {
    border: solid 3px #8d4252;
    width: calc(33.3% - 24px * 2 / 3)
}

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

.service-item img {
    height: 200px;
}

.service-title {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.service {
    background-color: rgb(240, 233, 233);
}

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

.service-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.service-comment {
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

/*===========================
Work
===========================*/

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

.work-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.work-item {
    border: solid 3px #ede4e6;
    width: calc(48% - 24px * 2 / 3)
}

.work-item img {
    height: 240px;
}

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

.work-title {
    font-size: 25px;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
}

.work-comment {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.work-link {
    text-align: center;
    padding-bottom: 20px;
}

.work-link a {
    color: #0985eb;
}

/*===========================
Contact
===========================*/

.contact {
    background-color: rgb(240, 233, 233);
}

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

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

.contact-comment {
    text-align: center;
    margin-bottom: 40px;
}

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

.contact-item {
    width: 80px;
    height: 80px;
    margin: 0 50px;
    margin-bottom: 40px;
}

.contact-item-x {
    margin-top: 15px;
}

.contact-x-img img {
    width: 50px;
    height: 50px;
}

/*===========================
footer
===========================*/

.footer {
    background-color: #06477d;
    padding: 15px 0;
}

.footer-title {
    text-align: center;
    color: #faf8f9fd;
}

/*===========================
スマホ用
===========================*/

@media only screen and (max-width:767px) {
    .clear::after{
        content: none;
    }

    /*===========================
    header
    ===========================*/

    .header-left {
        float: none;
     }

     .header-title {
        text-align: center;
        font-size: 50px;
     }

     .header-right {
        float: none;
     }

     .header-nav {
        display: flex;
        justify-content: space-between;
     }

     .header-nav-item {
        float: none;
        margin: 0;
        font-size: 13px;
     }

    /*===========================
    top
    ===========================*/

    .top-title {
        font-size: 40px;
        padding-top: 60px;
    }

    .top-subtitle {
        font-size: 12px;
        font-weight: bold;
    }

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

    .section {
        padding: 80px 0;
    }

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

    /*===========================
    about
    ===========================*/

    .about-left {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .about-right {
        float: none;
        width: 100%;
    }

    /*===========================
    service
    ===========================*/

    .service-wrapper {
        flex-wrap: wrap;
    }

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

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

    .work-wrapper {
        flex-wrap: wrap;
    }

    .work-item {
        width: 100%;
        margin-bottom: 20px;
    }

    /*===========================
    footer
    ===========================*/

    .footer-title {
        font-size: 12px;
        text-align: center;
    }
}