@charset "utf-8";
/* CSS Document */

#group-header {
  box-sizing: border-box;
  background: #fff;
  z-index: 10000;
  width: 100%;
  box-shadow: 0 1px 10px rgba(0,0,0,.25);
  position: fixed;
  top: 0;
  left: 0;
}
	
#group-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
	
#group-header .group-header__logo {
  float: left;
  line-height: 1.5;
  min-width: 55%;
}
	
#group-header #gtype {
  height: 110px;
}
	
#group-header .group-header__logo img {
  vertical-align: top;
}
	
#group-header .group-header__nav {
  float: right;
	margin: 0;
}
	
#group-header .group-header__nav > li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin:10px;
}

#group-header .group-header__nav > li > a {
  display: block;
  background: #fff;
  padding: 2px 0;
  color: #444 !important;
  position: relative;
  z-index: 1;
  font-weight: bold;
  border-bottom: 2px solid #85beea;
}

#group-header .group-header__nav > li > a .col {
  color: #85beea;
}
	
#group-header .group-header__nav > li:last-child > a {
  border-color: #a6ca6d;
}

#group-header .group-header__nav > li > a {
  display: block;
  background: #fff;
  padding: 2px 0;
  position: relative;
  z-index: 1;
  border-bottom: 2px solid #85beea;
}
	

#group-header::after {

    content: "";
    display: table;
    clear: both;

}

#group-header .group-header__nav > li:last-child > a .col {
  color: #a6ca6d;
}
	
@media only screen and (min-width: 640px){
	#group-header {
	  overflow: hidden;
	  background: #fff url(../img/bdr_header.jpg) repeat-x bottom !important;
	}
	
	.inner {
	  width: 1200px;
	}
}

@media only screen and (max-width: 640px){
	
	#group-header {
	  height: 64px;
	  position: relative;
	}
	
	#group-header.fixed{
	  position:fixed;
	}
	
	#menu_icon.fixed {
	  position:fixed;
	  top:64px;
	  right:0;
	  z-index: 10000;
	}
	
	.inner {
	  width: 100%;
	}
	
	#group-header .group-header__logo {
	  width: 94px;
	  font-size: 12px;
	  line-height: 1.25;
	}
	
	#group-header #gtype {
	  width: 120px;
	  height: 45px;
	  margin-top: 0;
	}
	
	#group-header .group-header__nav {

	}
	}

/* --- ここから追加 --- */

/* 画像リンクの場合は下線や余計な余白を消す */
#group-header .group-header__nav > li > a.icon-link {
  border-bottom: none; /* 既存の下線を削除 */
  padding: 0;
  background: transparent;
  display: flex;       /* 上下中央揃えのため */
  align-items: center;
  height: auto;
}

/* 画像の高さをヘッダー内に収まるように制限 */
#group-header .group-header__nav > li > a.icon-link img {
  width: auto;
  /* PC版ヘッダー(90px) - 余白等を考慮した高さ */
  max-height: 90px; 
  vertical-align: middle;
}

/* スマホ版（640px以下）の調整 */
@media only screen and (max-width: 640px){
  #group-header .group-header__nav > li > a.icon-link img {
    /* スマホ版ヘッダー(64px) - 余白等を考慮した高さ */
    max-height: 45px; 
  }
  
  /* スマホ版での位置微調整（必要であれば） */
  #group-header .group-header__nav > li > a.icon-link {
    margin-top: 4px; /* アイコンの位置を少し下げる場合 */
  }
}