@charset "utf-8";
/* CSS Document */
/*ボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*font-size: 62.5%;*/ /*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn,
.btn_line {
  font-size: 1rem;
  font-weight: 700;
  height: 2em;
  line-height: 0em;
  border: 1px #10223e solid;
  position: relative;
  display: inline-block;
  padding: 0rem 0rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-radius: 0.5rem;
}

.btn-round {
  border-radius: 50px;
}

.btn-round-line {
  border: 1px solid white !important;
}

.btn_line {
  height: 5.4em;
  line-height: 1.2em;
  padding: 0px;
}

.btn_line :hover {
  text-decoration: none;
}

/* ボタンアニメーション部分 */

a.btn-flat,
a.btn-flat_long,
a.btn-other {
  overflow: hidden;
  color: #10223e;
  border-radius: 0;
  background: #fff;
}

a.btn-flat {
  padding: 1.5rem 6rem;
}

#top a.btn-flat {
  padding: 1.5rem 3rem;
}

a.btn-round {
  padding: 1.5rem 1rem;
  border-radius: 20px;
  color: #10223e;
  width: 350px;
  position: relative;
  z-index: 1000;
}

@media screen and (max-width: 468px) {
  a.btn-round {
    width: 100%;
  }
}

a.btn-flat-bn {
  padding: 1.5rem 2rem !important;
  width: 100%;
}
@media screen and (max-width: 750px) {
  a.btn-flat-bn {
    padding: 1.5rem 2rem !important;
    width: 100%;
  }
}
a.btn-flat_long {
  padding: 1.5rem 1rem;
}

a.btn-other {
  padding: 1.25rem 2rem;
  border-radius: 2rem;
  font-size: 14px;
}

a.btn_round span,
a.btn-flat span,
a.btn-flat_long span,
a.btn-other span {
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

a.btn-flat:before,
a.btn-flat_long:before,
a.btn-other:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  background: #10223e;
}

a.btn-round:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  background: #10223e;
  z-index: -1;
}

a.btn-round:hover:before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  border-radius: 20px;
}

a.btn-round:after {
  /* くの字の表示設定 */
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 24px;
  width: 9px; /* くの字を山なりに見た時、左側の長さ */
  height: 9px; /* くの字を山なりに見た時、右側の長さ */
  border-top: 2px solid #10223e; /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 2px solid #10223e; /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg); /* くの字の向き */
}

a.btn-round:hover:after {
  /* くの字の表示設定 */
  content: '';
  border-top: 2px solid #fff; /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 2px solid #fff; /* くの字を山なりに見た時、右側の太さと色 */
}

a.btn-other:before {
  border-radius: 2rem;
  top: -0.3em;
  width: 120%;
  height: 120%;
  /*border: 10px solid #ff0000;*/
}

a.btn-flat:hover:before,
a.btn-flat_long:hover::before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

a.btn-other:hover::before {
  -webkit-transform: translateX(-10%);
  transform: translateX(-10%);
}

a.btn-round:hover span,
a.btn-flat:hover span,
a.btn-flat_long:hover span,
a.btn-other:hover span {
  color: #fff;
}
