@charset "UTF-8";

/* ====================================================
navigation
==================================================== */

.inner-head {
  max-width: 990px;
  padding: 0 15px;
  margin: 0 auto;
}

.inner-head:after {
  content: "";
  clear: both;
  display: block;
}


/* header */

#top-head {
  font-size: 14px;
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 30px 0 0;
  line-height: 1;
  z-index: 999;
}

#top-head a, #top-head {
  color: #00A3D9;
  text-decoration: none;
}

#top-head .inner-head {
  position: relative;
}

#top-head .logo {
  float: left;
  font-size: 36px;
}

#global-nav ul {
  list-style: none;
  position: absolute;
  right: 0;
  top: -10px;
  font-size: 14px;
  font-weight: bold;
}

#global-nav ul li {
  float: left;
  position: relative;
}

#global-nav ul li a {
  padding: 25px 20px 0 20px;
  display: block;
  text-align: center;
  border-right: 1px dotted #7AADCC;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

@media screen and (min-width: 930px) {
  #global-nav ul li.home {
    background: url(../img/index/bg-nav-home.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.home {
    background: url(../img/index/bg-nav-home.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.list {
    background: url(../img/index/bg-nav-list.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.voice {
    background: url(../img/index/bg-nav-voice.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.flow {
    background: url(../img/index/bg-nav-flow.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.summary {
    background: url(../img/index/bg-nav-summary.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
  #global-nav ul li.contact {
    background: url(../img/index/bg-nav-contact.png);
    background-repeat: no-repeat;
    background-position: center top;
  }
}

#global-nav ul li span {
  font-size: 11.5px;
  font-weight: normal;
  margin: 8px 0 0 0;
  display: block;
}


/* Btn Hover */

#global-nav ul li:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  bottom: -20px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}

#global-nav ul li:hover:after {
  background: #fff;
  bottom: -30px;
}


/* Fixed */

#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding-top: 25px;
  height: 65px;
  background: #fff;
  /*
background: rgba(255, 255, 255, .9);
*/
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
	
	box-shadow: 0px 3px 10px rgba(0, 0, 0, .3);
	
}

@media screen and (max-width: 768px) {
	
#top-head.fixed {

  height: 55px;
box-shadow: none !important;
	
}	
	
}





#top-head.fixed .logo {
  font-size: 24px;
  color: #333;
  margin-top: -15px;
}


@media screen and (max-width: 768px) {
#top-head.fixed .logo {

  margin-top: 0px;
}	
	
}


#top-head.fixed #global-nav ul li a {
  color: #333;
  padding: 0 20px;
}


/* Fixed Btn Hover */

#top-head.fixed #global-nav ul li:after {
  bottom: -10px;
}

#top-head.fixed #global-nav ul li:hover:after {
  background: #0062B8;
  bottom: -20px;
}


/* Transition */


/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
}
*/


/* Toggle Button */

#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0;
}

#nav-toggle span:nth-child(2) {
  top: 11px;
}

#nav-toggle span:nth-child(3) {
  top: 22px;
}

@media screen and (max-width: 930px) {
  #top-head, .inner-head {
    width: 100%;
    padding: 0;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: #fff;
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed .logo, #top-head .logo {
    position: absolute;
    left: 13px;
    top: 5px;
    color: #333;
    font-size: 23px;
  }
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -500px;
    background: #333;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 11px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #global-nav ul li:after {
    display: none;
  }
  #top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 18px 0;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
}