
@media screen and (min-width: 681px) {
  .yaji_w {
    display: none;
  }

  .yaji_w3 {
    display: none;
  }

  a#subsub {
    display: none;
  }

  li#subsub {
    display: none;
  }

  .second_nav {
    display: block;
    width: 100%;
    height: 47px;
    vertical-align: middle;
    position: absolute;
  }

  /*	-----------------------------------------------------------------ナビ内容位置	*/
  .second_menu2 {
    padding-top: 9px;
    display: block;
  }

  li.second_menu {
    /*display: block;*/
  }

  /*	ロボット・SI事業の改行	*/
  #robot_kaigyo {
    display: block;
    margin-top: -8px !important;
  }

  #robot_maru {
    display: none;
  }

  #robot_head {
    margin-top: -5px !important;
  }
}

.hs170none{
  color: #666666;
}

/* サブメニューのハンバーガー start */

a#han_logoa {
  display: none;
}

a#han_logoa {
  /*	z-index:-1; */
  position: fixed;
  top: 18px;
  left: 15px;
}

/*メニュー全体位置*/
/* #second_menul {
  width: 100%;
  max-width: 1700px;
  padding: 0;
  display: block;
  margin: 0 auto 0 100px;
  overflow: hidden;
  font-weight: 500;
} */

#second_menul {
  width: 100%;
  max-width: 1700px;
  padding: 0;
  display: flex!important;
  justify-content: center;
  margin: 0 auto 0 auto;
  overflow: hidden;
  font-weight: 500;
}

/*#second_menul ul{
	display: block;
	width: 90%;
	margin-left: 80;
	background-color: #EAF1F5;
	border:5px solid #000000;
}*/

/*メニユーの詳細反映*/
#second_menul li {
  float: left;
  width: 14%;
  /*(重要)個別の幅を指定*/
  margin: 2px 0;
  height: 40px;
  vertical-align: middle;
}

#second_menul li a {
  display: block;
  /*padding: 2px 0;
	background-color: #2a83a2;*/
  text-align: center;
  text-decoration: none;
  border-right: 1px solid #a5bdc7;
}

#second_menul li:last-child a {
  border: none;
}

#second_menul li a:hover {
  font-weight: bold;
  color: #043079;
  box-sizing: border-box;
  border-bottom: 5px solid #043079;
  padding-bottom: 8px;
}

.second_menu a:hover span {
  color: #043079!important;
}

a.active span {
  color: #315691!important;
}

#second_menul li a.active {
  font-weight: bold;
  color: #315691;
  box-sizing: border-box;
  border-bottom: 5px solid #315691;
  padding-bottom: 8px;
}

li#robot_head > a.active {
  padding-bottom: 0px !important;
}

li#robot_head > a:hover {
  padding-bottom: 0px !important;
}

/*
#second_menul ul li {
	display: block;
	padding: 20px 0 20px;
	background-color: #2a83a2;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	border-right:1px solid #4baacb;
}
#second_menul ul li:last-child{
	border: none;
}*/
#second_menul ul li:hover {
  /*	background: #4baacb;*/
  filter: alpha(opacity=60);
  /* ie lt 8 */
  -ms-filter: 'alpha(opacity=60)';
  /* ie 8 */
  -moz-opacity: 0.6;
  /* FF lt 1.5, Netscape */
  -khtml-opacity: 0.6;
  /* Safari 1.x */
  opacity: 0.6;
}

/*
#second_menu2 {
	display: none;
	width: 100%;
}
*/
/* サブメニューのハンバーガー end */

ul.second_menul {
  /*	margin-left: 4%;	*/
  padding-top: 10px;
  padding: 0;
  display: inline;
  width: 100%;
  text-align: center;
}

li.second_menu {
  display: inline;
  width: 12%;
  font-size: 15px;
  margin: 2%;
  text-align: center;
}

