@charset "UTF-8";
/* CSS Document */
/*------------------------------*/
/* FEATURES */
/*------------------------------*/
/*-----------------------*/
/* particles
/*-----------------------*/
#home-features.content__wrapper{
    position: relative;
}
.wave-band{
    position:absolute;
    top:25%;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    height:calc(360rem/16);      
    overflow:hidden;
    /* pointer-events:none; */
    z-index:0;
}
#particles-js-wave {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}
/* コンテナ */
.home-features__wrapper{
    margin: 0 auto;
    margin-top: var(--mp-tb-xl);
    width: calc(1040rem/16);
    max-width: 100%;
}
/* リスト */
ul.home-features__list{
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    gap: 3em var(--mp-lr-reg);
}
ul.home-features__list::before{
    content: "";
    width: calc(calc(100% - calc(var(--mp-lr-reg)*2))/3);
    min-width: calc(280rem/16);
    max-width: 100%;
    height: 0;

    box-sizing: border-box;
    flex-grow: 1;
    order: 4;
}
ul.home-features__list::after{
    content: "";
    width: calc(calc(100% - calc(var(--mp-lr-reg)*2))/3);
    min-width: calc(280rem/16);
    max-width: 100%;
    height: 0;

    box-sizing: border-box;
    flex-grow: 1;
    order: 5;
}
/* アイテム */
ul.home-features__list li.home-features__item{
    background-color: var(--c-gray-pale);
    width: calc(calc(100% - calc(var(--mp-lr-reg)*2))/3);
    min-width: calc(280rem/16);
    padding: 3em 2em;
    padding-bottom: 2em;

    box-sizing: border-box;
    flex-grow: 1;

    position: relative;
}
ul.home-features__list li.home-features__item span{
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);

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

    background-color: var(--c-main-light);
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    font-family: var(--baseFonts);
    font-weight: 700;
    font-size: var(--txt-lg);
    color: var(--c-white);
}
/* ヘディング */
ul.home-features__list li.home-features__item .home-features__item-heading h3{
    padding: 1em;
    font-weight: 700;
    text-align: center;
    color: var(--c-white);
    background-color: var(--c-main-dull);
}
/* サブリスト */
.home-features__sub-list{
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid var(--c-gray-light);

    padding-left: 1em;
}
.home-features__sub-list li{
    position: relative;
}
.home-features__sub-list li::before{
    content: "";
    
    position: absolute;
    top: calc(1em - 4px);
    left: -1em;
    transform: translateY(-50%);

    background-color: var(--c-main-light);
    width: 8px;
    height: 8px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.home-features__sub-list li + li{
    margin-top: 0.7em;
}
/* 画像 */
ul.home-features__list li.home-features__item .home-features__item-img{
    width: 100%;
    position: relative;
}
ul.home-features__list li.home-features__item .home-features__item-img::before{
    content: "";
    display: block;
    padding-top: 56.25%;
}
ul.home-features__list li.home-features__item .home-features__item-img img{
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
}
/* テキスト */
.home-features__item-txt{
    margin-top: 2em;
    text-align: justify;
}
.home-features__item-txt .txt{
    margin-top: 1em;
}
/* リード */
.home-features__lead{
    margin-top: 0;
    width: 100%;
}
.home-features__lead p.txt{
    text-align: center;
}
/* お問い合わせコンテナ */
#home-features.content__wrapper .tel-contact__inner{
    margin-top: var(--mp-tb-xs);
}
/*------------------------------*/
/* SERVICE */
/*------------------------------*/
#home-service{
    width: 100%;
    background-color: var(--c-gray-pale);
}
#home-service .content__inner{
    max-width: calc(2000rem/16);
    margin-right: auto;
    margin-left: auto;
} 
/* =====================================*/
.home-grid__inner{
    padding: calc(120rem/16) 0;

    --home-grid-width: min(30%, calc(480rem/16));
    padding-left: var(--head-match-mp);
    display: grid;
    grid-template-columns: var(--home-grid-width) 1fr;
    place-content: center;
    grid-template-areas:
    "heading photo"
    "txt photo"
    ;
    gap: 0 min(8vw, calc(120rem/16));
}
.home-grid-heading__wrapper{
    grid-area: heading;
}
.home-grid-photo__wrapper{
    grid-area: photo;
}
.home-grid-txt__wrapper{
    grid-area:txt;
}
/* =====================================*/
/* ヘディング */
.home-grid-heading__wrapper{
    display: flex;
    align-items: end;
}
/* 画像 */
.home-grid-photo__wrapper{
    width: 100%;
    height: 100%;
    position: relative;
}
.home-grid-photo__wrapper::before{
    content: "";
    display: block;
    padding-top: 56.25%;
}
.home-grid-photo__wrapper img{
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
}
/* テキスト */
.home-grid-txt__wrapper{
    margin-top: calc(64rem/16);
}
/*------------------------------*/
/* company */
/*------------------------------*/
#home-company{
    margin-top: calc(120rem/16);
    max-width: calc(2000rem/16);
    margin-right: auto;
    margin-left: auto;   
}
/* =====================================*/
.home-grid__inner.-reverse{
    padding: 0;
    background-color: var(--c-white);
    padding-right: var(--head-match-mp);
    display: grid;
    grid-template-columns: 1fr var(--home-grid-width) ;
    place-content: center;
    grid-template-areas:
    "photo heading"
    "photo txt"
    ;
    gap: 0 min(8vw, calc(120rem/16));
}

