@charset "UTF-8";
/* CSS Document */
 
/* header */
#top-head {
  width: 100%;
  padding: 0;
/*  background: linear-gradient(0deg, #A0E2FF, #E1F6FF);*/
/*  z-index: -999;*/
}
.inner {
  margin: 0 auto;
  flex-flow: column;
  flex-wrap: wrap;
}
.inner:after {
    content: "";
    clear: both;
    display: block;  
}

#menubar {
  display: flex;
  justify-content: flex-start;
  position: relative;
  padding: 0;
  vertical-align: middle;
  flex-wrap: wrap;
  top:0;
}
.ti_logo {
/*  display: block;*/
/* width: 30vw;*/
margin: auto 0;
  display: block;
}
.ti_logo a {
  display: block;
  margin:  0 auto;
  width: 20vw;
  max-width: 356px;
  justify-content: center;
  
}
.ti_logo img {
/*
  object-fit: cover;
  object-position: center center;
*/
  width: 100%;
  height: 100%;  
}

#top-head a,
#top-head {
   color: #333;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
}
/*メニューブロック全体の設定*/

nav#menubar ul {
height: auto;
overflow: hidden;
padding-left: 0;
border-bottom: none;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
}

/*メニュー１個ごとの設定*/
nav#menubar ul {
	list-style: none;
}
nav#menubar ul li {
float: left;
width: calc(90vw/7);
height: auto;
  border-right: 2px solid #fff;
  height: 100%;
}

nav#menubar ul li:first-child {
/*border-left: 1px solid #000;*/
  margin-left: 2vw;
}
/*
nav#menubar ul li a {
  display: block;
  color: #002b63;
  text-align: center;
  font-weight: 500;
  padding: 20px 3vw;
  text-decoration: none;
}
*/

nav#menubar ul li a {
  position: relative;
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #002b63;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  height: 106px;
  padding-top: 28px;
  margin: 0;
  transition: 0.8s;  
}
nav#menubar ul li a:hover,
nav#menubar ul li.current a {
  color: #00193B;
  background-color:  #89D6FF;
}
 .bgcentery:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #89D6FF;
  width: calc(90vw/7);
  height: 100%;
  transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(1, 0);
  transform-origin:center;
}

.bgcentery:hover:before{
  transform:scale(1, 1);
}

/*------ 英語表記の設定 ------*/
.nav_en {
font-size: 0.8em;
color: #666;
display: block;
font-weight: normal;
  margin-top: 6px;
/*opacity: 0.75;*/
}
a:hover .nav_en {
  color: #000;
  font-weight: 400;
}
.line-a {
border: 1px solid #89D6FF;
width: 100%;
transition: 0.5s;
}
a:hover .line-a  {
    border-color: #fff;
}

 .indicator {
display: none !important;
}
/* Fixed 
#top-head.fixed {
    margin-top: 0;
    top: 0;
    /*position: fixed;*/
/*
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
*/
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
#mobile-head img { display:none; }/*PC時メニュー内のロゴを非表示*/
 
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 101;	
	top: 14px;
/*
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#e5e5e5));
	background-image: -webkit-linear-gradient(#fbfbfb, #e5e5e5);
	background-image: linear-gradient(#fbfbfb, #e5e5e5);
*/
/*  background-color: #fff;*/
	padding: 6px;
/*	border: 1px solid #cfcfcf;*/
}
#nav-toggle div {
    position: relative;
	margin-top: 2px;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #006EFF;
    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;
}
/*----------------------------------------------------------------------------------------------------------------------------------------------------
ここからタブレット用（481px～768px）環境の設定
-----------------------------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width:481px) and (max-width:768px){
  #menubar {
    justify-content: center;
  }
  .ti_logo a {
display: block;
margin: 0 auto;
width: 420px;
}
.inner {
    width: auto;
    margin: 0 auto;
}
  #top-head {
    height: inherit;
    padding: 0;
  }
  /*
  nav#menubar ul li a:hover, nav#menubar ul li.current a {
      color: #fff;
    background-color: #0091DE;
  }*/
