@charset "utf-8";

/*------------------------------
  ハンバーガーメニュー
  に関するCSS
https://yuntu-tek.com/hamburger-menu/
------------------------------*/

/* チェックボックスは非表示に */
.drawer-hidden {
  display: none;
}
@media screen and (max-width: 1280px) {

/* ハンバーガーアイコンの設置スペース */
.drawer-open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 3000;/* 重なり順を一番上に */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.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);
  background: #fff;
}

#drawer-check:checked ~ .drawer-open span::after {
  top: 0;
  transform: rotate(-45deg);
   background: #fff;
}
} 

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

/* グローバルナビ */
.g-nav {
	position: fixed;
	top: 0;
	left: 100%;/* メニューを画面の外に飛ばす */
	z-index: 500;
    width: 100%;
	height: 100%;
	background: #000a44;
	transition: .5s;
}
.g-nav ul {
	padding: 100px 20px 0;
}
.g-nav ul li {
	border-bottom: solid 1px #fff;
}
.g-nav ul li a {
    display: block;
	position: relative;
    width: 100%;
	padding: 9px 15px 10px 0;
    box-sizing: border-box;
	font-size: 15px;
	text-decoration: none;
    color: #fff;
}
.g-nav ul li a::before {
	position: absolute;
    right: 11px;
    top: 16px;
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
}
.g-nav ul li a:hover {
	opacity: .7!important;
	transition: .5s;
}

/* メニュー最終項目　SNSアイコン */
.g-nav ul li:nth-child(10) a {
    display: inline-block;
	position: static;
    width: auto;
	padding: 20px 5px;
}
.g-nav ul li:nth-child(10) a::before {
	display: none;
}
@media screen and (min-width: 1280px) {
.g-nav {
	position: static;
	height: auto;
}
.g-nav ul {
	display: flex;
	justify-content: flex-end;
	padding: 0 0 0;
}
.g-nav ul li {
	margin-right: 2em;
	border-bottom: none;
}
.g-nav ul li:nth-child(7) {
	margin-right: 0;
}
.g-nav ul li:nth-child(8) {
	display: none;
}
.g-nav ul li:nth-child(9) {
	display: none;
}
.g-nav ul li:nth-child(10) {
	display: none;
}
.g-nav ul li:nth-child(11) {
	display: none;
}
.g-nav ul li a {
	position: static;
	padding: 9px 0 10px 0;
}
.g-nav ul li a::before {
	display: none;
}
}
