
.inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}

 
/* header */
#top-head {
  width: 100%;
  background: rgba(255,255,255,0.80);
  padding: 0;
  line-height: 1;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  transition: .3s;
}
#top-head a,
#top-head {
  color: #333;
  text-decoration: none;
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float: left;
  position: relative;
  width: 240px;
  padding-top: 26px;
}
#top-head .logo .logo1 img{
  width: 90%;
  padding-bottom: 21px;
  padding-left: 20px;
  border-bottom: 4px solid rgba(0,15,73,1.00);
}
@media screen and (max-width: 800px) {
  #top-head {
    height: 50px;
  }
  #top-head .logo {
    z-index: 1000;
    max-width: 200px;
    width: 50%;
    padding-top: 10px;
    padding-left: 0px;
  }
  #top-head .logo .logo1 img{
    width: 100%;
    padding-bottom: 0px;
    padding-left: 5px;
    border-bottom: 0px solid rgba(255,255,255,1.00);
  }
}


#global-nav{
  position: relative;
  float: right;
  max-width: 550px;
  width: 69%;
}
/*#global-nav:before {
    content:"";
    display: block;
    padding-top: 14.7%;
}
#global-nav div{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}*/
#global-nav ul.menu {
  width: 100%;
  list-style: none;
  display: -webkit-box;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;

}
ul.menu > li:nth-child(1){ width: 22.099447%; }
ul.menu > li:nth-child(2){ width: 21.178637%; }
ul.menu > li:nth-child(3){ width: 13.627992%; }
ul.menu > li:nth-child(4){ width: 13.627992%; }
ul.menu > li:nth-child(5){ width: 14.732965%; }
ul.menu > li:nth-child(6){ width: 14.732965%; }

ul.menu li a {
  display: block;
  padding: 0px;
  text-align: center;
  color: #fff;
}
ul.menu li a:hover {
  background-color: rgba(0,0,0,0.15);
}
ul.menu li:nth-child(5) a:hover{ opacity: 0.8; }
ul.menu li:nth-child(6) a:hover{ opacity: 0.8; }
ul.menu li a img{
  width: 100%;
  /*max-height: 80px;*/
}
li.menu__single:hover > a{
  background-color: rgba(0,0,0,0.15);
}






/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding: 20px 0 0 0;
  line-height: 1;
  background: rgba(88,196,225,0.8);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}

#top-head.fixed ul.menu li a {
  color: #FFF;
  padding: 10px 0 0 0;
}
 
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 110px;
  top: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #001561;
  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: 4px;
}
#nav-toggle span:nth-child(2) {
  top: 17px;
  width: 75%;
  background-color: rgba(255,79,0,1.00);
}
#nav-toggle span:nth-child(3) {
  top: 30px;
  width: 50%;
}




ul.menu li ul{
  display: block;
}
ul.menu__second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.init-bottom:after {/*▼矢印作成*/
  content: '';
  display: block;
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(0,15,73,1.00);
  border-bottom: 2px solid rgba(0,15,73,1.00);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

ul.menu li.menu__single {
  position: relative;
}
ul.menu li.menu__single a {
  position: relative;
}

ul.menu__second-level {
  position: absolute;
  display: block;
  top: 80px;
  width: 200px;
  color: #fff;
  background: rgba(0,21,97,0.60);
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
a.init-bottom[href="#"] {
  pointer-events: none;
}
li.menu__single:hover ul.menu__second-level {
  top: 80px;
  visibility: visible;
  opacity: 1;
}
li.menu__single ul.menu__second-level li{
  width: 100%;
  color: #fff;
}
li.menu__single ul.menu__second-level li a{
  color: #fff!important;
  font-size: 13px;
  line-height: 1.2;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.30);
  margin: 2px;
}






@media screen and (max-width: 800px) {
  #top-head,
  .inner {
    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 {
    width: 100%;
    height: 50px;
    z-index: 999;
    position: relative;
        background-color: #fff;
  }
  #mobile-head p{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100px;
    height: 50px;
  }
  #mobile-head p img {
    height: 50px;
  }
  
  #global-nav{
    position: relative;
    float: none;
    max-width: none;
    width: 100%;
  }
  #global-nav:before {
      content:"";
      display: block;
      padding-top: 0%; /* 高さを幅の14.7%に固定 */
  }
  #global-nav div{
    position: relative;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0;
  }
  ul.menu {
    width: 100%;
    list-style: none;
    display: block!important;
  }
  ul.menu li {
    width: 100%;
  }
  ul.menu li a {
    display: block;
  }
  ul.menu li a:hover {
    background-color: rgba(255,255,255,0.30);
    color: #fff;
  }
  
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -800px;
    background: rgba(0,21,97,0.80);
    width: 100%;
    text-align: center;
    padding: 0 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  ul.menu {
    list-style: none;
    /*position: static;*/
/*    right: 0;
    bottom: 0;*/
    font-size: 14px;
    padding: 0 0 20px 0;
  }
  ul.menu li {
    float: none;
    position: relative;
  }
  #top-head ul.menu li a,
  #top-head.fixed ul.menu li a {
    font-weight: normal;
    width: 90%;
    margin: 6px auto;
    display: block;
    color: rgba(255,255,255,1.00);
    padding: 18px 0;
    border: 1px solid rgba(255,255,255,0.50);
    font-size: 14px;
  }
  .init-bottom:after {
    border-right: none;
    border-bottom: none;
  }
  
  #top-head ul.menu li a:hover,
  #top-head.fixed ul.menu li a:hover {
    background-color: rgba(255,255,255,0.2);
    color: #FFF;
  }
  /*#top-head ul.menu > li:first-child  a:hover,
  #top-head.fixed ul.menu > li:first-child a:hover {
    background-color: rgba(255,255,255,0);
    color: #fff;
  }*/
  ul.menu > li:nth-child(1),
  ul.menu > li:nth-child(2),
  ul.menu > li:nth-child(3),
  ul.menu > li:nth-child(4),
  ul.menu > li:nth-child(5),
  ul.menu > li:nth-child(6){
    width: 100%;
  }
