/* 基本リセット */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Verdana', sans-serif;
            background-color: #fafafa;
            color: #333;
        }

.header {
            background-color: #ffcc80;
            color: #333;
            padding: 20px 0;
            text-align: center;
            border-bottom-left-radius: 50px;
            border-bottom-right-radius: 50px;
.}

.header h1 {
            font-size: 2.5rem;
            font-weight: bold;
}

        nav {
            margin-top: 15px;
        }

        nav a {
            color: #333;
            margin: 0 10px;
            text-decoration: none;
            font-size: 1.2rem;
            padding: 5px 15px;
            background-color: #ffe0b2;
            border-radius: 30px;
        }

        nav a:hover {
            background-color: #ffd54f;
        }

        .hero {
            background-color: #ffecb3;
            padding: 50px 20px;
            text-align: center;
        }

        .hero h2 {
            font-size: 2.5rem;
            color: #333;
        }

        .content {
            padding: 40px 20px;
            max-width: 1000px;
            margin: 0 auto;
            /*text-align: center;*/
        }

        .content h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #333;
        }

        .content p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #666;
        }

        .button {
            display: inline-block;
            margin-top: 30px;
            padding: 10px 30px;
            background-color: #ffab40;
            color: #fff;
            text-decoration: none;
            border-radius: 30px;
            font-size: 1.1rem;
        }

        .button:hover {
            background-color: #ff6f00;
        }

        footer {
            background-color: #ffcc80;
            color: #333;
            text-align: center;
            padding: 20px;
            border-top-left-radius: 50px;
            border-top-right-radius: 50px;
            position: relative;
            bottom: 0;
            width: 100%;
        }

        footer p {
            margin: 0;
            font-size: 0.9rem;
        }
        
        /* 全体のスタイル */
.article-list-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.pagination a {
    color: #007bff;
    text-decoration: none;
}

.pagination a:hover {
    text-decoration: underline;
}

/* 記事リストのスタイル */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}

.article-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.article-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.article-content {
    max-width: calc(100% - 100px);
}

.article-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    text-decoration: none;
}

.article-title:hover {
    color: #007bff;
}

.article-category {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 1em;
    color: #666;
}

/* 横線（区切り） */
hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

/* 全体の箱 */
.poll_board1 {
  background: #fffdf8;
  border: 1px solid #ecdcc6;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(80, 50, 20, 0.08);
  overflow: hidden;
  margin: 24px 0;
}
.poll_box_bottom td,
.poll_box_bottom th {
  padding: 14px 18px;
}
/* 上部見出し */
.poll_box_top {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 16px 20px;
  letter-spacing: 0.04em;
}

/* 本文エリア */
.poll_box_bottom {
  padding: 20px 18px 24px;
  background: #fffdf8;
  color: #4a3a2a;
  box-sizing: border-box;
}

/* 説明文 */
#q p {
  margin: 0 0 18px 0;
  padding: 12px 14px;
  background: #fff6ea;
  border: 1px solid #f1dec0;
  border-radius: 10px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #6b4d2f;
}

/* テーブル全体 */
.poll_box_bottom table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 外側の濃い枠をやわらかく */
.poll_box_bottom table[bgcolor="#999999"] {
  background: #e7d5be !important;
  border-radius: 12px;
  overflow: hidden;
}

/* セル共通 */
.poll_box_bottom td {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a3a2a;
  vertical-align: middle;
  word-break: break-word;
}

/* 項目行 */
.poll_box_bottom tr[style] td {
  background: #fffdf8 !important;
  border-bottom: 1px solid #f2e5d3;
}

/* 左列のラベル */
.poll_box_bottom tr[style] td:first-child {
  width: 30%;
  background: #fbf1e3 !important;
  color: #6a4a2c;
  font-weight: 700;
  white-space: nowrap;
}

/* 右列の値 */
.poll_box_bottom tr[style] td:last-child {
  background: #fffdf8 !important;
  color: #3f3328;
}

/* 区切り線 */
.poll_box_bottom hr {
  border: 0;
  border-top: 1px solid #ead8bf;
  margin: 18px 0;
}

/* ボタンエリア */
.poll_box_bottom td[align="right"] {
  padding-top: 8px;
}

/* 戻るボタン */
.button {
  appearance: none;
  border: 1px solid #d8c2a2;
  background: #fff;
  color: #6a533d;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus {
  background: #f8efe4;
  border-color: #cfa97a;
  color: #5a4027;
}

/* 送信ボタン */
.fbutton {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.fbutton:hover,
.fbutton:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.28);
  opacity: 0.96;
}

/* hiddenはそのまま非表示 */
input[type="hidden"] {
  display: none;
}




/*ハンバーガーメニューBODY＊/
/* 非表示用 */
.nav-unshown {
  display: none;
}

/* ドロワー全体 */
#nav-drawer {
  position: relative;
}

/* オーバーレイ */
#nav-close {
  display: none;
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 40, 20, 0.45);
  cursor: pointer;
}

