body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

body hr {
  margin: 30px 30px;
}

h2 {
	margin: 21.6px 0px;
}

h3 {
	margin: 12px 0px;
}

.header a{
    text-decoration: none;
}

@media screen and (min-width: 769px){
.header {
  background-color: #2C2F33;
  height: 75px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.header-text h1 {
  font-size: 45px;
  color: #ffffff;
  padding: 15px 0px 15px 15px;
}
}

@media screen and (max-width: 768px){
.header {
  background-color: #2C2F33;
  height: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.header-text h1 {
  font-size: 34px;
  color: #ffffff;
  padding: 13px 0px 13px 10px;
}
}

.header-btn {
  margin-right: 15px;
}

#nav-drawer {
  position: relative;
}

.nav-unshown {
  display:none;
}

@media screen and (max-width: 768px){
#nav-open {
  display: inline-block;
  width: 30px;
  vertical-align: middle;
  margin: 0px 10px 0px 0px;
}
}

@media screen and (min-width: 769px){
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
  margin: 0px 24px 15px 0px;
}
}

@media screen and (max-width: 768px){
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
}

.nav i {
  font-size: 32px;
  display: table-cell;
  vertical-align: middle;
  color: #fff;
}
}

@media screen and (min-width: 769px){
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
}

.nav i {
  font-size: 40px;
  display: table-cell;
  vertical-align: middle;
  color: #fff;
}
}

#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}


#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
  background: #fff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}


@media screen and (max-width: 1549px){
  .header-btn {
    display:none;
  }

  .sidemenuparent {
    display:none;
  }
}

@media screen and (min-width: 1550px){
  #nav-open {
    display:none;
  }

  .mainparent{
    display: flex;
    justify-content: center;
    width: 75%;
    margin: auto;
  }

  .mainpageparent{
    border:solid 6px #fafafa;
    width: 77%;
    float: left;
    margin: 30px 20px;
  }

  .mainpage {
    border:solid 2px #ededed;
  }

  .sidemenuparent{
    border:solid 6px #fafafa;
    width: 20%;
    height: 992px;
    float: right;
    margin: 30px 20px;
  }

}

.sidemenu{
  border:solid 2px #ededed;
}

.menu-title {
  font-size: 24px;
  color: #333;
background: #eaf3ff;
border-bottom: solid 3px #516ab6;
}

.menu-title h3{
  padding: 14px;
  margin: 0;
}

.sidemenu {
  color: #595959;
}

.UserGuidecont hr{
  border:solid 0.5px #a1a1a1;
}

.UserGuidecont a{
  text-decoration: none;
  color: #595959;
}

.UserGuide p{
  margin: 12px 16px;
  font-size: 21px;
}

.sidemenu hr{
  margin: 5px 8px;
}

.UserGuidecont p{
  margin: 10px 22px;
  font-size: 19px;
}

.btn {
  text-align: center;
  margin: 5px;
  font-size: 25px;
}

.btn-square {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}
.btn-square:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  border-bottom: none;
}

.title {
  text-align: center;
  color: #333333;
  width: 90%;
  margin: auto;
  padding-top: 32px;
}

.title h1 {
  font-size: 33px;
	padding: 16px 0px;
}

.title a {
  color: #333333;
}

.main {
	padding-bottom: 64px;
  margin: 0px 15px;
}

.main-title1 {
  text-align: center;
  font-size: 35px;
  margin: 5px;
  color: #333333;
}

.main-title1 h2 {
	margin: 5px 0px 21px;
}

.main-title1 p {
  font-size: 18px;
  line-height: 1.2em;
}

.main-title2 {
  text-align: center;
  font-size: 20px;
  margin:10px;
  color: #333333;
  line-height: 1.5em
}

.main-text {
  font-size: 18px;
  margin: 0px 15px;
  line-height: 1.2em;
}

.main-text h3 {
  color: #505050;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
  display: inline-block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #dbebf8;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
  margin: 32px 0px 16px 0px;
}

.main-text h3:before {
  content: '●';
  color: white;
  margin-right: 8px;
}

.main-text h2 {
  font-size: 28px;
  line-height: 1.5em;
  color: #6594e0;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 2px #6594e0;
  margin: 32px 8px 10px 8px;
}

.main-text h4 {
  font-size: 19px;
  margin: 5px 2px;
}

.data {
  margin: 0px 10px;
}

.btn {
  text-align: center;
  margin: 5px;
  font-size: 25px;
}

.btn-square {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}
.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}

.footer a{
  text-decoration: none;
}