/*  li.menu__singl a,
  li.menu__singl a {
    font-weight: normal;
    width: 90%;
    margin: 6px auto;
    display: block;
    color: rgba(255,255,255,1.00);
    padding: 20px 0;
    border: 1px solid rgba(255,255,255,0.0);
    font-size: 16px;
    pointer-events: none!important;
  }*/
  ul.menu__second-level {
    position: relative;
    top: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    color: #fff;
    background: rgba(0,21,97,0.0);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  li.menu__single:hover ul.menu__second-level {
    top: 0px;
    visibility: visible;
    opacity: 1;
  }

  li.menu__single ul.menu__second-level li{
    width: 100%;
    color: #fff;
  }
  li.menu__single ul.menu__second-level li a{
    color: #fff!important;
    font-size: 13px;
    line-height: 1.2;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.30);
    margin: 2px;
  }
  a.init-bottom{
    color: #fff!important;
    font-size: 13px!important;
    line-height: 1.2!important;
    padding: 15px!important;
    border: none!important;
    margin: 2px auto;
    pointer-events: none!important;
  }
  a.init-bottom:hover{
    background-color: rgba(255,255,255,0.0)!important;
  }
  li.menu__single{
    display: block!important;
    width: 90%!important;
    margin: 10px auto 10px auto!important;
    border: 1px dotted rgba(255,255,255,0.50)!important;
    padding: 0 10px 10px 10px!important;
  }
  
  
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle{
    background-color: #fff;
  }
  .open #nav-toggle span:nth-child(1) {
    top: 17px;
    -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: 17px;
    width: 100%;
    -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(850px);
    -webkit-transform: translateY(850px);
    transform: translateY(850px);
  }
/*  li.menu__single ul.menu__second-level {
    visibility: visible;
    opacity: 1;
    width: 400px;
    color: #fff;
    background: rgba(0,21,97,0.0);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }*/

}








/*  Category Nav 
=============================================== */


.cat-nav-box{
  position: relative;
  background-color: #fff;
}

.cat-nav-titile{
  padding: 10px;
  text-align: center;
  background-color: #AAA;
}
.cat-nav{
  padding: 15px 5px;
}
.cat-nav li a{
  display: block;
  padding: 10px 5px;
  color: rgba(231,30,44,1.00);
  text-decoration: none;
}
.cat-nav li:hover {
  background: #222;
}
.cat-nav-sp{
  display:none;
}
@media screen and (max-width: 800px) {
  .cat-nav-titile{
    width: 100%;
    padding: 5px;
    text-align: center;
    background-color: #AAA;
  }
  .cat-nav {
    overflow-y: hidden;
    overflow-x: scroll;
    background: rgba(244,228,230,1.00);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 0px 5px;
  }
  .cat-nav li {
    text-align: center;
    display: inline-block;
    border-left: 1px solid #eee;
    padding: 0px 0px;
  }
  .cat-nav li a {
    padding: 20px 20px;
    border-bottom: none;
  }
  .cat-nav-sp{
    display:inline;
  }
}

#slideR {
	z-index: 99;
	cursor: pointer;
	position: fixed;
	top: 255px;
	right: -150px;
	background: rgba(88,196,225,0.9);
	width: 180px;
	color: #fff;
	font-size: 16px;
  line-height: 32px;
  border-radius: 10px 0 0 10px;
  border: 1px solid #fff;
}
@media screen and (max-width: 540px) {
  #slideR {
    top: 160px;
  }
}
#slideR li a {
	color: #fff;
	display: block;
	padding: 5px 10px;
}
#slideR li span {
	color: #fff;
	display: block;
	padding: 5px 10px;
}
#slideR li{
  border-bottom: 1px dotted #fff;
}
#slideR li:first-child{
  border-top: 1px dotted #fff;
}
#slideR ul {
	position: relative;
	padding: 10px 10px 10px 40px;
}
#slideR .nav-icon {
	position: absolute;
	left: 10px;
	top: 20px;
	font-size: 8px;
  line-height: 10px;
  width: 1em;
  text-align: center;
}