#home-company .home-grid__inner.-reverse .home-grid-photo__wrapper{
    position: relative;
}
#home-company .home-grid__inner.-reverse .home-grid-photo__wrapper::after{
    display: block;
    content: "";

    background-image: url(../../images/home/home-sdgs.jpg);
    background-size: contain;
    background-position:right;
    width: 100%;
    height: calc(200rem/16);

    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}
/*------------------------------*/
/* flow */
/*------------------------------*/
#home-flow.content__wrapper{
    width: 100%;
    background-color: var(--c-gray-pale);
    padding: var(--mp-tb-2xl) 0;
}
.home-flow__inner{
    width: calc(1280rem/16);
    max-width: 100%;

    padding: 0 var(--mp-lr-reg);
    margin-top: calc(64rem/16);
	margin-left: auto;
	margin-right: auto;
}
/* フローボックス */
.home-flow__box{
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: min(7vw,calc(64rem/16));
}
/* =====================================*/
.home-flow__box:first-of-type{
    display: grid;
    grid-template-columns: 1fr calc(58% - min(7vw,calc(64rem/16)));
    place-content: center;
    grid-template-areas:
    "photo txt"
    "photo contact"
    ;
    gap: 0 min(7vw,calc(64rem/16));
}
.home-flow-photo__inner{
    grid-area: photo;
}
.home-flow-txt__inner{
    grid-area: txt;
}
.tel-contact__inner{
    grid-area: contact;
}
/* =====================================*/
.home-flow__inner li + li{
    margin-top: calc(104rem/16);

    position: relative;
}
.home-flow__inner li + li::before{
    position: absolute;
    top: calc(-42px + calc(-52rem/16));
    left: 50%;
    transform: translateX(-50%);

    content: "";
    background-color: var(--c-gray-light);
    width: 56px;
    height: 56px;
    clip-path: polygon(100% 50%, 50% 100%, 0% 50%);
}
/* 画像 */
.home-flow__box:first-of-type .home-flow-photo__inner{
    width: 100%;
}
.home-flow-photo__inner{
    width: 42%;
    height: 100%;
    position: relative;
}
.home-flow-photo__inner::before{
    content: "";
    display: block;
    padding-top: 56.25%;
}
.home-flow-photo__inner img{
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
}
/* テキスト */
.home-flow__box:first-of-type .home-flow-txt__inner{
    width: 100%;
}
.home-flow-txt__inner{
    width: calc(58% - min(7vw,calc(64rem/16)));

    min-width: calc(240rem/16);
}
.home-flow-txt__inner .txt{
    margin-top: calc(40rem/16);
}
.home-flow-txt__inner .tel-contact__inner{
    justify-content: flex-start;
}
/* フロー１　お問い合わせボタンインナー */
.home-flow__box:first-of-type .tel-contact__inner{
    justify-content: flex-start;
}



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

