@charset "UTF-8";

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    color: #333333;
	scroll-padding-top: 100px;
	scroll-behavior: smooth;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.5rem;
    letter-spacing: 0.03em;
}

/*
@media (width < 768px) {
    body {
        margin-top: 30px;
    }
}
*/

img {
    max-width: 100%;
    vertical-align: bottom;
}

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

li,ol {
    list-style: none;
}

/*top title*/

.site-title {
    width: 150px;
    a {
        display: inline-block;
    }
}

.section-title {
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
    text-align: left;
    margin-bottom: 4.5rem;
}

@media (width < 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.content-title {
    font-size: 1.25rem;
    margin: 1rem 0;
    letter-spacing: 0.05rem;
}

@media (width < 768px) {
    .content-title {
        font-size: 1.1rem;
    }
}

.service-title {
    font-size: 0.9rem;
}

.text-under {
    font-weight: 500;
}

.page_title {
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 500;
    display: block;
    text-align: center;
    margin: 4.5rem 0;
    padding: 3rem 0 2rem;
    animation: fadein-anime 1.5s ease 0s 1 normal;
}

@media (width < 768px) {
    .page_title {
        font-size: 1.7rem;
        margin: 6.5rem 0 0;
        padding:2rem 0;
    }
}

.works__page_title {
    margin-bottom: 0;
}

.works__top_title {
    margin-bottom: 0;
    padding-bottom: 1rem;
}

.outer {
    background-color: #EBEEEB;
}

.fadein-up {
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(60px);
}

.fadein-up.scrollin {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*header*/

.header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 999;
}

.header-inner {
    max-width: 1000px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.site-title {
    position: static;
    z-index: 999;
}

.navigation-list {
    display: flex;
    gap: 1rem;
    @media (width < 768px) {
        flex-direction: column;
        align-items: center;
    }
}

.navigation-link {
    font-weight: 500;
    display: inline-block;
    padding: 0.5rem;
    transition: 0.5s;
    &:hover {
        color: #EE942E;
    }
}

.hamburger-menu {
    display: none;
}

/*header-sp*/

@media (width < 768px) {
    .header {
        padding-top: 40px;
    }
    .header-inner {
        padding: 0;
    }
    .site-title {
        padding-left: 2rem;
    }

    .hamburger-menu {
        display: block;
        width: 50px;
        height: 50px;
        padding: 1rem;
        position: relative;
        border: none;
        background-color: transparent;
        appearance: none;
        margin-right: 2rem;
        cursor: pointer;
    }

    .hamburger-menu_bar {
        display: inline-block;
        width: 32px;
        height: 1.2px;
        background: #333333;
        position: absolute;
        left: 50%;
        z-index: 1000;
        transform: translateX(-50%);
        transition: 0.5s;
    }

    .hamburger-menu_bar:first-child {
        top: 16px;
    }
    .hamburger-menu_bar:nth-child(2) {
        top: 24px;
    }
    .hamburger-menu_bar:last-child {
        top: 32px;
    }
    
    .hamburger-menu--open .hamburger-menu_bar {
        top: 50%;
    }
    
    .hamburger-menu--open .hamburger-menu_bar:first-child {
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
        background: #fff;
    }
    
    .hamburger-menu--open .hamburger-menu_bar:last-child {
        transform: translateX(-50%) translateY(-50%) rotate(-45deg);
        background: #fff;
    }
    
    .hamburger-menu--open .hamburger-menu_bar:nth-child(2) {
        display: none;
    }
    
    .navigation {
        display: none;
        background: #9FC4A0;
        height: 100vh;
        position: absolute;
        top: 0px;
        width: 100%;
        z-index: 999;
    }

    .navigation-list {
        text-align: center;
        padding: 2rem;
        margin: 0;
    }
    .navigation-link {
        color: #fff;
        font-weight: 500;
        display: inline-block;
        padding: 2.5rem 0;
        transition: 0.5s;
        &:active {
            color: #EE942E;
        }
    }
}

/*mainvisual*/

.mainvisual-catchcopy {
    width: 100%;
    height: 600px;
    margin: 6.25rem 0;
    padding: 0 3rem;
    position: relative;
    .mainvisual_crow {
        position: absolute;
        overflow: hidden;
        top: 10%;
        right: 0%;
        width: 75%;
        height: 90%;
        border-radius: 3px;
        z-index: 997;
        animation: fadein-anime 1.5s ease 0s 1 normal;
    }
        .mainvisual_crow img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 30% 70%;
        }
    .catchcopy {
        font-weight: 500;
        font-style: normal;
        font-size: 2rem;
        line-height: 4.5rem;
        letter-spacing: 0.15em;
        position: absolute;
        top: 10%;
        left: 10%;
        z-index: 998;
        animation: fadein-catch-copy 2.5s ease 0s 1 normal;
        .catchcopy-span {
            background-color: #9FC4A0;
            color: #fff;
            padding: 0.2rem 0.5rem;
        }
    }
}

@media (width < 768px) {
    .mainvisual-catchcopy {
        .mainvisual_crow {
            top: auto ;
            bottom: 5% ;
        }
        .mainvisual_crow img {
            object-position: 65% 50% ;
        }
        .catchcopy {
            font-size: 1.3rem ;
            line-height: 3rem ;
            letter-spacing: 0.05em;
        }
    }
}

@keyframes fadein-anime {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadein-catch-copy {
    0% {
        opacity: 0;
        left: 0%;
    }
    50% {
        opacity: 0;
        left: 5%;
    }
    100% {
        opacity: 1;
        left: 10%;
    }
}

/*main*/

/*works*/

.works-wrapper {
    max-width: 1200px;
    margin:0 auto;
    padding: 5rem 2rem;
    .works-content {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 4.5rem;
    }
    .works-container {
        max-width: 360px;
        transition: 0.5s;
        &:hover {
            opacity: 0.6;
        }
        a {
            display: block;
        }
        .works-image {
            width: 100%;
            height: 240px;
            object-fit: cover;
            border-radius: 3px;
            overflow: hidden;
            box-shadow: 0 0 10px #DEDEDE;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: 0.5s;
                &:hover {
                    scale: 1.1;
                }
            }
        }
    }
}

@media (width < 768px) {
    .works-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

/*service*/
.narrow-wrapper {
    max-width: 950px;
    margin:0 auto;
    padding:5rem 2rem;
}

.service-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    .service-list {
        width: 280px;
        padding: 2rem 1.5rem;
        background-color: #fff;
        border-radius: 3px;
        margin-top: 2rem;
        box-shadow: 0 0 10px #DEDEDE;
        position: relative;
        .service-list-img {
            display: block;
            margin: 1rem auto;
        }
        .service-name {
            position: absolute;
            top: -38px;
            left: 15px;
            background-color: #9FC4A0;
            padding: 0.7rem;
            color: #fff;
            letter-spacing: 0.1em;
        }
        .service-list-text {
        background-color: #fff; 
        background-image: linear-gradient(180deg, #EBEEEB 1px, transparent 1px);
        background-size: 100% 2.5em;
        line-height: 2.5em;
        background-repeat:repeat-y;
        padding-bottom: 1px;
        margin: 1rem 0 1rem;
        }
    }
}

@media (width < 768px) {
    .service-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

/*about*/

.about-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
    .about-image {
        width: 300px;
        border-radius: 3px;
        overflow: hidden;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .about-text {
        flex: 1;
    }
}

    @media (width < 768px) {
        .about-container {
        flex-direction: column;
        align-items: center;
    }
}

/*contact*/
.contact-wrapper {
    padding-bottom: 5rem;
    position: relative;
}

.contact-tool {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 3rem;
    text-align: center;
    .contact-items {
        display: inline-block;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 160px;
        height: 64px;
        padding: 1rem 2rem;
        background-color: #9FC4A0;
        border-radius: 35px;
        color: #fff;
        transition: 0.7s;
        &:hover {
            background-color: #EE942E;
        }
    }
}

@media (width < 768px) {
    .contact-tool {
        flex-direction: column;
        align-items: center;
    }
}

/*footer*/

footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 2rem 0 0.75rem;
    background-color: #9FC4A0;
    color: #fff;
}

/*button*/

.next-button {
    text-align: center;
    a {
        display: inline-block;
        padding: 1rem 2rem;
        color: #fff;
        border: 1px solid #333333;
        position: relative;
        &::after {
            position: absolute;
            content: "";
            left: 3%;
            top: 8%;
            background-color: #9FC4A0;
            width: 100%;
            height: 100%;
            transition: 0.5s;
            z-index: -1;
        }
    }
    a:hover::after{
        background-color: #EE942E;
        opacity: 0.65;
        left: 0%;
        top: 0%;
    }
    @media (width < 768px) {
        a:active::after {
        background-color: #EE942E;
        opacity: 0.65;
        left: 0%;
        top: 0%;
        transition: 0.5s;
        }
    }
}

.circle-container {
    position: fixed;
    right: 20px;
    bottom: 10%;
    width: 100px;
    height: 100px;
    background-color: #EBEEEB;
    border-radius: 50%;
    z-index: 999;
    .text-circle {
        overflow: visible;
        animation: circle 30s linear infinite;
        textPath {
            letter-spacing: 0.07em;
        }
    }
    .pagetop {
        display: block;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        top: calc(50% - 50px);
        left: calc(50% - 50px);
        .pagetop img {
            width: 100%;
            height: 100%;
            opacity: 1;
            transition: 3s;
        }
    }
    &:hover {
        opacity: 0.5;
        transition: 0.5s;
    }
}

@keyframes circle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (width < 768px) {
    .circle-container {
        right: 15px;
        width: 60px;
        height: 60px;
    }
}

@media (width < 768px) {
    .circle-container .pagetop {
        width: 60px;
        height: 60px;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
    }
}

/*下層ページ*/
/*works一覧ページ*/

.works_title {
    display: flex;
    flex-direction: column;
    align-items: center;

    .works-icon-wrapper {
        padding-bottom: 4.5rem;
    }
}

.works-icon-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1rem 0 ;
    .works-icon {
        display: inline-block;
        background-color: #9FC4A0;
        color: #fff;
        font-size: 0.8rem;
        padding: 0 0.8rem;
        border-radius: 30px;
        transition: 0.5s;
        &:hover {
            background-color: #EE942E;
        }
    }
    .works-icon-category {
        &:hover {
            background-color: #9FC4A0;
        }
    }
}


.works {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    .works__list {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 3rem;
        padding-bottom: 5rem;
    }
    .works__list-item {
        width: 100%;
        padding: 0 1rem 4.5rem;
        .works__list-content{
            transition: 0.5s;
            &:hover {
                opacity: 0.6;
            }
        }
    }
}

@media (width < 768px) {
    .works {
        .works__list {
            display: flex;
            flex-direction: column;
        }
    }
}

/*works詳細ページ*/

.works-detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    animation: fadein-anime 1.5s ease 0s 1 normal;
    .works-detail-img {
        max-width: 900px;
        padding: 0 0 2rem;
    }
    .works-detail-title {
        line-height: 2.5rem;
        padding-bottom: 1rem;
        margin-bottom: 0;
        border-bottom: 1px solid #EBEEEB;
    }
    .works-detail-list {
        display: inline-block;
        padding-top: 1rem;
        .works-tag {
            display: flex;
            p {
                font-weight: bold;
            }
        }
    }
    .works-detail-text {
        font-size: 1rem;
        padding-top: 1rem;
    }
}

