/* ==========================================================================
   ヘッダー
   ========================================================================== */
.l-header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    height: 80px;
  }
  
  .p-header__title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
  }

  .p-header__title a {
    color: #50B280;
    text-decoration: none;
  }

  .p-header__nav {
    height: 100%;
    margin-left: auto;
  }
  
  .p-header__nav__menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: var(--primary-color);
  }
  
  .p-header__nav__menu__item {
    height: 100%;
  }
  
  .p-header__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
  }
  
  .p-header__link:hover {
    color: var(--primary-color);
  }
  
  .p-header__link--contact {
    background-color: #1a1a1a;
    color: #fff;
    padding: 0 40px;
    font-size: 1rem;
    margin-left: 20px;
  }
  
  .p-header__link--contact:hover {
    background-color: #333;
  }
  
  .p-header__link--contact i {
    margin-right: 10px;
  }
  
  /* ハンバーガーメニュー */
.p-header__hamburger {
  display: none;
  width: 48px;
  height: 80px;
  position: relative;
  cursor: pointer;
  margin-left: 20px; 
  z-index: 110;
}

.p-header__hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #333;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.p-header__hamburger span:nth-child(1) { top: 30px; }
.p-header__hamburger span:nth-child(2) { top: 40px; }
.p-header__hamburger span:nth-child(3) { top: 50px; }


/* --- レスポンシブ設定 (1024px以下) --- */
   @media screen and (max-width: 1024px) {
    .p-header__logo a img {
      height: 30px; 
      width: auto;  
    }

    .p-header__hamburger {
      display: block;
      margin-left: auto;
    }
  
    .p-header__title a {
      white-space: normal;
      font-size: 1rem;
    }
  
    .u-mobile-only {
      display: block !important;
    }

    .p-header__nav {
      display: block;
      position: fixed;
      top: 80px;
      left: 100%;
      width: 100%;
      height: calc(100vh - 80px);
      background-color: #fff;
      transition: all 0.4s ease;
      z-index: 105;
      overflow-y: auto;
    }

    .p-header__nav.is-active {
      left: 0;
    }
  
    .p-header__nav__menu {
      flex-direction: column;
      height: auto;
      padding: 40px 20px;
    }
  
    .p-header__nav__menu__item {
      width: 100%;
      height: auto;
      border-bottom: 1px solid #eee;
    }
  
    .p-header__link {
      padding: 20px 0;
      font-size: 1.1rem;
      justify-content: center;
    }
  
    .p-header__link--contact {
      margin: 20px 0 0;
      width: 100%;
      justify-content: center;
    }
  }
  
  /* --- ハンバーガーがクリックされた時のアイコン（×印への変化） --- */
  .p-header__hamburger.is-active span:nth-child(1) {
    top: 40px;
    transform: translateX(-50%) rotate(45deg);
  }
  .p-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .p-header__hamburger.is-active span:nth-child(3) {
    top: 40px;
    transform: translateX(-50%) rotate(-45deg);
  }

 /* ==========================================================================
   フッター
   ========================================================================== */
   .l-footer {
    background-color: var(--bg-light-green);
    padding: 1.875rem 0;
    width: 100%;
    border-top: 5px solid #fff; 
}
  
.p-footer__logo {
  margin-bottom: 15px;
}

.p-footer__logo img {
  height: 20px;
  width: auto;
  display: block;
}

.p-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

  .p-footer__copyright {
    display: flex;
    align-items: center;
    gap: 1.5625rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1;
  }
  
  .p-footer__copyright a {
    font-size: 0.875rem;
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: opacity 0.3s;
  }
  
  .p-footer__copyright a:hover {
    opacity: 0.7;
  }
  
  .p-footer__copyright small {
    font-size: 0.75rem;
    font-style: normal;
    color: var(--text-color);
  }
  
  /* レスポンシブ */
  @media (max-width: 768px) {
    .p-footer__copyright {
      flex-direction: column;
      gap: 0.75rem;
      text-align: center;
    }
  }