/*h2.gaiyo_head {
	font-weight: 600;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;"
	letter-spacing: 5px;
}

td.cou {
	padding: 10px;
	font-weight: 500;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;"
	letter-spacing: 5px;
}

td.nai {
	padding: 10px;
	line-height: 1.8;
	font-weight: 400;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;"
	letter-spacing: 3px;
}*/

.second_nav {
  width: 100%;
  padding: 0;
  background-color: #eaf1f5;
  z-index: 10;
  height: 47px;
  vertical-align: middle;
  position: absolute;
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.fixedLogo {
  /* position: relative;
  left: 5%; */
}

/*.cou{
	border-bottom:1px solid #cccccc;
	background-color:#f5f5f5;
	border-right:1px solid #cccccc;
}

.nai{
	border-right:none;
	border-bottom:1px solid #cccccc;
}
*/

#sub_menuborder1 img {
  position: absolute;
  top: 158px;
  left: 19%;
  width: 10px;
  height: 21px;
}

#sub_menuborder2 img {
  position: absolute;
  top: 158px;
  left: 31%;
  width: 10px;
  height: 21px;
}

#sub_menuborder3 img {
  position: absolute;
  top: 158px;
  left: 43%;
  width: 10px;
  height: 21px;
}

#sub_menuborder4 img {
  position: absolute;
  top: 158px;
  left: 55%;
  width: 10px;
  height: 21px;
}

#sub_menuborder5 img {
  position: absolute;
  top: 158px;
  left: 67%;
  width: 10px;
  height: 21px;
}

#sub_menuborder6 img {
  position: absolute;
  top: 158px;
  left: 79%;
  width: 10px;
  height: 21px;
}

@media screen and (max-width: 1064px){
  li.second_menu {
    font-size: 12px;
  }
}

@media screen and (max-width: 900px) {
  li.second_menu {
    font-size: 10px;
  }
}

@media screen and (max-width: 840px) {
  a#han_logoa {
    display: none;
    transform: scale(1);
    margin-right: 20px;
  }

    a#han_logoa img {
    margin-top: -10px!important;
  }

  #sub_menuborder1 img {
    position: absolute;
    top: 132px;
    left: 19%;
    width: 9px;
    height: 16px;
  }

  #sub_menuborder2 img {
    position: absolute;
    top: 132px;
    left: 31%;
    width: 9px;
    height: 16px;
  }

  #sub_menuborder3 img {
    position: absolute;
    top: 132px;
    left: 43%;
    width: 9px;
    height: 16px;
  }

  #sub_menuborder4 img {
    position: absolute;
    top: 132px;
    left: 55%;
    width: 9px;
    height: 16px;
  }

  #sub_menuborder5 img {
    position: absolute;
    top: 132px;
    left: 67%;
    width: 9px;
    height: 16px;
  }

  #sub_menuborder6 img {
    position: absolute;
    top: 132px;
    left: 79%;
    width: 9px;
    height: 16px;
  }
}

@media screen and (max-width: 760px) {
  li.second_menu {
    font-size: 9px;
  }
}

@media screen and (max-width: 693px) {
  #second_menul li {
    font-size: 9px;
  }
}

