@charset "utf-8";
.header {
  background-color: white;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header-inner {
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}

@media screen and (min-width: 960px) {
  .header-inner {
    padding: 0 50px;
  }
}

/* ヘッダーのロゴ部分 */
.header-title{
  display: flex;
  align-items: center;
}

.header-logo1{
  width: 60px;
  display: block;
}

@media screen and (min-width: 600px) {
  .header-logo1{
    width: 80px;
  }
}

@media screen and (min-width: 960px) {
  .header-logo1{
    width: 120px;
  }
}

.header-info:hover{
  background-color: white;
  color: #67B9ED;
}
/* ヘッダーの広告部分 */
.header-info{
  display: flex;
  gap: 3px;
  align-items: center;
  background-color: #67B9ED;
  border: 2px solid black;
  padding: 3px 15px;
  border-radius: 9999px;  
  justify-content: center;
}

@media screen and (min-width: 600px) {
  .header-info {
    gap: 30px;
    padding: 3px 20px;
  }
}

@media screen and (min-width: 960px) {
  .header-info {
    width: 300px;
  }
}

.header-info img{
  width: 30px;
}

@media screen and (min-width: 960px) {
  .header-info img{
    width: 30px;
  }
}

.header-info p{
  letter-spacing: 0.1rem;
  color: black;
  font-size: 1rem;
}

@media screen and (min-width: 600px) {
.header-info p{
  font-size: 1.2rem;
}
}

@media screen and (min-width: 960px) {
  .header-info p{
    font-size: 1.5rem;
  }
  }
/* ヘッダーのナビ部分 */

.header-nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #67B9ED;
  transition: ease .4s;
  background-image: url(img/menu-bg.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

@media screen and (min-width: 600px) {
  .header-nav {
  background-image: url(img/menu-bg-pc.webp);
  background-size: 400px;
  }
}

@media screen and (min-width: 960px) {
  .header-nav {
  background-size: 950px;
  }
}

/* @media screen and (min-width: 960px) {
  .header-nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
} */


/* @media screen and (min-width: 960px) {
  .nav-items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
} */

.nav-items {
  padding-top: 12%;
  padding-bottom: 200px;
}
@media screen and (min-width: 600px) {
  .nav-items {
    padding-top: 10%;
}
}

@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: 5%;
}
}

/* @media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
} */

/* ナビのリンク */
.nav-items-item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-decoration: none;
}

.nav-items-item a:hover{
  color: #fff;
}

.nav-items-item:last-child a {
  margin-bottom: 0;
}

/* @media screen and (min-width: 960px) {
  .nav-items-item a {
    margin-bottom: 0;
    font-size: 1.2rem;
  }
} */


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

.header-hamburger {
  width: 48px;
  height: 100%;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

/* @media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
} */

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header-nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}


.header-hamburger img {
  width: 40px;
  height: auto;
  cursor: pointer;
  transition: transform .4s ease;
}

@media screen and (min-width: 600px) {
  .header-hamburger img {
    width: 45px;
  }
}
