.none {
  display: none;
}

.header {
  max-width: 1024px;
  margin: 0 auto;
  height: 80px;
  position: relative;
  display: block;
}

.header h1 {
  /* position: absolute;
  left: 24px;
  top: 10px; */
    position: static; /* または削除 */
  margin: 0;
}

.header__title-pc {
  display: none;
}

.header__title-m {
  display: block;
  height: 80px;
}

.header__navigation {
  display: none;
}

@media (max-width:678px) {
  #nav-drawer {
    /* margin: 24px 16px 0 0;
    padding: 15px 10px 5px 10px;
    text-align: right;
    right: 0;
    position: fixed;
    z-index: 999; */
    display: none;
  }

  #nav-open {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
  }

  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    height: 3px;
    width: 40px;
    background-color: #cd512c;
    display: block;
    content: "";
  }

  #nav-open span:before {
    bottom: -12px;
  }

  #nav-open span:after {
    bottom: -24px;
  }

  #nav-close {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
  }

  #nav-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 75%;
    height: 100%;
    background-color: #f5ede0;
    text-align: left;
    padding: 15px 0 0 10px;
    transform: translateX(-105%);
    transition: 0.3s ease-in-out;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.25);
  }

  .nav-drawer__title {
    display: block;
    height: 80px;
    margin-bottom: 46px;
    text-align: center;
  }

  .nav-drawer__title img {
    height: 70px;
  }

  .nav-drawer__link-top {
    display: block;
  }

  #nav-content ul li {
    margin-bottom: 36px;
    text-align: center;
  }

  #nav-content ul li a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    color: #0e485c;
    text-align: center;
  }

  #nav-content ul li a span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #0e485c;
  }

  #nav-input:checked~#nav-close {
    display: block;
  }

  #nav-input:checked~#nav-content {
    transform: translateX(0%);
  }
}

@media(min-width:679px) {
  .header {
    height: 80px;
  }

  .header h1{
        position: absolute;
    left: 24px;
    top: 10px;
    margin: 0;
  }

  .header__title-pc {
    display: block;
    height: 80px;
  }

  .header__title-m {
    display: none;
  }

  .header__navigation {
    display: block;
    text-align: right;
  }

  .header__navigation ul {
    padding: 0 2%;
    line-height: 80px;
  }

  .header__navigation ul li {
    display: inline-block;
    margin-left: 16px;
  }

  .header__navigation ul li a {
    text-decoration: none;
    font-size: 2.0rem;
    font-weight: 500;
    color: #fff;
    line-height: 80px;
    text-shadow: 1px 1px 10px #000;
    position: relative;
  }

  /*ホバーエフェクト*/
  .header__navigation ul li a::after {
    /*アンダーラインのスタイル*/
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: #cd512c;
    bottom: -10px;
    left: 0;
    /*横方向0で非表示にする*/
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    /*中央を基点にアニメーション*/
    -webkit-transform-origin: center top;
    transform-origin: center top;
    /*アニメーションの速度設定*/
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .header__navigation ul li a:hover::after {
    /*横方向等倍まで拡大*/
    transform: scale(1, 1);
  }

  #nav-content ul li a span {
    display: none;
  }

}

@media (max-width: 678px) {
  .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #f9eae9;
        text-align: center;
        z-index: 1000;
        height: 90px;
        border-bottom: 4px solid #a14c5e;
        display: none;
  }

  .header__title-m {
    padding: 8px 0 8px 24px;
    display: block;
    max-height: 80px; /* ロゴ画像の大きさを調整 */
  }

  .header__title-pc,
  .header__navigation {
    display: none;
  }
}