@charset "utf-8";

/* 全体設定 */

*,
::before,
::after {
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: sans-serif;
}

body {
    line-height: 1;
    max-width: 1920px;
    font-family: sans-serif;
    background-image: url(./img/background.png);
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

/* main共通設定 */

main {
    max-width: 1920px;
}

.shutter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #686146;
    z-index: 9999;
}

.shutter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background-color: #fff;
    width: 0;
    height: 1px;
}

.shutter {
    -webkit-animation: byeShutter 2.6s forwards;
    animation: byeShutter 2.6s forwards;
}

.shutter::before {
    -webkit-animation: shutterOpen 2.6s forwards;
    animation: shutterOpen 2.6s forwards;
}

.content {
    -webkit-animation: contentScale 2.6s forwards;
    animation: contentScale 2.6s forwards;
}

@keyframes byeShutter {
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

@keyframes shutterOpen {
    0% {
        width: 0;
        height: 1px;
    }

    50% {
        width: 100%;
        height: 1px;
    }

    90% {
        width: 100%;
        height: 100%;
    }

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


/* header設定 */

header {
    height: calc(100vh);
    background-image: url(./img/top.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: relative;
}

.header-menu {
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 30px 60px 0;
    width: 100%;
    z-index: 10;
    align-items: center;

}

.header-menu.headerColorScroll {
    background-color: #ffffffab;
}

header h1 a img {
    width: 100px;
}

header nav .menu {
    display: flex;
}

header nav .menu li {
    padding-left: 4rem;
}

header nav .menu li a {
    color: #686146;
    font-family: "kaisotai", sans-serif;
    font-size: 1.5rem;
    position: relative;
}

header nav .menu li a::before {
    background: #686146;
    content: '';
    width: 4px;
    height: 1.5rem;
    position: absolute;
    left: -1.4rem;
    top: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

header nav .menu li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}



.toggle-menu-button {
    display: none;
}

header .header-title {
    height: calc(100vh);
    display: flex;
    justify-content: center;
    align-items: center;

}

header .header-title p {
    font-size: clamp(32px, 14vw, 86px);
    color: #686146;
    font-family: "kaisotai", sans-serif;
    letter-spacing: 0.5rem;
    text-align: center;
    padding-bottom: 50px;

}

/* main設定 */

main {
    width: 100%;
    margin: 0 auto;
}

h2 {
    color: #686146;
    font-family: "kaisotai", sans-serif;
    font-size: clamp(36px, 18vw, 80px);
    width: 70%;
    margin: 0 auto;
    font-weight: bold;
}

.title {
    display: flex;
    overflow: hidden;
}

.title span {
    display: block;
    transform: translate(0, 105%);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.title.-visible span {
    transform: translate(0, 0);
}

.title span:nth-child(2) {
    transition-delay: 0.06s;
}

.title span:nth-child(3) {
    transition-delay: 0.12s;
}

.title span:nth-child(4) {
    transition-delay: 0.18s;
}

.title span:nth-child(5) {
    transition-delay: 0.24s;
}

.title span:nth-child(6) {
    transition-delay: 0.30s;
}

.title span:nth-child(7) {
    transition-delay: 0.36s;
}

.title span:nth-child(8) {
    transition-delay: 0.42s;
}




section {
    margin: 200px auto 0;
}

/* mission設定 */

.mission {
    position: relative;
    padding: 80px 0 0 0;
}


.mission h2 {
    display: none;
}

.mission .mission-area {
    width: 70%;
    margin: 0 auto;
}



.mission .squere {
    position: absolute;
    top: 0;
    left: 50px;
}

.mission .squere img {
    width: 100px;
}


.mission .squere2 {
    position: absolute;
    bottom: 400px;
    right: 50px;
}

.mission .squere2 img {
    width: 100px;
}

.mission h3 {
    line-height: 1.5;
    color: #686146;
    font-family: "kaisotai", sans-serif;
    font-size: clamp(32px, 7vw, 60px);
    padding-bottom: 50px;
    letter-spacing: -0.02em;

}

.mission p {
    line-height: 2;
    color: #6b6b6b;
}

.circle {
    width: 150px;
    height: 300px;
    border-radius: 100% 0 0 100% / 50%;
    background-color: #fff;
    margin: 0 0 0 auto;
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
    0% {
        transform: translateY(-5%);
    }

    100% {
        transform: translateY(5%);
    }
}



/* services設定 */

.services {
    margin: 2rem auto 0
}


.services .service-motif {
    display: flex;
    position: relative;
}

.services .service-motif .motif1 {
    width: 150px;
    height: 550px;
    background-color: #686146;
    border-radius: 0 290px 0 0;
    margin: -100px 0 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.services .service-area {
    background-color: #fff;
    width: 80%;
    margin: 0 auto;
    padding: 100px 0 120px 0;

}

.services .service-list {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: 0 auto;

}

.services .service-list li h3::before {
    content: "■";
    color: #aaa;
}

.services .service-list li h3 {
    color: #686146;
    padding-top: 1.2rem;
    font-size: 1rem;
}

.img-wrap {
    opacity: 0;
}

.img-animation {
    animation: img-opacity 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden;
    position: relative;
}

.img-animation::before {
    animation: img-animation 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #fff;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

@keyframes img-opacity {
    100% {
        opacity: 1;
    }
}

@keyframes img-animation {
    100% {
        transform: translateX(100%);
    }
}


.services .service-list li img {
    width: 250px;
}


.services .maru {
    border: #6b6b6b solid 1px;
    width: 150px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    right: 0;
}

.services .maru img {
    width: 5rem;
}


/* news設定 */

.news .news-area {
    padding-top: 4rem;
    color: #6b6b6b;
    width: 70%;
    margin: 0 auto;
}

.news .news-area .news-about {
    display: flex;
    padding: 1rem 0 0 0;
    border-bottom: 1px solid #6b6b6b;
    width: 70%;

}


.news .news-area .news-about .day {
    width: 10rem;
}

/* company設定 */

.company {
    position: relative;
}

.company h2 {
    background-image: url(./img/squere3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.company .company-zone {
    color: #6b6b6b;
    margin: 0 auto 0 0;
    position: relative;

}

.company .company-zone .company-area {
    color: #6b6b6b;
    border-top: 1px solid #6b6b6b;
    border-right: 1px solid #6b6b6b;
    border-left: 1px solid #6b6b6b;
    width: 90%;

}

.company .company-zone .company-area .company-list {
    width: 65%;
    padding: 4rem 0 6rem 0;
    margin: 0 auto;
}

.company .company-zone .company-area .company-text {
    display: flex;
    padding: 2rem 0 0 0;
    border-bottom: 1px solid #6b6b6b;
    width: 84%;
    align-items: center;
}


.company .company-zone .company-area .company-text h3 {
    width: 10rem;
}

.company .company-zone .company-area .company-text p {
    line-height: 1.5;
}

.company .company-zone .sikaku {
    width: 250px;
    height: 300px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
}


.page_top {
    display: flex;
    color: #686146;
    position: absolute;
    right: 50px;
    bottom: 480px;
    z-index: 5;
}

.page_top p {
    padding-right: 20px;
    font-weight: bold;
    font-family: "kaisotai", sans-serif;
    font-size: 20px;

}

.page_top img {
    height: 40px;
    animation: yazirushi 1s ease-in-out infinite alternate-reverse;

}

@keyframes yazirushi {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}



.map iframe {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* footer設定 */
footer {
    background-color: #686146;
    color: #fff;
    padding: 5rem 0 6rem 0;
    background-image: url(./img/footer.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

footer ul {
    display: flex;
    justify-content: center;
}

footer ul li {
    padding: 0 2rem;
}

footer ul li a {
    color: #fff;
    font-family: "kaisotai", sans-serif;
    font-size: 1.5rem;
    position: relative;

}

footer ul li a::before {
    background: #fff;
    content: '';
    width: 4px;
    height: 1.5rem;
    position: absolute;
    left: -1.4rem;
    top: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

footer ul li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}


footer p {
    margin: 0 auto;
    text-align: center;
    padding-top: 6rem;
}


@media (max-width: 800px) {

    .toggle-menu-button {
        display: block;
        width: 60px;
        height: 60px;
        border: none;
        border-radius: 0;
        outline: 0;
        z-index: 10;
        cursor: pointer;
        background-color: transparent;
        padding-left: 10px;
    }

    .toggle-menu-button span {
        display: block;
        width: 45px;
        height: 2px;
        background-color: #686146;
        position: relative;
    }

    .toggle-menu-button span::before {
        content: "";
        display: block;
        width: 45px;
        height: 2px;
        background-color: #686146;
        position: absolute;
        top: -12px;
        transition-duration: 0.5s;
    }

    .toggle-menu-button span::after {
        content: "";
        display: block;
        width: 45px;
        height: 2px;
        background-color: #6b6b6b;
        position: absolute;
        top: 12px;
        transition-duration: 0.5s;
    }

    .toggle-menu-button.is-show span {
        top: 0;
        transform: rotate(-45deg);
        transition-duration: 0.5s;
    }

    .toggle-menu-button.is-show span::before {
        top: 0;
        transform: rotate(90deg);
        transition-duration: 0.5s;
    }

    .toggle-menu-button.is-show span::after {
        display: none;
    }



    h2 {
        text-align: center;
        width: 90%;
    }


    header .header-menu {
        padding: 10px 20px 0 20px;

    }


    header nav {
        position: absolute;
        top: -350%;
        text-align: center;
        padding-top: 100px;
        z-index: 5;
        justify-content: center;
        display: block;
        margin: 0;
        padding: 0;
    }

    header nav.is-show {
        transition-duration: 0.8s;
        background-color: #ffffffab;
        top: 0%;
        left: 0;
        width: 100%;
        height: 360%;
    }

    header nav .menu {
        display: block;
        padding-top: 50px;
    }

    header nav .menu li {
        padding: 20px 0;
    }

    .mission .mission-area {
        width: 90%;
    }

    .mission h3 {
        text-align: center;
    }

    .mission p {
        text-align: center;
    }

    .mission .squere {
        top: 80px;
        left: 0;
    }

    .mission .squere img {
        width: 60px;
    }


    .mission .squere2 {
        bottom: 380px;
        right: 0;
    }

    .mission .squere2 img {
        width: 60px;
    }


    .circle {
        width: 100px;
        height: 200px;
    }
    
    .services .service-motif{
        margin-top: 100px;
    }

    .services .service-motif .motif1 {
        width: 120px;
        height: 980px;
    }

    .services .service-area {
        padding: 60px 0 0 0;
        width: 80%;
    }



    .services .service-list {
        display: block;
        text-align: center;

    }

    .services .service-list li h3 {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .news .news-area {
        width: 90%;
    }

    .news .news-area .news-about {
        width: 100%;
        margin: 0 auto;

    }

    .news .news-area .news-about .text {
        width: 100%;

    }

    .company .company-zone .company-area {
        color: #6b6b6b;
        border-top: 1px solid #6b6b6b;
        border-right: 1px solid #6b6b6b;
        border-left: 1px solid #6b6b6b;
        width: 100%;

    }



    .company h2 {
        background-position: right;
    }

    .company .company-zone .company-area .company-list {
        width: 90%;
    }

    .company .company-zone .company-area .company-text h3 {
        width: 7rem;
    }

    .company .company-zone .company-area .company-text {
        width: 100%;
    }

    .company .company-zone .sikaku {
        width: 100px;
        height: 300px;
    }




    footer {
        padding: 2rem 0 4rem 0;
    }

    footer ul {
        display: block;
        text-align: center;
    }

    footer ul li {
        padding: 0.8rem 0;
    }

    footer p {
        padding-top: 3rem;
    }





}

@media (max-width: 500px) {

    header {
        height: calc(100vh);
        background-image: url(./img/mv_sp.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
        position: relative;
    }


    .services .maru {
        border: none;
    }

    .mission .squere img {
        width: 50px;
    }

    .mission .squere2 {
        bottom: 420px;
    }

    .mission .squere2 img {
        width: 50px;
    }

    .company .company-zone .sikaku {
        width: 80px;
        height: 150px;
    }

    footer {
        background-image: url(./img/footer_sp.png);
    }

    footer p{
        font-size: 12px;
    }

}

@media (max-width: 390px) {
    .mission h3 {
        padding-bottom: 0;
    }
}