@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* -- top.php login.php------------------------------------------- */

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: #333;
  background: #f4f5f7;
}

div.wrap {
  max-width: 700px !important;
  height: auto;
  margin: 45px auto 0;
  border: solid 1px #ccc;
  padding: 2.34375vw;
  /* background: #f7f8fa; */
}

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

header {
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
}

header div.h_area {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

header div.h_area > h1 {
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  font-weight: bold;
  text-align: center;
  border-top: none;
  border-bottom: none;
  line-height: 1.5;
  padding-bottom: 15px;
}

header div.h_area > p.kikan {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: bold;
  text-align: center;
  border-top: 1px solid #686868;
  border-bottom: 1px solid #686868;
  line-height: 2;
  padding: 0.5em 0;
  list-style: none;
}

header div.h_area > h1 > span,
header div.h_area > p.kikan > span {
  display: inline-block;
}

.home {
  padding: 45px 0 0;
}

.home h2 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  margin: 0 auto;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 15px;
}

.home p {
  line-height: 1.65;
  padding: 10px;
  margin-bottom: 15px;
}

/* -- top.php btn------------------------------------------- */
.home > a {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 1rem;
  margin: 1.5rem 0;
  font-size: clamp(1rem, 0.977rem + 0.11vw, 1.063rem);
  font-weight: bold;
  border: 2px solid #54afe3;
  background-color: #fff;
  color: #54afe3;
  border-radius: 100vh;
  transition: 0.5s;
}
.home > a:hover {
  color: #fff;
  background: #54afe3;
}

.home > a:nth-of-type(2) {
  margin: 1.5rem 0 0 !important;
}

/* -- login.php error------------------------------------------- */

div.notinput {
  margin: 0 auto 25px ;
  padding: 15px;
  width: 100%;
  background: #ffffff;
  border: solid 1px #d9534f;
  font-weight: bold;
  text-align: center;
}

div.notinput ul {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  background: #ffffff;
  font-weight: normal;
  text-align: center;
  list-style: none;
}

.blinking {
  -webkit-animation: blink 0.5s ease-in-out infinite alternate;
  -moz-animation: blink 0.5s ease-in-out infinite alternate;
  animation: blink 0.5s ease-in-out infinite alternate;
  color: #d9534f !important;
  margin: 0 !important;
}

@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* -- login.php login_area------------------------------------------- */

.login_area {
  margin: 0;
  padding: 15px;
  border: solid 1px #ccc;
}

.login_area dl {
  width: calc(100% - 30px);
  margin: 0 auto 5px;
  overflow: hidden;
  border-bottom: 1px solid #cccccc;
  padding: 12px 0 18px;
}

.login_area dl dt {
  clear: both;
  width: 8rem;
  float: left;
  padding: 18px 0 11px 0;
  text-align: right;
  overflow: hidden;
  font-weight: bold;
}

.login_area dl dd {
  width: calc(100% - 3% - 8rem);
  float: right;
  padding: 5px 0 5px 3%;
}

.login_area dl dt:first-child,
.login_area dl dt:first-child + dd {
  border: none;
}

.login_area dl dt span {
  display: block;
  font-size: 85%;
  color: #c02f1d;
  line-height: 0.5;
}

.login_area dl:last-of-type {
  border-bottom: none !important;
}

form#login_form input[type="text"],
form#login_form input[type="password"] {
  width: 100%;
  height: 2.5em;
  padding: 2px 2%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fff;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
  margin-top: 5px;
}

.button {
  display: block;
  width: 100%;
  height: 55px;
  line-height: 55px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background-color: #5cb85c;
  border-radius: 2px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  font-weight: bold;
  margin: 25px auto 45px;
}

.button a {
  color: #fff;
  text-decoration: none;
}

.button:hover {
  background-color: #2c8b43;
  text-decoration: none;
  cursor: pointer;
}

/* --responsive------------------------------------------- */

/* 600pixel start */
@media screen and (max-width: 600px) {
  .login_area {
    margin: 0;
    padding: 15px 5px;
  }
  form#login_form dl dt {
    clear: both;
    width: auto;
    float: none;
    padding: 12px 0 3px 0;
    text-align: left;
  }

  form#login_form dl dd {
    width: auto;
    float: none;
    padding: 2px 0 5px 0;
  }
}

/* --　footer ------*/
footer {
  /* background-color: #303f4e; */
  width: 100%;
  text-align: center;
  /* box-shadow: -2px -2px 4px gray; */
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem) !important;
  color: #606060;
  line-height: 2;
  padding: 2px 0;
  margin-top: 25px !important;
}
