/*----------------------------------------
株式会社アルターのヘッダCSS
header.css
----------------------------------------*/

/*-------------------------------------------
ヘッダ
-------------------------------------------*/
/* ヘッダ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  background: var(--header-bg-color);
  z-index: 1000;
  margin: 0;
  padding: 0;
  opacity: 0.95
  /* overflow-x: hidden; */
}
.header__inner {
  width: 100%;
  height: 65px;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* align-items: flex-start; */
  align-items: center;
  color: var(--main-text-color);
}

/* 会社ロゴ */
.header__logo-container {
  width: 100%;
  padding: 10px 60px 10px 20px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
/* ロゴサブタイトル */
.header__logo-sub {
  /* display: none; */
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.1rem;
  white-space: wrap;
}
/* ナビゲーション */
.header__nav-container {
  position: absolute;
  top: 56px;
  left: 100%;
  width: 100%;
  height: 100vh;
  padding: 45px 0 0 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  background-color: rgba(0, 0, 0, 0.9);
  transition: all 0.3s;
}
.header__nav-contact-list {
  padding: 50px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.header__nav-contact-item {
  background: var(--sub-bg-color);
  width: 230px;
  height: 42px;
  box-sizing: border-box;
}
.header__nav-contact-link {
    width: 230px;
  height: 42px;
  padding: 9px 0 10px 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
    box-sizing: border-box;
}
.--tel{
  font-size: 2.0rem;
  letter-spacing: 0.1rem;
  /* transform: translateY(-1px); */
}
.header__nav-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  gap: 40px;
}
.header__nav-item {
  position: relative;
  font-size: 1.8rem; 
  font-weight: 600;

  /* &::after {
    position: absolute;
    top: 150%;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
  } */

}

/* pc */
@media screen and (min-width: 768px) {
  header {
    max-width: auto;
    height: 100px;
  }
  .header__inner {
    height: auto;
    max-width: var(--pc-contents-width);
    margin: 0 auto;
    padding: 12px 0 12px 0;
  }
  /* 会社ロゴ */
  .header__logo-container {
    width: auto;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
  }
   /* ロゴサブタイトル */
  .header__logo-sub {
    width: auto;
    display: block;
    font-size: 1.4rem;
  }
  /* ナビゲーション */
  .header__nav-container {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    background-color: transparent;
    gap: 15px;
  }
  .header__nav-contact-list {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 27px;
  }
  .header__nav-contact-item {
    background: var(--sub-bg-color);
    width: 249px;
  }
  .header__nav-contact-link {
    padding: 7px 0 5px 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .--tel{
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    transform: translateY(-2px);
  }
  .header__nav-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 36px;
  }
  .header__nav-item {
    font-size: 1.6rem; 
    font-weight: 600;
    color: var(--main-font-color);
  }
}

/* コンテナ */
.container {
  width: 100%;
  margin: 0 auto;
}
/* pc */
@media screen and (min-width: 768px) {
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
} 

/*----------------------------------------
	hamburger
----------------------------------------*/
.hamburger {
    position: absolute;
    top: 5px;
    right: 20px;
    width: 25px;
    height: 50px;
    padding: 0;
    cursor: pointer;
    border: none;
    /* background: #fff; */
    background: transparent;
}
.hamburger__line {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
}
.hamburger__line::before {
    content: '';
    display: block;
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
}
.hamburger__line::after {
    content: '';
    display: block;
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
}
.is-openMenu .hamburger__line {
    background-color: transparent;
}
.is-openMenu .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}
.is-openMenu .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
}

.is-open.header__nav-container {
    left: 0;
    transition: all 0.3s;
}

/* pc */
@media screen and (min-width: 768px) {
  /*----------------------------------------
    hamburger
  ----------------------------------------*/
  .hamburger {
    display: none;
  }
}