@charset "utf-8";

nav {
    /*width: 75%;*/
    float: right;
    margin-top: 17px;
    margin-right: 30px;
}

.hamburger,.globalMenuSp{ /*スマホ用*/
    display: none;
}
.menu{
	margin: 40px 0 0 0;
	text-align: center;
	color: #fff;
	font-size: 90%;
}

/*==================================================
共通　横並びのための設定
===================================*/

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

    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    
    font-size: 100%;
}

.gnavi li {
    padding:0 0 0 0;
    margin-bottom:20px;
    }

.gnavi li a{
    display: block;
    padding:5px 15px;
    text-decoration: none;
    color: #D2F0FF;/*#107db0;*/
    text-align: center;
    line-height: 1.2;
    /*height: 45px;*/
    border-left: 1px #0F506F solid;
}
.gnavi li a.last{
    border-right: 1px #0F506F solid;
}

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

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

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

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

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

.gnavi li a.line2:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

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

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

.fnavi ul {
}
.fnavi li{
    margin-bottom:5px;
}
.fnavi li a{
    display: block;
    padding:3px 5px;
    text-decoration: none;
    color: #fff;
    text-align: left;
    line-height: 1.3;
    font-size: 90%;
    border-bottom: 1px #1492CD solid;
}


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

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

.fnavi li.current a,
.fnavi li a:hover{
	color:#84CDF0 !important;
}

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

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


/*==================================================
　ドロップダウンメニュー
===================================*/
.menu-item {
  /*background:rgba(255,255,255,0.65); /* メニューアイテムの背景色 */
  /*border-left: 1px solid #fff; /* メニューアイテムの左ボーダー */
  position: relative;
  /*transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.menu-item:last-child {
  /*border-right: 1px solid #fff; /* 最後のメニューアイテムの右ボーダー */
}

/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list {
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.menu-item:hover {
  /*background:rgba(255,255,255,0.65); /* メニューアイテムのホバー時の背景色 */
  /*transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.drop-menu-item:hover {
  /*opacity: .8; /* ドロップダウンメニューアイテムのホバー時の不透明度 */
  /*transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}

.menu-item a {
  align-items: center;
  color: #111; /* メニューアイテム内のリンクテキストの色 */
  display: flex;
  height: 100%;
  justify-content: center;
  text-decoration: none; /* リンクの下線を非表示 */
  /*width: 120px;*/
}

/* ドロップダウンメニュー */
.drop-menu {
  position: relative;
}
.drop-menu-list {
  left: 0;
  position: absolute;
    border-top: 2px #111 solid;
    padding-top: 20px;
    background:rgba(255,255,255,0.65);
    /*transition: opacity .3s;*/
  top: 41px;
  transform: scaleY(0); /* ドロップダウンメニューの非表示 */
  transform-origin: center top; /* 変形を適応する基準を設定 */
  transition: transform .3s; /* 表示の変化をアニメーション化 */
  width: max-content;
  z-index: 1;
}
.drop-menu-item {
  /*background:rgba(255,255,255,0.65);*/
  /*transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}

ul.drop-menu-list a{
    text-align: left;
}

/*******************************************************
狭い表示
*******************************************************/

@media only screen and (max-width:1120px){
    
    
.gnavi li a{
    display: block;
    padding:5px 10px;
    text-decoration: none;
    color: #111;
    text-align: center;
    line-height: 1.2;
    /*height: 45px;*/
    border-left: 1px #ccc solid;
}

}

/*******************************************************
スマートフォン/タブレット
*******************************************************/

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

/*ハンバーガーメニュー*/    
.hamburger {
  display : block;
  position: fixed;
  z-index : 10000;
  right : 0px;
  top   : 0px;
  width : 70px;
  height: 70px;
  cursor: pointer;
  text-align: center;
  background:rgba(14,43,178,0.88);
}

.hamburger:link{
	background:rgba(14,43,178,0.88);
	}
.hamburger:hover{
	background:rgba(29,66,178,0.88);
	}	
	
.hamburger span {
  display : block;
  position: absolute;
  width   : 35px;
  height  : 2px ;
  left    : 17px;
  background : #fff;
  -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: 12px;
}
.hamburger span:nth-child(2) {
  top: 24px;
}
.hamburger span:nth-child(3) {
  top: 36px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
	width: 40px;
  top : 25px;
  left: 15px;
  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) {
	width: 40px;
  top: 25px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 9999;
  top  : 52px;
  left : 0;
  color: #fff;
  background: rgba(0,36,135,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;
    font-size: 120%;
  padding: 0;
  width: 100%;
  transition: .4s all;
    border-bottom: 1px #ddd dotted;
}
	
	
nav.globalMenuSp ul li.toiawase img{
  width: 30px;
	vertical-align: middle;
	margin: -3px 10px 0 0;
}	
	
    
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%);
}
    
    
/*ナビここまで*/

    
/*フッターナビ*/
  

.footernav{
    float:none;
    width: 80%;
    border-bottom: none ;
    margin:3em auto 0 auto;
    }	
 
.fnavi{
    /*display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:0 5% 0 2%;
    /*list-style: none;*/
    float: right;
    width: 43%;

    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
	
/*スマホここまで*/    
}
    