@charset "UTF-8";

/****** トップページ ******/
/*--------------------------------------------
	MV
---------------------------------------------*/
.mv {
  position: relative;

  .inner {
    height: 100vh;

    @media (width <= 767px) {
      max-width: 96%;
      width: 96%;
    }
  }
  .catch_area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    overflow: hidden;
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
    margin: 0 auto;

    .catch {
      font-size: 3.75vw;
      text-shadow: 0px 0px 12px #0f5ca8;
      letter-spacing: 0.02em;
      line-height: 1.4;
      margin-bottom: 40px;

      @media (768px <= width <= 1024px) {
        font-size: 5.4vw;
        margin-bottom: 8%;
      }
      @media (width <= 767px) {
        font-size: 6.8vw;
        letter-spacing: -0.06em;
        line-height: 1.6;
        margin-bottom: 10%;
      }
    }
  }

  .mv_txt {
    max-width: 1200px;
    width: 60vw;
    margin: 0 auto;

    @media (1920px <= width) { max-width: 100%; }
    @media (width <= 1600px) { max-width: 940px; }
    @media (width <= 1024px) { width: 90%; }

    span {
      display: inline-block;
      background-color: #47B1CE;
      background: rgba(71,177,206,0.8);
      margin-bottom: 6px;
      width: 100%;
      font-size: 1.5625vw;
      line-height: 2.2;
      font-weight: 500;

      @media (768px <= width <= 1024px) {
        font-size: 2.15vw;
        margin-bottom: 10px;
      }
      @media (width <= 767px) {
        display: block;
        margin-bottom: 8px;
        font-size: 3.6vw;
        line-height: 1.4;
        padding: 1% 1% 1.5% 3%;
        text-align: left;
      }
    }
  }
  
  .mv_scroll {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    height: 62px;
    z-index: 2;

    span {
      color: #fff;
      font-size: 2rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-align: center;
      text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.85);

      @media (width <= 767px) {
        font-size: 1.8rem;
      }
    }
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      margin: 0 auto;
      color: #fff;
      line-height: 1;
      width: 2em;
      height: 2em;
      border: 2px solid currentColor;
      border-left: 0;
      border-bottom: 0;
      box-sizing: border-box;
      transform: translateY(-25%) rotate(135deg);

      @media (width <= 767px) {
        bottom: 1em;
        width: 1.5em;
        height: 1.5em;
      }
    }
  }

  video {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }
}

/*--------------------------------------------
	お知らせ
---------------------------------------------*/
.news {
    margin-top: 5%;
    @media (width <= 1024px) {
      margin-top: 10%;
    }

  .flex_b {
    align-items: center;
    justify-content: center;

    @media (width <= 1024px) {
      display: block;
      /*background: #F2F2F2;*/

      @media (768px <= width <= 1024px) {
        padding: 5%;
      }
      @media (width <= 767px) {
        padding: 5% 5% 8%;
      }
    }
  }
  .cmn_ttl {
    z-index: 5;
    @media (width <= 1024px) {
      position: absolute;
      left: 0;
    }
    @media (768px <= width <= 1024px) {
      top: -0%;
    }
    @media (width <= 767px) {
      top: -5.5%;
    }

    .en { font-size: 6.6rem; }
    .jp { font-size: 1.8rem; }

    @media (width <= 1200px) {
      .en { font-size: 5rem; }
      .jp { font-size: 1.5rem; }
    }
    @media (width <= 767px) {
      .en { font-size: 4rem; }
      .jp { font-size: 1.2rem; }
    }
  }
  .news_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc( 100% + 30px);
    margin-left: -30px;
    padding: 0 3% 0 5%;
    background-color: #F2F2F2;
    @media (width <= 1024px) {
      width: 100%;
      margin-left: 0;
      padding: 5%;
      flex-direction: column;
   }
    @media (width <= 767px) {
    }
  }
  .news_list {
    padding: 28px 0;

    @media (width <= 1200px) {
      padding: 3% 0 4%;
      max-width: auto;
      width: 100%;
    }
    @media (width <= 767px) {
      padding: 10% 0;
    }

    li a {
      display: flex;
      justify-content: left;
      align-items: center;
      padding: 3px 0;

      @media (width <= 1200px) {
        display: block;
      }

      .date {
        min-width: 100px;
        width: 12%;
        text-align: left;
        font-weight: 600;
      }
      .news_title {
        min-width: 500px;
        max-width: 700px;
        width: 86%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 0 3%;

        @media (1700px <= width) {
          max-width: 860px;
        }
        @media (width <= 1200px) {
          padding: 0;
        }
        @media (768px <= width <= 1024px) {
          max-width: 100%;
          width: 100%;
        }
        @media (width <= 767px) {
          white-space: wrap;
          min-width: auto;
          max-width: auto;
          width: 100%;
        }
      }
    }
  }
  .btn.type_01 {
    margin-left: auto;
    max-width: 300px;
    min-width: 150px;
    height: 60px;
    padding: 17px 0 20px;
    font-size: 1.5rem;

    @media (width <= 1600px) {
      max-width: 200px;
    }
    @media (768px <= width <= 1024px) {
      margin: 0 auto;
      max-width: 500px;
    }
    @media (width <= 767px) {
      width: 75%;
      max-width: 75%;
      margin: 0 auto;
      padding: 5% 0;
    }
  }
}