@media screen and (max-width: 680px) {
  /* 青サブメニューの設定 */

  /*ul.second_menul {
		width: 100%;
		padding-top: 0;
		background-color:#E0C407;
	}
	
	li.second_menu {
		font-size: 15px;
		width: 100%;
		color:#fff;
		background-color:#2831E7;
	}
	
	#second_menu {
		display: inline;
		width: 12%;
		font-size: 15px;
		margin-left: 40% important;
		margin: 2%;
		text-align: left;
	}*/

  /* 青サブメニューの白矢印の設定 */
  .yaji_w {
    float: right;
    margin-top: 5px;
    margin-right: 11%;
  }

  .yaji_w3 {
    float: right;
    margin-right: 5%;
    margin-top: 6px;
  }

  /* サブメニューのハンバーガー start */

  .second_nav {
    width: 100%;
    padding: 0;
    background-color: #004477;
    /*		z-index: 40; */
    vertical-align: middle;
    margin: 0;
    /*↓がないとコンテンツの下に被る*/
    position: absolute;
  }

  .fixed2 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }

  #second_menul {
    display: none!important;
    margin: 0;
    width: 95%;
    text-align: left;
  }

  #second_menul li a {
    display: block;
    padding: 5px 0 0 40%;
    text-align: left;
    text-decoration: none;
    z-index: 10;
    border-right: 0;
    color: white;
  }

  #second_menu2 {
    display: block;
    position: relative;
    width: 100%;
    background-color: #004477;
    text-align: left;
  }

  /*#second_menu2 li{
		padding: 10px 0 30px;
		border-bottom: 1px solid white;
		color:#FFF;
		text-align: center;
		font-size: 15px;
		background: #004477;
	}*/

  #second_menul li:first-child {
    border-top: 1px solid #fff;
  }

  #second_menul li {
    font-size: 13px;
    width: 100%;
    margin: 0;
    list-style: none;
    display: block;
    padding: 0;
    border-bottom: 1px solid #fff;
    text-align: left;

    /*padding: 10px 0 30px;
		border-bottom: 1px solid white;
		color:#FFF;
		text-align: center;
		font-size: 15px;
		background: #004477;*/
  }

  .second_menu a {
    color: #fff;
    margin: 0;
    height: 100%;
    vertical-align: middle;
    text-align: left;
    padding: 5px 0 0 0;
  }

  /*#second_menu2 a{
		display: block;
		position: relative;
		padding: 10px 0 30px;
		border-bottom: 1px solid white;
		color:#FFF;
		text-align: center;
		text-decoration: none;
		font-size: 15px;
	}*/

  #second_menu2 #logo_white {
    display: block;
    position: fixed;
    top: 6px;
    left: 10px;
    border-bottom: 0;
    padding: 10px 0 0 0;
    z-index: 15;
  }

  /*a#subsub {
		padding: 15px 0 18px;
	}*/
  #subsub {
    display: block;
    padding: 15px 0 18px;
    width: 100%;
    font-weight: 600;
    text-align: center;
    background-color: #004477;
    color: #fff;
  }

  #second_menu2:before {
    /*display: none;
		display: block;
		content: "";
		position: absolute;
		top: 28px;
		left: 10px;
		width: 30px;
		height: 30px;
		margin-top: -15px;
		background: #FFF;*/
  }

  #second_menu2 a:before,
  #second_menu2 a:after {
    /*display: none;
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 6px;
		background: #004477;*/
  }

  #second_menu2 a:before {
    /*display: none;
		margin-top:-9px;*/
  }

  #second_menu2 a:after {
    /*display: none;
		margin-top: 3px;*/
  }

  a#han_logoa {
    display: none;
  }

  a#habamo {
    display: none;
  }

  li.second_menu {
    text-align: left;
  }

  /* サブメニューのハンバーガー end */

  #sub_menuborder1 img {
    display: none;
  }

  #sub_menuborder2 img {
    display: none;
  }

  #sub_menuborder3 img {
    display: none;
  }

  #sub_menuborder4 img {
    display: none;
  }

  #sub_menuborder5 img {
    display: none;
  }

  #sub_menuborder6 img {
    display: none;
  }

  #second_menul li a:hover {
    color: #a7d5f2;
    box-sizing: border-box;
    border-bottom: 5px solid #a7d5f2;
    padding-bottom: 8px;
    padding-top: 5px;
  }

  #second_menul li a.active {
    color: #a7d5f2;
    box-sizing: border-box;
		border-bottom: 5px solid #A7D5F2;
    padding-bottom: 8px;
  }

  /* ロボット事業の・表記 */
  #robot_kaigyo {
    display: none;
  }

  #robot_maru {
    display: none;
  }
}
