@charset "utf-8";

/* 基本定義 ***********************/

* {
  box-sizing: border-box;
}

/* リセット */
html {
  width: 100%;
  font-size: 62.5%;
  overflow-y: scroll;
}
body {
  -webkit-text-size-adjust: 100%; /* フォントサイズ自動調整 */
  width: 100%;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 1.6;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  font-family: 'Hiragino Kaku Gothic ProN', 'Helvetica Neue', Arial,
    'Hiragino Sans', Meiryo, sans-serif;
  font-size: 100%;
  font-size: 1.4rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-size: 1rem;
  font-weight: normal;
  font-style: normal;
}

dl,
dt,
dd,
ol,
ul,
li,
p {
  margin: 0;
  padding: 0;
  /*font-weight: bold;*/
  font-style: normal;
}

em {
  font-weight: bold;
  font-style: normal;
}
a {
  color: #ffffff;
  text-decoration: underline;
}
a:hover {
  color: #ffffff;
  text-decoration: none;
}
a img {
  border: none;
}
.clear {
  clear: both;
  font-size: 0;
  line-height: 0;
}
.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

/* float背景のバグ処理 */
.clearfix {
  overflow: hidden;
}
/* float背景のバグ処理 IE */
* html .clearfix {
  zoom: 1;
}
/* 画像リンク */ /*色つきはサイズ注意*/
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
/* 画像リンク */ /*オーバー用透過なし*/
a:hover img.noopa {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* 基本レイアウト ***********************/
body {
  height: 100%;
  background-color: #28417a;
  padding: 0;
}
body::-webkit-scrollbar {
  display: none;
} /*chromeでスクロールバーを非表示にする*/
#container {
  min-width: 320px;
  width: 100%;
  /*max-width: 800px;*/
  margin: 0 auto;
  height: 100vh;
  display: grid;
  grid-template-rows: 50px 1fr 70px;
  /*grid-template-columns: 1fr;*/
  grid-template-areas:
    'aa'
    'bb'
    'cc';
}
#header {
  grid-area: aa;
}
#contents {
  grid-area: bb;
}
#footer {
  grid-area: cc;
}

/* 以上基本レイアウト */

/* ここからヘッダー ***********************/
header {
  width: 100%;
}
header .header_logo {
  width: 140px;
  height: auto;
  margin-top: 10px;
  margin-left: 10px;
}
header .header_logo img {
  width: 100%;
  height: auto;
}
/* ここまでヘッダー */

/* ここからコンテンツ ***********************/
#contents {
  /*grid-area: main;*/
  width: 100%;
  min-height: 390px;
  /* text-align: center; */
  position: relative;
}

/* 中央エリア **********/
#contents .centercontents {
  position: absolute;
  margin: auto;
  padding: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 390px;
}
/* メインイメージ */
#contents .centercontents #main_logo {
  width: auto;
  height: 20vh;
  max-height: 128px;
  /* margin: 0 auto 25px; */
  text-align: center;
}
#contents .centercontents #main_logo img {
  width: auto;
  height: 100%;
}

/* フォームオブジェクト */
#contents form .text_box {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  min-width: 280px;
  height: 32px;
}
#contents form .text_danger {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  min-width: 280px;
  height: 32px;
}
#contents form .text_danger_all {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  min-width: 280px;
  min-height: 32px;
}
#contents form input#ksasid,
#contents form input#password {
  width: 100%;
  height: 32px;
  background-color: #fafafa;
  border: solid 1px #a9b3ca;
  border-radius: 5px;
  font-size: 1.8rem;
  font-weight: 300;
}

#contents form .field-icon {
  position: absolute;
}
/*パスワードの非表示*/
#contents form .mdi-eye::before {
  background: url('../images/login/eye_close.png');
  background-size: 28px 20px;
  background-repeat: no-repeat;
  content: '';
  display: block;
  width: 28px;
  height: 20px;
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
}
/*パスワードの表示*/
#contents form .mdi-eye-off::before {
  background: url('../images/login/eye_open.png');
  background-size: 28px 20px;
  background-repeat: no-repeat;
  content: '';
  display: block;
  width: 28px;
  height: 20px;
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
}

/*ID保存*/
#contents form .login_check {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  min-width: 280px;
  height: 24px;
  margin-bottom: 24px;
  text-align: left;
}
#contents form .login_check input[type='checkbox'] {
  display: none;
}
#contents form .login_check input[type='checkbox'] + label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 30px;
  font-size: 1.6rem;
  font-weight: 100;
  color: #ffffff;
}
#contents form .login_check input[type='checkbox'] + label::before {
  content: '';
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  left: 0px;
  top: 50%;
  background-color: #fafafa;
  border: solid 1px #a9b3ca;
  border-radius: 5px;
}
#contents form .login_check input[type='checkbox']:checked + label::after {
  content: '';
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 16px;
  height: 10px;
  margin-top: -7px;
  top: 50%;
  left: 4px;
  transform: rotate(-45deg);
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-color: #28417a;
}
#contents form .login {
  width: 60%;
  min-width: 250px;

  height: 40px;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: bolder;
  color: #28417a;
  background-color: #ffffff;
  border: none;
  outline: none;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* PWリマインダー */
#contents .password_lost {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  min-width: 280px;
  height: 40px;
  text-align: right;
  font-size: 1.6rem;
  position: relative;
}
#contents .password_lost a {
  position: absolute;
  right: 0;
  display: table-cell;
  padding: 10px 0;
}

/* ここまでコンテンツ */

/* ここからフッター ***********************/
footer {
  width: 100%;
  height: 70px;
  padding: 0;
  color: #ffffff;
}
footer .comment {
  float: right;
  display: table-cell;
  text-align: left;
  font-size: 1.4rem;
  height: 55px;
}
footer .credit {
  clear: right;
  float: right;
  line-height: 0.5rem;
  margin-right: 10px;
  font-size: 1.4rem;
}
footer .version {
  float: left;
  line-height: 0.5rem;
  margin-right: 10px;
  margin-left: 2px;
  font-size: 1.4rem;
}
/* ここまでフッター */
