@charset "utf-08";

/*------------------------------------------------------
共通
------------------------------------------------------*/
body {
    color: #000000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}

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

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

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

a:hover {
    opacity: 0.7;
}

.section {
    padding: 6rem 0;
}

.inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.875rem;
}

.section__body {
    margin-top: 3.125rem;
}

.section__title {
    font-family: 'Zen Dots', cursive;
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
}

.section__lead {
    text-align: center;
    font-size: 1rem;
}


/*------------------------------------------------------
header
------------------------------------------------------*/
header {
    padding: 1.5rem 0 1.5rem 0;
}

.header-left {
    float: left;
}

.header__title {
    font-size: 1.5rem;
    color: #05257e;
    font-family: 'Zen Dots', cursive;
    font-weight: bold;
}

.header-right {
    float: right;
}

.header-nav__title {
    float: left;
    margin-left: 3rem;
}

.header-nav__title a {
    font-weight: bold;
    font-size: 1rem;
    line-height: 2.25;
}


/*------------------------------------------------------
top
------------------------------------------------------*/
.top {
    background-image: url(../img/fv.jpg);
    background-size: cover;
    padding: 12.25rem;
}

.top__title {
    font-family: 'Zen Dots', cursive;
    font-weight: bold;
    text-align: center;
    font-size: 5rem;
    color: #05257e;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
        -1px 1px 0 #FFF, 1px -1px 0 #FFF,
        0px 1px 0 #FFF, 0-1px 0 #FFF,
        -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.top__subtitle {
    font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
}


/*------------------------------------------------------
about-me
------------------------------------------------------*/
.profile__inner {
    width: 800px;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #cccccc;
    padding: 1.5rem;
    background-color: #fff;
}

.profile__image {
    width: 40%;
    text-align: center;
}

.profile__image img {
    width: 100%;
}

.profile__sns {
    margin-top: 0.3125rem;
    text-align: left;
}

.sns-links {
    display: flex;
}

.sns-links__item img {
    width: 10%;
}

.profile__body {
    padding: 0 0 0 2rem;
    width: 60%;
}

.profile__title {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #666;
}

.profile__name {
    margin-top: 0.3125rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.profile__content {
    margin-top: 0.75rem;
    line-height: 1.5;
}

.profile__sub-head {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 0.3125rem;
    font-weight: bold;
}

.profile__sub-head::before {
    content: "";
    width: 0.625rem;
    height: 0.0625rem;
    background: #666;
    margin-right: 0.75rem;
}

.profile__sub-head::after {
    content: "";
    width: 0.625rem;
    height: 0.0625rem;
    background: #666;
    margin-left: 0.75rem;
}

.profile__sub-content {
    line-height: 1.5;
}


/*------------------------------------------------------
services
------------------------------------------------------*/
.services--gray {
    background-color: #d6d6d6;
}

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

.service__card {
    width: 32%;
}

.service-card {
    padding: 1.5rem 1.25rem;
    border: 1px solid #cccccc;
    background-color: #fff;
}

.service-card__image {
    text-align: center;
}

.service-card__image img {
    width: 70%;
}

.service-card__title {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.service-card__content {
    line-height: 1.5;
    margin-top: 0.75rem;
}


/*------------------------------------------------------
works
------------------------------------------------------*/
.works__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.works__card {
    width: 47%;
}

.works-card {
    padding: 1.5rem 1.25rem;
    border: 1px solid #cccccc;
    background-color: #fff;
}

.works-card__image {
    text-align: center;
}

.works-card__image img {
    width: 30%;
}

.works-card__title {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.works-card__content {
    line-height: 1.5;
    margin-top: 0.75rem;
}


/*------------------------------------------------------
contact
------------------------------------------------------*/
.contact__message {
    text-align: center;
}

.contact__message__stop {
    font-weight: bold;
    color: red;
}

.contact__items {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.625rem;
}

.contact__item {
    text-align: center;
}

.contact__img {
    display: block;
}

.contact__img img {
    width: 20%;
}

.contact__name {
    display: inline;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}


/*------------------------------------------------------
contact__お問合せフォーム
------------------------------------------------------*/
.form-wrapper {
    width: 45%;
    margin: 1rem auto;
}

.form-item {
    margin-bottom: 0.75rem;
}

.form__name,
.form__mail,
.form__request-1,
.form__request-2 {
    display: inline-block;
}

input[type="text"], input[type="mail"] {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select-radio {
    margin: 0.1rem 0;
}

.form__request-2-textarea {
    width: 100%;
    font-size: 1rem;
}

.end-message {
    display: none;
}

.false-message {
    display: none;
}

.submit-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #05257e;
    color: #fff;
    border-radius: 0.25rem;
    border: none;
}

.submit-btn:hover {
    cursor: pointer;
    opacity: 0.7;
}


/*------------------------------------------------------
footer
------------------------------------------------------*/
.footer {
    background-color: #555;
    color: #fff;
    padding: 0.75rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.05rem;
}

.footer__copyright {
    text-align: center;
}


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

    /*------------------------------------------------------
    共通
    ------------------------------------------------------*/
    .container {
        width: 93%;
    }

    .clear::after {
        content: none;
    }

    .section {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    .inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section__body {
        margin-top: 1.875rem;
    }


    /*------------------------------------------------------
    header
    ------------------------------------------------------*/
    .header-left {
        float: none;
    }

    .header-left h1 {
        text-align: center;
    }

    .header__title {
        font-size: 1.9rem;
    }

    .header-right {
        float: none;
    }

    .header-right {
        float: none;
    }

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

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


    /*------------------------------------------------------
    top
    ------------------------------------------------------*/
    .top {
        padding: 7.5rem 0;
    }

    .top__title {
        font-size: 2rem;
        text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
            -1px 1px 0 #FFF, 1px -1px 0 #FFF,
            0px 1px 0 #FFF, 0-1px 0 #FFF,
            -1px 0 0 #FFF, 1px 0 0 #FFF;
    }

    .top__subtitle {
        font-size: 0.875rem;
    }


    /*------------------------------------------------------
    about-me
    ------------------------------------------------------*/
    .profile {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .profile__image {
        width: 100%;
    }

    .profile__body {
        width: 100%;
        padding-left: 0;
        margin-top: 2rem;
    }


    /*------------------------------------------------------
    services
    ------------------------------------------------------*/
    .service__cards {
        flex-wrap: wrap;
    }

    .service__card {
        width: 100%;
    }

    .service__card:nth-child(n + 2) {
        margin-top: 1.5rem;
    }


    /*------------------------------------------------------
    contact__お問合せフォーム
    ------------------------------------------------------*/
    .form-wrapper {
        width: 100%;
    }
    
    .submit-btn {
        width: 100%;
        font-size: 1.5rem;
    }


    /*------------------------------------------------------
    footer
    ------------------------------------------------------*/
    .footer {
        font-size: 0.65rem;
    }
}