/* Tablet 959px */

/*------------------------------*/
/* スマホ縦向きだけサブキャッチぶん下げる */
@media (max-width: 559px) and (orientation: portrait) {
  #home-features.content__wrapper {
    margin-top: calc(240rem/16);
    width: var(--fx-width);
    margin-left: auto;
    margin-right: auto;
  }
}
@media(max-width: 959px){
    /*-------------------------------*/
    /* FEATURES */
    /*------------------------------*/
    #home-features.content__wrapper{
        width: var(--fx-width);
        margin-left: auto;
        margin-right: auto;
    }
    /*-----------------------*/
    /* particles
    /*-----------------------*/
    .wave-band{
        top: unset;
        bottom: calc(var(--mp-tb-2xl)*-1);

        width:calc(320rem/16);
        height:calc(100% + calc(var(--mp-tb-2xl)*2));      

        z-index:-1;
        opacity: 0.7;
    }
    /* =====================================*/
    /* アイテム グリッド */
    ul.home-features__list li.home-features__item{
        display: grid;
        /* 左 = 画像幅を優先、右 = 残り */
        grid-template-columns: minmax(200px, 40%) 1fr;
        /* 行は上: 見出し、下: 画像。右側はテキストが 2 行分を跨ぐ */
        grid-template-rows: auto 1fr;
        column-gap: var(--mp-lr-reg); /* 横の余白 */

        width: 100%;
        min-width: 100%;
        padding: 2em;

        box-sizing: border-box;
        flex-grow: 1;

        position: relative;
    }
    /* 見出しを左上へ */
    .home-features__item-heading{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    /* 画像を左下へ */
    .home-features__item-img{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    /* テキストを右側に大きく配置（2 行分を縦に跨ぐ） */
    .home-features__item-txt{
        grid-column: 2 / 3;
        grid-row: 1 / 3;    /* 見出し行＋画像行をまとめて占有 */
        align-self: center;
        padding-bottom: 1.5em;
    }
    /* =====================================*/
    ul.home-features__list::before,
    ul.home-features__list::after{
        content: none;
    }
    /* ヘディング */
    ul.home-features__list li.home-features__item .home-features__item-heading h3{
        padding: 0.8em;
    }
    /* リード */
    .home-features__lead{
        margin-top: var(--mp-tb-xl);
    }
    /*-------------------------------*/
    /* SERVICE */
    /*------------------------------*/
    #home-service{
        max-width: 100%;
    }
    /* =====================================*/
    .home-grid__inner{
        padding: calc(80rem/16) 0;
        display: flex;
        flex-direction: column;

        gap: calc(40rem/16) 0;
    }
    /* =====================================*/
    /* ヘディング */
    .home-grid-heading__wrapper{
        display: block;
        width: 100%;
    }
    /* テキスト */
    .home-grid-txt__wrapper{
        margin-top: 0;
        padding: 0 var(--mp-lr-reg);
    }
    /*------------------------------*/
    /* company */
    /*------------------------------*/
    #home-company{
        margin-top: calc(80rem/16);
        max-width: 100%;   
    }
    /* =====================================*/
    .home-grid__inner.-reverse{
        padding: 0;
        display: flex;
        flex-direction: column;

        gap: min(4vw,calc(40rem/16)) 0;
    }
    #home-company .home-grid__inner.-reverse .home-grid-photo__wrapper::after{
        height: calc(160rem/16);
    }
    /*------------------------------*/
    /* flow */
    /*------------------------------*/
    #home-flow.content__wrapper{
        padding: calc(80rem/16) 0;
    }
    .home-flow__inner{
        margin-top: calc(40rem/16);
        
        width: 100%;
        max-width: 100%;
    }
    /* フローボックス */
    .home-flow__box{
        width: 100%;

        gap: min(4vw,calc(40rem/16));
    }
     /* =====================================*/
    .home-flow__box:first-of-type{
        display: grid;
        grid-template-columns: 40% calc(60% - min(4vw,calc(40rem/16)));
        grid-template-rows: 1fr auto;
        grid-template-areas:
        "photo txt"
        "contact contact"
        ;
        gap: 0 min(4vw,calc(40rem/16));
    }
     /* =====================================*/
    .home-flow__inner li + li{
        margin-top: calc(80rem/16);
    }
    .home-flow__inner li + li::before{
        top: calc(-40px + calc(-30rem/16));

        width: 40px;
        height: 40px;
    }
    /* 画像 */
    .home-flow-photo__inner{
        width: 40%;
    }
    .home-flow-photo__inner::before{
        padding-top: 66.666%;
    }
    /* テキスト */
    .home-flow-txt__inner{
        width: calc(60% - min(4vw,calc(40rem/16)));

        min-width: calc(240rem/16);
    }
    .home-flow-txt__inner .txt{
        margin-top: calc(24rem/16);
    }

    .home-flow-txt__inner .tel-contact__inner{
        justify-content: flex-start;
    }

    /* フロー１　お問い合わせボタンインナー */
    .home-flow__box:first-of-type .tel-contact__inner{
        margin-top: calc(24rem/16);
        justify-content: center;
    }
    .home-flow__box:first-of-type .tel-contact__inner a{
        margin: 0;
    }
}/*Tablet END*/



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

