@charset "utf-8";

/* common */
.key_v {
  background-color: #f4f1de;
}

/* PC */
@media screen and (min-width:768px) {
  .key_v {
    height: 288px;
    position: relative;
    /* background: url(../img/step_main_bg.jpg) no-repeat center #f4f1de; */
  }

  h1.key_v-inr {
    position: relative;
    top: unset;
    left: unset;
    display: block;
    text-align: center;
  }

  .key_v-img {
    display: inline-block;
  }

  .contents {
    padding: 0 16px;
  }

  .steps {
    margin: 20px 0;
  }

  .steps dl {
    margin-bottom: 70px;
    position: relative;
  }

  .steps dl:last-of-type {
    margin-bottom: 0;
  }

  .steps dl:after {
    content: "";
    position: absolute;
    background: url("../img/arrow.gif");
    width: 56px;
    height: 60px;
    left: 139px;
  }

  .steps dl:last-of-type:after {
    display: none;
  }

  .steps dd img:last-of-type {
    margin-left: 18px;
  }

  small {
    font-size: 10px;
  }

}

/* SP */
@media screen and (max-width:767px) {
  section.key_v {
    position: relative;
    height: auto;
    min-width: auto;
    overflow: auto;
  }

  h1.key_v-inr {
    position: relative;
    top: unset;
    left: unset;
    display: block;
    text-align: center;
    transform: none;
    margin: auto;
  }

  .key_v {
    background: url(../img/step_main_bg.jpg) no-repeat left 37% #f4f1de;
  }

  .contents {
    overflow: hidden;
  }

  .steps {
    padding: 10px;
  }

  .steps dt img {
    width: initial;
    transform: scale(0.9);
    transform-origin: left bottom;
  }

  .steps dl {
    margin-bottom: 50px;
    position: relative;
  }

  .steps dl:last-of-type {
    margin-bottom: 0;
  }

  .steps dl:after {
    content: "";
    position: absolute;
    background: url(../img/arrow.gif);
    width: 56px;
    height: 60px;
    left: 50%;
    right: 50%;
    margin: auto;
    transform: translate(-50%, 0) scale(0.7);
    transform-origin: center top;
  }

  .steps dl:last-of-type:after {
    display: none;
  }

  .steps dd img:first-of-type {
    margin-bottom: 10px;
  }

  small {
    font-size: 10px;
    padding: 0 10px;
    display: block;
    margin-top: 10px;
  }
}