/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② works はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

/*------------------------------------------------------------
common
------------------------------------------------------------*/
.works {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

#works * {
  box-sizing: border-box;
}

#works a {
  transition: opacity .3s;
  color: unset;
}

#works a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#works a:hover {
  text-decoration: none;
}

#works a:focus-visible {
  outline: none;
}

#works img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#works .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#works .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#works .text {
  margin-bottom: 2em;
}

#works .text:last-of-type {
  margin-bottom: 0;
}

#works .pc-br {
  display: none;
}

#works .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#works .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#works .inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  .works {
    font-size: 16px;
  }
  
  #works a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }
  
  #works a:not([href^="tel:"]):hover {
    opacity: .5;
  }
  
  #works .sp-br {
    display: none;
  }
  
  #works .pc-br {
    display: inline;
  }
}

/*------------------------------------------------------------
font
------------------------------------------------------------*/
#works .font-serif{
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 20;
}

/*------------------------------------------------------------
main-block
------------------------------------------------------------*/
#works .main-ttl{
  position: relative;
  display: flex;
  align-items: center;
  z-index: 0;
  width: 262px;
  height: 46px;
  margin-top: 4px;
}

#works .main-ttl::before{
  position: absolute;
  content: "";
  background-color: #fff;
  width: calc(100% + 52px);
  height: calc(100% + 28px);
  top: -28px;
  left: -12px;
  z-index: -1;
}

#works .main-ttl .ja{
  font-size: 20px;
}

#works .main-ttl .en{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#works .main-block{
  margin-bottom: 81px;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #membesr .main-block{
    overflow: hidden;
  }
  
  #works .main-img{
    height: 560px;
  }
  
  #works .main-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  
  #works .main-ttl{
    width: 696px;
    height: 120px;
    margin-top: 8px;
  }

  #works .main-ttl::before{
    width: calc(100% + 80px);
    height: calc(100% + 72px);
    top: -72px;
    left: 0;
  }
  
  #works .main-ttl::after{
    position: absolute;
    content: "";
    background-color: #fff;
    width: 50vw;
    height: calc(100% + 72px);
    top: -72px;
    left: -50vw;
    z-index: -1;
  }

  #works .main-ttl .ja{
    font-size: 32px;
  }
}




/*------------------------------------------------------------
btn
------------------------------------------------------------*/
#works .btn-01{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#works .btn-box{
  margin-bottom: 24px;
}

#works .btn-box:last-of-type{
  margin-bottom: 0;
}

#works .btn-01 .btn-text{
  font-size: 16px;
  font-weight: 500;
  max-width: 219px;
  width: 100%;
}

#works .btn-arrow{
  position: relative;
  width: 60px;
  height: 60px;
}

#works .btn-arrow::before, #works .btn-arrow::after{
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#works .btn-arrow::after{
  width: 24px;
  height: 24px;
  background-image: url("../images/works/Icon_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#works .btn-arrow::before{
  width: 60px;
  height: 60px;
  background-color: #5E6935;
  border-radius: 50%;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #works .btn-01 .btn-text{
    font-size: 20px;
    max-width: unset;
    width: fit-content;
    margin-right: 32px;
    transition: all .3s ease;
  }
  
  #works .btn-01:hover .btn-text{
    transform: translateX(32px);
  }
  
  #works .btn-01{
    justify-content: space-between;
    margin-bottom: 32px;
    width: 100%;
  }
  
  #works .btn-arrow, #works .btn-arrow::before{
    width: 80px;
    height: 80px;
  }
  
  #works .btn-01:hover .btn-arrow::before{
    background-color: #2F2F2F;
    transform-origin: top left;
    width: 64px;
    height: 64px;
  }
  
  #works .btn-arrow::before{
    transition: .3s ease;
  }
  
  #works .btn-wrap{
    width: fit-content;
  }
  
  #works .btn-wrap a:hover{
    opacity: 1;
  }
}

/*------------------------------------------------------------
content-movie
------------------------------------------------------------*/
#works .content-desc{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 24px;
}

#works .movie-ttl{
  font-size: 20px;
  color: #5E6935;
  margin-bottom: 10px;
}

#works .movie-box{
  width: 100%;
  border: solid 4px #DFBC18;
  position: relative;
  filter: drop-shadow(0px 3px 6px rgba(96, 105, 60, .3));
}

#works .movie-box::before{
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-image: url("../images/works/icon_play.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#works .movie-inner-wrap{
  margin-bottom: 32px;
}

