@charset "utf-8";

/* オープニングアニメーション-------------------------------------------------------------- */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bg-green);

    animation: fadeOut 1.5s 2.5s forwards;
}
@keyframes fadeOut{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
.loading-logo {
    opacity: 0;
    animation: logo-fade 2s 0.5s forwards;
    width: 200px;
}
@media (max-width: 600px){
    .loading-logo {
        width: 150px;
    }
}

@keyframes logo-fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
    }
}

header {
    opacity: 0;
    animation: item-fade 1.5s 3.5s forwards;
}
.contact-parts-area,
.index-menu-area {
    opacity: 0;
    animation: item-fade 2s 4s forwards;
}
.main-logo {
    opacity: 0;
    animation: item-fade 2s 2.8s forwards;
}
@keyframes item-fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* ファーストビュー--------------------------------------------------------------- */
.first-view {
    background-image: url(../img/index/top_mv.jpg);
}

.main-logo {
    position: absolute;
    right: 2rem;
    bottom: 3rem;
}

@media (max-width:800px) {
    .main-logo {
        top: 50%;
        bottom: 50%;
        transform: translateY(-50%);

        width: 250px;
    }
}
/* フッターの対応エリア消す */
.footer-menu-list {
    opacity: 0;
    visibility: hidden;
}
/* --------------------------------------------------------------- */

/* トップページ用のメニューリンク--------------------------------------------------------------- */
.index-menu-area {
    position: fixed;
    bottom: 1rem;
    left: calc(216px + 4rem);

    display: flex;
    align-items: center;
    gap: 2rem;

    font-size: .8rem;
    text-shadow: var(--txt-shadow);
    z-index: 998;
}

@media(max-width:800px) {
    .index-menu-area {
        display: none;
    }
}
/* --------------------------------------------------------------- */


/* キャッチコピーエリア--------------------------------------------------------------- */
.catch-area {
    display: flex;
    flex-direction:column-reverse ;
    align-items: center;
    gap: 2rem;
}

.catch-area img {
    width: 100px;
}

.catch-area .catch-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    text-align: center;
    line-height: 2;
}

.catch-area h2 {
    font-family: var(--serif-text);
    font-size: 2.3rem;
    line-height: 1.3;
}

@media(max-width:500px ) {
    .catch-area {
        padding: 0 1rem;
    }
    .catch-area img {
        width: 80px;
    }

    .catch-area h2 {
        font-size: 24px;
    }

    .catch-area .catch-sub {
        font-size: .9rem;
    }

}

/* --------------------------------------------------------------- */

/* 創る・手入れ・情熱--------------------------------------------------------------- */

/* スクロールでピタッと止める */
.slide-contents {
    overflow: auto;
    scroll-snap-type: y mandatory;
    height: 100vh;
}

/* スライダー */
.slideshow {
    position: relative;

    width: 100%;
    height: 100%;

    max-height: 1000px;

    margin: auto;

    overflow: hidden;
    scroll-snap-align: start;
}

.slides {
    display: flex;
    
    width: 100%;
    height: 100%;

    transition: transform .5s ease;
}

.slide {
    position: relative;

    display: flex;
    justify-content: space-between;
    
    width: 100%;
    height: 100%;

    flex-shrink: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide1 {
    background-image: url(../img/index/top_slide01_bg.jpg);
}
.slide2 {
    background-image: url(../img/index/top_slide02_bg.jpg);
}
.slide3 {
    background-image: url(../img/index/top_slide03_bg.jpg);
}

/* スライド内デザイン */

.slide img {
    width: 40%;
    object-fit: cover;
}

.slide .text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20%;

    width: 60%;

    padding: 4rem 2rem 2rem;
}

.slide .text-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    writing-mode: vertical-rl;
}

.slide h3 {
    font-family: var(--serif-text);
}

.slide .title {
    font-size: 3.152rem;
}

.slide .title-sub {
    font-size: 2rem;
}

.slide .title-sub::before {
    content: '';
    width: 2px;
    height: 70px;

    background: var(--txt-white); 
    display: inline-block; 

    margin: .5rem 0 1rem;
}

.slide .text-desc {
    line-height: 3;
}

