body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #EEEEEE;
  font-family: 'Noto Sans JP', Arial, sans-serif; /* フォント変更 */
  color: #333; /* 基本のテキスト色を少し濃く */
}
.wrap{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
  background-color: #FAFAFA;
  box-shadow: 0 0 10px rgba(0,0,0,0.05); /* わずかな影を追加 */
}
.Header{
  background: #aaa url(header_bg.jpg) center no-repeat;
  position: relative;
  height: 300px;
  color: #333;
  background-size: cover;
  left: 0;
  top: 61px;
  width: 100%;
}
.Header-wrap{
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4); /* 透明度を少し調整 */
  display: block;
}
.Header_title{
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  text-align: center;
  color: black;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* タイトルにわずかな影 */
  /* ▼ 変更点: PC表示でも長いタイトルがはみ出ないように設定 */
  overflow-wrap: break-word;
  word-break: break-word;
  padding: 0 20px; /* 左右の余白を確保 */
  box-sizing: border-box; /* paddingを含めて幅100%にする */
}
.session{
  max-width: 1200px;
  overflow-wrap: break-word;
  font-size: 16px; /* フォントサイズを微調整 */
  padding:20px; /* パディングを増やす */
  /* 必要であればセクション間にボーダー */
  /* border-bottom: 1px solid #e0e0e0; */
}
.session:last-of-type {
    margin-bottom: 20px; /* 最後のセッションは少し小さめに */
    border-bottom: none; /* 最後のセッションにはボーダーなし */
}

.center{
  text-align: center;
}
.left{
  text-align: left;
}
.right{
  text-align: right;
}
.section-heading{ /* 新しいセクションタイトルのスタイル */
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50; /* より引き締まった色 */
  padding-bottom: 5px;
  margin-bottom: 25px; /* 下のコンテンツとの間に余白 */
  border-bottom: 3px solid #007bff; /* アクセントカラーの下線 */
  display: inline-block; /* 下線が見出しの幅に合わせる */
  margin-left: 20px; /* indentと合わせる */
}
/* li { */
/* margin: 5px 0px 0px 20px; */
/* } */ /* liタグは削除 */
table{
  border-spacing: 15px 5px;
  width: 100%; /* テーブルの幅を100%に */
}
th{
  width: 85px;
  text-align-last: justify;
}
a:link, a:visited, a:hover, a:active, a:hover {
  color: black;
}
footer{
  max-width: 1200px;
  text-align: right;
  margin-left: auto;
  margin-right: auto;
  padding: 15px 20px; /* パディングを追加 */
  font-size: 14px;
  color: #555;
}
hr{ /* hrタグは原則使用しないためコメントアウト */
  /* width: 95%; */
  display: none; /* hrタグを非表示にするか、HTMLから削除する */
}
.indent{
  margin-left: 20px;
}
span{
  display: inline-block;
  /* white-space: nowrap; */ /* モバイルで途切れる可能性があるのでコメントアウト */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
}
/* 必要であれば、特定のspanにのみ適用 */
.nowrap-span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.heading{ /* 小見出しのスタイル。section-headingと区別 */
  text-decoration: underline;
  font-weight:bold;
  font-size: 20px;
  margin-bottom: 5px;
  color: #444; /* やや濃い色に */
  /* ▼ 変更点: 長いタイトルがはみ出ないように設定 */
  overflow-wrap: break-word;
  word-break: break-word;
}
.sub-heading { /* 新しい小見出しのスタイル */
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px; /* 上部に少し余白 */
    color: #444;
}

.group{
  margin-bottom: 15px; /* グループ間の余白を増やす */
}
/* .group div{
  margin-bottom: 0;
} */
.group span{
  margin-bottom: -5px;
}
.res{
  margin-bottom: 10px;
  border-style: none none none solid;
  padding-left: 10px;
  border-color: gray;
  border-width: 5px;
  background-color: #f9f9f9; /* わずかな背景色 */
  padding: 10px; /* パディングを追加 */
  border-radius: 4px; /* 角を少し丸める */
}
.res_mine{
  border-color: #007bff; /* アクセントカラーに */
}
.res_err{
  border-color: red;
}
.res_title{
  font-weight:bold;
  font-size: 17px; /* タイトルを少し大きく */
  margin-bottom: 5px;
}

.logo{
  font-size: 30px;
  font-weight: bolder;
}
.logo a{
  text-decoration: none;
  color: black; /* ロゴの色は黒を維持 */
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #e0e0e0; /* ナビゲーションバーの色を調整 */
    color: black;
    /* padding: 10px 0; */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ナビバーに影 */
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px; /* パディングを調整 */
}
.nav-links {
    list-style: none;
    display: flex;
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
}
.nav-links li {
    display: inline;
}
.nav-links a {
    color: black;
    text-decoration: none;
    padding: 8px 15px; /* パディングを増やす */
    margin: 0 5px; /* リンク間のマージン */
    border-radius: 4px; /* 角を丸める */
    transition: background-color 0.3s ease; /* ホバーアニメーション */
}
.nav-links a:hover {
    background-color: #d0d0d0; /* ホバー時の背景色 */
    text-decoration: none;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 28px; /* サイズを少し大きく */
    cursor: pointer;
}
@media (max-width: 768px) {
  .Header{
    top:40px;
  }
    .nav-links {
        display: none;
        flex-direction: column;
        background: #e0e0e0; /* モバイルメニューの背景色 */
        position: absolute;
        top: 60px; /* ナビバーの高さに合わせて調整 */
        right: 0;
        padding: 10px 0;
        width: 100%; /* 幅を100%に */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .Header_title{
      /* ▼ 変更点: 文字サイズを少し小さく */
      font-size: 36px;
      /* ▼ 変更点: keep-allをやめて、適切に改行されるように変更 */
      word-break: break-word;
      /* ▼ 変更点: word-breakをサポートしないブラウザ用にoverflow-wrapも指定 */
      overflow-wrap: break-word;
      /* ▼ 変更点: word-break: keep-all; は削除 */
      /* word-break: keep-all; */ /* 日本語の改行を考慮 */
      /* ▼ 変更点: 左右の余白を調整 */
      padding: 0 20px;
    }
    .nav-links li {
        text-align: center;
        padding: 10px 0;
        margin: 0;
    }
    .nav-links a {
        padding: 12px 10px; /* モバイルメニューのリンクパディング */
        margin: 0;
        display: block; /* リンク全体をタップ可能に */
    }
    .menu-toggle {
        display: block;
    }
    /* .nav-links li { */
    /* display: flex; */
    /* } */ /* ここは不要 */

    .session {
        padding: 15px; /* モバイルでのパディングを調整 */
        font-size: 15px;
    }
    .section-heading {
        font-size: 24px;
        margin-left: 15px;
    }
    .indent {
        margin-left: 15px;
    }
    .heading, .sub-heading {
        font-size: 18px;
    }
    .res_title {
        font-size: 16px;
    }
    table {
        font-size: 14px;
        border-spacing: 8px 3px;
    }
    th {
        width: 60px; /* モバイルでのthの幅 */
    }
}


.label {
  display: inline-block;
  width: 6em;  /* 適宜調整 */
  font-weight: bold;
}