/* Smartphone 559px */

/*------------------------------*/
@media(max-width:559px){
    /*------------------------------*/
    /* FEATURES */
    /*------------------------------*/
    /*-----------------------*/
    /* particles
    /*-----------------------*/
    .wave-band{
        width: 100%;
        height: 75%;

        top: 45%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    ul.home-features__list li.home-features__item{
        padding: 3em 1.5em;
        padding-bottom: 2em;
        grid-template-columns: 1fr;
        grid-template-rows: auto; /* 通常フローに戻す */
    }
    .home-features__item-heading,
    .home-features__item-img,
    .home-features__item-txt{
        grid-column: 1 / -1;
        grid-row: auto;
        padding-bottom: 0;
    }
    .home-features__item-txt{
        margin-top: 0.5em;
    }
    /* ヘディング */
    ul.home-features__list li.home-features__item .home-features__item-heading h3{
        padding: 1em;
        width: 100%;
    }
    /*------------------------------*/
    /* SERVICE */
    /*------------------------------*/
    /* =====================================*/
    .home-grid__inner{
        padding: calc(64rem/16) 0;
    }
    /* =====================================*/
    /*------------------------------*/
    /* company */
    /*------------------------------*/
    #home-company{
        margin-top: calc(64rem/16);
    }
    /* =====================================*/
    .home-grid__inner.-reverse{
        gap: calc(40rem/16) 0;
    }
    #home-company .home-grid__inner.-reverse .home-grid-photo__wrapper::after{
        height: calc(100rem/16);
    }
    /*------------------------------*/
    /* flow */
    /*------------------------------*/
    #home-flow.content__wrapper{
        padding: calc(64rem/16) 0;
    }
    /* フローボックス */
    .home-flow__box{
        width: 100%;

        gap: 0;
    }
     /* =====================================*/
    .home-flow__box:first-of-type{
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 0;
    }
     /* =====================================*/
    .home-flow__inner li + li{
        margin-top: calc(80rem/16);
    }
    .home-flow__inner li + li::before{
        top: calc(-40px + calc(-30rem/16));

        width: 40px;
        height: 40px;
    }
    /* 画像 */
    .home-flow-photo__inner{
        width: 100%;
    }
    .home-flow-photo__inner::before{
        padding-top: 56.25%;
    }
    /* テキスト */
    .home-flow-txt__inner{
        width: 100%;
        min-width: 100%;
    }
    .home-flow-txt__inner .txt{
        margin-top: calc(24rem/16);
    }
    /* フロー１　お問い合わせボタンインナー */
    .home-flow__box:first-of-type .tel-contact__inner{
        margin-top: calc(24rem/16);
        flex-direction: column;
    }
}/*Smartphone END*/