/* ------------------------------
    mixin
------------------------------ */
/* ------------------------------
    portfolio
------------------------------ */
#page_ttl._normal::after {
  background-image: url(../img/portfolio/page_ttl_bg_pc.png);
}
@media screen and (max-width: 767px) {
  #page_ttl._normal::after {
    background-image: url(../img/portfolio/page_ttl_bg_sp.png);
  }
}

#footer {
  border-top: none;
}

/* sec_aum */
#sec_aum {
  padding-top: 6rem;
}
@media screen and (max-width: 767px) {
  #sec_aum .txt.fz12 {
    font-size: 1.6rem !important;
  }
}
#sec_aum .img {
  position: relative;
}
#sec_aum .img img {
  width: 100%;
}
#sec_aum .img a {
  width: 16rem;
  height: 2.4rem;
  position: absolute;
  left: 12rem;
  bottom: 3.5rem;
}
@media screen and (max-width: 767px) {
  #sec_aum .img a {
    width: 22rem;
    top: 59.5rem;
    left: 14rem;
    height: 3rem;
  }
}

/* sec_portfolio */
#sec_portfolio {
  margin-top: 8rem;
  padding-top: 6rem;
  overflow: hidden;
}
#sec_portfolio .box {
  position: relative;
  padding-bottom: 8rem;
  margin-top: 6rem;
}
#sec_portfolio .box::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 95%;
  height: calc( 100% - 25rem );
  background: #e7e7e7;
  z-index: -1;
}
#sec_portfolio .box + .box {
  margin-top: 10rem;
}
#sec_portfolio .imgCol {
  align-items: center;
}
#sec_portfolio .imgCol_i {
  width: 98rem;
  height: 38rem;
}
#sec_portfolio .imgCol_i .inner {
  width: 0;
  overflow: hidden;
  transition: width 1s ease;
}
#sec_portfolio .imgCol_i .img {
  width: 98rem;
  height: 38rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, calc( 100% - 7rem ) 100%, 0 100%);
}
#sec_portfolio .imgCol_i .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#sec_portfolio .imgCol_i .txt {
  color: #fff;
  position: absolute;
  right: 8rem;
  bottom: 1.5rem;
  font-size: 2rem;
  line-height: 1.4;
}
#sec_portfolio .imgCol_t {
  padding-top: 4rem;
}
#sec_portfolio .imgCol.scroll-show .imgCol_i .inner {
  width: 100%;
}
#sec_portfolio .grid_4 {
  margin-top: 3rem;
}
#sec_portfolio .grid_4 .img {
  width: 100%;
  height: 24rem;
  background: #fff;
}
#sec_portfolio .grid_4 .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
#sec_portfolio .grid_4 .txt {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-top: 0.5em;
}
#sec_portfolio .grid_4 a {
  display: block;
  padding-bottom: 2rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  #sec_portfolio .grid_4 a:hover {
    opacity: 1;
  }
  #sec_portfolio .grid_4 a:hover .img img {
    opacity: 0.6;
  }
}
#sec_portfolio .grid_4 .ico_arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4rem;
}
#sec_portfolio .bnr {
  margin-top: 6rem;
}
#sec_portfolio .bnr a {
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 56rem;
  height: 8rem;
  padding: 2rem;
  font-size: 1.4rem;
  line-height: 1.4;
  position: relative;
}
#sec_portfolio .bnr a .ico_arrow {
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 4rem;
}
#sec_portfolio .bnr a:hover {
  opacity: 1;
}
#sec_portfolio .box:nth-child(odd)::before {
  left: 0;
}
#sec_portfolio .box:nth-child(odd) .imgCol {
  flex-direction: row-reverse;
}
#sec_portfolio .box:nth-child(odd) .imgCol_i .img {
  clip-path: polygon(7rem 0, 100% 0, 100% 100%, 0 100%);
}
#sec_portfolio .box:nth-child(odd) .imgCol_i .txt {
  right: auto;
  left: 2rem;
}
#sec_portfolio .box:nth-child(odd) .imgCol_t {
  margin-left: 0;
  margin-right: 4rem;
  text-align: right;
}
@media screen and (max-width: 767px) {
  #sec_portfolio .box::before {
    width: 100%;
    height: calc( 100% - 25rem );
  }
  #sec_portfolio .imgCol {
    position: relative;
  }
  #sec_portfolio .imgCol_i {
    width: 75vw;
    height: 30rem;
  }
  #sec_portfolio .imgCol_i .img {
    width: 75vw;
    height: 30rem;
  }
  #sec_portfolio .imgCol_i .txt {
    font-size: 1.4rem;
  }
  #sec_portfolio .imgCol_t {
    position: absolute;
    right: 5vw;
    top: 15rem;
    margin: 0;
  }
  #sec_portfolio .imgCol_t img {
    height: 5vw;
  }
  #sec_portfolio .grid_4 .item {
    padding-bottom: 2rem;
  }
  #sec_portfolio .grid_4 .img {
    height: 18rem;
  }
  #sec_portfolio .grid_4 .txt {
    font-size: 1.4rem;
  }
  #sec_portfolio .bnr {
    margin-top: 2rem;
  }
  #sec_portfolio .bnr a {
    width: 100%;
    text-align: left;
  }
  #sec_portfolio .bnr a img {
    width: 50%;
  }
  #sec_portfolio .bnr a .ico_arrow {
    top: auto;
    bottom: 1rem;
    right: 1rem;
  }
  #sec_portfolio .box:nth-child(odd)::before {
    left: 0;
  }
  #sec_portfolio .box:nth-child(odd) .imgCol {
    display: flex;
  }
  #sec_portfolio .box:nth-child(odd) .imgCol_i .img {
    clip-path: polygon(7rem 0, 100% 0, 100% 100%, 0 100%);
  }
  #sec_portfolio .box:nth-child(odd) .imgCol_t {
    margin: 0;
    left: 5vw;
    text-align: left;
  }
}

