/*基本*/
.btn_box div:not(:last-child) {
  margin-bottom: 20px;
}
.btn {
  text-align: center;
  font-size: var(--size_1l);
}
.btn a,
.btn input,
.btn button {
  margin: auto;
  text-decoration: none;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.btn a:hover,
.btn input:hover,
.btn button:hover {
}
.btn.size_s a,
.btn.size_s input,
.btn.size_s button {
  width: 240px;
  height: 40px;
}
.btn.size_r a,
.btn.size_r input,
.btn.size_r button {
  width: 300px;
  height: 50px;
}
.btn.size_l a,
.btn.size_l input,
.btn.size_l button {
  width: 360px;
  height: 60px;
}
.btn.size_full a,
.btn.size_full input,
.btn.size_full button {
  width: 100%;
  height: 60px;
}
@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */
  .size_l {
    width: 100%;
  }
  .btn.size_l a,
  .btn.size_l input,
  .btn.size_l button {
    width: 100%;
  }
}

.btn.next a,
.btn.next input,
.btn.next button {
  position: relative;
  color: #fff;
  background: var(--main);
  transition: 0.4s;
}
.btn.next a:after,
.btn.next input:after,
.btn.next button:after {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  right: 20px;
  margin: auto;
}
.btn.next a:hover,
.btn.next input:hover,
.btn.next button:hover {
  opacity: 0.8;
}

.btn.white a,
.btn.white input,
.btn.white button {
  position: relative;
  color: #000;
  background: #fff;
  transition: 0.4s;
}
.btn.white a:after,
.btn.white input:after,
.btn.white button:after {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  right: 20px;
  margin: auto;
}
.btn.white a:hover,
.btn.white input:hover,
.btn.white button:hover {
  opacity: 0.8;
}
.btn.gray a,
.btn.gray input,
.btn.gray button {
  position: relative;
  color: #fff;
  background: #666;
  transition: 0.4s;
}
.btn.gray a:hover,
.btn.gray input:hover,
.btn.gray button:hover {
  opacity: 0.8;
}
.btn.gradation a,
.btn.gradation input,
.btn.gradation button {
  position: relative;
  color: #fff;
  background: linear-gradient(to right, var(--main), #9195c7);
  transition: 0.4s;
}
.btn.gradation a:after,
.btn.gradation input:after,
.btn.gradation button:after {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  right: 20px;
  margin: auto;
}
.btn.gradation a:hover,
.btn.gradation input:hover,
.btn.gradation button:hover {
  opacity: 0.8;
}

.btn.back a,
.btn.back input,
.btn.back button {
  position: relative;
  color: #fff;
  background: var(--dark);
  transition: 0.4s;
  background: #e6e6e6;
  border: 1px solid #ccc;
  font-size: 12px;
  color: #333;
}
.btn.back a:after,
.btn.back input:after,
.btn.back button:after {
  font-family: "FontAwesome";
  content: "\f104";
  position: absolute;
  left: 20px;
  margin: auto;
}
.btn.back a:hover,
.btn.back input:hover,
.btn.back button:hover {
  opacity: 0.8;
}

/**/
@keyframes arrow_move {
  0%,
  100% {
    right: 10px;
  }

  50% {
    right: 20px;
  }
}
.btn_border a {
  position: relative;
  display: inline-block;
  padding-right: 50px;
  margin: 0 auto 0;
  color: #000;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
}
.btn_border a::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 12px;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transition: 0.3s;
}
.btn_border.size_l a {
  padding-right: 60px;
}
.btn_border.size_l a::after {
  width: 40px;
}
.btn_border.btn_border-black a {
}
.btn_border.btn_border-white a {
  color: #fff;
}

.btn_border.btn_border-black a::after {
  background: url(../../images/icn_arrow_black.svg) no-repeat center/contain;
}
.btn_border.btn_border-white a::after {
  background: url(../../images/icn_arrow_white.svg) no-repeat center/contain;
}
.btn_border a:hover {
  opacity: 0.8;
}
.btn_border a:hover:after {
  right: 5px;
  transition: 0.3s;
}
.btn_position_right {
  text-align: right;
}

.btn_position_center {
  text-align: center;
}

.btn_position_left {
  text-align: left;
}

.box_btn {
  text-align: center;
}
.box_btn a {
  color: #fff;
  border-radius: 0;
  padding: 10px;
  width: 240px;
}
.box_btn a:before {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  border: solid 1px #fff;
}
.box_btn img {
  transition: 1s all;
}
.box_btn img:hover {
  transform: scale(1.1, 1.1);
  transition: 1s all;
}
.move_btn {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.move_btn li {
  min-width: 320px;
}
.move_btn li:not(:last-child) {
  margin-right: 27px;
}
.move_btn a {
  display: block;
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 320px;
  height: 60px;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  transition: 0.25s linear;
  display: flex;
  justify-content: center;
  align-items: center;
}
.move_btn a:hover {
  background-color: rgb(255 255 255 / 25%);
}
.move_btn a:before {
  display: block;
  position: absolute;
  z-index: -1;
  left: -30%;
  top: -50%;
  content: "";
  width: 30px;
  height: 120px;
  transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  background-image: linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #ffffff rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 100%);
  animation: shiny 3s infinite linear;
  -webkit-animation: shiny 3s infinite linear;
  -moz-animation: shiny 3s infinite linear;
  border: 0;
}
@keyframes shiny {
  0% {
    left: -30%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
@-webkit-keyframes shiny {
  0% {
    left: -30%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
@-moz-keyframes shiny {
  0% {
    left: -30%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
