@charset "utf-8";

/*
01.共通
02.ログインフォーム
03.利用登録
04.パスワードリマインダー
*/
/* 共通 */
main{
  margin:0;
  padding: 0;
}

#first_area{
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content:center;

  width:100%;
  padding:35px 25px;
  min-height:100vh;
  background: #e0f2f1;
}

#first_wrap {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius:10px;
  box-shadow: 0px 3px 20px rgba(136, 136, 136, 0.25);
}

h1 {
  width: 100%;
  max-width: 169px;
  margin: 0 auto;
}
h2 {
  margin:37px 0 0 0;
  font-size:21px;
  text-align: center;
}
h2 span.sub_tit1{
  display: inline-block;
  text-indent: 1em;
}
h3 {
  margin:0;
  font-size:21px;
  text-align: center;
}

input[type=text],
input[type=password],
input[type=email] {
  width: 100% !important;
  margin: 0;
  padding: 0 .5em;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size:16px;
  line-height: 56px;
  font-weight: 300;
  /*
  line-height: inherit;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 3px;
  */
  background: #f5f5f5;
  border: none;
  border-radius: 10px;
  line-height: 56px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus {
  background: #e5e5e5;
  transition: background-color .3s;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #f5f5f5 inset;
}

input[type=text]::placeholder,
input[type=password]::placeholder,
input[type=email]::placeholder {
  color: #a5a5a5;
  letter-spacing: .05em;
  text-indent:10px;
  font-size:14px;
}

input[type=submit] {
  display: block;
  width: 100% !important;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 16px;
  line-height:56px;
  border: none;
  border-radius: 10px;
  background-color: rgba(0, 93, 90, 1);
  color: #fff;
  font-weight: 400;
  letter-spacing: .1em;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: rgba(0, 93, 90, .6);
  transition: background-color .3s;
}

@media screen and (max-width:768px) {
  #first_wrap {
    display: inline-block;
    margin: 0 auto;
    padding: 0 16px;
  }

  h1 {
    margin: 0 auto;
  }
  h2 {
    margin:23px 0 0 0;
    font-size:21px;
    text-align: center;
  }
  h2 span.sub_tit1{
    display:block;
    text-indent: 0em;
  }
  input[type=text]::placeholder,
  input[type=password]::placeholder,
  input[type=email]::placeholder {
    color: #a5a5a5;
    letter-spacing: .05em;
    text-indent:7px;
    font-size:13px;
  }
}
@media screen and (max-width:374px) {
  input[type=text]::placeholder,
  input[type=password]::placeholder,
  input[type=email]::placeholder {
    color: #a5a5a5;
    letter-spacing: .05em;
    text-indent:7px;
    font-size:12px;
  }
}

/* ログインフォーム */
.login_form_menu {
  display: flex;
  width:100%;
  max-width:800px;
}
.login_form_menu li{
  position: relative;
  width:260px;
  margin-left:10px;
}
.login_form_menu li:first-child{
  margin:0;
}
.login_form_menu li a{
  display: block;
  padding:20px 0;
  background: #f5f5f5;
  border-top:8px solid #ffaa00;
  border-radius: 8px 8px 0px 0px;
  font-size:21px;
  font-weight: 500;
  text-decoration: none;
  color:#333;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.login_form_menu li span,
.login_form_menu li a:hover{
  position: absolute;
  left:0;
  top:0;
  display: block;
  width:100%;
  padding:20px 0;
  background: #fff;
  border-radius: 8px 8px 0px 0px;
  font-size:21px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index:1;
  opacity: 1;
}
.login_form_menu li:first-child a,
.login_form_menu li:first-child span{
  border-top:8px solid #009688;
}
.login_form_menu li:nth-child(2) a,
.login_form_menu li:nth-child(2) span{
  border-top:8px solid #66bb6a;
}
.login_form_menu li:nth-child(3) a,
.login_form_menu li:nth-child(3) span{
  border-top:8px solid #cddc39;
}

#first_wrap.login_form {
  position: relative;
  max-width:800px;
  padding: 85px 20px 26px;
  border-radius: 0px 0px 10px 10px;
}

