﻿@charset "UTF-8";

/* base
--------------------------- */
html {
  font-size: 16px;
}

/* login
--------------------------- */
body {
  position: relative;
  margin: 0;
  padding: 0 0 4rem;
  line-height:1;
  width: 100%;
  /*height: 100vh;*/
  min-height: 680px;
  color: rgba(89,87,87,1);
  text-align: center;
  background: url(../images/bg.gif) center top;
}
header,main,footer { margin: 0 auto; min-width: 500px;}

/* header
--------------------------- */
header {
  position: relative;
  padding: 3rem 0 1.5rem;
}
header h1 {
  padding: 0 0 1.5rem;
}
header h1 img {
  width: auto;
  height: 4rem;
}
header h2 {
  font-weight: 100;
  font-size: 1rem;
  line-height: 2em;
}
/*header h2 figure {*/
header figure {
    display: block;
    margin: 0 auto;
    font-size: 2.4rem;
    width: 3em;
    height: 3em;
    line-height: 3em;
    color: #FFF;
    background: rgba(51,156,208,1);
    border-radius: 3em;
}
header h2 img {
    width: 24rem;
}

/* main
--------------------------- */
main {
  padding: 0 0 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
ol,ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 90%;
  max-width: 400px;
  list-style: none;
}
ol { padding: 0 0 2rem;}
li { position: relative; width: 100%;}
ol li { padding: 0 0 0.8em;}
input[type=text],
input[type=Password],
input[type=checkbox] + label {
  position: relative;
  margin: 0 auto;
  padding: 0.75em 0.75em 0.75em 1.8em;
  width: 92%;   /*width: 96%;*/
  height: 3em;
  line-height: 1.5em;
  border-radius: 0.8rem;
}
input[type=text],
input[type=Password] {
  font-size: 1.2rem;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(51,156,208,1);
}
/*input:focus { width: 100%; background: rgba(255,255,255,1);}*/
input:focus { width: 96%; background: rgba(255,255,255,1);}
input::placeholder { color: rgba(89,87,87,0.6); font-size: 0.8em; opacity: 1; transition: 0.2s;}
input:focus::placeholder { color: rgba(89,87,87,0);}
input[type=text] + label,
input[type=Password] + label {
  display: block;
  position: absolute;
  top: 0; left: calc(4% + 0.5em);/*left: calc(2% + 0.5em);*/ bottom: 0;
  color: rgba(89,87,87,0.5);
  font-size: 1.2rem;
  line-height: 3em;
  z-index: 1;
}
input:focus + label { color: rgba(51,156,208,1); left: calc(2% + 0.5em);/*left: 0.5em;*/}
input:required:valid + label { color: rgba(51,156,208,1);}
input[type=checkbox] { display: none; width: 0; height: 0; overflow: hidden;}
input[type=checkbox] + label {
  display: block;
  font-size: 1rem;
  /* Del K.Hombo 2024/01/24 ログイン情報位置修正 ->*/
  /*text-align: right;*/
  /* Del K.Hombo 2024/01/24 ログイン情報位置修正 <-*/
  background: rgba(89,87,87,0.1);
}
input[type=checkbox] + label:hover { width: 100%;}
input[type=checkbox] + label:hover,
input[type=checkbox]:checked + label {
  color: rgba(255,255,255,1);
  background: rgba(89,87,87,0.7);
}
input[type=checkbox] + label::after {
    font-family: "Font Awesome 5 free";
    content: "\f00c";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0.3em;
    bottom: 0;
    margin: auto;
    width: 1.8em;
    height: 1em;
    line-height: 1em;
    text-align: center;
    transition: 0.2s;
    opacity: 0.2;
}

input[type=checkbox]:checked + label::after {
    opacity: 1;
}
input[type=checkbox] + label span,
input[type=checkbox]:checked + label em { display: none;}
input[type=checkbox] + label em,
input[type=checkbox]:checked + label span { display: inline;}
button {
  position: relative;
  margin: 0 auto;
  padding: 0 0 0 1em;
  border-radius: 1.5em;
  border: none;
  width: 75%;
  height: 3em;
  color: #FFF;
  font-size: 1.1rem;
  line-height: 3em;
  background: rgba(142,167,106,1);
}
button:hover { background: rgba(142,167,106,0.7);  width: 79%;}
button figure {
  display: block;
  position: absolute;
  top: 0; bottom: 0; left: 0;
  font-size: 1.2rem;
  width: 3.3rem;
  height: 3.3rem;
  line-height: 3.3rem;
}

#dgSctMain {
    width: 440px;
}
#dgSctSub {
    width: 400px;
    padding: 1rem 1rem;
    text-align: left;
    background: rgba(190,168,143,0.8);
    background: rgba(89,87,87,0.7);
    border-radius: 0 2rem 2rem 0;
}

#dgSctSub h2 {
    padding: 1.5em 0 0.4em;
    color: rgba(255,255,255,1);
    font-size: 1.4rem;
    line-height: 1.8rem;
    font-weight: normal;
}

#dgSctSub h2 span {
    display: inline-block;
    font-size: 0.9rem;
    padding-left: 0.5rem;
}

#dgSctSub p {
    padding: 0 0 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8rem;
}

.msg_tbl {
    height: 19rem;
    overflow: auto;
}

.msg_tbl td, td p {
    font-size: 0.9rem;
}

/* footer
--------------------------- */
footer {
  position: absolute;
  margin: auto;
  right: 0; bottom: 0; left: 0;
  padding: 2rem;
  width: 100%;
  text-align: center;
}
footer p {
  font-size: 0.8rem;
  line-height: 1.2em;
  color: rgba(89,87,87,0.6);
}

/*タブレットに適用するスタイル*/
@media screen and (min-width:960px) {
  
}
/*PCに適用するスタイル*/
@media screen and (min-width:1200px) {
  
}