/* 基本リセット */
        * {
            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;
}

/*---------- ここからスマホ用メニュー ----------*/
/* ヘッダーの全体スタイル */
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; /* テキストの色を白にして、背景とコントラストを持たせる */
}



/*---------- ここまでスマホ用メニュー ----------*/

