@charset "utf-8";
/* CSS Document */
/*  見出し  */
.top-title>h1 {
  font-size: clamp(2.8rem, 5vw, 4.0rem);
  display: block;
  margin: clamp(110px, 15vw, 180px) auto clamp(60px, 14vw, 160px);
}
.sectionTitle5 {
  position: relative;
  text-align: center;
}
.sectionTitle5::after {
  content: attr(data-en);
  font-size: clamp(8.0rem, 22vw, 26.0rem);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #81C164;
  opacity: .2;
  z-index: -9;
  overflow: hidden;
  width: 100%;
}
/* ============== 内容 ここから ============== */
.top-bg {
  position: relative;
  height: 440px;
  background:url("../img/reform/reform-top.jpg") no-repeat center / cover;
}
.top-bg img {
  position: absolute;
  display: block;
  width: 53vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.inner-wrap {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
}
.inner-right,.inner-left {
  margin-bottom: 60px;
}
/* ============== スクロールしたら画像イン ここから ============== */
.pic-scroll {
  overflow: hidden;
  position: relative;
}
.pic-scroll img {
  object-fit: cover;
  object-position: left;
}
.pic-scroll.scroll-animation {
  animation: pic-SlideIn 0.5s cubic-bezier(.4, 0, .2, 1);
}
.pic-scroll.scroll-animation:before {
  animation: pic-SlideIn-before 0.5s cubic-bezier(.4, 0, .2, 1) forwards;
  background: #fff;
  bottom: 0;
  content: '';
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
@keyframes pic-SlideIn {
  0% {
    opacity: 0;
  }
}
@keyframes pic-SlideIn-before {
  100% {
    transform: translateX(100%);
  }
}
/* ============== スクロールしたら画像イン ここまで ============== */
.inner-description {
  margin: 60px auto;
  width: 90vw;
  max-width: 500px;
  text-align: left;
}
.inner-description h2 {
  font-size: 2.0rem;
  line-height: 32px;
}
.inner-description p {
  position: relative;
  margin-top: 20px;
  padding-top: 20px;
}
.inner-description p::before {
  content: "";
  background-image: linear-gradient(to right, #000, #000 3px, transparent 3px, transparent 8px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
}
/* ============== 下スライド ここから ============== */
.slide-wrap {
  background-color: #f3f3f3;
  padding: 60px 0;
}
.slide-wrap h2 {
  width: 80vw;
  margin: 0 auto 30px;
}
.slider li {
  margin: 0 10px;
  width: 80vw;
}
.slider li img {
  width: 100%;
  height: auto;
}
/*  実績・お問い合せ　moreのボタン  */
.work-moreBtn {
  width: 75vw;
  margin: 60px auto 80px;
  border: solid 1px #333;
  padding: 18px 0;
  display: inline-block;
  outline: none;
  text-align: center;
}
/* ============== TAB(600px)レスポンシブ ============== */
@media only screen and (min-width:600px) {
  /* ============== 内容 ここから ============== */
  .contents {
    background-color: #f3f3f3;
  }
  .top-bg {
    height: 600px;
  }
  .top-bg img {
    max-width: 360px;
    top: 60%;
    left: 70%;
    transform: translate(-58%, -65%);
  }
  /* ============== 下スライド ここから ============== */
  .slide-wrap {
    padding: 0;
  }
  .slide-wrap h2 {
    width: 52vw;
  }
  .slider li {
    margin: 0 10px;
    width: 80vw;
  }
  .slider li img {
    width: 100%;
    height: auto;
  }
  /*  お問い合せ　moreのボタン ここから  */
  .work-moreBtn {
    width: 50vw;
  }
  .moreBtn {
    max-width: 320px;
	  position: relative;
    transition: all .2s linear;
  }
  .moreBtn:hover{
    background-color:#333;
    color:#fff;
    opacity: 1;
  }
  /*矢印と下線の形状*/
  .moreBtn::before{
    content:"";
      /*絶対配置で下線の位置を決める*/
    position: absolute;
    top:50%;
    right:-52px;
      /*下線の形状*/
    width:74px;
    height:0.5px;
    background-color:#333;
    /*アニメーションの指定*/
    transition: all .2s linear;
  }
  /*hoverした際の移動*/
  .moreBtn:hover::before{
    right:-73px;
  }
  /*  お問い合せ　moreのボタン ここまで  */
}
@media only screen and (min-width:767px) {
  .inner-wrap {
    margin: 130px auto 0;
    max-width: 1920px;
  }
  .inner-right,.inner-left  {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 130px;
  }
  .inner-left {
    flex-direction: row;
  }
  .pic-scroll {
    width: 75vw;
  }
  .inner-description {
    position: absolute;
    background-color: #fff;
	max-width: 400px;
    padding: 3%;
    margin: 0;
  }
  .description_right {
    top: 50%;
    left: 5vw;
    transform: translate(-5%, -50%);
  }
  .description_left {
    top: 50%;
    right: 5vw;
    transform: translate(5%, -50%);
  }
}
  /* ============== PC(1025px)レスポンシブ ============== */
@media only screen and (min-width:1023px) {
  /* ============== 内容 ここから ============== */
  .top-bg {
    margin-bottom: 160px;
  }
  .inner-right,.inner-left {
    margin-bottom: 180px;
	max-height: 900px;
  }
  .inner-description {
	max-width: 500px;
	padding: 5%;
  }
  .inner-description h2 {
    font-size: 2.6rem;
    line-height: 50px;
  }
  .inner-description p {
    font-size: 1.8rem;
    line-height: 36px;
	margin-top: 30px;
  	padding-top: 30px;
  }
  /* ============== 下スライド ここから ============== */
  .slide-wrap h2 {
    font-size: 2.4rem;
    line-height: 38px;
    width: 600px;
    margin-bottom: 60px;
  }
  /*  実績・お問い合せ　moreのボタン  */
  .work-moreBtn {
    margin: 100px auto 180px;
  }
}