/* スライドイン本体 */
#nav-content {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  width: 84%;
  max-width: 340px;
  height: 100%;
  overflow-y: auto;
  background: #fffdf9;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  transition: transform 0.35s ease;
  padding: 18px 16px 28px;
  box-sizing: border-box;
}

/* チェック時に開く */
#nav-input:checked ~ #nav-close {
  display: block;
}

#nav-input:checked ~ #nav-content {
  transform: translateX(0%);
}

/* 閉じるボタン */
#close-mark {
  display: block;
  width: 100%;
  text-align: right;
  margin: 0 0 14px 0;
  color: #8a5a2b;
  cursor: pointer;
  line-height: 1;
}

#close-mark b {
  font-size: 28pt;
  font-weight: 400;
}

/* 見出し */
.menu_title {
  margin: 18px 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* メニュー枠 */
.menu {
  margin: 0 0 14px 0;
  background: #fff;
  border: 1px solid #f1dec2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(80, 50, 20, 0.06);
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f7ead8;
}

.menu li:last-child {
  border-bottom: none;
}

.menu li a {
  display: block;
  padding: 14px 14px 14px 18px;
  color: #5b4636;
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.5;
  background: #fffdf9;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  box-sizing: border-box;
}

/* 左に小さなアクセント */
.menu li a::before {
  content: "›";
  display: inline-block;
  margin-right: 9px;
  color: #d97706;
  font-weight: 700;
}

/* ホバー */
.menu li a:hover,
.menu li a:focus {
  background: #fff4e5;
  color: #c56a00;
  padding-left: 24px;
}

/* スクロールバー少し整える */
#nav-content::-webkit-scrollbar {
  width: 8px;
}

#nav-content::-webkit-scrollbar-thumb {
  background: #e2c08f;
  border-radius: 10px;
}

#nav-content::-webkit-scrollbar-track {
  background: #fff8ef;
}

/* 小さいスマホ向け微調整 */
@media screen and (max-width: 480px) {
  #nav-content {
    width: 88%;
    padding: 16px 12px 24px;
  }

  .menu_title {
    font-size: 0.95rem;
    padding: 11px 12px;
  }

  .menu li a {
    font-size: 0.93rem;
    padding: 13px 12px 13px 16px;
  }
}






/*---------- ここからスマホ用メニュー ----------*/

/* ヘッダーの全体スタイル */
header {
  padding: 5px 35px 0px 5px;
  margin-top: 12px;
  display: block;
  position: relative; /* 相対配置で要素を制御 */
}

/* ハンバーガーメニューの表示部分 */
#nav-open {
  display: inline-block;
  width: auto;
  position: absolute;
  right: 15px; /* 右端に配置 */
  top: 0;
  cursor: pointer;
}

/* ハンバーガーメニューの3本線 */
.hamburger-menu {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger-menu span,
.hamburger-menu span:before,
.hamburger-menu span:after {
  position: absolute;
  height: 4px; /* 線の太さ */
  width: 30px; /* 線の長さ */
  border-radius: 3px; /* 角を少し丸く */
  background: #555;
  display: block;
  content: '';
}

.hamburger-menu span {
  top: 0; /* 一番上の線 */
}

.hamburger-menu span:before {
  top: 10px; /* 真ん中の線 */
}

.hamburger-menu span:after {
  top: 20px; /* 一番下の線 */
}

/* メニューが展開されたときに背景をカバー */
#nav-close {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: 0.5;
}

/* メニューコンテンツのスライド表示 */
#nav-content {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 90%;
  max-width: 308px;
  height: 100%;
  background: #fff;
  transition: 0.3s ease-in-out;
  transform: translateX(105%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  text-align: left;
  overflow-x: auto;
}

#nav-input:checked ~ #nav-content {
  transform: translateX(0%); /* メニュー表示（右からスライド） */
}

/* チェックボックスは非表示 */
.nav-unshown {
  display: none;
}

/* 閉じるマークのデザイン */
#close-mark {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  width: 100%;             /* 幅を100%に */
  height: 50px;            /* 高さを指定して、中央揃えが機能するように */
  background-color: skyblue; /* 背景色を水色に */
  cursor: pointer;
}

#close-mark b {
  font-size: 28pt;
  color: #fff; /* テキストの色を白にして、背景とコントラストを持たせる */
}

@media screen and (max-width: 640px) {
  .poll_board1 {
    border-radius: 14px;
    margin: 18px 0;
  }

  .poll_box_top {
    font-size: 1.02rem;
    padding: 14px 16px;
  }

  .poll_box_bottom {
    padding: 16px 12px 20px;
  }

  .poll_box_bottom tr[style] td:first-child,
  .poll_box_bottom tr[style] td:last-child {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .poll_box_bottom tr[style] td:first-child {
    border-bottom: 1px solid #f2e5d3;
    padding-bottom: 8px;
  }

  .poll_box_bottom tr[style] td:last-child {
    padding-top: 8px;
  }

  .button,
  .fbutton {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .poll_box_bottom td[align="right"] {
    display: block;
  }
}

/*---------- ここまでスマホ用メニュー ----------*/

