@charset "UTF-8";
/* CSS Document (ハンバーガーメニュー) */

.fullscreenmenu{
}

/*アイコン*/
#nav_toggle{
  position: fixed;
  top: 20px;
  right: 6px;
  height: 45px;
  width: 45px;
  cursor: pointer;
  z-index: 999;
  display: none;
  background: #4779B3;    
}
#nav_toggle > div{
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 30px;
  height: 20px;
}
#nav_toggle span{
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  display: block;
  transition: transform 0.4s ease-in-out, top 0.3s ease;    
}
#nav_toggle span:nth-child(1) {
  top: 0;
    background: #fff;
}
#nav_toggle span:nth-child(2) {
  top: 9px;
background: #fff;    
}
#nav_toggle span:nth-child(3) {
  top: 18px;
    background: #fff;
}
/*open*/
.open #nav_toggle span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
  background: #fff;    
}
.open #nav_toggle span:nth-child(2) {
  top: 9px;
  width: 0;
  left: 50%;
}
.open #nav_toggle span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
background: #fff;      
}



/*中身*/
.mobile_nav {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  padding: 120px 0;
  overflow-y: scroll;
  overflow-x: hidden;
}
.mobile_nav ul{
  margin-bottom: 20px;
}
.mobile_nav ul li a {
  display: block;
  transition: 0.1s;
  letter-spacing: 0.2em;
  color: #333;   
  font-size: 0.9em;   
      width: 50%;
    margin: 0 auto 20px;
}
.mobile_nav ul li a .small{
  font-size: 0.8em; 
color: #4779B3;  
font-family: 'Roboto', sans-serif;     
}
.mobile_nav a span:not(.sp_button span){
  display: block;
  text-align: center;
  font-size: 0.7em;
  text-transform: uppercase;
  color:#4779B3;
}
.mobile_nav a:hover span:not(.sp_button span){
 
}
.mobile_nav ul li{
  opacity: 0;
  transform: translateX(200px);
  transition: transform 0.6s ease, opacity 0.2s ease;
}
.mobile_nav ul li:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile_nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile_nav ul li:nth-child(4) {
  transition-delay: 0.45s;
}
.mobile_nav ul li:nth-child(5) {
  transition-delay: 0.6s;
}
.mobile_nav ul li:nth-child(6) {
  transition-delay: 0.75s;
}
.mobile_nav ul li:nth-child(7) {
  transition-delay: 0.9s;
}
.mobile_nav ul li:nth-child(8) {
  transition-delay: 1.05s;
}
.mobile_nav ul li:nth-child(9) {
  transition-delay: 1.3s;
}
.mobile_nav ul li:nth-child(10) {
  transition-delay: 1.45s;
}

.mobile_nav .sp_button{
  opacity: 0;
  transform: translateX(200px);
  transition: transform 0.6s ease, opacity 0.2s ease;
    margin: 20px auto 0;
    border: solid 1px #4779B3;
    max-width: 300px;
    width: 60%;
    padding: 1rem;
    transition: all 0.5s;
}
.mobile_nav .sp_button a{
 color: #4779B3;
 font-weight: 500;
transition: all 0.5s;    
}
.mobile_nav .sp_button:hover{
  background: #4779B3;   
}
.mobile_nav .sp_button:hover a{
 color: #fff;   
}
/*ホバー*/
.mobile_nav ul li a:hover{
  opacity: 0.6;
}


/* open */
.open{
  overflow: hidden;
}
.open .mobile_nav{
  visibility: visible;
  opacity: 1;
}
.open .mobile_nav li{
  opacity: 1;
  transform: translateX(0);
  transition: transform 1s ease, opacity 0.9s ease;
}
.open .mobile_nav .sp_button{
  opacity: 1;
  transform: translateX(0);
  transition: transform 2s ease, opacity 3s ease;
}


/*ブレイクポイントのみ変更*/
@media (max-width: 960px){
#nav_toggle{
    display: block;
  }
#nav_toggle > div{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 30px;
  height: 20px;
}    
}
@media (max-width: 690px){
#nav_toggle{
  position: fixed;
  top: 10px;   
}
}