#first_wrap.login_form:before{
  content:"";
  display: block;
  width:100%;
  height:10px;
  background: #fff;
  position: absolute;
  top:0;
  left:0;
  z-index:2;
}
/*
h2 span.sub_tit2{
  display: block;
  font-size:18px;
}
*/
.swpm-login-form-inner{
  width:100%;
  max-width:320px;
  margin:40px auto 0;
}
.swpm-username-label {
  margin: 20px 0 0 0;
  font-size:16px;
  line-height:24px;
}
.swpm-username-input{
  margin: 5px 0 0 0;
}
.swpm-password-label {
  margin: 20px 0 0 0;
  font-size:16px;
  line-height:24px;
}
.swpm-password-input{
  margin: 5px 0 0 0;
}

.swpm-login-submit {
  margin: 37px 0 0 0;
}

.swpm-forgot-pass-link{
  margin:10px 0 0 0;
  padding: 0;
}

.swpm-login-action-msg {
  min-height: 2em;
  margin-top:20px;
}
.swpm-login-error-msg.swpm-red-error-text{ 
  display: block;  
  text-align: center;
  background: rgba(255,0,0,.1);
  line-height: 2;
}

@media screen and (max-width:768px) {
  .login_form_menu {
    display: flex;
    flex-wrap:wrap;
    width:100%;
  }
  .login_form_menu li{
    position: relative;
    width:calc(calc(100% - 10px) /2);
    margin:0 0 10px 10px;
  }
  .login_form_menu li:nth-child(2n + 1){
    margin:0 0 10px 0px;
  }
  .login_form_menu li a{
    position: relative;
    display: block;
    padding:6px 0 15px;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color:#333;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border:none!important;
  }
  .login_form_menu li a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    width: 12px;
    height: 6px;
    margin: 0 auto;
    background: url(../img/common/under_arrow.svg) left top no-repeat;
  }

  .login_form_menu li span,
  .login_form_menu li a:hover{
    position: relative;
    left:0;
    top:0;
    display: block;
    width:100%;
    padding:6px 0 15px;
    background: #005d5a;
    border-radius: 4px;
    font-size: 14px;
    color:#fff;
    font-weight: 500;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index:1;
    opacity: 1;
    border:none!important;
  }
  .login_form_menu li span:before,
  .login_form_menu li a:hover:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 6px;
    width: 12px;
    height: 6px;
    margin: 0 auto;
    background: none;
    background: url(../img/common/under_arrow_active.svg) left top no-repeat;
  }
  /*
  .login_form_menu li:first-child a,
  .login_form_menu li:first-child span{
    border-top:8px solid #F44336;
  }
  .login_form_menu li:nth-child(2) a,
  .login_form_menu li:nth-child(2) span{
    border-top:8px solid #FFE082;
  }
  .login_form_menu li:nth-child(3) a,
  .login_form_menu li:nth-child(3) span{
    border-top:8px solid #9FA8DA;
  }
  */

  #first_wrap.login_form {
    width: 100%;
    max-width: 100%;
    padding: 69px 16px 20px;
    border-radius:10px;
  }
  #first_wrap.login_form:before{
    content:"";
    display: none;
  }
  /*
  h2 span.sub_tit2{
    display: block;
    font-size:18px;
  }
  */
  .swpm-login-form-inner{
    margin:23px auto 0;
  }
  .swpm-login-action-msg {
    margin-top:10px;
  }
  .swpm-login-error-msg.swpm-red-error-text{ 
    text-align: center;
    background: rgba(255,0,0,.1);
  }
}

/* パスワードリマインダー */
#first_wrap.pwreset {
  display: flex;
  flex-direction:column;
  max-width:800px;
  min-height:615px;
  padding: 85px 20px 0px;
}
#first_wrap.pwreset h1{
  order: 0;
}
#first_wrap.pwreset h2{
  order: 1;
}
.pwreset_info{
  order: 2;
  width:100%;
  max-width:80%;
  margin:40px auto 20px;
}
.swpm-pw-reset-widget-form{
  order:3;

}
.swpm-pw-reset-widget-inside{
  width:100%;
  max-width:320px;
  margin:0 auto;
}
#swpm_message{
  order:4;
  width:100%;
  min-height: 2em;
  max-width:600px;
  /*
  max-width:320px;
  */
  margin:20px auto 0;
  padding:0 0 20px;
  text-align: center;
}
.swpm-reset-pw-error{
  text-align: center;
  background: rgba(255,0,0,.1);
  line-height: 2;
}
@media screen and (max-width:768px) {
  #first_wrap.pwreset {
    width: 100%;
    max-width: 100%;
    min-height:675px;
    padding: 69px 16px 0px;
  }
  .pwreset_info{
    max-width:100%;
    margin:40px auto 40px;
  }
}