body {
  margin: 0;
  font-family: "Noto Sans JP";
  /* font-family:"メイリオ", "Meiryo","游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",  sans-serif; */
  font-size: 16px;
  line-height: 1.6;
  word-break: break-all;
  color: #565656;
}
form {
 margin:0;
}
a{
  text-decoration: none;
}

@media (hover:hover) {
  a:hover {
    opacity: 0.7;
  }
}

#nav {
  position: fixed;
  top:0px;
  left:0px;
  z-index:100;
  width:100%;
  height:78px;
  background-color:rgba(255,255,255,0.9);
}

#menu_box {
  position: relative;
  margin:0px 2%;
  text-align:center;
}
#menu{
  position: relative;
  margin:0px auto;
  float:right;
  padding: 0;
}

#menu li{
  display: inline-block;
  text-align:center;
  vertical-align: middle;
  float: left;
  margin-right:80px;
  padding: 0;
  height:85px;
}
#menu li:last-child{
  display: inline-block;
  text-align:center;
  vertical-align: middle;
  float: left;
  margin-right:30px;
  padding: 0;
  height:85px;
}

#menu li a{
  display: block;
  color: #000;
  text-align: center;
  text-decoration: none;
  line-height:85px;
  font-size:16px;

}


#menu_box {
margin: 0;
}
#menu img
{
display: block;
}
#menu li a {
margin-top: 30px;
}
#menu li:last-child a {
margin-top: 0;
}
#menu li {
margin-right: 52px;
}
#menu li:nth-child(5) {
margin-right: 40px;
}
#menu li:last-child {
margin: 0;
}



#toggle{
   display: none;
   position:absolute;
   top:17px;
   right:10px;
}

#toggle img{
  height:51px;
}

#overlay-button {
  display: none;
  position: relative;
  right:0px;
  top: 3px;
  z-index: 5;
  padding: 18px 9px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}
#overlay-button span {
  height: 4px;
  width: 24px;
  border-radius: 2px;
  background-color: rgb(131, 131, 131);
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}

  
input[type=checkbox] {
  display: none; 
}

#overlay {
  height: calc(100vh - 46px);
  overflow-y: scroll;
  width: 100vw;
  background: #1271c0;
  z-index: 2;
  visibility: hidden;
  position: fixed;
  top:46px;
}

#overlay ul {
  display: inline-block;
  text-align: center;
  height: 70vw;
  padding-left: 17vw;
  margin-top: 40px;
  list-style-type: none;
  -webkit-column-count: 2;
  -moz-column-count: 2;
       column-count: 2;
}
#overlay ul li {
  padding-bottom: 17vw;
  margin-right: 14vw;
}
#overlay ul li img{
  height:8vw;
  width: auto;
}
#overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
}
#overlay ul li a:hover {
  color: #000!important;
}




.tspa_height {
  height:78px;
}

.entry_btn{
  display: none;
  height: 60px;
  width: auto;
  padding-right: 18px;
}
.bottom_btns{
  margin-top: 5vh;
  text-align: left;
  margin-left: 15vw;
}
.bottom_btns a img{
  height: auto;

}

.footer_menu_new a{
  display: inline-block;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 30px;
  margin-right: 70px;
}
.footer_menu_new a img{
  height: 41px;
  width: auto;
  float:left;
}

.footer_row{
  margin-left: 2vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}
.footer_mojiarea{
  width: 30vw;
  width: 50%;
  height: auto;
  margin-right: 0vw;
  margin-bottom: 4vw;
  /* padding-left: 6vw; */
}
.footer_mojiarea a{
  font-size: 3vw;
  line-height: 1;
  margin-bottom: 5vw;
  margin-right: 0;
}
.footer_mojiarea a img{
  height: 8.5vw;
  width: auto;
}
.footer_area{
  padding: 10vw 0 10px 15vw;
}
.footer_area a{
  display: inline-block;
  color: #fff;
  font-weight: bold;
  line-height: 1;

}
.footer_area a span{
  font-weight: normal;
  font-size: 70%;
}

