.top-header {
  display: none;
}

/*--------------------------------
下層ページのheader
--------------------------------*/

.header {
  position: fixed;
  z-index: 998;
  background-color: #45BDCF;
  color: #FFF;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  width: 90%;
  margin: auto;
}


.header-logo img {
  height: 45px;
}


.header-list {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.header-item {
  font-size: 2.2rem;
  margin-right: 8rem;
}

.header-item:last-of-type {
  margin-right: 0;
}

.header-item a {
  position: relative;
}


.header-telText {
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 2rem;
}

.header-telNumber {
  letter-spacing: 0.05em;
  font-size: 2.8rem;
  margin-top: .6rem;
  padding: 0rem 2.4rem 2rem;
}


.header-link {
  color: #FFF;
  background: linear-gradient(to right, #025ECB, #1CBED5);
  font-size: 1.6rem;
  padding: 2rem 0;
  font-weight: bold;
  text-align: center;
  border-radius: 999px;
  margin-right: 2.5rem;
  position: relative;
  overflow: hidden;
  display: inline-block;
  outline: none;
  transition: ease .2s;
  width: 230px;
}




/* ヘッダーアニメーション */


.header-item a::after {
  content: '';
  position: absolute;
  border-radius: 100%;
  z-index: 1;
  background-color: #FED01D;
}



.header-item span {
  position: relative;
  display: inline-block;
  z-index: 999;
}



.header-item a::after {
  width: 40px;
  height: 40px;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  opacity: .5;
  transform: scale(0);
  animation-duration: .4s;
  animation-name: bounceOut;
  animation-fill-mode: both;
  z-index: 2;
}

.mv-item span {
  position: relative;
  display: inline-block;
  z-index: 997;
}

.mv-item a::after {
  top: auto;
  bottom: 0;
  left: 50%;
  left: auto;
  right: calc(100% - 21px);
}



.header-item a:hover::after {
  animation-duration: .6s;
  animation-name: bounceIn;
  animation-fill-mode: both;
}

@keyframes bounceIn {

  from,
  20%,
  40%,
  60%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceOut {
  20% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    transform: scale3d(1.1, 1.1, 1.1);
  }

  to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
}





/*--------------------------------
sp css
--------------------------------*/

@media screen and (max-width: 930px) {

  .header-inner {
    width: 95%;
  }

  .header-item {
    margin-right: 1.5rem;
  }
}


@media screen and (max-width: 800px) {

  .header-item {
    font-size: 1.5rem;
  }
}




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

.hamburger {
  display: none;
}

@media screen and (max-width:1400px) {

  .header-item {
    font-size: 2rem;
    margin-right: 3rem;
  }
}

@media screen and (max-width:1050px) {

  .header-item {
    font-size: 1.6rem;
    margin-right: 1.5rem;
  }
}


@media screen and (max-width:800px) {

  .top-header {
    display: block;
  }

  .header-inner {
    height: 70px;
}

  .header {
    height: 70px;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #F9F8F4;
  }

  .header-logo {
    margin-left: 4vw;
    z-index: 999;
  }

  .header-logo img {
    height: 25px;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: none;
  }

  .hamburgerBtn {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 56px;
    z-index: 999;
  }

  .hamburgerBtn span {
    position: absolute;
    height: 1px;
    width: 25px;
    background: #3E3A39;
    display: inline-block;
    transition: 0.3s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburgerBtn span:nth-of-type(1) {
    top: 35%;
  }

  .hamburgerBtn span:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .hamburgerBtn span:nth-of-type(3) {
    bottom: 35%;
  }


  .hamburgerBtn.active span:nth-of-type(1) {
    transform: translateX(-50%) translateY(8px) rotate(-45deg);
    transition: 0.3s ease-in-out;
  }

  .hamburgerBtn.active span:nth-of-type(2) {
    opacity: 0;
    transition: 0.3s ease-in-out;
  }

  .hamburgerBtn.active span:nth-of-type(3) {
    transform: translateX(-50%) translateY(-8px) rotate(45deg);
    transition: 0.3s ease-in-out;
  }

  .hamburger.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #45BDCF;
    z-index: 998;
    transition: 0.3s ease-in-out;
  }


  .header.open {
    background: #45BDCF;
  }

  .hamburger.close {
    display: none;
  }

  .hamburger-list {
    padding: 0 4vw;
    margin: 9rem auto 0;
    height: 100vh;
  }

  .hamburger-item {
    font-size: 1.8rem;
    border-bottom: 1px solid #FFF;
    padding: 1.8rem 0;
    text-align: center;
    width: 90%;
    margin: auto;
  }

  .hamburger-item:last-of-type {
    border-bottom: none;
  }


  .hamburger-item span {
    font-family: 'Federo', sans-serif;
    font-size: 1.4rem;
    background: -webkit-linear-gradient(left, #025ECB, #1CBED5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: .5rem;
  }

  .hamburger-item a {
    display: block;
  }
}