#project{
    font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体 , YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
    position: relative;
}
#project .js-fadein {
    opacity: 0;
    transform: translate(0, 20px);
    transition-property: opacity, transform;
    transition-duration: 1s;
}
#project .scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}

#project .wt{
    color:#fff;
}
#project a:hover{
    text-decoration: none;
}
#project .wrap{
    max-width: 1200px;
    margin:auto;
}

#project img{
    max-width: 100%;
}
#project p {
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #2f2f2f;
}

#project .pc-only{
    display: none;
}
#project .mb-only{
    display:block;
}

#project .br-point{
  display: inline-block;
  
}

#project .fl{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#project .work-item picture{
    display: grid;
}
#project .font-serif {
    font-family: 'Noto Serif JP', serif;
}
#project .content-inner{
    padding:0 12px;
}
/*BANNER*/

    #project .inner {
       width: calc(100% - 24px);
      max-width: 1200px;
      margin: 0 auto;
    }
#project .main-img {
    height: fit-content;
}
#project .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

#project .main-block .box-text{
    padding-top: 79px;
    padding-bottom: 24px;
    position: relative;
}
#project .main-block .box-text .shape{
    position: absolute;
    width: 187px;
    right:0;
    bottom:0;
}
#project .main-block .box-text .text{
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #2f2f2f;
}

/*WORK STORY*/
#project .work-story{
    background-image: none;
    background-size: cover;
    background-position: top;
    background-color: #F7F7F7;
}
#project .work-story .content-inner{
    padding: 42px 12px 80px 12px;
}
#project .work-story .content-inner .work-list .work-item{
    position:relative;
    padding-bottom:0px;
}
#project .work-story .content-inner .work-list .work-item:first-child{
    margin-bottom:79px;
}
#project .work-story .content-inner .work-list .work-item .open{
    position: relative;
}
#project .work-story .content-inner .work-list .work-item .open .img-box{
    width: 100%;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .ttl{
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #5e6935;
    position: relative;
    display: flex;
    align-items: flex-end;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .ttl:after{
    content:"";
    width:100%;
    height: 1px;
    background: #5E6935;
    left:0;
    bottom:-8px;
    position: absolute;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .text{
    font-size: 24px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #5e6935;
    margin-top: 17px;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .text .spm{
    position: relative;
    left: 18px;
}
#project .work-story .content-inner .work-list .work-item .open .box-text{
    position: absolute;
    right: 12px;
    bottom: -155px;
    width: calc(100% - 24px);
    max-height: 249px;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .case{
    margin-right: 12px;
    position: relative;
    top: 4px;
    left: 0px;
    width: 82.5px;
    display: inline-block;
    max-width: 120px;
}
#project .work-story .content-inner .work-list .work-item .open .box-text .text-inner{
    padding: 18px 20px 0 20px;
    background-color: #fff;
}

#project .work-story .content-inner .work-list .work-item .work-content{
    background-color: #fff;
    padding: 37px 20px 40px 20px;
    margin: 155px 12px 0 12px;
}
#project .work-story .content-inner .work-list .work-item .work-content .head{
    font-size: 19px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #2F2F2F;
    margin-bottom: 12px;
}
#project .work-story .content-inner .work-list .work-item .work-content .head span{
    color:#8C9611
}

#project .work-story .content-inner .work-list .work-item .work-content .gap{
    height: 36px;
}
#project .work-story .content-inner .work-list .work-item .work-content .ni{
    height: 2px;
}
#project .work-story .content-inner .work-list .work-item .work-content .ichi{
    height: 1px;
}
#project .work-story .content-inner .work-list .work-item .work-content .detail .img-box{
    width:100%;
    position: relative;
    top: 2px;
    order:1;
}
#project .work-story .content-inner .work-list .work-item .work-content .detail{
    row-gap: 16px;
}
#project .work-story .content-inner .work-list .work-item .work-content .detail .text-box{
    width:calc(100%);
    order:2;
}
#project .work-story .content-inner .work-list .work-item .end{
    width: calc(100% - 24px);
    position: absolute;
    left: 12px;
    bottom: 0;
    z-index: 1;
}
#project .zd2{
    position: relative;
    z-index: 2;
}

#project .work-story .content-inner .work-list .work__id2 .open .box-text{
     bottom: -120px;
 }

#project .work-story .content-inner .work-list .work__id2 .work-content{
    margin: 110px 12px 0 12px;
}

#project .work-story .content-inner .work-list .work__id2 .work-content .mg9{
    margin-bottom:9px;
}
#project .work-story .content-inner .work-list .work__id2 .work-content .mg8{
    margin-bottom: 8px;
}
/*PC SCREEN*/

