@charset "UTF-8";

.header {
  height: 66px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  justify-content: space-between;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 10;
}

.header__img {
  width: 100%;
  height: auto;
  max-width: 87px;
  display: block;
}

.header__title {
  font-size: clamp(1.2rem, 1vw + 1rem, 2.5rem);
  font-weight: 600;
  color: #0098DB;
}

/* nav-hamburger */
.nav-hamburger {
  position: fixed;
  top: 5vh;
  left: -800px;
  width: 80%;
  color: #231815;
  text-align: center;
  margin: 30px 20px;
  transition: all 0.5s;
  z-index: 20;
  opacity: 0;
}

.open .nav-hamburger {
  left: 0;
  opacity: 1;
}

.nav-hamburger__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-left: 10%;
}

.nav-hamburger__item {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 550;
}

.nav-hamburger__item::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-image: url("../img/icon_circle_blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* header__toggle-btn */
.header__toggle-btn {
  width: 38px;
  height: 38px;
  background-color: #F7F7F7;
  border: solid 2px #626262;
  border-radius: 100px;
  position: relative;
  text-align: center;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 20;
}

.header__toggle-btn span {
  display: block;
  position: absolute;
  left: 8px;
  width: 18px;
  height: 3px;
  background-color: #626262;
  transition: all 0.5s;
}

.header__toggle-btn span:nth-child(1) {
  top: 12px;
}

.header__toggle-btn span:nth-child(2) {
  bottom: 12px;
}

.open .header__toggle-btn span:nth-child(1) {
  -webkit-transform: translateY(3.5px) rotate(-45deg);
  transform: translateY(3.5px) rotate(-45deg);
}

.open .header__toggle-btn span:nth-child(2) {
  -webkit-transform: translateY(-3.5px) rotate(45deg);
  transform: translateY(-3.5px) rotate(45deg);
}

.header__mask {
  display: none;
  transition: all 0.5s;
}

.open .header__mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ffffff, #ccf0f4);
  opacity: 1;
  z-index: 10;
  cursor: pointer;
}

/* PC幅 */
@media (min-width:768px) {
  .header {
    width: 375px;
    right: 0px;
  }

  .header__title {
    width: 210px;
    font-size: 21px;
  }

  .header__toggle-btn {
    display: none;
  }
}