.slide .link-area {
    display: flex;
    justify-content: space-between;

    width: 50%;

    border-bottom: .5px solid #fff;
    
    transition: all .2s;
}

.link-area .more {
    font-size: .9rem;
    font-family: var(--en-text);
}
.link-area .more i {
    margin: 0 0 0 1rem;
}
.link-area:hover {
    color: var(--hover-green);
    border-bottom: .5px solid var(--hover-green);
}

/* 企画・提案の改行 */

.slide3 h3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.slide3 .title-sub {
    margin: 3rem 0 0 ; 
}



/* 戻る・次へ */
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    border-radius: 50%;

    height: 30px;
    width: 30px;

    cursor: pointer;
}

button.prev {
    left: 1rem;
}
button.next {
    right: calc(40% + 1rem);
}


/* インジケーター */
.dots {
    position: absolute;
    top: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(100% - 40%);
} 

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;

    margin: 0 6px;

    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active {
    background-color: #fff;
}


@media(max-width:800px) {
    .slide img {
        display: none;
    }
    .slide .text-side {
        gap: 5rem;

        width: 85%;
        height: 80%;

        max-height: 1000px;
        margin: auto;

        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .slide1 {
        background-image: url(../img/index/top_slide01.jpg);
    }
    .slide1 .text-side {
        background-image:url(../img/index/top_slide01_bg.jpg);
    }
    .slide2 {
        background-image: url(../img/index/top_slide03.jpg);
    }
    .slide2 .text-side {
        background-image:url(../img/index/top_slide02_bg.jpg);
    }
    .slide3 {
        background-image: url(../img/index/top_slide02.jpg);
    }
    .slide3 .text-side {
        background-image:url(../img/index/top_slide03_bg.jpg);
    }

    .slide .link-area {
        width: 80%;
    }



    button.prev {
        left: 1rem;

        width: 25px;
        height: 25px;
    }
    button.next {
        right: 1rem;

        width: 25px;
        height: 25px;
    }

    .dots {
        top: 5%;
        width: 100%;
    }
    .dot {
        width: 8px;
        height: 8px;
    }

}

@media(max-width:400px) {
    .slide .text-area {
        gap: 1rem;
    }

    .slide .text-desc {
        line-height: 2.5;
    }

    .slide .title {
    font-size: 2.5rem;
    }
    .slide .title-sub {
        font-size: 1.5rem;
    }
    .slide .title-sub::before {
        width: 1px;
    }
}

/* --------------------------------------------------------------- */


/* 主な事業--------------------------------------------------------------- */
.main-business {
    gap: 3rem;
}

/* メニューエリア */ 
.open-menu {
    color: var(--txt-black);
}
.menu-area {
    background-image: url(../img/index/top_mainbusiness_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    margin: 0 auto;
    padding: 7rem 2rem;
}

.menu-area ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 60%;

    writing-mode: vertical-rl;
    font-family: var(--serif-text); 
    font-size: 1.8rem;
    text-wrap: nowrap;
} 

.menu-area li {
    display: flex;
    align-items: center;
    gap: 1rem;

    transition: all .2s;
}

.menu-area li::before {
    content: '';
    display: inline-block;

    width: 1px;
    height: 50px;

    background-color: var(--txt-black);
}

.menu-area li:hover {
    color: var(--btn-green);
    transform: translateY(-5px);
}

@media(max-width:800px) {
    .menu-area {
        width: 90%;
    }
    .menu-area ul {
        justify-content: center;
        gap: 10%;
        width: 90%;
    }
}

/* メニュー中身 */
.open-menu{
    position: relative;
    width: 100%;
}

.serv {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;

    margin: auto;
    background: #cfcbbef2;

    display: flex;
    flex-direction:column;
    gap: 0rem;

    width: 95%;
    max-width: 1200px;


    box-shadow: 0px 3px 6px #00000029;

    z-index: 999;
}


/* トップエリア イラストとタイトル */
.serv .top-area {
    position: relative;
}
.serv .img-area {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;

}
.serv .img-area img {
    width: 80%;
}

.serv h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    writing-mode: vertical-rl;
    font-family: var(--serif-text); 
    font-size: 2.5rem;

    width: 15%;
}

.serv h3::before {
    content: '';
    display: inline-block;

    width: 1px;
    height: 80px;

    background-color: var(--txt-black);
}