/*--------------------------------------------
	マルチメディアエンジニアリングとは
---------------------------------------------*/
.about {
  background: url("/assets/img/about/about_bg.jpg") no-repeat left -1vw top 8vh / cover;
  height: 100%;

  @media (width <= 767px) {
    background: url("/assets/img/about/about_bg_sp.jpg") no-repeat right top 13.5vh / cover;
    height: auto;
    margin-top: 23%
  }

  .content {
    position: relative;
    height: 57vw;
    max-width: 1234px;
    margin-right: auto;

    @media (width <= 1024px) {
      max-width: 90%;
      margin: 0 auto;
      height: 59vw;
    }
    @media (width <= 767px) {
      height: 85vh;
    }
  }
  .img_area {
    position: absolute;
    top: 7%;
    left: 4vw;
    width: 42vw;

    @media (768px <= width <= 1024px) {
      left: 0;
      width: 45%;
    }
    @media (width <= 767px) {
      top: 5vh;
      left: 0;
      width: 79%;
    }
    img {
      max-width: 900px;
      width: 100%;
    }
  }
  .txt_area {
    background-color: #FFF;
    padding: 4% 4% 0 4%; 
    position: absolute;
    bottom: 0;
    left: 49vw;
    width: 45vw;
    min-width: 530px;
    z-index: 2;

    @media (width <= 1024px) {
      min-width: auto;
    }
    @media (768px <= width <= 1024px) {
      left: auto;
      right: -3vw;
      width: 70%;
    }
    @media (width <= 767px) {
      padding: 5% 5% 0 4%; 
      /*padding: 11% 7% 8%;*/
      right: 0;
      left: auto;
      width: 92%;
    }
    .sub_ttl {
      font-size: 2.6rem;
      font-weight: 600;
      line-height: 1.3;
      color: #0F5CA8;

      @media (width <= 767px) {
        font-size: 5vw;
      }
    }
    .top_txt {
      padding: 5% 0;

      @media (width <= 767px) {
        padding: 2% 0 5%;
      }
    }
    .point {
      
      .point_box {

        &:first-child {
          margin-bottom: 5%;
        }
        & img {
          align-self: flex-start;
          max-width: 236px;
          width: 100%;

          @media (width <= 767px) {
            max-width: 130px;
          }
        }
      }
      .num_ttl {
        margin-left: 5%;
        display: flex;

        @media (width <= 767px) {
          display: block;
        }

        .num {
          color: #47B1CE;
          margin-right: 8%;
          font-size: 2.6rem;
          line-height: 1.4;
          padding: 0 10px;

          @media (width <= 767px) {
            margin-right: 0;
            font-size: 1.8rem;
            line-height: 1.2;
            padding: 0 6px;
          }
        }
        h4 {
          line-height: 1.6;
          font-size: 2rem;
          font-weight: 600;

          @media (width <= 767px) {
            line-height: 1.3;
            font-size: 1.6rem;
            font-weight: bold;
            margin-top: 5%;
          }
          .br {
            display: none;
            @media (width <= 1600px) {
              display: block;
            }
          }
        }
      }
    }
  }
}