/* sec_valueup */
#sec_valueup {
  background: #d1d1d1;
  margin: 25rem 0 15rem;
  padding: 10rem 0;
}
#sec_valueup::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7rem;
  width: 100%;
  height: calc( 100% + 14rem );
  background: #d1d1d1;
  clip-path: polygon(0 7rem, 100% 0, 100% calc( 100% - 7rem ), 0 100%);
}
#sec_valueup .case {
  margin-top: 4rem;
}
#sec_valueup .case .item {
  background: #fff;
}
#sec_valueup .case .item + .item {
  margin-top: 3rem;
}
@media screen and (min-width: 768px) {
  #sec_valueup .case .item a:hover {
    opacity: 1;
  }
  #sec_valueup .case .item a:hover .img img {
    opacity: 0.6;
  }
}
#sec_valueup .case .item .inner {
  display: flex;
  justify-content: flex-start;
}
#sec_valueup .case .item .img {
  flex: 0 0 auto;
  width: 30rem;
  min-height: 22rem;
  background: #fff;
}
#sec_valueup .case .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
#sec_valueup .case .item .detail {
  padding: 3rem;
  position: relative;
}
#sec_valueup .case .item .detail .txt {
  font-size: 2rem;
  margin: 0.5em 0;
}
#sec_valueup .case .item .detail .ico_arrow {
  position: absolute;
  right: 3rem;
  bottom: 2rem;
}
@media screen and (max-width: 767px) {
  #sec_valueup {
    margin: 15rem 0 10rem;
  }
  #sec_valueup .case {
    margin: 4rem -5vw 0;
  }
  #sec_valueup .case .item .img {
    width: 30vw;
    min-height: 30vw;
  }
  #sec_valueup .case .item .detail {
    padding: 2rem;
  }
  #sec_valueup .case .item .detail .ttl img {
    height: 2.5vw;
  }
  #sec_valueup .case .item .detail .txt {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}
