/* 共通 */
.pc.tb {
  display: inline-block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}

.clearfix::after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  display: block;
}


/* 全体のフォント関係 */
body {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  font-size: 12px;
}
.gfont {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.3em;
}
.mincho {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}


/* フェードイン */
.fadeinTop {
  opacity : 0;
  transition: opacity 1s;
}
.fadeinTop2 {
  opacity : 0;
  transition: opacity 1s 0.6s;
}
.fadeinTopBottom {
  opacity : 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}
.fadeinTop4Bottom {
  opacity : 0;
  transform: translateY(30px);
  transition: opacity 1s 1.2s, transform 1s 1.2s;
}
.fadein {
  opacity : 0;
  transition: opacity 1s, transform 1s;
}
.fadein_left {
	opacity : 0;
	transform: translateX(-30px);
	transition: opacity 1s, transform 1s;
}
.fadein_right {
	opacity : 0;
	transform: translateX(30px);
	transition: opacity 1s, transform 1s;
}
.fadein_bottom {
  opacity : 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}
.fadein_bottom1 {
  opacity : 0;
  transform: translateY(30px);
  transition: opacity 1s 0.3s,  transform 1s 0.3s;
}
.fadein_bottom2 {
  opacity : 0;
  transform: translateY(30px);
  transition: opacity 1s 0.6s,  transform 1s 0.6s;
}




/* ハンバーガー */
#menuBarContainer {
  width: 80px;
  height: 80px;
  display: inline-block;
  padding-top: 28px;
  padding-bottom: 28px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  cursor: pointer;
}

#menuBarContainer > span {
  width: 28px;
  height: 3px;
  margin: 7.5px auto 0 auto;
  background: #000;
  border-radius: 3px;
  z-index: 5;
  display: block;
  transition: 1s;
}

#topMenuContainer #menuBarContainer.open > span {
  background: #fff;
}

#menuBarContainer > span:first-of-type {
  margin-top: 0;
}

#menuBarContainer.open > span:first-of-type {
  animation: open1 1s both;
}
#menuBarContainer.open > span:nth-of-type(2) {
  animation: open2 1s both;
}
#menuBarContainer.open > span:last-of-type {
  animation: open3 1s both;
}

#menuBarContainer.close > span:first-of-type {
  animation: close1 1s both;
}
#menuBarContainer.close > span:nth-of-type(2) {
  animation: close2 1s both;
}
#menuBarContainer.close > span:last-of-type {
  animation: close3 1s both;
}

@keyframes open1 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(10.5px) rotate(0deg);}
  100% {transform: translateY(10.5px) rotate(45deg);}
}
@keyframes open2 {
  0% {opacity: 1;}
  50% {opacity: 0;}
  100% {opacity: 0;}
}
@keyframes open3 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(-10.5px) rotate(0deg);}
  100% {transform: translateY(-10.5px) rotate(-45deg);}
}

@keyframes close1 {
  0% {transform: translateY(10px) rotate(45deg);}
  50% {transform: translateY(10px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}
@keyframes close2 {
  0% {opacity: 0;}
  0% {opacity: 0;}
  100% {opacity: 1;}
}
@keyframes close3 {
  0% {transform: translateY(-10px) rotate(-45deg);}
  50% {transform: translateY(-10px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}




/* メニュー関係 */
header {
  width: 100%;
}

#topMenuContainer {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 5;
  transition: 1s;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
#topMenuContainer.open {
  background: transparent;
}
#topMenuContainer.black {
  background: #fff;
}

.logo {
  width: 222px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -36%);
  transition: 1s;
}
#topMenuContainer.open .logo {
  visibility: hidden;
  opacity: 0;
}

.logo > img {
  width: 100%;
  vertical-align: bottom;
}

.topMenu {
  transition: 1s;
}

#topMenuContainer.open > .topMenu {
  opacity: 0;
  visibility: hidden;
}

.topMenu li {
  height: 100%;
  display: inline-block;
  margin: 0 20px;
}

.topMenu li a {
  display: block;
  transition: 1s;
}





/* メニューコンテンツ */
#menuContents {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  position: fixed;
  top: 0;
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: 1s;
}

#menuContents.open {
  visibility: visible;
  opacity: 1;
}

.navi {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navi > li {
  margin: 4% 0;
}

.navi > li > a {
  font-size: 20px;
  color: #fff;
}








/* フッター */

footer {
  width: 100%;
  background: #000;
  position: relative;
}

#footerMenuContainer {
  width: 90%;
  max-width: 1350px;
  height: 150px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footerLogo {
  width: 211px;
}

.footerLogo > img {
  width: 100%;
  vertical-align: bottom;
}

.footerMenu li {
  display: inline-block;
  margin: 0 15px;
}
.footerMenu li:last-of-type {
  margin-right: 0;
}

.footerMenu li a {
  color: #fff;
}

.copy.gfont {
  position: absolute;
  bottom: 0;
  right: 0;
  letter-spacing: 0.1em;
}

small {
  color: #fff;
  line-height: 30px;
  font-size: 10px;
}






@media (max-width: 1024px) {
  .pc {
    display: none;
  }
  .tb {
    display: inline-block;
  }
  .tb.sp {
    display: inline-block;
  }

  #topMenuContainer {
    /* width: 100%; */
    height: 80px;
    padding: 0 10px 0 5px;
  }

  .topMenu {
    display: none;
  }

  .navi > li {
    margin: 60px 0;
  }

}







/* スマホ */
@media (max-width: 560px) {
  .tb {
    display: none;
  }
  .pc.tb {
    display: none;
  }
  .sp {
    display: inline-block;
  }

  /* メニュー関係 */
  #menuBarContainer {
    width: 50px;
    height: 50px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #menuBarContainer > span {
    width: 24px;
    height: 2px;
    margin: 6px auto 0 auto;
  }

  @keyframes open1 {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(8px) rotate(0deg);}
    100% {transform: translateY(8px) rotate(45deg);}
  }
  @keyframes open3 {
    0% {transform: translateY(0px) rotate(0deg);}
    50% {transform: translateY(-8px) rotate(0deg);}
    100% {transform: translateY(-8px) rotate(-45deg);}
  }

  @keyframes close1 {
    0% {transform: translateY(8px) rotate(45deg);}
    50% {transform: translateY(8px) rotate(0deg);}
    100% {transform: translateY(0px) rotate(0deg);}
  }
  @keyframes close3 {
    0% {transform: translateY(-8px) rotate(-45deg);}
    50% {transform: translateY(-8px) rotate(0deg);}
    100% {transform: translateY(0px) rotate(0deg);}
  }



/* メニュー */
#topMenuContainer {
  height: 50px;
  padding: 0;
}

.logo {
  width: 122px;
}

.topMenu {
  display: none;
}

.navi {
  transform: translate(-50%, -56%);
}

.navi > li {
  margin: 30px 0;
}

.navi > li > a {
  font-size: 20px;
  color: #fff;
}

#footerMenuContainer {
  height: 105px;
}

.footerLogo {
  width: 160px;
  margin: 0 auto;
}

.footerMenu {
  display: none;
}

.copy {
  width: 100%;
  text-align: center;
}







}
