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

/*////////// グローバルメニュー //////////*/

.global-menu {
	margin: 15px 0 30px 0;
	height: 34px;
}
.global-menu li {
	margin: 0;
	padding: 0;
	border-left: solid 1px #CACACA;
	width: 14%;
	text-align: center;
}
.global-menu li a{
    display: block;
    height: 100%;
    width: 100%;
	text-decoration: none;
	color: #000;    
}
.global-menu a:hover {
	color: #FA9614;
}
a.focus {
	font-weight: bold;
}
.global-menu li:last-child {
	border-right: solid 1px #CACACA;
}


/*////////// ハンバーガーメニュー //////////*/

.drawer{
	display: none;
}

/* チェックボックスは非表示に */
.drawer-hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer-open {
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上に */
  cursor: pointer;
  background-color: #1E2678;
  border-radius: 5px;
}

/* ハンバーガーメニューのアイコン */
.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
  bottom: 8px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked ~ .drawer-open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer-check:checked ~ .drawer-open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer-check:checked ~ .drawer-open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.drawer-content {
  width: 100%;
  height: 100%;
  padding: 5%;
  position: fixed;
  top: 0;
  left: 100%;/* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  opacity: 0.95;
  transition: .5s;
}
.drawer-content p {
	text-align: center;
	margin-bottom: 1em;
}
.drawer-content li {
	 margin-bottom: 1.4em;
}
.drawer-item a {
	display: block;
	margin: 0;
	padding: .4em 0 .4em 1em;
	font-weight: bold;
}
.drawer-item a:hover {
	background-color: #FFFAC8;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
  left: 0;/* メニューを画面に入れる */
}