@media (width < 768px) {
    .works-detail-title {
        font-size: 1.4rem;
    }
}

.works-explanation-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem 4.5rem;
    .works-explanation-list {
        display: flex;
        padding: 2rem 0;
        gap: 2rem;
        align-items: first baseline;
        border-top: #EBEEEB 1px solid;
    }
    .works-explanation-list:last-child {
        border-bottom: #EBEEEB 1px solid;
    }
    .works-explanation-title {
        font-size: 1.1rem;
        color: #9FC4A0;
        flex: 1;
    }
    .works-explanation-text {
        flex: 2;
    }
}

@media (width < 768px) {
    .works-explanation-list {
        flex-direction: column;
    }
}

.works-website-wrapper {
    max-width: 1000px;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin: 0 auto;
    padding: 5rem 2rem;
    .works-website-sp-img {
        max-width: 250px;
    }
}

@media (width < 768px) {
    .works-website-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

.works-next-button {
    padding: 0 0 5rem;
}

/*about*/

.about_profile {
    max-width: 1000px;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0 2rem 5rem;
    margin: 0 auto;
    animation: fadein-anime 1.5s ease 0s 1 normal;
    .about_profile_container {
        display: flex;
        flex-direction: column;
        .about_icon {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            overflow: hidden;
            .about_icon img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        .about_name {
            font-size: 1rem;
            font-weight: bold;
            text-align: center;
        }
    }
    .about_profile_text_container {
        display: flex;
        flex-direction: column;
        background-color: #EBEEEB;
        padding: 1rem;
        position: relative;
        .about_profile_title span {
            position: absolute;
            top: -25px;
            left: 15px;
            display: inline-block;
            background-color: #9FC4A0;
            color: #fff;
            padding: 0.7rem;
            margin-bottom: 2rem;
            letter-spacing: 0.05em;
        }
        .about_profile_text {
            display: inline-block;
            background-color: #fff;
            padding: 1.5rem;
            font-size: 1rem;
            font-weight: bold;
            letter-spacing: 0.02em;
        }
    }
}

@media (width < 768px) {
    .about_profile {
        flex-direction: column;
        gap: 3rem;
    }
}

.about_wrapper {
    max-width: 950px;
    padding: 5rem 2rem;
    margin: 0 auto;
    .about_content_title {
        span {
            display: inline-block;
            color: #fff;
            padding: 0.5rem;
            background-color: #9FC4A0;
        }
    }
    .about_detail_text {
        padding-bottom: 2.5rem;
    }
}

.about_image_wrapper {
    width: 100%;
    height: 80px;
    background-image: url(../image/crow_walk.png);
    background-position: 95% 45%;
    background-size: 250px;
}

.scroll-infinity-wrap {
    display: flex;
    align-items: center;
    height: 200px;
    overflow: hidden;
    .scroll-infinity {
        display: flex;
        animation: loop-slide 60s infinite linear 1s both;
        .scroll-infinity-item {
            width: 300px;
            height: 200px;
        }
    }
}

@keyframes loop-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