/* 閉じるボタン */
button.close {
    position: absolute;
    top: 2rem;
    right: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: rgba(51, 51, 51, 0.3);

    z-index: 999;
}
.close span {
    position: absolute;

    display: block;
    width: 80%;
    height: 2px;

    background: #cfcbbef2;
}

.close span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.close span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* トップエリア　作業内容の紹介リスト */
.serv-list dl {
    position: absolute;

    display: flex;
    flex-direction: column;
    gap: .2rem;

    background: #cfcbbef2;
    border: 1px solid var(--txt-black);
    border-radius: 20px;

    padding: 1rem 2rem;
}
.serv-list dt {
    font-size: 1rem;
}
.serv-list dd {
    font-size: .9rem;
}

/* 作業リスト・緑地管理 */
.service1-area .list1{
    top: 10%;
    left: 10%;
}
.service1-area .list2{
    top: 20%;
    left: 53%;
}
.service1-area .list3{
    top: 70%;
    left: 55%;
}

/* 作業リスト・伐採 */
.service2-area .list1{
    top: 5%;
    left: 5%;
}
.service2-area .list2{
    top: 20%;
    left: 38%;
}
.service2-area .list3{
    top: 50%;
    left: 51%;
}

/* 作業リスト・庭木の手入れ */
.service3-area .list1{
    top: 8%;
    left: 30%;
}
.service3-area .list2{
    top: 40%;
    left: 40%;
}
.service3-area .list3{
    top: 70%;
    left: 51%;
}

/* 作業リスト・外構 */
.service4-area .list1{
    top: 20%;
    left: 5%;
}
.service4-area .list2{
    top: 10%;
    left: 35%;
}
.service4-area .list3{
    top: 40%;
    left: 51%;
}


/* 下エリア */
.serv .bottom-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 0  3rem 2rem 3rem;
}

.serv .serv-desc {
    width: 70%;
    line-height: 2;
}


/* 施工事例を見るボタン */

.serv .more-btn,
.serv .more-btn-sp {
    position: absolute;
    bottom: 2rem;
    right: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    width: 125px;
    height: 125px;

    border: 1px solid var(--txt-black);
    border-radius: 50%;

    padding: 1rem 0 0 0;
}
.serv .more-btn-sp {
    display: none;
}

.plus span{
    display: block;
    width: 30px;
    height: 1px;

    background-color: var(--txt-black);
}

.plus span:nth-child(2) {
    transform: rotate(90deg);
}

.more-btn p,
.more-btn-sp p {
    font-size: .75rem;
}


/* メニューの閉じる・開く */
.service1-area,
.service2-area,
.service3-area,
.service4-area {
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
}
.service1-open,
.service2-open,
.service3-open,
.service4-open {
    opacity: 1;
    visibility: visible;
}

@media(max-width:1000px) {


    /* 作業リスト */
    .serv-list dl {
        position: static;

        width: 90%;
        background: transparent;

        padding: .5rem 2rem;
    } 
    .serv-list {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: .5rem;
    }

    .serv {
        gap: 2rem;
    }

    /* 画像エリア */
    .serv .img-area {
        position: relative;

        padding: 0;
        justify-content: flex-end;
    }


    /* タイトル */
    .serv h3 {
        position: absolute;
        top: 10%;
        right: calc(40px + 4rem);

        writing-mode: horizontal-tb;
        width: auto;
    }
    .serv h3:before {
        width: 50px;
        height: 1px;
    }

    /* 施工事例を見るボタン */
    .serv .more-btn {
        display: none;
    }
    .serv .more-btn-sp {
        bottom: 1rem;
        display: flex;
    }

    /* 説明文 */
    .serv .bottom-area {
        padding: 0 2rem 2rem;
    }
    .serv .serv-desc {
        width: 100%;
    }
}

@media(max-width:800px) {
    .serv {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;

        margin: 0 auto;
    }

    .serv h3 {
        font-size: 2rem;
    }

    .serv .more-btn-sp {
        gap: 1.2rem;

        width: 100px;
        height: 100px;

        padding: .5rem 0 0 0;
    }
    .serv span {
        width: 20px;
    }

}

