/* 全体のスタイル */
body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* ヘッダー */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* メインコンテンツ */
main {
    max-width: 900px;
    margin: 10px auto;
    padding: 30px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* 記事一覧のスタイル */
.article-list h2 {
    font-size: 26px;
    color: #2c3e50;
    border-bottom: 3px solid #2980b9;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

article {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

article:last-child {
    border-bottom: none;
}

article h3 a {
    color: #2980b9;
    text-decoration: none;
    font-size: 22px;
}

article h3 a:hover {
    text-decoration: underline;
}

article p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* パンくずリスト */
.breadcrumb ul {
    list-style: none;
    padding: 5px;
    background-color: #f8f8f8;
    border-radius: 5px;
    font-size: 16px;
}

.breadcrumb ul li {
    display: inline;
    margin-right: 10px;
    margin-left: 5px;
}

.breadcrumb ul li a {
    text-decoration: none;
    color: #2980b9;
    font-size: 14px;
}

.breadcrumb ul li::after {
    content: ">";
    margin-left: 15px;
    color: #999;
}

.breadcrumb ul li:last-child::after {
    content: "";
}

/*　前へ次へボタン */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.pagination button {
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* フッター */
footer {
    text-align: center;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    margin-top: 40px;
}

/* スマホ向け調整 */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    main {
        max-width: 95%;
        padding: 20px;
    }

    article h3 a {
        font-size: 20px;
    }

    article p {
        font-size: 16px;
    }
}