@media screen and (max-width: 768px){

/*******************************************/
/* 全体                                    */
/*******************************************/
html {
  overflow-y: scroll;   /* スクロールバー域の確保 */
  display: table;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-size: 1.0em;
  font-family: "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  line-height : 1.0em;
  background-color : #66ccff;
  padding: 0em;
  margin-top: 0em;
  margin-left: 0em;
  margin-right: 0em;
  margin-bottom: 3em; /*フッターを3emで固定の為、その分のマージンを設定*/
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/*******************************************/
/* フォーム                                */
/*******************************************/
.formdiv{
  overflow: auto;
  max-width: 88%;
  height: 400px;
  width: 100%;
  margin-right: auto;
  margin-left:auto;
}

.loginform{
  background-color: #ffffff;
  border: solid #ffffff 1px;
  padding: 0px;
  /* 角丸の指定 */
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 15px;
  width: 100%;
  height: 90%;
}

.logintable{
  margin: 0 auto;
  width: 80%;
}

.login_title{
  height: 80px;
  color: #66ccff;
  font-size: 2.0em;
  font-weight: bold;
  text-align: center;
}

/* 担当者ID */
/* パスワード */
.login_user{
  height: 60px;
}

.login_user input {
  background-color: #ffffff;
  padding-top: 0px;
  padding-left: 10px;
  padding-right: 0px;
  padding-bottom: 0px;
  color : #333333;
  width: 100%;
  height: 50px;
  border: none;
  font-size: 1.6em;
  font-weight: bold;
  border-top-width : 2px;
  border-left-width : 2px;
  border-right-width : 2px;
  border-bottom-width : 2px;
  border-top-style : solid;
  border-left-style : solid;
  border-right-style : solid;
  border-bottom-style : solid;
  border-top-color : #cccccc;
  border-left-color : #cccccc;
  border-right-color : #cccccc;
  border-bottom-color : #cccccc;
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 5px 5px;
  border-bottom-right-radius: 5px 5px;
  border-bottom-left-radius: 5px 5px;
}

.logintable input:focus {
  color : #333333;
}

/* ボタン */
.loginbutton{
  text-align: center;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 1.6em;
}

.login{
  background-color: #ffffb3;
  color: #aaaaaa;
  width: 80%;
  height: 50px;
  border: 0px;
  border-top-left-radius: 3px 3px;
  border-top-right-radius: 3px 3px;
  border-bottom-right-radius: 3px 3px;
  border-bottom-left-radius: 3px 3px;
  font-weight: bold;
}

.login:hover {
  background:#ffffb3;
  color: #666666;
}

/* エラーメッセージ */
.loginermsg {
  text-align: center;
  color: #666666;
  font-size: 1.0em;
  margin-top: 25px;
  margin-bottom: 20px;
}

/*******************************************/
/* フッター                                */
/*******************************************/
#footer {
  background-color: #ffffff;
  display: block;
  position: fixed;
  bottom: 0em;
  width:100%;
  height: 3em;  /*フッターの高さを3emで固定*/
  font-size: 0.8em;
}

#footerdiv {
  padding: 0em;
}

/* copyright */
#footerdiv .copyright {
  color: #888888;
  text-align: center;
}

#footerdiv .copyright a {
  color: #888888;
  text-align: center;
}

}