@media(max-width:600px) {
    .serv {
        padding: 2rem 0 0;
    }
    .serv .top-area {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    button.close {
        top: 1rem;
        right: 1rem;

        width: 30px;
        height: 30px;
    }

    .serv h3 {
        top: -1rem;
        right: calc(30px + 2rem);
    }

    .serv  .img-area img {
        width: 100%; 
    } 
    .serv .more-btn-sp{
        bottom: -1rem;
        right: 1rem;
        background: #cfcbbef2;
    } 

}

/* --------------------------------------------------------------- */



/* 対応エリア--------------------------------------------------------------- */
.service-area .contents-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    width: 80%;
}

.service-area h3 {
    background: var(--btn-green);
    border-radius: 50px;
    text-align: center;

    padding: .5rem 2rem;

    width: 350px;
}

.service-area .text-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-area dl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-area dt {
    font-size: 1.3rem;
}

.service-area dd {
    line-height: 2;
}

/* 法人のお客様 */
.for-co-area {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 0 2rem ;

    border-bottom: .5px solid var(--txt-white);
}
.for-co-area img {
    width: 40%;
}

.for-co-area .text-area {
    width: 55%;
}

/* 個人のお客様 */
.for-indiv-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.for-indiv-area .text-area {
    width: 80%;
}
.area-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.area-list .area-item {
    display: flex;
    justify-content: space-between;


    border: .5px solid var(--bg-white);
    border-radius: 30px;

}

.area-item ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0rem;
    column-gap: 2rem;

    list-style-type: square;
    font-size: .85rem;

    width: 75%;

    padding: 2rem 2rem 2rem 3rem;
}
.area-item li {
    width: 80px;
    margin: 0 0 0 1rem;
}

.area-item .title-area {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25%;
    background: var(--bg-white);
    border-radius: 30px 0 0 30px;

    color: var(--txt-black);
    font-weight: bold;
}

@media(max-width: 800px) {
   .service-area .contents-area{
    width: 80%;
   } 
   .area-list {
    gap: 1rem;
   }
    .for-co-area img {
        width: 35%;
    }   
    .for-indiv-area .text-area {
        width: 100%;
    }
}

@media(max-width:600px){
    .service-area .contents-area {
        width: 90%;
    }
    .service-area h3 {
        width: 100%;
    }
    .service-area dl {
        width: 90%;
        margin: 0 auto;
    }

    /* 法人 */
    .for-co-area {
        flex-direction: column;
        gap: 1rem;
    }
    .for-co-area img {
        width: 50%;
    }
    .for-co-area .text-area {
        width: 100%;
    }
    /* 個人 */
    .area-list .area-item {
        flex-direction: column;
        align-items: center;
    }

    .area-item .title-area {
        width: 100%;
        border-radius: 30px 30px 0 0;
        padding: 1rem;
    }
    .area-item ul {
        width: 80%;
    }
    .area-item li {
    width: 70px;
    }

}
/* --------------------------------------------------------------- */

/* よくある質問--------------------------------------------------------------- */
.faq .contents-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    width: 80%;
}

.accordion-item {
    border: .5px solid var(--txt-black);
    overflow: hidden;
}

/* 質問 */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 2rem;

    border: none;
    background: none;

    font-weight: bold;
    cursor: pointer;
    transition: background-color .2s;
}

.accordion-header p {
    width: 85%;
}

.accordion-header:hover {
    background: #eeead8;
}

.icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--btn-green);
    color: var(--txt-white);

    width: 25px;
    height: 25px;
    border-radius: 50%;

    transition: transform .3s ease;
}

.accordion-header.active .icon-wrap {
    transform: rotate(180deg);
}

/* 答え */
.accordion-body {
    height: 0;

    overflow: hidden;
    transition: height .3s ease-out;
}
.body-content {
    display: flex;

    padding: 0 2rem 2rem ;

    width: 80%;
    font-size: .9rem;
}
/* アニメーション用の状態 */
.accordion-body.entering {
    height: 100%;
}

.accordion-body.leaving {
    height: 0;
}

@media (max-width:600px ){
    .faq .contents-area {
        width: 90%;
    }
    .body-content {
        width: 100%;
    }
}
/* --------------------------------------------------------------- */

/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