.footer {
  background-color: #424242;
  height: 140px;
  display: inline-block;
  width: 100%;
}

.footer h1 {
  font-size: 30px;
  padding: 30px 10px 30px 30px;
  color: #ffffff;
  width: 250px;
}

.footer-1 {
  display: flex;
  justify-content:center;
}

.footer-child p {
  color: #aaa;
  font-size: 16px;
  margin: 0px 20px;
  width: 250px;
}

.footer-child a {
  color: #aaa;
  text-decoration: none;
  font-size: 16px;
  margin: 0px 20px;
  width: 70px;
}

.picture {
	margin: 10px;
}

.picture img {
  width: 100%;
  max-width: 700px;
}

.important {
	font-weight: bold;
}

.button003 a {
  background: #eee;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 24px auto 0 auto;
  max-width: 260px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.button003 a:hover {
  background: #313131;
  color: #FFF;
}

.button003 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #313131;
  border-right: 3px solid #313131;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.button003 a:hover:after {
  border-color: #FFF;
}

/*
|| commands
*/

.commands {
	padding-top: 8px;
	font-weight: bold;
}

/*
|| rank-permission 
*/

.yakushoku h2 {
  margin: 0px 47px;
  font-size: 22px;
  color: #333333;
}

.yakushoku hr {
  margin: 10px 40px;
}

.yakushoku p {
  margin: 0px 50px 0px 50px;
  font-size: 19px;
  color: #333333;
}

.busho p {
  font-size: 35px;
}

table.ranks {
  margin: 4px auto;
  text-align: center;
  border: solid 2px #333;
  border-collapse: collapse;
}

table.ranks th, table.ranks td {
  border: dashed 1px #666;
  padding: 8px 12px;
}

/*
|| railway 
*/

.railway-map img{
  max-width: none;
}

.fares {
  margin: 8px auto;
}

.fare {
  display: inline-block;
  width: 120px;
  border: solid 1px #333;
  margin: 4px 8px;
  padding: 8px 16px;
  text-align: center;
  background-color: #ffe88d;
}

/*
|| guide-top 
*/

.Links {
  margin: 0px 10px;;
}

.Links p {
  font-size: 20px;
  margin-left: 35px;
}

.Links a {
  color: #11618c;
  text-decoration: none;
}

.Links hr {
  margin: 12px 0px;
}

/*
|| rules 
*/

.sub-title {
  margin :10px 30px;
  font-size: 19px;
}

.rule {
  margin: 20px;
  font-size: 18px;
  background-color: #fafafa
}

.rule-text {
  padding: 20px 20px 20px 20px;
  font-size: 18px;
  text-align: left;
  line-height: 1.7em;
}

.rule-text h2 {
  margin: 36px 5px 10px 5px;
  font-size: 22px;
}

.gen {
  font-size: 22px;
  margin: 30px 0px 0px 30px;
}

.applywaku {
  padding: 0px 20px;
}

.apply input {
  display: inline-block;
}

.apply {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #00BCD4;
    background: #e4fcff;/*背景色*/
    border-top: solid 6px #1dc1d6;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}

.apply p {
    margin: 0;
    padding: 0;
}

.apply input {
    margin: 0;
    padding: 0;
}

/** チェックOFFなら非表示 */
.toggle-term {
  display: none;
}

/** チェックONなら表示 */
input:checked ~ .toggle-term {
  display: block;
}

/** チェックボックス横にラベル表示 */
[type="checkbox"].toggle-rule {
  position: relative;
  padding-top: 3px;
  width: 18px;
  height: 18px;
}

[type="checkbox"].toggle-rule:after {
  display: inline-block;
  content: "上記ルールを熟読し、理解しました";
  position: absolute;
  width: 350px; height: 25px;
  padding-left: 20px;
  font-size: 17px;
  top: 50%;
  transform: translateY(-50%);
}

/** チェックOFFなら非表示 */
.password {
  display: none;
}

/** チェックONなら表示 */
input:checked ~ .password {
  display: block;
}

/** チェックボックス横にラベル表示 */
[type="checkbox"].toggle-term2 {
  position: relative;
  padding-top: 3px;
  width: 18px;
  height: 18px;
}

[type="checkbox"].toggle-term2:after {
  content: "利用規約に同意します。";
  position: absolute;
  width: 350px; height: 25px;
  padding-left: 20px;
  font-size: 17px;
  top: 50%;
  transform: translateY(-50%);
}

.password p {
  margin:10px;
  font-size: 15px;
}