#works .movie-inner-wrap:last-of-type{
  margin-bottom: 0;
}

#works .content-movie{
  margin-bottom: 80px;
}


@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #works .movie-inner-wrap{
    max-width: 368px;
    width: 100%;
  }
  
  #works .movie-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #works .movie-box::after{
    width: 48px;
    height: 48px;
  }
}

/*------------------------------------------------------------
link-box
------------------------------------------------------------*/
#works .link-box-outer{
  margin-bottom: 80px;
}

#works .link-wrap{
  background-color: #F7F7F7;
  padding: 20px 24px;
}

#works .link-text-wrap{
  color: #5E6935;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: solid 1px #BDC1A9;
}

#works .link-text-wrap:first-of-type{
  padding-top: 0;
}

#works .link-text-wrap:last-of-type{
  padding-bottom: 0;
  border-bottom: unset;
}

#works .link-text:after{
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background-image: url("../images/works/Icon_triangle.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#works .link-text{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #works .link-text-wrap{
    font-size: 18px;
  }
  
  #works .link-text-wrap{
    border-bottom: unset;
    padding: 0;
  }
  
  #works .link-text{
    flex-direction: column;
  }
  
  #works .link-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 40px 0 32px;
  }
  
  #works .link-text:after{
    margin-top: 10px;
  }
  
  #works .content-desc{
    margin-bottom: 32px;
  }
  
  #works .link-box-outer{
    margin-bottom: 160px;
  }
  
  #works .link-text-wrap:hover .link-text{
    color: #2F2F2F;
    opacity: 1;
  }
  
  #works .link-text-wrap:hover a{
    opacity: 1;
  }
  
  #works .link-text-wrap:hover .link-text::after{
    opacity: .5;
  }
}


/*------------------------------------------------------------
works-box
------------------------------------------------------------*/
#works .works-box{
  margin-bottom: 80px;
}

#works .works-text-wrap{
  background-color: rgba(247, 247, 247, .85);
  padding: 24px;
  margin-top: -40px;
  position: relative;
}

#works .works-subttl{
  color: #5E6935;
  font-size: 28px;
  position: relative;
  z-index: 50;
}

#works .works-subttl-wrap{
  position: relative;
  margin-bottom: 24px;
}

#works .works-subttl-wrap::after{
  content: "";
  display: block;
  width: 100%;
  height: 37px;
  background-image: url("../images/works/works_subttl_bg.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
}

#works .works-box .works-text{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 37px;
  height: 167px;
  overflow: hidden;
}

#works .works-box .show-more-text{
  color: #5E6935;
  font-size: 18px;
  font-weight: 500;
  padding-right: 8px;
}

#works .show-more::after{
  content: "";
  display: block;
  width: 20px;
  height: 15px;
  background-image: url("../images/works/Icon_triangle_green.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#works .show-more{
  display: flex;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  padding-top: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 247, 247, 1) 70%);
  cursor: pointer;
  transition: bottom .3s;
}

#works .works-box .text-box{
  position: relative;
}

#works .works-box-outer{
  background-image: url("../images/works/works_bg_sp.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}


@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #works .works-box-outer{
    background-image: url("../images/works/works_bg_pc@2x.png");
    padding-bottom: 160px;
    background-repeat: repeat-y;
  }
  
  #works .works-inner-box{
    display: flex;
    position: relative;
    justify-content: flex-end;
    align-items: center;
  }
  
  #works .works-box:nth-of-type(odd) .works-inner-box{
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  
  #works .works-img-wrap{
    max-width: 744px;
    width: calc(100% + 142px);
    margin-left: -142px;
  }
  
  #works .works-box:nth-of-type(2n) .works-img-wrap{
    margin-left: 0;
    margin-right: -142px;
  }
  
  #works .works-text-wrap{
    width: 50%;
    margin: 39px 0;
    padding: 80px 65px 83px;
  }
  
  #works .works-subttl{
    font-size: 40px;
  }
  
  #works .works-subttl-wrap::after{
    height: 58px;
  }
  
  #works .works-box .works-text{
    line-height: 1.81;
    height: 185px;
  }
  
  #works .works-box{
    margin-bottom: 160px;
  }
  
  #works .works-box:last-of-type{
    margin-bottom: 0;
  }
  
  #works .show-more:hover .show-more-text, #works .show-more:hover::after{
    opacity: .8;
  }
  
  #works .works-box .show-more-text, #works .show-more::after{
    transition: all .3s;
  }
  
  
  
  
}