@charset "utf-8";
/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff; /* 背景を白に */
    color: #333;
    padding: 20px;
    margin: 0; 
}

header {
    background: #007BFF; /* 明るいブルー */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 2em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: #333;
    margin-bottom: 20px; /* ヘッダーとの間にスペースを追加 */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
}

.index{
    text-align: center; /* テキストを中央揃え */
}
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  
}

.links {
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    align-items: flex-start;
    margin-bottom: 20px;
    padding-left: 0%;
}

.link {
    display: block;
    border: solid 1px  black;
    color: black;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 10px; /* 各リンクの間にスペースを追加 */
}

.link:hover {
    background-color: #007BFF;
    color: #fff;
}

.articles a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s;
}

.articles a:hover {
    color: #333;
}

.box1 {
    border: 1px solid #007BFF;
    color: #007BFF;
    box-sizing: border-box;
    width: 70%;
    margin: 0 auto; /* 中央寄せ */
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    font-size: 40px;
    display: flex; /* Flexboxを有効にする */
    flex-direction: column; /* 縦方向に配置 */
    align-items: center; /* 中央寄せに変更 */
    cursor: pointer; /* クリック可能なカーソルに設定 */
}

.latest-comment {
    border: 1px solid #007BFF;
    color: black;
    box-sizing: border-box;
    width: 1000px;
   padding-left: 0;
    text-align: left;
    line-height: 50px;
    font-weight: bold;
    font-size: 10px;
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    text-indent: 20px;
}

.box2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%; /* 親要素の幅に合わせる */
    margin-top: 10px; /* 上部に余白を追加 */
    padding-right: 10px; /* 適宜調整 */
    font-size: 20px !important;
}

.hidden {
    display: none;
}


.box-content {
    display: none;
    display: flex; /* 横並びに配置 */
    justify-content: space-between; /* 左右の間隔を均等に */
    align-items: center; /* 垂直方向の中央揃え */
    width: 100%; /* 親要素の幅に合わせる */
    margin-top: 10px; /* 上部に余白を追加 */
}

.box3 {
    flex: 1; /* 左側のボックスの幅を可変にする */
    text-align: center; /* テキストを左寄せ */
    margin:auto;
    padding-right: 10px; /* 適宜調整 */

}

.comment-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.comment-info {
    display: flex;
    font-size: 0.9em;
    color: #555;
}

/* 返信ボックスのスタイル */
.reply-box {
    border-top: 1px dashed #ccc;
    margin-top: 5px;
    padding-top: 5px;
}

/* 返信情報のスタイル */
.reply-info {
    display: flex;
    font-size: 0.8em;
    color: #555;
}

.reply-toggle {
    cursor: pointer; /* ポインタが変わるようにする */
    color: #007BFF; /* 全体を青にする */
    font-size: 0.9em;
    margin-top: 10px;
}

.reply-toggle span {
    font-size: 1.2em; /* アイコンのサイズを調整（必要に応じて） */
}

.plus-button-container {
    text-align: center;
    margin-top: 20px;
}

.plus-button {
    display: inline-block;
    font-size: 2em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #007BFF;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.plus-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.plus-button:active {
    background-color: #00408f;
    transform: scale(1);
}

.container {
    display: flex;
    gap: 20px;
    padding: 1px;
}

.pdf-container {
    width:620px;
    padding: 10px;
    box-sizing: border-box;
}

.pdf-container embed {
    width: 100%; /* 埋め込み要素の幅を親要素に合わせる */
    height: 400px; /* 高さを固定 */
}

.comment-container {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.Title {
    font-size: 20px; /* 例として24pxに設定。必要に応じてサイズを調整 */
    font-weight: bold; /* 太字にする場合 */
    color: #333; /* 文字色を指定（例: ダークグレー） */
}

.highlight-keywords {
    font-size: 25px;
    color: #333; /* 濃い黒 */
    font-weight: bold; /* 太字 */
}

.highlight-keyword{
    text-align: center;

}

button#speakButton,
button#stopButton {
    font-size: 1em;
    padding: 5px 10px;
    margin: 10px;
    background-color: #4CAF50; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button#speakButton:hover,
button#stopButton:hover {
    background-color: #45a049; /* ホバー時の背景色 */
}

button#stopButton {
    background-color: #f44336; /* 停止ボタンの背景色 */
}

button#stopButton:hover {
    background-color: #d32f2f; /* 停止ボタンのホバー時の背景色 */
}

.Issue_title {
    font-size: 2em; /* タイトルのフォントサイズを大きく */
    font-weight: bold; /* タイトルを太字に */
    color: #333; /* タイトルの文字色 */
    text-align: center; /* タイトルを中央揃え */
    margin: 20px 0; /* タイトルの上下の余白を追加 */
    background-color: #f0f8ff; /* タイトルの背景色 */
    border-radius: 50px; /* タイトルの角を丸く */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* タイトルに影を追加 */
}

 .article-title {
    font-size: 0.9em; /* Smaller font size */
    color: #666; /* Lighter color */
   
    margin-bottom: 5px; /* Add some space below the article title */
}

 .issue-title {
    font-size: 1.2em; /* Larger font size */
    font-weight: bold; /* Bold font */
    color: #333; /* Darker color */
    display: block; /* Ensure it is displayed as a block element */
}

