@charset "UTF-8";

/* ALL========== */
html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: normal;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #000;
    transition: .3s;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

a:hover {
    opacity: .7;
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 100px;
    color: #000;
    font-family: 'Montserrat';
}


.inner {
    max-width: 1200px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

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

@media screen and (max-width:767px) {
    body {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    h2 {
        margin-bottom: 50px;
    }
}

/* header========== */
header {
    width: 100%;
    line-height: 70px;
    position: fixed;
    top: 0;
    z-index: 100;
    background-color: transparent;
}

header .header_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}

header .header_inner a img {
    width: 70px;
    height: auto;
}

header .header_inner .header_inner_nav li {
    display: inline-block;
    margin-left: 30px;
}

header .header_inner .header_inner_nav li a {
    padding: 10px 5px;
    text-decoration: none;
    color: #000;
    font-size: 1.8rem;
    font-weight: 500;
}

@media screen and (max-width:767px) {
    header {
        line-height: 50px;
    }

    header .header_inner {
        padding: 10px;
    }

    header .header_inner a img {
        width: 50px;
    }

    header .header_inner .header_inner_nav li {
        margin-left: 10px;
    }

    header .header_inner .header_inner_nav li a {
        font-size: 1.4rem;
    }
}


/* mainVisual========== */
.mainVisual {
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

.mainVisual::before {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    content: "";
    background-image: url(../img/mainvisual.jpg);
    background-position: 50% 50%;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: -1;
}

.mainVisual .mainVisual_inner {
    width: 100%;
    position: absolute;
    top: calc(50% + 45.5px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.8;
    letter-spacing: .3em;
    color: #fff;
}

.mainVisual .mainVisual_inner h1 {
    font-size: 3rem;
    font-weight: 800;
}

.mainVisual .mainVisual_inner p {
    font-weight: 500;
}

@media screen and (max-width:767px) {
    .mainVisual .mainVisual_inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        letter-spacing: .3em;
        color: #fff;
    }

    .mainVisual .mainVisual_inner h1 {
        font-size: 2rem;
    }

    .mainVisual .mainVisual_inner p {
        font-size: 1.4rem;
    }
}

/* top_works========== */
#top_works {
    background-color: #eee;
    padding-top: 200px;
    padding-bottom: 200px;
}

#top_works .inner .wrapper {
    justify-content: left;
}

#top_works .inner .wrapper>div {
    width: 50%;
    padding: 0 50px 100px 50px;
}

#top_works .inner .wrapper>div a {
    display: block;
}

#top_works .inner .wrapper>div div {
    padding: 15px 5px 0 10px;
}

#top_works .inner .wrapper>div div p.works_title {
    font-size: 2rem;
}


#top_works .inner .wrapper>div div p.works_category {
    font-size: 1.4rem;
    padding-top: 10px;
}

@media screen and (max-width:767px) {
    #top_works .inner .wrapper>div {
        width: 100%;
        padding: 0 30px 70px 30px;
    }

    #top_works .inner .wrapper>div div p.works_title {
        font-size: 1.6rem;
        padding-bottom: 5px;
    }


    #top_works .inner .wrapper>div div p.works_category {
        font-size: 1.2rem;
    }
}


/* about========== */
#about {
    background-color: #fff;
    padding-top: 200px;
    padding-bottom: 200px;
}

#about .wrapper div {
    margin: 10px;
    width: 40%;
}

#about .wrapper div.about_text {
    width: 50%;
}

@media screen and (max-width:767px) {
    #about .wrapper div {
        margin: 0 30px 0 30px;
        width: 100%;
    }

    #about .wrapper div.about_text {
        margin-top: 30px;
        width: 100%;
    }
}

/* contact========== */
#contact {
    background-color: #fff;
    padding-top: 200px;
    padding-bottom: 200px;
    text-align: center;
}

#contact div p.address {
    margin-top: 50px;
    font-weight: 800;
}

@media screen and (max-width:767px) {
    #contact div p.address {
        margin-top: 20px;
    }
}

/* totop========== */
.to_top {
    text-align: center;
    background-color: #eee;
    padding-bottom: 100px;
    padding-top: 10px;
}

.to_top a {
    display: block;
    background-color: #9DC3C1;
    color: #fff;
    font-size: 3rem;
    line-height: 80px;
    width: 80px;
    margin: auto;
    border-radius: 100px;
}

.under_to_top {
    background-color: #fff;
}

/* footer========== */
footer {
    text-align: center;
    line-height: 300px;
    background-color: #000;
}

footer p.copy {
    font-size: 1.4rem;
    color: #fff;
}

/* 下層：worksページ */
#works {
    padding-top: 200px;
    padding-bottom: 200px;
}


#works div .works_title {
    margin-bottom: 30px;
    text-align: center;
}

#works div .works_text {
    max-width: 720px;
    margin: 0 auto;
    margin-bottom: 80px;
}

#works div .works_text h3 {
    position: relative;
    font-size: 18px;
    margin-bottom: 10px;
    padding-left: 1em;
}

#works div .works_text h3:not(:first-child) {
    margin-top: 50px;
}

#works div .works_text h3::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    content: "";
    border-radius: 3px;
    background-color: #333;
}

#works div .works_text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

#works div .works_text p a.works_link {
    text-decoration: underline;
}

@media screen and (max-width:767px) {
    #works div .works_text h3 {
        font-size: 16px;
        padding-left: .8em;
    }

    #works div .works_text h3:not(:first-child) {
        margin-top: 30px;
    }

    #works div .works_text p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

}


/* エフェクト========== */
/* 画面移行 */
.fade-contents {
    animation: fadein 3s forwards;
}

@keyframes fadein {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}


/* フェードアップ */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

/* .fadeUpTrigger {
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} */