*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

/*---br管理--*/
/*---スマホ時改行--*/
@media screen and (max-width: 680px) {
  .pc-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: block;
  }
}

/*---タブレット時改行--*/
@media screen and (min-width:681px) and (max-width: 1020px) {
  .pc-br {
    display: none;
  }

  .tb-br {
    display: block;
  }

  .sp-br {
    display: none;
  }
}

/*---PC時改行--*/
@media screen and (min-width:1021px) {
  .pc-br {
    display: block;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: none;
  }
}

html {
  font-size: 62.5%;
  min-height: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

body {
  background: #FFFBF2;
  background-repeat: no-repeat;
  color: #000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 2.5rem;
  line-height: 4rem;
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  overflow-x: hidden;
  display: none;
}

.wrap {
  overflow: hidden;
  margin-bottom: 120px;
}

img {
  max-width: 100%;
  height: auto;
}

.inner {
  width: 90%;
  max-width: 1520px;
  margin: 0 auto;
}

.logo_pc {
  display: block;
}

.logo_sp {
  display: none;
}

.main_container {
  text-align: center;
  padding-bottom: 120px;
  position: relative;
}

h1.login_top_h1 {
  max-width: 657px;
  margin: 0 auto;
  margin-top: 80px;
}

h2.login_title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 5.2rem;
  margin: 20px auto 40px;
}

.login_kome_txt {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 3rem;
  color: #FC8A20;
  margin: 40px auto;
}

.login_id_box,
.login_pass_box {
  width: 100%;
  max-width: 1008px;
  margin: 0 auto;
  height: 60px;
  display: table;
  text-align: center;
}

.login_id_box {
  margin-bottom: 20px;
}

.login_id_box label,
.login_pass_box label {
  background: #FC8A20;
  color: #fff;
  width: 156px;
  font-size: 2rem;
  line-height: 1.1rem;
  display: table-cell;
  vertical-align: middle;
}

.login_id_box input,
.login_pass_box input {
  width: 100%;
  height: 100%;
  background: #EEEEEE;
  display: table-cell;
  vertical-align: middle;
  padding: 0 10px;
  text-align: left;
}

.login_id_box input::placeholder,
.login_pass_box input::placeholder {
  color: #CCCCCC;
  font-size: 2.2rem;
}

.login_id_box input:-webkit-autofill,
.login_pass_box input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #EEEEEE inset;
}

.pass_box {
  position: relative;
  height: 60px;
}

.btn_pass {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 3rem;
}

.login_link_btn_box {
  text-align: center;
  margin-top: 60px;
}

.login_link_btn_box button {
  background: #fff;
  color: #FC8A20;
  font-size: 2.3rem;
  font-weight: bold;
  line-height: 2.3rem;
  text-align: left;
  width: 496px;
  height: 90px;
  padding: 28px 238px 28px 156px;
  border: 3px solid #FC8A20;
  border-image: linear-gradient(90deg, rgba(252, 138, 32, 1) 0%, rgba(252, 138, 32, 1) 100%) 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  transition: all .3s;
}

.login_link_btn_box button:hover {
  color: #fff;
  border-image: linear-gradient(90deg, rgba(252, 138, 32, 1) 0%, rgba(243, 153, 69, 1) 40%, rgba(251, 170, 0, 1) 60%, rgba(251, 212, 0, 1) 100%) 1;
}

.login_link_btn_box button:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  transition: all .3s;
  background: rgb(252, 138, 32);
  background: linear-gradient(90deg, rgba(252, 138, 32, 1) 0%, rgba(243, 153, 69, 1) 40%, rgba(251, 170, 0, 1) 60%, rgba(251, 212, 0, 1) 100%);
  z-index: -1;
}

.login_link_btn_box button:hover::before {
  transform: translateX(0);
}

.login_link_btn_box button::after {
  content: " ";
  background: url(../img/arrow_orange.svg) no-repeat;
  position: absolute;
  top: 50%;
  right: 166px;
  transform: translateY(-50%);
  width: 47px;
  height: 10px;
  z-index: 2;
  transition: background .3s;
}

.login_link_btn_box button:hover::after {
  background: url(../img/arrow_white.svg) no-repeat;
}

#btn_top_area {
  position: absolute;
  bottom: 20px;
  right: 50px;
}

#page-top {
  visibility: hidden;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  background: #FBAA00;
  border-radius: 50%;
  transition: all .3s;
}

#page-top::after {
  content: ' ';
  background: url(../img/arrow_btn_top.svg) no-repeat;
  background-size: contain;
  width: 12px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer {
  position: absolute;
  width: 100%;
  height: 120px;
  bottom: 0;
  left: 0;
  background: #FC8A20;
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
}

footer p {
  margin: 45px auto 48px;
}

@media screen and (max-width: 1279px) {
  body {
    font-size: 1.955vw;
    line-height: 3.127vw;
  }
}

@media screen and (max-width: 820px) {

  body {
    font-size: 2.5rem;
    line-height: 4rem;
  }

}

@media screen and (max-width: 680px) {

  .logo_pc {
    display: none;
  }

  .logo_sp {
    display: block
  }

  body {
    font-size: 1.6rem;
    line-height: 2.7rem;
  }

  .wrap {
    margin-bottom: 60px;
  }

  .inner {
    width: 100%;
    padding: 0 24px;
  }

  .main_container {
    text-align: left;
    padding-bottom: 60px;
  }

  h1.login_top_h1 {
    margin-top: 70px;
  }

  h2.login_title {
    font-size: 7.692vw;
    line-height: 9.487vw;
    margin: 25px auto 30px;
    text-align: center;
  }

  .login_kome_txt {
    font-size: 1.6rem;
    line-height: 2.7rem;
    margin: 30px auto;
  }

  .login_id_box label,
  .login_pass_box label {
    width: 115px;
    font-size: 1.5rem;
    line-height: 1.5rem;
    display: block;
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .login_id_box input,
  .login_pass_box input {
    height: 40px;
    display: block;
  }

  .login_id_box input::placeholder,
  .login_pass_box input::placeholder {
    font-size: 1.7rem;
  }

  .pass_box {
    height: 40px;
  }

  .btn_pass {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .login_id_box {
    margin-bottom: 10px;
  }

  .login_link_btn_box {
    margin-top: 40px;
  }

  .login_link_btn_box button {
    font-size: 1.5rem;
    line-height: 2.8rem;
    width: 100%;
    max-width: 254px;
    height: 60px;
    padding: 12px 121px 12px 60px;
    color: #fff;
    background: linear-gradient(90deg, rgba(252, 138, 32, 1) 0%, rgba(243, 153, 69, 1) 40%, rgba(251, 170, 0, 1) 60%, rgba(251, 212, 0, 1) 100%);
    border: none;
  }

  .login_link_btn_box button:hover::before {
    transform: translateX(-100%);
  }

  .login_link_btn_box button::after {
    right: 60px;
    background: url(../img/arrow_white.svg) no-repeat;
  }

  /*TOPへ戻るアイコン*/
  #btn_top_area {
    height: 50px;
    bottom: 20px;
    right: 25px;
  }

  #page-top {
    visibility: visible;
    width: 50px;
    height: 50px;
  }

  /*TOPへ戻るアイコン*/

  footer {
    height: 60px;
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  footer p {
    margin: 28px auto 25px;
  }
}
