@media all and (min-width: 641px) {
  .bg-gradation {
    background: -webkit-linear-gradient(left, #ebebeb 0%, #fcfcfc 30%, #fcfcfc 70%, #e5e5e5 100%);
    background: linear-gradient(to right, #ebebeb 0%, #fcfcfc 30%, #fcfcfc 70%, #e5e5e5 100%);
    padding-bottom: 120px
  }

  .section-top .section-title {
    width: 327px
  }

  .text-lead-main {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 55px
  }

  .section-howto-index {
    padding-bottom: 120px
  }

  .section-howto-index .howto-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 848px;
    margin: -20px auto
  }

  .section-howto-index .howto-item {
    width: 384px;
    height: 384px;
    margin: 20px;
    padding-top: 30px;
    position: relative
  }

  .section-howto-index .howto-item .pic {
    display: block;
    margin: auto;
    width: 236px;
    position: relative
  }


  .section-howto-index .howto-item .shampooWid {
    width: 279px !important;
  }

  .section-howto-index .shampooMt {
    margin-top: -118px !important;
  }


  .section-howto-index .howto-item .pic .icon {
    position: absolute;
    left: 50%;
    bottom: 36px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }

  .section-howto-index .howto-item .title {
    margin-top: -59px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 60px
  }

  .section-howto-index .howto-item.n1 {
    padding-top: 10px
  }

  .section-howto-index .howto-item.n1 .title {
    margin-top: -39px
  }

  .hover-border-red:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: #CCC solid 1px;
    -webkit-transition: border 0.3s;
    transition: border 0.3s
  }

  .hover-border-red .title {
    -webkit-transition: color 0.3s;
    transition: color 0.3s
  }

  .hover-border-red:hover:before {
    border: #9d162e solid 2px
  }

  .hover-border-red:hover .title {
    color: #9d162e
  }
}

@media screen and (max-width: 640px) {
  .bg-gradation {
    background: -webkit-linear-gradient(left, #ebebeb 0%, #fcfcfc 30%, #fcfcfc 70%, #e5e5e5 100%);
    background: linear-gradient(to right, #ebebeb 0%, #fcfcfc 30%, #fcfcfc 70%, #e5e5e5 100%);
    padding-bottom: 120px
  }

  .section-top .section-title {
    text-align: center
  }

  .section-top .section-title img {
    width: 49.33333vw
  }

  .text-lead-main {
    text-align: center;
    font-size: 2.4rem
  }

  .section-howto-index {
    margin-top: 9.375vw;
    margin-bottom: 17.1875vw
  }

  .section-howto-index .section--inner {
    padding: 0 3.125vw
  }

  .section-howto-index .howto-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap
  }

  .section-howto-index .howto-item {
    width: 43.75vw;
    margin: 1.5625vw;
    padding-top: 4.6875vw;
    padding-bottom: 1.5625vw;
    position: relative
  }

  .section-howto-index .howto-item .pic {
    display: block;
    margin: auto;
    width: 29.21875vw;
    position: relative
  }

  .section-howto-index .howto-item .shampooWid {
    width: 37.21875vw !important;
  }

  .section-howto-index .howto-item .shampooMt {
    margin-top: -16.46875vw !important;
  }

  .section-howto-index .howto-item .pic .icon {
    position: absolute;
    left: 50%;
    bottom: 5vw;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }

  .section-howto-index .howto-item .pic .icon-daiichiruiiyakuhin {
    width: 13.75vw
  }

  .section-howto-index .howto-item .title {
    margin-top: -5.46875vw;
    text-align: center;
    font-weight: bold;
    font-size: 2.2rem;
    min-height: 5em;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center
  }

  .hover-border-red:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: #CCC solid 1px;
    -webkit-transition: border 0.3s;
    transition: border 0.3s
  }

  .hover-border-red .title {
    -webkit-transition: color 0.3s;
    transition: color 0.3s
  }
}