/* 基本のスタイル */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
  }
  
header {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: center;/* 垂直方向中央揃え */
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
  }

header h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    color: #000;
}

.office-name-eng {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #808080;
    letter-spacing: 0.188rem;
}

/* メニュー */
/*ナビゲーション*/
#g-nav ul {
    display: flex;
    justify-content: space-between;  /* 均等配置 */
    list-style: none;
}
/*リストのレイアウト設定*/
#g-nav li{
	margin: 0;
}

#g-nav li a{
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
	color: #000;
	text-decoration: none;
	padding-right:30px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

#g-nav li a:hover {
    color: #808080;
}

/* メニューボタン*/
@media (max-width: 768px) {
 header {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: center;/* 垂直方向中央揃え */
    padding: 10px 10px;
    background-color: #fff;
    color: #000;
}
    
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn2{
    z-index: 2;
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    width: 50px;
    height:50px;
    cursor: pointer;
    background:#fff;
} 
/*ボタン内側*/
.openbtn2 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 2px;
    background-color: #666;
}
   
.openbtn2 span:nth-of-type(1) {
    top:22px; 
    width: 50%;
}
  
.openbtn2 span:nth-of-type(2) {
    top:29px;
    width:30%;
}
/*activeクラスが付与されると線が回転して×に*/
.openbtn2.active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}
  
.openbtn2.active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}
/* メニュー */
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 1;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#fff;
    /*動き*/
	transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 0;
}
/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
/*リストのレイアウト設定*/
#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #000;
	text-decoration: none;
	padding: 20px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	font-weight: bold;
}
}
/* メニュー関連　end */
  
  
  footer {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: center;            /* 垂直方向中央揃え */
    border-top: #f2f2f2 solid 1px;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
}

.small {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #808080;
}
