@charset "utf-8";

/*---------------------
  global reset
---------------------*/

  body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,
  pre,form,fieldset,input,textarea,table,th,td,img {
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
  }

  h1,h2,h3,h4,h5,h6,th {
    font-size: 100%;
    font-style: normal;
    margin: 0;
    padding: 0;
    font-weight: normal;
  }

  a   { border: none;}
  img { border: none; vertical-align: top;}
  th  { text-align: left;}
  li  { list-style-type: none;}

/*---------------------
  clearfix
---------------------*/

  .clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }

/*---------------------
  fluid image
---------------------*/

  img,
  iframe,
  object{
    max-width: 100%;
  }

/*---------------------
  roll over
---------------------*/

  a {
    color: #eb6b74;
    text-decoration: none;
  }

  a.hover {
    color: #eb6b74;
    text-decoration: none;
  }

/*---------------------
  body
---------------------*/

  html,
  body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  html {
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    min-width: 320px;
    color: #363536;
    text-align: left;
    font: 14px/1.5 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif, "Alegreya SC", serif;
    background: url(/assets/img/login/bg.png);
  }

/*---------------------
  wrapper
---------------------*/

  #wrapper {
    position: relative;
    min-height: 100%;
  }

  #login-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
  }

/*---------------------
  header
---------------------*/

  #header {
    position: relative;
    margin: 0 0 80px;
    padding: 0 0 32px;
    z-index: 100;
  }

  #header:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -32px;
    left: 50%;
    width: 0;
    height: 0;
    margin: 0 0 0 -38px;
    border-top: 32px solid rgba(87,181,227,.9);
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-bottom: 32px solid transparent;
  }

  #header h1 {
    padding: 90px 0 110px;
    text-align: center;
    background: rgba(87,181,227,.9);
  }

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

  #header {
    margin: 0 0 30px;
    padding: 0 0 15px;
  }

  #header:after {
    bottom: -15px;
    margin: 0 0 0 -22px;
    border-top: 15px solid rgba(87,181,227,.9);
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #header h1 {
    padding: 20px 30px 30px;
  }

}

/*---------------------
  contents
---------------------*/

  #contents {
    padding: 0 0 150px;
  }

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

  #contents {
    padding: 0 0 110px;
  }

}

/*---------------------
  main
---------------------*/

  #main {
    position: relative;
    width: 480px;
    margin: 0 auto;
    background: rgba(255,255,255,.7);
    box-shadow: 0 0 6px 0 rgba(0,0,0,.4);
    border-radius: 10px;
    z-index: 100;
  }

  #login-box {
    padding: 30px 45px;
  }

  #login-box h2 {
    margin: 0 -15px 10px;
    padding: 0 15px 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    border-bottom: 1px solid #a39da0;
  }

  #login-box input {
    font: 16px/1.5 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif, "Alegreya SC", serif;
    border-radius: 3px;
  }

  #login-box input:focus {
    outline: none;
  }

  .autologin-check input[type=checkbox] {
    display: inline-block;
  }

  .autologin-check input[type=checkbox] + label {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    cursor: pointer;
  }

  @media (min-width: 1px) {

  .autologin-check input[type=checkbox] {
    display: none;
    margin: 0;
  }

  .autologin-check input[type=checkbox] + label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -14px;
    background: #fff;
  }

  .autologin-check input[type=checkbox] + label::before {
    border: 1px solid #d3d3d3;
    border-radius: 1px;
  }

  .autologin-check input[type=checkbox]:checked + label::after {
    content: "";
    position: absolute;
    top: 50%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
  }

  .autologin-check input[type=checkbox]:checked + label::after {
    left: 3px;
    width: 14px;
    height: 6px;
    margin-top: -10px;
    border-left: 3px solid #7d7d7d;
    border-bottom: 3px solid #7d7d7d;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

}


  #message {
    color: #ff0000;
    margin: 0 0 0 130px;
  }

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

  #message {
    margin: 0 0 0 30px;
  }

}
/* ID,パス */

  #login-id-pass {
    width: 330px;
    margin: 10px 0 0 42px;
  }

  #login-id-pass dt {
    float: left;
    clear: left;
    padding: 6px 0 0;
  }

  #login-id-pass dd {
    margin: 0 0 8px 86px;
    padding: 0 6px 0 0;
  }

  #login-id-pass input {
    width: 100%;
    padding: 2px;
    border: 1px solid #bbb;
    background: #fff;
  }

/* 自動ログイン */

  #login-next {
    position: relative;
    width: 180px;
    margin: 0 0 15px 128px;
  }

  #login-next input {
    position: absolute;
    top: 1px;
    left: 0;
    width: 20px;
    height: 20px;
  }

  #login-next label {
    display: block;
    padding: 0 0 0 22px;
  }

/* ログイン */

  #login-button {
    position: relative;
    width: 106px;
    margin: 0 0 0 128px;
  }

  #login-button input {
    display: block;
    position: relative;
    width: 106px;
    height: 36px;
    color: #fff;
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 3;
  }

  #login-button:after,
  #login-button:before {
    content: "";
    display: block;
    position: absolute;
    width: 104px;
  }

  #login-button:after {
    top: 2px;
    left: 1px;
    height: 32px;
    border-radius: 5px 5px 3px 3px;
    background: -ms-linear-gradient(top, #f45959 0%, #c21616 100%);
    background: linear-gradient(to bottom, #f45959 0%, #c21616 100%);
    z-index: 2;
  }

  #login-button:before {
    top: 0;
    left: 0;
    height: 33px;
    border: 1px solid #b92020;
    border-radius: 5px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.4);
    background: #f6f3ee;
    z-index: 1;
  }

  .ie9 #login-button:after {
    border-radius: 5px 5px 3px 3px;
    background: url(/assets/img/login/ie.png) repeat-x;
  }

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

  #main {
    width: auto;
    margin: 0 20px;
  }

}

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

  #login-box {
    padding: 20px;
  }

  #login-box h2 {
    margin: 0 0 10px;
    padding: 0 0 10px;
  }

  #login-id-pass {
    width: auto;
    margin: 10px 0 0;
  }

  #login-id-pass dd {
    margin: 0 0 8px 78px;
  }

  #login-next {
    margin: 0 0 15px 78px;
  }

  #login-button {
    margin: 0 auto;
  }

}

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

  #login-button {
    margin: 0 0 0 78px;
  }

}

/*---------------------
  footer
---------------------*/

  #footer {
    position: absolute;
    bottom: -100px;
    width: 100%;
    background: url(/assets/img/login/bg.png);
    z-index: 100;
  }

  #copy {
    padding: 14px 0 12px;
    text-align: center;
  }

  #copy p {
    display: inline-block;
  }

  #copy p:first-child:after {
    content: "｜";
  }

  #copy p,
  #copy small {
    font-size: 10px;
  }


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

  #copy p {
    display: block;
  }

  #copy p:first-child:after {
    content: "";
  }

}

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

  #copy span {
    display: block;
  }

}

.security-footer {
//  position: relative;
//  top: 100px;
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  margin: 20px auto 0 auto;
}

.security-footer__container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px 10px;
}

@media (max-width: 768px) {
  .security-footer__container {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 20px;
    margin: 0 0 20px 0;
  }
}

.security-footer__logo img {
  width: auto;
  height: 20px;
  display: block;
}

.security-footer__social {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  gap: 10px;
}

.security-footer__social img {
  width: auto;
  height: 20px;
  display: block;
}

.security-footer__banner {
  margin: 40px 0;
}

.security-footer__banner ul {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.security-footer__banner img {
  vertical-align: top;
}
