@charset "shift_jis";
.btn-motion1 {
  position: relative;
  color: #fff;
  padding: 10px;
  display: inline-block;
  text-decoration: none;
  outline: none;
  background-color: green;
}
.btn-motion1::before, .btn-motion1::after {
  content: '';
  position: absolute;
  border: solid #333;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}
.btn-motion1::before {
  top: 0;
  left: 0;
  border-width: 4px 0 0 4px;
}
.btn-motion1::after {
  bottom: 0;
  right: 0;
  border-width: 0 4px 4px 0;
}
.btn-motion1:hover::before, .btn-motion1:hover::after {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-color: #333
}