.header {
  display: flex;
  height: 50px;
  position: fixed;
  width: 100vw;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* PC表示 */
@media (min-width: 768px) {
  .header {
    background-color: white;
    opacity: .8;
  }

  .header__menu--sp {
    display: none;
  }

  .header .header__menu--pc a {
    margin-left: 15px;
  }
}

/* スマホ表示 */
@media (max-width: 767px) {
  .header__menu--pc {
    display: none;
  }

  .header__menu--sp__drawer {
    padding: 20px;
    width: 100vw;
    max-width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: #ececec;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateX(100%);
    transition: transform .3s;
    will-change: transform;
    contain: paint;
    z-index: 1;
  }

  .header__menu--sp__drawer ul {
    margin-top: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .header__menu--sp__drawer li a {
    padding: 10px 5px;
    display: block;
    transition: color .1s;
  }

  .header__menu--sp__drawer li a:hover {
    color: #BF7497;
  }

  .header__menu--sp__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    background: #000;
  }

  .header__menu--sp * {
    visibility: visible;
  }

  .header__menu--sp:focus-within .header__menu--sp__overlay {
    visibility: visible;
    opacity: .6;
  }

  .header__menu--sp__button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    width: 20px;
    height: 20px;
    z-index: 2;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  .header__menu--sp__button__icon {
    display: block;
    height: 1px;
    background: #000;
    transition: .3s;
  }

  .header__menu--sp__button__icon + .header__menu--sp__button__icon {
    margin-top: 5px;
  }

  .header__menu--sp:focus-within .header__menu--sp__button {
    cursor: pointer;
    pointer-events: none;
  }

  .header__menu--sp:focus-within .header__menu--sp__button__icon:nth-of-type(1) {
    transform: translate3d(0, 6px, 0) rotate(45deg);
    width: 20px;
  }

  .header__menu--sp:focus-within .header__menu--sp__button__icon:nth-of-type(2) {
    opacity: 0;
  }

  .header__menu--sp:focus-within .header__menu--sp__button__icon:nth-of-type(3) {
    transform: translate3d(0, -6px, 0) rotate(-45deg);
    width: 20px;
  }

  .header__menu--sp:focus-within .header__menu--sp__drawer {
    transform: none;
  }  
}
