@charset "UTF-8";
/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f5f5f5;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: #1e4d8b;
    text-decoration: none;
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}
ul, ol {
    list-style-position: inside;
}
/* ========================================
   レイアウト
======================================== */
#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* ========================================
   ヘッダー
======================================== */
#top {
    background-color: #0d2b52;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#top h1 {
    font-size: 1.2rem;
    font-weight: normal;
}
#top h1 a {
    color: #fff;
}
#topmenubtn {
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #fff;
    border-radius: 3px;
    display: none;
}
#header {
    background: linear-gradient(135deg, #1e4d8b 0%, #2a5fa0 100%);
    padding: 20px;
}
#headertxt {
    text-align: center;
}
#headertxt h2.title {
    color: #fff;
    margin: 0;
}
#headertxt h2.title span {
    display: inline-block;
}
#headertxt h2.title a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}
#headertxt img {
    max-height: 60px;
}
/* ========================================
   メインコンテンツ
======================================== */
#contents {
    padding: 40px 30px;
}
/* 記事エリア */
article {
    margin-bottom: 50px;
}
article > h3 {
    background-color: #1e4d8b;
    color: #fff;
    padding: 15px 20px;
    font-size: 1.5rem;
    border-left: 5px solid #0d2b52;
    margin-bottom: 30px;
}
article > h3 span {
    display: inline-block;
}
/* テキストエリア */
#text1 {
    padding: 0 10px;
}
#text1 h2 {
    background-color: #f0f5fa;
    color: #1e4d8b;
    padding: 12px 20px;
    font-size: 1.4rem;
    border-left: 5px solid #2a5fa0;
    margin: 30px 0 20px;
}
#text1 h2 span {
    display: inline-block;
}
#text1 h3 {
    color: #1e4d8b;
    padding: 10px 0 10px 15px;
    font-size: 1.3rem;
    border-left: 4px solid #2a5fa0;
    margin: 25px 0 15px;
}
#text1 h3 span {
    display: inline-block;
}
#text1 h4 {
    color: #1e4d8b;
    padding: 8px 0;
    font-size: 1.2rem;
    border-bottom: 2px solid #2a5fa0;
    margin: 20px 0 15px;
}
#text1 h5 {
    color: #1e4d8b;
    font-size: 1.1rem;
    margin: 15px 0 10px;
}
#text1 p {
    margin: 15px 0;
    line-height: 1.9;
}
#text1 .txt-img {
    margin: 25px 0;
}
#text1 img.image-center {
    display: block;
    margin: 0 auto;
}
/* リスト */
#text1 ul {
    margin: 20px 0;
    padding-left: 20px;
}
#text1 ul li {
    padding: 8px 0;
    list-style-type: disc;
}
#text1 ol {
    margin: 20px 0;
    padding-left: 20px;
}
#text1 ol li {
    padding: 8px 0;
}
/* テーブル */
#text1 table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: #fff;
}
#text1 table th {
    background-color: #1e4d8b;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #0d2b52;
}
#text1 table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}
#text1 table tr:nth-child(even) {
    background-color: #f9f9f9;
}
/* ========================================
   サイドバー（1カラムでは下部配置）
======================================== */
aside {
    margin-bottom: 40px;
}
#entrylist {
    background-color: #f0f5fa;
    padding: 20px;
    border-radius: 5px;
}
#entrylist h4 {
    background-color: #1e4d8b;
    color: #fff;
    padding: 10px 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-radius: 3px;
}
#entrylist h4 span {
    display: inline-block;
}
#entrylist dl {
    padding: 10px 0;
}
#entrylist dt {
    padding: 10px 0;
}
#entrylist .entry_title a {
    color: #1e4d8b;
    font-weight: bold;
}
#entrylist .entry_title a:hover {
    text-decoration: underline;
}
/* ========================================
   更新履歴
======================================== */
#whatsnew {
    background-color: #fff;
    border: 2px solid #1e4d8b;
    border-radius: 5px;
    margin-bottom: 40px;
    overflow: hidden;
}
#whatsnew .title {
    background-color: #1e4d8b;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
}
#whatsnew .title span {
    display: inline-block;
}
#whatsnew ul {
    padding: 0;
    list-style: none;
}
#whatsnew ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#whatsnew ul li:last-child {
    border-bottom: none;
}
#whatsnew ul li span:first-child {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}
#whatsnew ul li span:last-child a {
    color: #1e4d8b;
}
/* ========================================
   カテゴリーリスト
======================================== */
#categorylist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.catbox {
    background-color: #fff;
    border: 2px solid #1e4d8b;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.catbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(30, 77, 139, 0.3);
}
.catbox .title {
    background-color: #1e4d8b;
    padding: 12px 15px;
}
.catbox .title a {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}
.catbox .body {
    padding: 20px 15px;
}
.catbox .body p {
    margin-bottom: 15px;
    color: #555;
}
.catbox .more {
    text-align: right;
}
.catbox .more a {
    color: #1e4d8b;
    font-weight: bold;
    font-size: 0.9rem;
}
.catbox .more a:after {
    content: " >";
}
/* ========================================
   メニュー
======================================== */
#menu {
    margin-bottom: 40px;
}
.menuitem {
    background-color: #f0f5fa;
    border-radius: 5px;
    overflow: hidden;
}
.menuitem h4 {
    background-color: #1e4d8b;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1rem;
}
.menuitem h4 span {
    display: inline-block;
}
.menubox {
    padding: 10px 0;
}
#menu1 {
    list-style: none;
    padding: 0;
}
#menu1 li {
    border-bottom: 1px solid #ddd;
}
#menu1 li:last-child {
    border-bottom: none;
}
#menu1 li a {
    display: block;
    padding: 12px 20px;
    color: #1e4d8b;
    transition: background-color 0.3s;
}
#menu1 li a:hover {
    background-color: #e3ebf5;
    opacity: 1;
}
/* ========================================
   ページトップへ戻る
======================================== */
#pagetop {
    text-align: center;
    margin: 30px 0;
}
#pagetop a {
    display: inline-block;
    background-color: #1e4d8b;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
#pagetop a:hover {
    background-color: #2a5fa0;
    opacity: 1;
}
/* ========================================
   フッター
======================================== */
#footer {
    background-color: #0d2b52;
    color: #fff;
    padding: 30px 20px 20px;
    text-align: center;
}
#footsub {
    margin-bottom: 15px;
}
#footsub span a {
    color: #fff;
    padding: 0 15px;
    border-right: 1px solid #fff;
}
#footsub span:last-child a {
    border-right: none;
}
#footer small {
    font-size: 0.85rem;
    color: #ccc;
}
/* ========================================
   レスポンシブ対応
======================================== */
@media screen and (max-width: 768px) {
    #contents {
        padding: 30px 20px;
    }
    #top {
        padding: 10px 15px;
    }
    #top h1 {
        font-size: 1rem;
    }
    #topmenubtn {
        display: block;
    }
    #header {
        padding: 15px;
    }
    #headertxt h2.title a {
        font-size: 1.5rem;
    }
    article > h3 {
        font-size: 1.3rem;
        padding: 12px 15px;
    }
    #text1 h2 {
        font-size: 1.2rem;
    }
    #text1 h3 {
        font-size: 1.1rem;
    }
    #categorylist {
        grid-template-columns: 1fr;
    }
    #text1 table {
        font-size: 0.9rem;
    }
    #text1 table th,
    #text1 table td {
        padding: 8px 5px;
    }
}
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    #contents {
        padding: 20px 15px;
    }
    #whatsnew ul li {
        flex-direction: column;
        gap: 5px;
    }
}