  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }

  header#site-header {
    width: 100%;
    background: #f8b500;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 0;
  }
header h1 {
   font-size: 14pt;
}
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .global-nav .nav-menu {
    list-style: none;
    padding: 5px 15px;
    display: flex;
    gap: 20px;
    background-color: #ffd700;
    margin: 0;
  }

  .nav-menu li a {
    text-decoration: none;
    font-weight: bold;
  }

#main-container {
    max-width: 1200px;
    width: 98%;
    margin: 0 auto;
    padding: 20px 1%;
  }

  main#content-area {
    display: flex;
    gap: 20px;
    margin-top: 20px;
  }

  .main-content {
    flex: 3;
  }

  .featured-image img {
    width: 100%;
    border-radius: 8px;
  }

  .article-list {
    margin-top: 20px;
  }

  .article-item {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }

  .article-item img {
    border-radius: 8px;
  }

  .sidebar {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .search-box {
    margin-bottom: 20px;
  }

  .search-box form {
    display: flex;
  }

  .search-box input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
  }

  .search-box button {
    padding: 10px 20px;
    background: #f8b500;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
  }

  .sidebar-section {
    margin-bottom: 40px;
  }

  .sidebar-section h3 {
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #f8b500;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }

  .sidebar-section ul {
    list-style: none;
    padding: 0;
  }

  .sidebar-section ul li {
    margin-bottom: 10px;
  }

  .sidebar-section ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s;
  }

  .sidebar-section ul li a:hover {
    color: #f8b500;
  }

footer#site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 20px 0;

}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
.overlay {
  display: none; /* 非表示 */
}

/*-------------------------------------------------------- PC向けのスタイル ------------------------------------------------------------------------------------*/
@media screen and (min-width: 1200px) {
.sp_mode_only {
     display: none;
}

}


/*-------------------------------------------------------- スマホ向けのスタイル ------------------------------------------------------------------------------------*/
@media screen and (max-width:1200px) {
.pc_mode_only {
     display: none;
}

  .overlay {
    display: block; /* または inline、inline-block など、本来の表示に応じて */
  }

/* main#content-area の横並びを縦並びに変更 */
  main#content-area {
    flex-direction: column;
  }

  /* 各要素の幅を100%に */
  .main-content {
    width: 100%;
  }
#main-container {
    max-width: 1200px;
    width: 96%;
    margin: 0 auto;
    padding: 20px 2%;
  }
  .sidebar {
    width: 350px;
    padding: 10px;
  }
  /* gapを縮小して見やすく */
  main #content-area {
    gap: 10px;
  }
.header-inner, .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: block; /* または inline, inline-block, contents など用途に応じて */
    justify-content: normal; /* 初期値は 'normal'（多くの場合効かなくなる） */
    align-items: center;
    padding: 0 20px;
}
/* ここからハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
aside {
  position: absolute;
  top: 0;
  left: -370px; /* 初期状態で非表示 */
  width: 370px; /* サイドバーの固定幅 */
  padding: 10px; /* 既存のパディング指定 */
  height: 100%;
  background-color: #3cb371;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 100; /* 背景より上 */
  box-sizing: border-box;
  overflow-y: auto; /* 垂直方向のスクロールバーを表示 */
  overflow-x: hidden; /* 横方向のスクロールバーを非表示（必要なら省略） */

}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
/* ハンバーガーメニューアイコン */
.hamburger {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101; /* メニューより上 */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center; /* 回転の中心を明確に */
}


/* チェックボックスがチェックされたとき */
.menu-toggle:checked ~ aside {
  left: 0; /* メニューをスライドイン */
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(9px) translateX(10px); /* translateYを調整 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0; /* 真ん中の線を非表示 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px) translateX(10px); /* translateYを調整 */
}
/* メニュー表示中の背景（オーバーレイ） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* グレーの半透明 */
  opacity: 0;
  visibility: hidden;
  z-index: 99; /* メニューより下 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* チェックボックスがチェックされたときにオーバーレイを表示 */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* クリックを有効にする */
}
/* ここまでハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */



}

  
  