@charset "UTF-8";
.header {
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 100;
}

.header__inner {
  width: 100%;
  height: 100px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.header__inner .header__global-ttl {
  width: 150px;
  display: inline;
  height: 100%;
  margin: 0;
  margin-top: 30px;
  color: #fff;
  z-index: 9999;
}

.header__inner .header__global-ttl .logo {
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.header__inner .header__global-ttl .logo:hover {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.header__inner .header__global-ttl .logo span {
  font-size: 24px;
  display: block;
  letter-spacing: 0.2rem;
  font-family: "Futura-CondensedMedium", futura, sans-serif;
}

.header__inner .header__global-ttl .logo span:first-child {
  margin-bottom: 5px;
}

.header__global-nav {
  margin-top: 30px;
}

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.header__openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: relative;
  cursor: pointer;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  margin-top: 20px;
}

/*ボタン内側*/
.header__openbtn span {
  display: inline-block;
  transition: all .4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #f4f4f4;
  width: 45%;
}

.header__openbtn span:nth-of-type(1) {
  top: 13px;
}

.header__openbtn span:nth-of-type(2) {
  top: 19px;
}

.header__openbtn span:nth-of-type(3) {
  top: 25px;
}

.header__openbtn span:nth-of-type(3)::after {
  content: "Menu";
  /*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top: 8px;
  left: -10px;
  color: #f4f4f4;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.header__openbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.header__openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.header__openbtn.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.header__openbtn.active span:nth-of-type(3)::after {
  content: "Close";
  /*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 0px;
}

/*========= ナビゲーションのためのCSS ===============*/
.header__global-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 110vh;
  /*ナビの高さ*/
  background: #999;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
.header__global-nav.panelactive {
  top: -50px;
}

/*ナビゲーションの縦スクロール*/
.header__global-nav.panelactive .header__global-menu-container {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
.header__global-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/
.header__global-nav li {
  list-style: none;
  text-align: center;
}

.header__global-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.header__global-menu-container li {
  position: relative;
}

.header__global-menu-container li::before {
  position: absolute;
  left: 0;
  content: '';
  top: 50%;
  height: 0px;
  border-top: 0.5px dotted #222220;
  width: 100%;
  margin-top: -1px;
  z-index: -10;
}

.header__global-menu-container li a {
  padding-left: 0;
  padding-right: 0;
  width: 320px;
  display: flex;
  justify-content: space-between;
}

.header__global-menu-container li a span {
  background: #999999 !important;
  font-weight: bold;
  padding: 0 1rem;
}

.footer {
  background: #222220;
  width: 100%;
  height: 50px;
  z-index: 100;
}

.footer__inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: absolute;
}

.footer__copyright {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
