
/*
 * @parts：トップページに戻るボタン
*/
#back_top_btn_btn {
  margin-top: 3.125vw;
  justify-content: center;
  display: flex;
  cursor: pointer;
  
}

@media screen and (max-width: 450px) {
  #back_top_btn_btn {
    margin-top: 9.75vw;
    font-size: 3vw;
  }
}

/* ボタンの基本スタイル */
.btn a {
  position: relative;
  display: block;
  width: 14%;
  padding: 1vw 0;
  background-color: #fff;
  font-size: 1.25vw;
  font-family: "YuMincho";
  color: #000;
  text-decoration: none;
  text-align: center;
  transition: .2s;
  box-sizing: border-box;
  margin: 5% auto 5%;
}

@media screen and (max-width: 450px) {
  .btn a {
    width: 30%;
    font-size: 3vw;
    padding: 2.5vw 0;
    margin: 10% auto 10%;
  }
}


/* スライドする背景色のスタイル */
.btn-slide-horizontal a {
  border: 1px solid #000;
  z-index: 1;
}

.btn-slide-horizontal a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  transform-origin: right top;
  transform: scaleX(0);
  transition: transform .2s ease;
  z-index: -1;
}

/* ホバー時のスタイル */
.btn-slide-horizontal a:hover {
  color: #fff;
}


.btn-slide-horizontal a:hover::before {
  transform-origin: left top;
  transform: scaleX(1);
  background-color: #000;
}
