@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;
  }

  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  hgroup,
  nav,
  section {
    display: block;
  }

  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 {
    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(../img/base/bg.png);
  }

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

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

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

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

  #login-bg {
    display: none;
  }

}

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

  #header {
    position: relative;
    margin: 0 0 50px;
    z-index: 100;
  }

  #header h1 {
    padding: 100px 20px 0;
    text-align: center;
  }
  
  
  

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

  #header {
    margin: 0 0 25px;
    background: url(../img/login/login-bg.jpg) no-repeat top;
    background-size: auto 180%;
    overflow: hidden;
	padding:0 3%;
  }

  #header h1 {
    padding: 40px 0;
  }
  
  

}

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

  #contents {
    padding: 0 0 100px;
  }

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

  #contents {
    padding: 0;
  }

}

/*---------------------
  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 0 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    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;
  }

/* 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 input {
    display: block;
    width: 100px;
    height: 30px;
    margin: 0 0 0 128px;
    color: #fff;
    text-align: center;
    border: 1px solid #000;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 3px 0 rgba(255,255,255,.3) inset;
    background: #505050; /* Old browsers */
    background: -moz-linear-gradient(top,  #505050 0%, #343434 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#505050), color-stop(100%,#343434)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #505050 0%,#343434 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #505050 0%,#343434 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #505050 0%,#343434 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #505050 0%,#343434 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#505050', endColorstr='#343434',GradientType=0 ); /* IE6-9 */
  }

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

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

}

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

  #login-box {
    padding: 15px 20px 20px;
  }

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

  #login-box h2 span {
    display: block;
  }

  #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 input {
    margin: 0 auto;
  }

}

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

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

}

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

  #footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: fit-content;
    background: url(../img/base/bg.png);
    overflow: hidden;
    z-index: 100;
  }

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

  #copy p {
    display: inline-block;
    text-align: center;
  }

  #copy p:first-child:after {
    content: "｜";
    padding: 0 5px;
  }

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


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

  #copy {
    padding: 12px 0 0;
  }

  #copy p {
    display: block;
  }

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

}

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

  #footer {
    position: static;
    height: auto;
    background: none;
  }

  #copy {
    padding: 25px 20px 20px;
  }

}