@media screen and (min-width: 769px) {
  .header {
    position: fixed;
    z-index: 3;
    width: 100%;
    min-width: calc(1180px + 80px);
    background: #fff;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
  }
  .header-logo {
    width: 160px;
  }
  .header-logo__link {
    display: block;
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    line-height: 0;
  }
  .header-logo__link:hover {
    opacity: 0.6;
  }
  .header-nav {
    display: flex;
    align-items: center;
  }
  .header-nav-list {
    display: flex;
    margin-right: 40px;
  }
  .header-nav-list__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 24px;
  }
  .header-nav-list__item:last-child {
    margin-right: 0;
  }
  .header-nav-list__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
  }
  .header-nav-list__icon path {
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
  }
  .header-nav-list__item:hover .header-nav-list__icon path {
    fill: #ef4c46;
  }
  .header-nav-list__link {
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    font-size: 14px;
    font-weight: 700;
  }
  .header-nav-list__item:hover .header-nav-list__link {
    color: #ef4c46;
  }
  .header-button-box {
    display: flex;
  }
  .header-button {
    display: inline-block;
    box-sizing: border-box;
    width: 120px;
    margin-right: 12px;
    padding: 9px 10px 10px;
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    border-radius: 50vh;
    background: linear-gradient(to bottom right, #ff6558, #df98ff);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
  .header-button:hover {
    filter: brightness(1.2);
  }
  .header-button:last-child {
    margin-right: 0;
  }
  .header-button--logout {
    padding: 8px 10px 9px;
    border: 1px solid #ef4c46;
    background: #fff;
    color: #ef4c46;
  }
  .header-button--logout:hover {
    transform: none;
    background: #ef4c46;
    color: #fff;
  }
}

@media screen and (max-width: 768px) {
  .header {
    position: fixed;
    z-index: 3;
    top: 0;
    width: 100%;
    background: #fff;
  }
  .header.is-opened {
    height: 100vh;
  }
  .header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4.2666666667vw;
  }
  .header-logo {
    width: 25.6vw;
  }
  .header-logo__link {
    display: block;
    line-height: 0;
  }
  .header-menu {
    position: relative;
    width: 8.5333333333vw;
    height: 8.5333333333vw;
  }
  .header-menu::before {
    content: "";
    position: absolute;
    top: 1.3333333333vw;
    right: 0;
    width: 6.4vw;
    height: 0.8vw;
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    border-radius: 50vh;
    background: #ef4c46;
  }
  .is-opened .header-menu::before {
    top: 50%;
    width: 100%;
    transform: rotate(135deg);
  }
  .header-menu::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1.3333333333vw;
    width: 5.3333333333vw;
    height: 0.8vw;
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    border-radius: 50vh;
    background: #ef4c46;
  }
  .is-opened .header-menu::after {
    top: 50%;
    width: 100%;
    transform: rotate(-135deg);
  }
  .header-menu__line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 0.8vw;
    transform: translateY(-50%);
    transition: 0.5s cubic-bezier(0.32, 0.1, 0, 1);
    border-radius: 50vh;
    background: #ef4c46;
  }
  .is-opened .header-menu__line {
    opacity: 0;
  }
  .header-nav {
    display: none;
    margin-top: 8.5333333333vw;
  }
  .header-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8.5333333333vw 0;
    margin-bottom: 10.6666666667vw;
  }
  .header-nav-list__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    text-align: center;
  }
  .header-nav-list__icon {
    width: 8.5333333333vw;
    height: 8.5333333333vw;
    margin-bottom: 2.1333333333vw;
  }
  .header-button-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header-button {
    display: block;
    box-sizing: border-box;
    width: 64vw;
    margin-bottom: 3.2vw;
    padding: 3.2vw 2.6666666667vw 3.4666666667vw;
    border-radius: 50vh;
    background: linear-gradient(to bottom right, #ff6558, #df98ff);
    color: #fff;
    font-size: 3.7333333333vw;
    font-weight: 700;
    text-align: center;
  }
  .header-button:last-child {
    margin-bottom: 0;
  }
  .header-button--logout {
    padding: 2.9333333333vw 2.6666666667vw 3.2vw;
    border: 1px solid #ef4c46;
    background: #fff;
    color: #ef4c46;
  }
}