/* CSS for .text class */
.text {
    background-color: #f9f9f9; /* 背景色を設定 */
    border: 1px solid #ddd; /* 境界線を設定 */
    border-radius: 8px; /* 角を丸くする */
    padding: 15px; /* 内側の余白を設定 */
    margin: 20px 0; /* 外側の余白を設定 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ボックスシャドウを追加 */
}

.text p {
    line-height: 1.6; /* 行間を設定 */
    color: #333; /* 文字色を設定 */
    font-size: 1em; /* フォントサイズを設定 */
    margin: 0; /* 段落の余白をリセット */
}

/*広報やはばバックナンバー*/
.back-number-button {
    display: inline-block;
    background-color: #f0f0f0; /* ボタンの背景色を明るいグレーに */
    color: #333; /* ボタンの文字色をダークグレーに */
    font-size: 0.7em; 
    padding: 5px 10px; /* ボタンの内側の余白を控えめに */
    text-decoration: none; /* 下線なし */
    margin-left: 10px; /* ボタンの左側の余白を少し控えめに */
    border: 1px solid #ccc; /* ボタンの境界線を薄いグレーに */
    border-radius: 3px; /* ボタンの角を少し丸くする */
    cursor: pointer; /* カーソルをポインターに変更 */
    transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}

.back-number-button:hover {
    background-color: #e0e0e0; /* ホバー時の背景色を少し濃いグレーに */
}

/*広報やはば各号URL*/
.common-button {
    display: inline-block;
    background-color: #f0f0f0; /* ボタンの背景色を明るいグレーに */
    color: #333; /* ボタンの文字色をダークグレーに */
    font-size: 0.7em; 
    padding: 5px 10px; /* ボタンの内側の余白を控えめに */
    text-decoration: none; /* 下線なし */
    margin-left: 10px; /* ボタンの左側の余白を少し控えめに */
    border: 1px solid #ccc; /* ボタンの境界線を薄いグレーに */
    border-radius: 3px; /* ボタンの角を少し丸くする */
    cursor: pointer; /* カーソルをポインターに変更 */
    transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}

.common-button:hover {
    background-color: #e0e0e0; /* ホバー時の背景色を少し濃いグレーに */
}

.red{
    color: red; 
}

.keyword{
    width: 200px;
    max-width: 300px; 
}

.manual{
    font-size: 25px;
}

.footer{
    background-color: #333; /* 背景色をダークグレーに設定 */
    color: #fff; /* 文字色を白に設定 */
    text-align: center; /* テキストを中央揃えに設定 */
    padding: 20px 0; /* 上下に20pxのパディングを設定 */
    font-family: 'Arial', sans-serif; /* フォントをArialに設定 */
    font-size: 14px; /* フォントサイズを14pxに設定 */
    width: 100%; /* フッターの幅を100%に設定 */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); /* 上にシャドウを追加 */
    margin-top: auto; /* フッターをページの一番下に配置 */
}

/* メディアクエリ */
@media (max-width: 768px) {
      /* ハンバーガーメニューを表示 */
  #humberger {
    display: inline-block;
  }
  
  /* ナビゲーションメニューを非表示 */
  .nav-list {
    display: none;
    flex-direction: column;
  }
  
  /* ナビゲーションメニューの表示 */
  .nav-list.show {
    display: flex;
  }
  
  .nav-list li {
    margin: 10px 0;
  }

    .box-content {
        flex-direction: column; /* 縦並びに配置 */
        align-items: flex-start; /* 左寄せ */
    }

    .box1, .box2, .box3  {
        width: 100%; /* 親要素の幅に合わせる */
    }

    .box3,.box2 {
        text-align: left; /* テキストを左寄せ */
    }

    .plus-button {
        width: 40px; /* ボタンのサイズを小さく */
        height: 40px; /* ボタンの高さを小さく */
        line-height: 40px; /* テキストの高さを調整 */
    }

    .pdf-container embed {
        height: 300px; /* 高さを小さく */
    }

    .comment-box,.comment-info,.reply-box,.reply-info,.reply-toggle {
        font-size: 0.8em; /* フォントサイズを小さく */
    }

    .Title {
        font-size: 18px; /* タイトルのフォントサイズを小さく */
    }

    .Issue_title {
        font-size: 1.5em; /* タイトルのフォントサイズを小さく */
        margin: 10px 0; /* タイトルの上下の余白を少なく */
    }

    .Description_title {
        font-size: 1.2em; /* フォントサイズを小さく */
    }
    
    .footer {
        font-size: 12px; /* 小さい画面ではフォントサイズを12pxに設定 */
        padding: 10px 0; /* パディングを10pxに設定 */
      }
}

/* ハンバーガーメニューのスタイル */
#humberger {
    position: relative;
    height: 46px;
    width: 46px;
    display: none;
    box-sizing: border-box;
    background-color: #fff;
    border: 2px solid #444;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #humberger div {
    position: absolute;
    left: 7px;
    height: 2px;
    width: 28px;
    background-color: #444;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
  }
  
  #humberger div:nth-of-type(1) {
    bottom: 30px;
  }
  
  #humberger div:nth-of-type(2) {
    bottom: 20px;
  }
  
  #humberger div:nth-of-type(3) {
    bottom: 10px;
  }
  
  /* ナビゲーションメニューのスタイル */
  .nav-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
  }
  
  .nav-list li {
    margin-right: 15px;
  }
  
  #keyword-search-form {
    display: inline-block;
  }