  /**
 *--------------------------
 * ヘッダーメニュー
 *--------------------------
 */

#headerMenu {
  position: fixed;
  top:  0;
  left: 0;
  width: 100%;
   height: 70px;
  background-color: rgba(255, 255, 255, 0.8);   
  display: flex;
  justify-content: space-between;
  z-index: 1000;
}

 /*プリント時にヘッダーで隠れてしまう対策*/
   
  @media print {
  #headerMenu {
    position: absolute;
  }
}

/*ロゴ*/

#headerMenu h1 {
  position: relative;
  top: 0;
  left: 0;
  white-space: nowrap;
}

#headerMenu h1 img {
  position: relative;
  top: 12px;
  left: 30px;
  width: 400px;
  height: auto;
}

@media screen and (max-width: 768px) {
  #headerMenu h1 img {
    top: 16px;
    left: 15px;
    width: 350px;
    height: auto;
  }
}


/*SNSアイコン、お申込み、ハンバーガーメニュー*/

#headerMenu .menuIcon {
  display: flex;
  justify-content: flex-end;
  /*font-size: 10px;*/
}

#headerMenu .menuIcon li {
  position: relative;
  height: 100%;
}

#headerMenu .menuIcon li a:link {
  /*text-decoration: none;
  color: #181777;*/
}

#headerMenu .menuIcon li a:visited {
  /*text-decoration: none;
  color: #181777;*/
}

#headerMenu .menuIcon li a:active {
  /*text-decoration: none;
  color: #181777;*/
}

#headerMenu .menuIcon li a:hover {
  /*text-decoration: underline;
  color: #181777;*/
}

/*twittetとinstagram*/

#headerMenu .menuIcon li.h_sns {
  width: 48px;
}

@media screen and (max-width: 768px) {
  #headerMenu .menuIcon li.h_sns {
    display:none;
  }
}

#headerMenu .menuIcon li.h_sns a {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

#headerMenu .menuIcon li.h_sns a img {
  height: 34px;
  padding-bottom: 3px;
  margin-top: 7px;
}

#headerMenu .menuIcon li.h_sns a span {
  width: 100%;
  text-align: center;
}




/*お申し込み*/

#headerMenu .menuIcon li.h_apply {
  width: 170px;
}

@media screen and (max-width: 768px) {
  #headerMenu .menuIcon li.h_apply {
    display:none;
  }
}

#headerMenu .menuIcon li.h_apply a,#headerMenu .menuIcon li.h_apply span {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

#headerMenu .menuIcon li.h_apply a img {
  width: 150px;
  padding-bottom: 3px;
  margin-top: 7px;
}

#headerMenu .menuIcon li.h_apply a span {
  width: 100%;
  text-align: center;
}


/*ハンバーガーメニュー*/

li.hamburgerMenu {
  width: 75px;
  /*background-color: #181777;*/
  position: relative;
}

@media screen and (max-width: 768px) {
  li.hamburgerMenu {
    width: 55px;
  }
}

#hamburger, #hamburger span {
  display: inline-block;
  box-sizing: border-box;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#hamburger {
  position: absolute;
  top: 28px;
  right: 20px;
  width: 45px;
  height: 25px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #hamburger {
    width: 35px;
    right: 20px;
  }
}

#hamburger span {
  position: absolute;
  right: 0;
  width: 45px;
  height: 5px;
  border-radius: 0;
}

@media screen and (max-width: 768px) {
  #hamburger span {
    position: absolute;
    right: 0;
    width: 35px;
    height: 5px;
    border-radius: 0;
  }
}


/*ハンバーガーメニュー クリック前*/

#hamburger span:nth-of-type(1) {
  top: 0;
  background-color: #333;
}

#hamburger span:nth-of-type(2) {
  top: 10px;
  background-color: #333;
}

#hamburger span:nth-of-type(3) {
  top: 20px;
  background-color: #333;
}


/*ハンバーガーメニュー クリック後*/

#hamburger.active {
  /*position: fixed;*/
}

#hamburger.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
  background-color: #333;
}

#hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

#hamburger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-10px) rotate(45deg);
  background-color: #333;
}


/**
 *--------------------------
 * グローバルナビ
 *--------------------------
 */

#globalNav {
  position: absolute;
  left: -100%;
  width: 100%;
  text-align: left;
  z-index: 500;
  color: #fff;
  font-size: 14px;
  height: 100vh; /*ハンバーガーメニューがスクロールバーの幅ずれないように*/
}


/*メニュー*/

#globalNav ul, #globalNav li {
  margin: 0;
  padding: 5px 0;
  position: relative;
}



#globalNav li {
  display: block;
  text-align: center;
  border-right: solid 8px rgba(211, 68, 147, 1);
  border-bottom: dotted 1px rgba(255, 255, 255, 0.6);
  background-color: rgba(51, 51, 51, 0.9);
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#globalNav li:first-child {
  border-top: dotted 1px rgba(255, 255, 255, 0.6);
}

#globalNav li:last-child {
  border-bottom: dotted 1px rgba(255, 255, 255, 0.6);
}

#globalNav li span {
  position: relative;
  top: 0;
  right: 5px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#globalNav li:hover {
  border-right: solid 8px rgba(211, 68, 147, 1);
  background-color: rgba(211, 68, 147, 1);
}

#globalNav li:hover span {
  right: 0;
}

#globalNav li.last {
  border-bottom: none;
}

#globalNav li a {
  display: block;
  padding: 15px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#globalNav li a:link {
  text-decoration: none;
  color: #ffffff;
}

#globalNav li a:visited {
  text-decoration: none;
  color: #ffffff;
}

#globalNav li a:active {
  text-decoration: none;
  color: #ffffff;
}

#globalNav li a:hover {
  text-decoration: none;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  #globalNav li a {
    padding: 10px;
  }
  /* 全画面マスク */
  #lock {
    z-index: 400;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 76, 91, 0.5);
  }
  /**
 *--------------------------
 * フッターメニュー
 *--------------------------
 */
  #footerMenu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /*height: 65px;*/
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    z-index: 1500;
  }
  #footerMenu li {
    width: 25%;
    max-width: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #footerMenu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
  }
  #footerMenu li a:link {
    text-decoration: none;
    color: #ffffff;
  }
  #footerMenu li a:visited {
    text-decoration: none;
    color: #ffffff;
  }
  #footerMenu li a:active {
    text-decoration: none;
    color: #ffffff;
  }
  #footerMenu li a:hover {
    text-decoration: underline;
    color: #ffffff;
  }
  #footerMenu li img {
    height: 40px;
    padding-right: 10px;
  }
  
