@charset "utf-8";

nav {
    width: 100%;
    float: none;
    padding: 0;
    border-bottom: 1px #eee solid;
}

.hamburger,.globalMenuSp{ /*スマホ用*/
    display: none;
}
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:0 0 0 0;
    list-style: none;

    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: space-between;
    align-items: space-between;
}

.gnavi li {
    padding:0;
    margin:0;
    }

.gnavi li a{
    display: block;
    padding:5px 20px;
    text-decoration: none;
    color: #333;
    text-align: center;
    line-height: 1.2;
}


/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
/*	color:#0481A2;*/
}

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 1px;
    background:#396FA8;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

/*==================================================
フッター　共通　横並びのための設定
===================================*/
.footernav{
       border-bottom: none ;
    margin: 0;
    font-size: 90%;
    }  
.fnavi{
        display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:0 0 50px 0;
    list-style: none;

    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.fnavi li a{
    display: block;
    padding:10px 20px;
    text-decoration: none;
    color: #333;
    text-align: center;
    line-height: 1;
}

.fnavi li{
    margin-bottom:5px;
}

/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.fnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.fnavi li.current a,
.fnavi li a:hover{
	color:#fff;
}

.fnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 1px;
    background:#fff;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.fnavi li.current a::after,
.fnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}


/*******************************************************
ドロップダウン
*******************************************************/
.menu_drop {
    position: relative;
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu_drop  > li {
    float: left;
    width: 14.2857%;
    height: 60px;
   line-height: 60px;
    background: #eee;
    text-align: center;
}
.menu_drop  > li.flexsize{
    width: 14.2857%;
}

.menu_drop  > li a {
    display: block;
    color: #000;
}
.menu_drop  > li.current a {
    border-bottom: 1px #FF580E solid;
}

.menu_drop  > li a:hover {
    color: #FF580E;
    border-bottom: 1px #FF580E solid;
    text-decoration: none;
    background: #ccc;
}

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

.menu_drop  > li:hover {
    background: #eee;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu__second-level li {
    border-top: 1px solid #aaa;
}
.menu__second-level li.current {
    border-bottom: 1px solid #FF580E;
}

.menu__second-level li a{
    border-bottom: 1px #ccc solid;    
} 
.menu__second-level li a:hover {
    background: #ccc;
    border-bottom: 1px #FF580E solid;
    text-decoration: none;
}


/* 下矢印 */
span.init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* floatクリア */
.menu_drop :before,
.menu_drop :after {
    content: " ";
    display: table;
}

.menu_drop :after {
    clear: both;
}

.menu_drop  {
    *zoom: 1;
}

li.menu__mega ul.menu__second-level {
    position: absolute;
    /*top: 40px;*/
    top: -161px;/*プルアップ*/
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 20px 1%;
    background: #ccc;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

li.menu__mega:hover ul.menu__second-level {
    /*top: 60px;*/
    top: -161px;/*プルアップ*/
    visibility: visible;
    opacity: 1;
}

li.menu__mega ul.menu__second-level > li {
    float: left;
    width: 14.6666%;
    border: none;
}
li.menu__mega ul.menu__second-level > li:nth-child(2n+1) {
    margin: 0 2% 0 0;
}

.menu_drop  > li.current ul.menu__second-level a {
    border-bottom: 1px #ccc solid;
}
.menu_drop  > li.current ul.menu__second-level a:hover {
    border-bottom: 1px #FF580E solid;
}

/*******************************************************
幅狭い
*******************************************************/

@media only screen and (max-width:1100px){
    
    
nav {
    clear: both;
    width: 100%;
    float: none;
    margin-top: 0;
}

.menu_drop  > li {

    width: 18%;
}
.menu_drop  > li.flexsize{
    
    width: 8%;
}
.menu_drop  > li.flexsize2{
    
    width: 10%;
}
    
}
/*******************************************************
スマートフォン
*******************************************************/

@media only screen and (max-width:799px){
    
    
nav {
    display: none;
    /*width: 100%;
    float: none;
    margin-top:0;
    padding: 0;*/
}


    
/*ハンバーガーメニュー*/    
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 10px;
  top   : 5px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #BBBBBB;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 18px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 18px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(5,44,104,0.80);
  text-align: left;
  width: 100%;
  /*height: 100%;*/
  transform: translateX(-100%);
  transition: all 0.6s;
    border-bottom: none;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 10px 15px 10px 15px;
  width: 100%;
    overflow: auto;
  -webkit-overflow-scrolling: touch;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
    border-bottom: 1px #ddd dotted;
}
    
nav.globalMenuSp ul li ul{
    margin: -10px 0 0 1.5em;
    }
nav.globalMenuSp ul li ul li{
    width: 48%;
    float: left;
    border-bottom: none;
    }
    
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#031F4B;
    }

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 0.4em 0 0.4em 0;
  text-decoration :none;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
   transform: translateX(0%);
}

    
    
    
    
/*フッターナビ*/
.fnavi{
        display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:0 0 0 0;
    list-style: none;

    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}    
.footernav{
        border-bottom: 1px #999 solid ;
    padding-bottom: 10px;
    margin: 0 0 40px 0;
    }
.footernav .smalltext{
        font-size: 60%;
    }
    
}
    