/* 全体的なスタイル */
body {
    font-family: Arial, sans-serif;
    margin-top: 60px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 0;
    background-color: #f4f6f9;
  }

/* ナビゲーションのスタイル */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 30px;
  }

#navbar .logo img {
    width: 40px;  /* ロゴのサイズ調整 */
}

  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }

  .nav-links li {
    font-size: 1.2em;
  }

  .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #4caf50;  /* ホバー時に緑色に変わる */
  }

  .nav-cta-button{
    background-color: #4caf50;
    padding: 10px 20px;
    border-radius: 5px;
  }

  .nav-cta-button:hover{
    background-color: white;
  }

  /* ハンバーガーメニュー */
.hamburger {
    display: none;  /* デスクトップでは非表示 */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 20px;
  }

  .hamburger span {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 5px;
    transition: 0.4s;
  }


  /* レスポンシブ対応 */
@media (max-width: 860px) {
    #navbar {
        align-items: center;
    }

    .nav-menu{
        margin-left: auto;
    }

    .nav-links {
        padding-top: 50px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
        border-radius: 5px;
        background-color: #333;
        flex-direction: column;
        gap: 20px;
        margin-top: 300px;
        text-align: center;
        width: fit-content;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .nav-links.active {
        opacity: 1; /* 不透明にする */
        pointer-events: auto; /* クリック可能にする */
    }

    .cta{
        display: none;
    }

    /* ハンバーガーメニューを表示 */
    .hamburger {
        display: flex;  /* スマホサイズでは表示 */
    }

    /* バツ印に変わるハンバーガーボタン */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6.2px, 6.2px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0; /* 真ん中の線を透明にする */
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6.2px, -6.2px);
    }

}

  /* フッター */
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }

  footer ul{
    padding-left:0px;
  }

  footer li{
    list-style: none;
  }

  footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
  }

  footer a:hover {
    text-decoration: underline;
  }