.footer_corp a{
  margin: 0 ;
  margin-right: 2vw;
  font-size: 80%;
  vertical-align: middle;
}

#footer_bigsize {
  display:block;
}
#footer_smallsize {
  display:none;
}


@media only screen and (max-width: 920px) {
  #footer_bigsize {
    display:none;
  }

  #footer_smallsize {
    display:block;
  }
  #nav{
    height: 46px;
  }
  #toggle{
    display: block;
  }
  #toggle img{
    height:51px;
  }
  .tspa_height {
    height: 46px;
  }
  .entry_btn{
    display: inline;
  }

  #menu{
    position: absolute;
    right:0px;
    margin:0px;
    top:-500px;
    width:50%;
    padding:0 10px;
    -webkit-transition:.5s ease-in-out;
    -moz-transition:.5s ease-in-out;
    transition:.5s ease-in-out;
  }

  #menu li{
    display: block;
    text-align:center;
    margin: 0;
    padding: 0;
    height:60px;
    text-align:center;
    width:100%;
  }

  #menu li:last-child{
    display: block;
    text-align:center;
    margin: 0;
    padding: 0;
    height:60px;
    text-align:center;
    width:100%;
  }
  #menu li a{
      display: block;
      line-height:60px;
  }
  .img_text_menu ul{
    list-style-type:none;
    margin: 0px;
    padding: 0px;
      width: 100%;
  }
  .img_text_menu ul li{
    display:inline-block;
    vertical-align:top;
    list-style-type:none;
    width: 50%;
    text-align:center;
  }


  #overlay-button {
    display: block;
    margin-top: 0;
  }
  #overlay-button span {
    height: 4px;
    width: 24px;
    border-radius: 5px;
  }
  #overlay-button span:before {
  top: -10px;
  visibility: visible;
  }
  #overlay-button span:after {
  top: 10px;
  }
  #overlay-button span:before, #overlay-button span:after {
    height: 4px;
    width: 24px;
    border-radius: 5px;
    background-color: rgb(129, 129, 129);
    position: absolute;
    content: "";
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }
  @media (hover:hover) {
    #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
      background: #08549b;
    }
  }
  @media (hover:none) {
    #overlay-button:active span, #overlay-button:active span:before, #overlay-button:active span:after {
      background: #08549b;
    }
  }
  #entry_btn{
    display: inline;
  }
  input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
  }
  input[type=checkbox]:checked ~ #entry_btn {
  display: none; 
  }

  input[type=checkbox]:checked ~ #overlay-button span {
    background: transparent;
  }
  input[type=checkbox]:checked ~ #overlay-button span:before {
    background: #08549b;
    -webkit-transform: rotate(45deg) translate(7px, 7px);
        -ms-transform: rotate(45deg) translate(7px, 7px);
            transform: rotate(45deg) translate(7px, 7px);
  }
  input[type=checkbox]:checked ~ #overlay-button span:after {
    background: #08549b;
    -webkit-transform: rotate(-45deg) translate(7px, -7px);
        -ms-transform: rotate(-45deg) translate(7px, -7px);
            transform: rotate(-45deg) translate(7px, -7px);
  } 
  .footer_corp a{
    margin-bottom: 5vw;
    font-size: 2vw;
  }

}

@media only screen and (max-width: 600px) {
  #menu{
    position: absolute;
    right:0px;
    margin:0px;
    top:-520px;
    width:50%;
    padding:0 10px;
    -webkit-transition:.5s ease-in-out;
    -moz-transition:.5s ease-in-out;
    transition:.5s ease-in-out;
  }
}


@media only screen and (max-width: 300px) {
  .entry_btn{
    display:none;
  }
}

@media print{
  #nav{
    display:none;
  }
}
