@charset "utf-8";

html {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", sans-serif;
}

body, #wrapper {
  font-size: 1em;
  line-height: 1.3em;
  color: #555; 
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 10px;
  background-color: #ffedab;
  box-shadow: 0 0 5px #1a1a1a;
}

header .inner {
  width: 800px;
  margin: 0 auto;
}

header .inner h1 {
  font-size: 1.4em;
  color: #ff8000;
  margin: 0;
}

p, a {
  margin: 30px;
}

section {
  width: 800px;
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  margin-top: 70px;
  padding: 20px;
  background-color: #fff;
}

section h2 {
  font-size: 1.3em;
  font-weight: normal;
  text-align: center;
  text-decoration: underline dotted;
  margin: 70px 0;
}

section p.btn {
  text-align: center;
  margin: 30px;
}

section ul {
  width: 60%;
  font-size: 0.8em;
  margin: 0 auto;
}

section ul p {
  font-weight: bold;
  margin-left: -20px;
}

footer {
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35px;
  padding:10px;
  background-color: #545454;
  box-shadow: 0 0 5px #1a1a1a;
}

footer .copy {
  font-size: 0.8em;
  color: #fff;
}

.b {
  font-weight: bold;
}

.p404 {
  text-align: center;
}

.fuwauki_btn_red{
  font-size: 0.95em;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  background-color: #e85a70;
  width: 260px;
  padding: 0.8em;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
  -webkit-tap-highlight-color: transparent;
  transition: .2s ease-out;
}

.fuwauki_btn_red:hover{
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-4px);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.12), 0 3px 10px 0 rgba(0,0,0,0.12), 0 4px 7px -2px rgba(0,0,0,0.2);
}

#loginset {
	width: 300px;
  margin: 0px auto 0px auto;
  padding: 20px 20px 10px 20px;
  overflow: hidden;
}

#loginset .username {
	width: 100px;
  height: 30px;
  float: left;
  line-height: 30px;
}

#loginset .usernamef {
	width: 120px;
  height: 30px;
  float: left;
  line-height: 30px;
}


@media screen and (max-width: 768px) {

  body, #wrapper {
    font-size: 0.9em;
    line-height: 1.2em;
  }

  header {
    padding: 10px;
  }

  header .inner h1 img {
    width: 200px;
    margin-top: 6px;
  }

  p {
    font-size: 0.9em;    
  }

  .p404 {
    text-align: left;
  }

  .p404 img {
    max-width: 100%;
  }

  section {
    width: 95%;
    margin-top: 70px;
  }

  section h2 {
    width: 95%;
    font-size: 1.1em;
  }

  section ul {
    width: 80%;
    padding-right: 30px;
  }

  .fuwauki_btn_red{
    font-size: 0.95em;
    width: 180px;
  }

}