/*--------------------------------------------
　事業案内
---------------------------------------------*/
.service {
  position: relative;
  padding-bottom: 13%;
  margin-bottom: 13%;

  @media (768px <= width <= 1024px) {
    padding-bottom: 7%;
  }
  @media (width <= 767px) {
    padding: 0 0 21%;
    margin: 25% 0 0;
  }
  .service_bg {
    background: linear-gradient(to right, #FFF 0, #FFF 13%, #F2F2F2 13%, #F2F2F2 100%);
    position: absolute;
    top: 3.3%;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    @media (width <= 1024px) {
      top: 2%;
    }
  }
  .cmn_ttl {
    text-align: center;
  }
  .content_bg {
    height: 469px;

    &:first-child {
      background: url("/assets/img/service/service_bg01.jpg") no-repeat top center / cover;
    }
    &:nth-child(2) {
      background: url("/assets/img/service/service_bg02.jpg") no-repeat top center / cover;
    }
    &:nth-child(3) {
      background: url("/assets/img/service/service_bg03.jpg") no-repeat top center / cover;
    }
    &:not(:first-child) {
      margin-top: 19%;
    }

    @media (width <= 1024px) {
      &:not(:first-child) {
        margin-top: 24%;
      }
    }

    /*@media (width <= 767px) {
      &:first-child {
        background-image: url("/assets/img/service/service_bg01_sp.jpg");
        background-size: 100% 287px;
      }
      &:nth-child(2) {
        background-image: url("/assets/img/service/service_bg02_sp.jpg");
        background-size: 100% 287px;
      }
      &:nth-child(3) {
        background-image: url("/assets/img/service/service_bg03_sp.jpg");
        background-size: 100% 287px;
      }
    }*/

    @media (width <= 767px) {
      height: auto;

      &:first-child {
        background-image: url("/assets/img/service/service_bg01_sp.jpg");
        background-size: 100% 50%;
      }
      &:nth-child(2) {
        background-image: url("/assets/img/service/service_bg02_sp.jpg");
        background-size: 100% 50%;
      }
      &:nth-child(3) {
        background-image: url("/assets/img/service/service_bg03_sp.jpg");
        background-size: 100% 50%;
      }
      &:not(:first-child) {
        margin-top: 19%;
      }
    }
  }
  .inner {
    height: 605px;
    
    /*@media (width <= 1024px) {*/
    @media (width <= 767px) {
      position: static;
      height: auto;
    }
  }
  .service_ttl {
    bottom: 26%;

    /*@media (width <= 1024px) {*/
    @media (width <= 767px) {
      position: static;
      padding-top: 40%;
    }

    .num {
        @media (width <= 1024px) {
          display: inline-block;
          min-width: 50px;
          padding: 4px 0;
          margin-bottom: 10px;
          font-size: 4.6vw;
          text-align: center;
          line-height: 1;
        }
        @media (width <= 767px) {
          min-width: 45px;
          padding: 4px 0;
          font-size: 3rem;
        }
    }

    .title {
      @media (width <= 1024px) {
        font-size: 5vw;
      }
      @media (width <= 767px) {
          font-size: 3.6rem;
      }
    }
  }
  .content_bg:nth-child(3) {
    .service_ttl {
      .title {
        @media (width <= 1300px) {
          font-size: 5vw;
        }
        @media (width <= 767px) {
            font-size: 4rem;
        }
      }
    }
  }

  .txt_area {
    width: 42vw;
    background-color: #FFF;
    padding: 3.2% 3.2% 3.5%;
    position: absolute;
    right: 0;
    bottom: 0;

    /*@media (width <= 1024px) {*/
    @media (width <= 767px) {
      width: 100%;
      padding: 6% 6% 8%;
      margin-bottom: 8%;
      position: relative;
      z-index: 1;
    }
  }
  .btn.type_01 {
    max-width: 600px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    /*@media (width <= 1024px) {*/
    @media (width <= 767px) {
      position: relative;
      margin: 0 auto;
      width: 100%;
    }
  }

  .content_bg {
    &:nth-child(2) {
      .service_ttl {
        right: 0;
        left: auto;
        text-align: right;
          
          /*@media (width <= 1024px) {*/
          @media (width <= 767px) {
            text-align: left;
          }
        }
      .txt_area {
        left: 0;
        right: auto;
      }
      .btn.type_01 {
        right: 0;
        left: auto;
      }
    }
  }
}

/*--------------------------------------------
　施工事例・省エネソリューション・企業情報
---------------------------------------------*/
.others {
  text-align: center;
  background: url("/assets/img/others_bg.jpg") no-repeat center top / cover;
  padding: 10% 0;

  @media (width <= 767px) {
    background: url("/assets/img/others_bg_sp.jpg") no-repeat center top / cover;
    margin-top: 0;
    padding: 41% 0 12%;
  }
  .inner {
    @media (width <= 767px) {
      max-width: 76%;
    }
  }
  .clm3_grid {
    margin: 0 auto;
    gap: 3%;

    .grid_item {
      background: #fff;
      box-shadow: 0px 0px 10px rgba(15, 92, 168, 0.5);

      @media (width <= 767px) {
        margin: 0 auto 10%;
      }
    }
  }

  .img_area {
    overflow: hidden;

    img {
      width: 100%;
      height: auto;
      transition: transform .6s ease;
    }
  }
  .grid_item:hover {
    background-color: #0F5CA8;
  }
  .grid_item a:hover {
    opacity: 1;

    .img_area img {
      transform: scale(1.1);
    }
  }

  .cmn_ttl {
    padding: 8% 0 10%;
    
    .en {
      font-size: 4.2rem;

      @media (768px <= width <= 1024px) {
        font-size: 3.6vw;
      }
      @media (width <= 767px) {
        font-size: 8vw;
      }
    }
    .jp {
      font-size: 1.6rem;
    }
  }
  .grid_item:hover {
    .cmn_ttl {
      .en {
        color: #fff;
      }
      .jp {
        color: #fff;
      }
    }
  }
}

/*--------------------------------------------
	採用情報
---------------------------------------------*/
.recruit {
  margin-top: 0;
  color: #FFF;

  .recruit_bg {
    background: linear-gradient(#47b1ce 0%, #0f5ca8 100%);
    /*background: url("/assets/img/recruit/recruit_bg01.png") no-repeat, linear-gradient(#47b1ce 0%, #0f5ca8 100%);*/
    background-position: center top 11%;
    background-size: auto;

    @media (1024px <= width <= 1024px) {
      background-position: center top 2%;
      background-size: 118%;
    }
    @media (768px <= width <= 1023px) {
      background-position: center top 6%;
      background-size: 128%;
    }
    @media (width <= 767px) {
      /*background: url("/assets/img/recruit/recruit_bg01_sp.png") no-repeat center top 2% / 94%, url("/assets/img/recruit/recruit_bg02_sp.png") no-repeat center top 22.8% / 90%, linear-gradient(#47b1ce 0%, #0f5ca8 100%);*/
    }

    .inner {
      @media (width <= 1024px) {
        max-width: 94%;
        width: 94%;
      }
    }
  }
  .cmn_ttl {
    text-align: center;

    span {
      color: #FFF;
    }
  }
  a.btn.type_02 {
    max-width: 500px;
    font-size: 1.8rem;
    margin: 0 auto;
  }

  /* トップテキスト */
  .content.top {
    text-align: center;

    @media (width <= 767px) {
      padding-top: 38%;
    }

    .text_svg01 {
      position: relative;
      z-index: 5;
      max-width: 566px;
      margin: 55px 0 45px;

      @media (width <= 767px) {
        width: 82%;
        margin: 12% 0 0;
      }
    }

    .top_txt {
      position: relative;
      z-index: 5;
      text-align: center;
      margin: 0 auto 5%;
      max-width: 500px;
      font-size: 1.8rem;
      line-height: 2.2;

      @media (width <= 767px) {
        font-size: 1.6rem;
        letter-spacing: -0.05em;
        margin: 8% auto 0;
        line-height: 2;
      }
    }
  }

  /* トップイメージ */
  .recruit_image {
    position: absolute;
    top: 4%;
  }
  .recruit_image_sp {
    @media (width <= 767px) {
      .image01 {
        position: absolute;
        top: 1.8%;
      }
    }
  }
  .image02 {
    position: relative;
    top: -4vh;
    @media (width <= 1200px) {
      top: 0;
    }
    @media (width <= 1024px) {
      top: 5vh;
    }
    @media (width <= 767px) {
      top: 10px;
    }
  }
  .image03 {
    position: relative;
    left: -5%;
    top: -55vh;

    @media (width <= 1200px) {
      left: 0;
      top: -40vh;
    }
    @media (width <= 1024px) {
      left: 0;
      top: -27vh;
    }
    @media (width <= 767px) {
      left: 0;
      top: 20px;
    }
  }



  /* 採用メッセージ */
  .content.message {
    position: relative;
    margin: 32% auto 0;
    padding-top: 0;
    @media (width <= 1500px) {
      margin: 40% auto 0;
    }
    @media (width <= 1024px) {
      margin: 50% auto 0;
    }
    @media (width <= 767px) {
      margin: 35% auto 0;
      max-width: 96%;
    }

    .cmn_ttl {
      @media (width <= 767px) {
        text-align: left;
      }

      .text_svg_message {
        width: 180px;
        @media (width <= 767px) {
          width: 120px;
        }
      }
      .jp_ttl {
        font-size: 7rem;
        font-weight: 700;
        letter-spacing: 0.3em;
        line-height: 1.2;

        @media (768px <= width <= 1024px) {
          font-size: 5vw;
        }
        @media (width <= 767px) {
          font-size: 4rem;
          letter-spacing: 0.15em;
        }
      }
    }

    .txt_area {
      color: #222;
      width: 100%;
      padding: 4% 5% 8%;
      margin-top: 5%;
      background: linear-gradient(to bottom, #FFF 30%,rgba(0,0,0,0)), url("/assets/img/recruit/message/message_title_bg.jpg") no-repeat;
      background-size: cover;
      background-position: center top -55%;
      align-items: center;

      @media (width <= 767px) {
        margin-top: 9%;
        padding: 8% 5% 18%;
        background-position: center bottom;
      }

      .txt_box:not(:last-of-type) {
        @media (768px <= width <= 1024px) {
          padding-top: 4%;
          padding-bottom: 3%;
        }
      }
    }
    h3 {
      text-align: center;
      width: 62%;

      @media (768px <= width <= 1024px) {
        width: 90%;
      }
      @media (width <= 767px) {
        width: 100%;
      }
  
      .text_svg02 {
        max-width: 344px;

        @media (width <= 1200px) {
          width: 280px;
        }
        @media (768px <= width <= 1024px) {
          width: 30vw;
        }
        @media (width <= 767px) {
          width: 61vw;
          margin-bottom: 24px;
        }
      }
    }
    
    a.btn.type_02 {
      position: absolute;
      bottom: -6.5%;
      left: 0;
      right: 0;
      margin: 0 auto;

      @media (768px <= width <= 1024px) {
        width: 88%;
      }
      @media (width <= 767px) {
        bottom: -5.5%;
        width: 90%;
      }
    }
  }
  
  /* 募集職種 */
  .content.job {
    padding-top: 15%;
    margin: 0 auto;

    @media (width <= 767px) {
      padding-top: 15vh;
      max-width: 96%;
      padding-bottom: 0;
    }

    h3 {
      .text_svg03 {
        max-width: 346px;
        margin-bottom: 3%;

        @media (width <= 767px) {
          max-width: 218px;
          margin-bottom: 2%;
        }
      }
    }

    .sub_ttl {
      writing-mode: vertical-lr;
      font-size: 7rem;
      font-weight: 700;
      letter-spacing: 0.5em;
      line-height: 1.2;
      margin-right: 2%;
      width: 6vw;

      @media (width <= 1024px) {
        writing-mode: unset;
        font-size: 5vw;
        width: auto;
        margin-top: -15px;
        margin-bottom: 5%;
      }
      @media (width <= 767px) {
        font-size: 4rem;
        letter-spacing: 0.3em;
        margin: 0 0 9% 0;
        width: 100%;
      }
    }

    li {
      justify-content: center;
      align-items: flex-start;
      @media (width <= 1024px) {
        display: flex !important;
      }
      @media (width <= 767px) {
        flex-direction: column;
      }
    }
    li:not(:last-of-type) {
      margin-bottom: 7%;

      @media (width <= 767px) {
        margin-bottom: 15%;
      }
    }
    .img_area {
      max-width: 480px;
      width: 40%;
      margin-right: 4%;

      @media (768px <= width <= 1024px) {
        width: 38%;
      }
      @media (width <= 767px) {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
      }
    }
    .txt_area {
      width: 50%;

      @media (768px <= width <= 1024px) {
        width: 59%;
      }

      @media (width <= 767px) {
        width: 100%;
      }

      .job_title {
        font-size: 3.6rem;
        font-weight: bold;
        margin-top: -0.35em;

        @media (768px <= width <= 1024px) {
          font-size: 2.8rem;
        }
        @media (width <= 767px) {
          font-size: 2.4rem;
          margin-top: 6%;
        }
        .num {
          margin-right: 4%;
          font-size: 4.3rem;
          padding: 1px 12px;

          @media (width <= 1024px) {
            font-size: 3rem;
          }
          @media (width <= 1024px) {
            margin-right: 4%;
            padding: 1px 10px;
          }
        }
      }
      .txt_box {
        margin: 3% 0 7%;

        @media (width <= 767px) {
          margin: 3% 0 0;
          padding-bottom: 7%;
        }
      }
    }
    li {
      &:nth-of-type(2) .img_area {
        order: 2;
        margin: 0 0 0 4%;

        @media (width <= 767px) {
          order: 0;
          margin: 0;
        }
      }
      &:nth-of-type(2) .txt_area {
        order: 1;
      }
    }
  }
}

  /* マルチメディアエンジニアリングについて知る */
.content.description {
  background: linear-gradient(#0F5CA8 0%, #0F5CA8 30%, rgba(255,255,255,0) 100%), url("/assets/img/recruit/recruit_bg02.png") no-repeat;
  background-position: center bottom;
  background-size: contain;
  position: relative;
  padding: 10% 0 15%;

  @media (width <= 767px) {
    background: linear-gradient(#0F5CA8 0%, #0F5CA8 30%, rgba(255,255,255,0) 100%), url("/assets/img/recruit/recruit_bg02_sp.png") no-repeat;
    /*background-position: left 36%  bottom -84%;
    background-size: cover;*/
    background-position: center bottom;
    background-size: cover;
    padding: 25% 0 46%;
  }

  &::before {
    background-color: rgba(15, 92, 168, 0.5);
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  h3 {
    text-align: right;

    .text_svg04 {
      max-width: 486px;

      @media (width <= 767px) {
        width: 78.5vw;
      }
    }
    .sub_ttl {
      font-size: 4.8rem;
      margin: 1% 0 5%;

      @media (768px <= width <= 1024px) {
        font-size: 3.8rem;
        line-height: 1.4;
      }
      @media (width <= 767px) {
        font-size: 2.2rem;
        margin: 2% 0 10%;
        line-height: 1.6;
      }

      span {
        display: inline-block;
      }
    }
  }

  ul {
    gap: 3%;
    @media (width <= 767px) {
    }

    li {
      filter: drop-shadow(0px 0px 8px rgba(15, 92, 168, 0.5));

      @media (width <= 767px) {
      }
      &:not(:last-child) {

        @media (width <= 767px) {
          margin-bottom: 10%;
        }
      }
      &:nth-child(-n+2){
        @media (width <= 767px) {
        }
      }

      .img_area {
        overflow: hidden;

        img {
          width: 100%;
          height: auto;
          transition: transform .6s ease;
        }
      }
      a:hover {
        opacity: 1;
        
        .img_area img {
          transform: scale(1.1);
        }
        h4 {
          background: #222;
          color: #FFF;
        }
      }

      h4 {
        text-align: center;
        font-size: 1.8rem;
        font-weight: 600;
        line-height: 1.4;
        vertical-align: middle;
        background: linear-gradient(#fff500 0%, #cec601 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 78px;
        width: 100%;
        padding-bottom: 3px;
  
        @media (width <= 767px) {
          font-size: 1.6rem;
          height: 60px;
        }
        span {
          display: inline-block;
        }
      }
      &:last-of-type h4 {
        @media (width <= 1024px) {
        }
      }
    }
  }
}