#header {
  @media screen and (max-width: 1100px) {
    height: 90px;
  }

  .inner {
    margin: 0 auto;

    @media screen and (min-width: 1100px) {
      position: relative;
      width: 1100px;
      padding: 24px 0;
    }
  }

  h1 {
    margin: 0;
  }

  .headline {
    @media screen and (max-width: 1099px) {
      display: flex;
      width: 21%;
      align-items: center;
      height: 100%;

      img {
        width: 74px;
        height: 87px;
      }

      p {
        display: none;
      }
    }

    @media screen and (min-width: 1100px) {
      justify-content: flex-start;
      margin-bottom: 24px;
    }
  }
}

#header .online-shop {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 40px;
  padding: 15px;
  background: #f04b14;
  font-size: min(4vw, 16px);
  line-height: 1;

  @media screen and (max-width: 1099px) {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border-radius: calc(infinity * 1px);
  }

  @media screen and (min-width: 1100px) {
    top: 24px;
    right: 0;
    width: 280px;
    height: 60px;
    font-size: 19px;
  }

  &::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 21px;
    margin-right: 0.5em;
    background-image: url(/assets/img/cart.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;

    @media screen and (min-width: 1100px) {
      width: 30px;
      height: 25px;
    }
  }
}

#drawer {
  nav {
    font-size: 0;

    @media screen and (max-width: 1099px) {
      position: absolute;
      top: 90px;
      right: 0;
      width: 300px;
      background: #f5f5f5;
      font-weight: 700;
      line-height: 1;
      transition: all 250ms;
      transform: translateX(100%);
    }

    @media screen and (min-width: 1100px) {
      display: flex;
      justify-content: flex-end;
      margin-left: auto;
      text-align: center;
      font-size: 1.12rem;
    }
  }

  ul {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.23;

    @media screen and (max-width: 1099px) {
      padding: 10px 0;
      font-size: 14px;
      letter-spacing: -0.015em;
    }

    @media screen and (min-width: 1100px) {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;

      &::before {
        content: "";
        display: block;
        width: 1px;
        height: 30px;
        background-color: var(--color-neutral-400);
      }
    }
  }

  li {
    @media screen and (max-width: 1099px) {
      & + li a::before {
        content: "";
        position: absolute;
        top: 0;
        width: 224px;
        height: 1px;
        background-color: var(--color-neutral-400);
      }
    }

    @media screen and (min-width: 1100px) {
      width: 180px;

      &::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 1px;
        height: 30px;
        background-color: var(--color-neutral-400);
      }
    }

    a {
      text-box-trim: trim-both;

      @media screen and (max-width: 1099px) {
        display: inline-flex;
        align-items: center;
        width: 100%;
        height: 60px;
        padding: 0 40px;

        &::after {
          content: url(../../img/arrow_right.svg);
          margin-left: auto;
        }

        br {
          display: none;
        }
      }
    }
  }

  @media screen and (max-width: 1099px) {
    label {
      position: absolute;
      top: 0;
      right: 7%;
      bottom: 2px;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 34px;
      margin: auto;
    }
  }
}

#drawer .hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  aspect-ratio: 1/1;
  border: 1px solid #000;

  span,
  span::before,
  span::after {
    display: block;
    width: 20px;
    height: 1.6px;
    background-color: var(--color-neutral-900);
    border-radius: calc(infinity * 1px);
    transition: 250ms;
  }

  span {
    position: relative;

    &::before,
    &::after {
      content: "";
      position: absolute;
    }

    &::before {
      top: -6px;
    }

    &::after {
      top: 6px;
    }
  }

  + span {
    display: block;
    margin-top: 4px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: -0.15px;
    line-height: 1;
  }
}

@media screen and (max-width: 1099px) {
  #drawer-toggle:checked {
    ~ nav {
      transform: translateX(0);
    }

    ~ label .hamburger span {
      background: transparent;

      &::before {
        transform: rotate(-45deg);
        top: 0;
      }

      &::after {
        transform: rotate(45deg);
        top: 0;
      }
    }
  }

  #drawer-closer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: #b8b8b8;
    font-size: 14px;
  }
}

footer {
  .logo {
    flex-basis: 158px;
  }

  .secondary a br {
    display: none;
  }

  @media screen and (max-width: 999px) {
    .tel .tel-info {
      font-size: min(4.5vw, 16px);
    }
  }

  @media screen and (min-width: 1000px) {
    > .inner {
      padding-bottom: 6em;
    }

    .secondary > .inner {
      white-space: nowrap;
    }

    @media screen and (min-width: 1200px) {
      .primary {
        padding-right: 1.8rem;
      }
    }
  }
}