@media(min-width:768px){
    #project .h73{
        height: 73px !important;
    }
    #project .work-story .content-inner .work-list .work__id2 .work-content .mg9, #project .work-story .content-inner .work-list .work__id2 .work-content .mg8{
        margin-bottom:auto;
    }
    #project .pc-only {
        display: block;
    }

    #project .mb-only {
        display: none;
    }
    #project .wt{
        color:#fff;
    }

    #project p{
        font-size:16px;
        line-height: 28.8px;
        font-weight: 500;
    }
    #project .mg20{
        margin-top:20px;
    }

    /*BANNER*/
    #project .main-img {
        height: unset;
    }
    #project .main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    #project .main-block .box-text{
        padding-top:157.4px;
        padding-bottom:64px;
    }
    #project .main-block .box-text .text{
        font-size: 16px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.8;
        letter-spacing: normal;
        text-align: left;
        color: #2f2f2f;
    }

    /*WORK STORY*/
    #project .work-story{
        background-image: url("../images/project/bg@2x.png");
        background-size: cover;
        background-position: top;
    }
    #project .work-story .content-inner{
        padding:94px 0 164px 0;
    }
    #project .work-story .content-inner .work-list .work-item{
        position:relative;
        padding-bottom:64px;
    }
    #project .work-story .content-inner .work-list .work-item:first-child{
        margin-bottom:160px;
    }
    #project .work-story .content-inner .work-list .work-item .open{
        position: relative;
    }
    #project .work-story .content-inner .work-list .work-item .open .img-box{
        width: 81.83333333%;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .ttl{
        font-size: 16px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.4;
        letter-spacing: normal;
        text-align: left;
        color: #5e6935;
        position: relative;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .ttl:after{
        content:"";
        width:100%;
        height: 1px;
        background: #5E6935;
        left:0;
        bottom:-9px;
        position: absolute;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .text{
        font-size: 32px;
        font-weight: 600;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.6;
        letter-spacing: normal;
        text-align: left;
        color: #5e6935;
        margin-top: 19px;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .text .spm{
        position: relative;
        left: 0px;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text{
        position: absolute;
        right:0;
        bottom:0;
        width: 600px;
        max-height: 249px;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .case{
        margin-right: 24px;
        position: relative;
        top: 5px;
        left: 1px;
        width: 120px;
        display: inline-block;
        max-width:120px;
    }
    #project .work-story .content-inner .work-list .work-item .open .box-text .text-inner{
        padding: 44px 40px 0 40px;
        background-color: #fff;
    }

    #project .work-story .content-inner .work-list .work-item .work-content{
        background-color: #fff;
        padding:62px 56px 0 56px;
        margin:unset;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .head{
        font-size: 32px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.6;
        letter-spacing: normal;
        text-align: left;
        color: #2F2F2F;
        margin-bottom:20px;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .head span{
        color:#8C9611
    }

    #project .work-story .content-inner .work-list .work-item .work-content .gap{
        height: 78px;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .ni{
        height: 2px;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .ichi{
        height: 1px;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .detail .img-box{
        width:100%;
        position: relative;
        top: 2px;
        order:1;
    }

    #project .work-story .content-inner .work-list .work-item .work-content .detail .text-box{
        width:calc(100%);
        order:2;
    }
    #project .work-story .content-inner .work-list .work-item .end{
        width: 100%;
        position: absolute;
        left:0;
        bottom:0;
        z-index: 1;
    }
    #project .zd2{
        position: relative;
        z-index: 2;
    }
}


@media(min-width: 1200px){
    #project .main-img {
        height: 560px;
    }
    #project .main-ttl .en {
        width: 688px;
    }
    #project .inner:before {
        height: 192px;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .detail .img-box {
        width: 504px;
        order:2;
    }
    #project .work-story .content-inner .work-list .work-item .work-content .detail .text-box {
        width: calc(100% - 552px);
        order:1;
    }
}

/*IPHONE SE*/
@media(max-width: 374px){
    #project .work-story .content-inner .work-list .work-item .open .box-text .ttl {
        font-size: 13px;
    }
}

/*------------------------------------------------------------
main-block
------------------------------------------------------------*/
#project .main-ttl{
  position: relative;
  display: flex;
  align-items: center;
  z-index: 0;
  width: 262px;
  height: 46px;
  margin-top: 4px;
}

#project .main-ttl::before{
  position: absolute;
  content: "";
  background-color: #fff;
  width: calc(100% + 52px);
  height: calc(100% + 28px);
  top: -28px;
  left: -12px;
  z-index: -1;
}

#project .main-ttl .ja{
  font-size: 20px;
}

#project .main-ttl .en{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

/*#project .main-block{
  margin-bottom: 81px;
}*/

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #membesr .main-block{
    overflow: hidden;
  }
  
  #project .main-img{
    height: 560px;
  }
  
  #project .main-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  
  #project .main-ttl{
    width: 696px;
    height: 120px;
    margin-top: 8px;
  }

  #project .main-ttl::before{
    width: calc(100% + 80px);
    height: calc(100% + 72px);
    top: -72px;
    left: 0;
  }
  
  #project .main-ttl::after{
    position: absolute;
    content: "";
    background-color: #fff;
    width: 50vw;
    height: calc(100% + 72px);
    top: -72px;
    left: -50vw;
    z-index: -1;
  }

  #project .main-ttl .ja{
    font-size: 32px;
  }
  
  /*#project .main-block{
    margin-bottom: 160px;
  }*/
}