@charset "UTF-8";

/* ==================================================
   基本設定・リセット
================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f6f8; /* 薄いグレーの背景 */
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================================================
   ヘッダー（ロゴ）
================================================== */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.logo-container {
    text-align: center;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* ==================================================
   ナビゲーションメニュー
================================================== */
.navigation {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 追加：画面が狭い場合はメニュー全体を折り返すようにする */
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-menu li {
    /* flex: 1; を削除（各メニューの幅を文字の長さに合わせるため） */
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 15px 20px; /* 左右の余白を10pxから20pxに少し広げると綺麗です */
    color: #555;
    font-weight: bold;
    white-space: nowrap; /* ★追加：文字の改行（2段になること）を禁止する */
    transition: background-color 0.2s, color 0.2s;
}

.nav-menu a:hover {
    background-color: #f0f8ff;
    color: #0056b3;
}
/* ==================================================
   メインコンテンツ
================================================== */
.main-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-box,
.news-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.content-box h2,
.news-section h2 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3; /* 見出しの下線 */
}

/* ==================================================
   新着ニュース（iframe風・スクロール）
================================================== */
.news-iframe-like {
    height: 200px;             /* 高さを固定 */
    overflow-y: auto;          /* 縦スクロールを許可 */
    background-color: #fafafa; /* 少し色を変えて入れ子感を出す */
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05); /* 内側に影をつけて凹みを持たせる */
}

.news-list {
    list-style: none;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 0.9rem;
}

/* 最後の線の削除 */
.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    margin-right: 15px;
    white-space: nowrap;
}

.news-category {
    font-size: 0.75rem;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 15px;
    white-space: nowrap;
	
}

/* カテゴリごとの色分け */
.news-category.info {
    background-color: #B30070;
}
.news-category.update { background-color: #28a745; }

.news-title {
    color: #333;
    overflow: hidden;
    white-space: nowrap;      /* 1行に収める */
}

.news-title:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* スクロールバーのデザイン調整（Webkit系ブラウザ用） */
.news-iframe-like::-webkit-scrollbar {
    width: 8px;
}
.news-iframe-like::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.news-iframe-like::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.news-iframe-like::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}