nav#menubar ul {
  display: block;
  font-size: 1em;
	height: auto;
	padding: 0;
/*	border-bottom: none;*/
  border-left: 1px solid #aaa;
  overflow: hidden;
/*  margin-left: 10px;*/
  width: 100%;
}
/*メニュー１個ごとの設定(タブレット) -------*/
  nav#menubar ul li:first-child {
  margin-left: 0;
}
nav#menubar ul li {
	width: 50%;
  height: 64px;
  padding-top: 0;
	border-bottom: 1px solid #aaa;
	border-right:  1px solid #aaa;
	box-sizing: border-box;  
  }
nav#menubar ul li:nth-child(odd) {
	border-left: none;
}
  
  nav#menubar ul li:nth-child(1) {
    border-top: 1px solid #aaa;
}
nav#menubar ul li:nth-child(2) {
    border-top: 1px solid #aaa;
}  
  nav#menubar ul li a {
    height: 64px;
    padding-top: 10px;
  }
  
  
/*マウスオン時と、current(表示中のメニュー)の設定*/
nav#menubar ul li a:hover,
nav#menubar ul li.current a {
	/*border-bottom: none;*/
}
   .bgcentery:before {
/*
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #89D6FF;
*/
  width: 100%;
/*
  height: 100%;
  transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(1, 0);
  transform-origin:center;
*/
}

}
/*----------------------------------------------------------------------------------------------------------------------------------------------------
ここからスマートフォン用（〜480px）環境の設定
----------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {	
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
      z-index: 555;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
  h1.logo {
    margin: 0;
  }
  .logo-menu {
    display: none;
  }
#mobile-head {
	display: block;
	/*position: static;*/
	width: 100%;
	height: 70px;
  z-index: 999;
  position: relative;  
  background: linear-gradient(10deg, #84CBE2, #E9F7FF);
  background-color: #fff;
/*  border-bottom: 1px solid #000;*/
}
#mobile-head img {
	display: block;
  width: 78vw;
  max-width: 270px;
}
#logoT img {
	display:none;
}
#logoT {
	height:60px;
}
	
#top-head.fixed .logo,
#top-head .logo {
	position: absolute;
  left: 2vw;
	top: 0;
}

#menubar {
	position: absolute; /* 開いてないときは画面外に配置 */
	top: -663px;
	background-color: rgba(83,155,197,0.88);
	width: 100%;
	padding: 70px 0 0;
	margin: -56px 0 0;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}
nav#menubar ul {
display: block;
height: auto;
  width: 100%;
overflow: hidden;
border-bottom: none;
margin: 0;
padding: 0;
  border-left: none;
}
nav#menubar ul li {
	float: none;
	position: static;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #fff;
  width: 100%;
  height: calc(90vh/7);
}
  nav#menubar ul li:first-child {
    margin-left: 0;
border-left: none;
}
#top-head #menubar ul li a,
#top-head.fixed #global-nav ul li a {
/*  display: block;*/
	width: 100%;	
	color: #fff;
  font-size: 1em;font-weight: 600;
  padding-left: 10vw;
/*  text-align: left;*/
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: initial;
}
  nav#menubar ul li a:hover{
  background-color: #007CBE;
}
  .line-a {
    display: none !important;
}
  .indicator {
    position: absolute;
    right: 10vw !important;
  }
  .bgcentery:before {
    content:none;
  }
  nav#menubar ul li a {
    
  }
  .nav_en {
    display: inline;
    color: #000;
    z-index: 10;
    padding-left: 14px;
  }
  
#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 #menubar {
	#global-nav top + #mobile-head height 
	-moz-transform: translateY(712px);
	-webkit-transform: translateY(712px);
	transform: translateY(712px);
}
 
}
