@charset "utf-8";

/* --- 変数定義 (色調整) --- */
:root {
  /* 背景を薄いグレーに変更 */
  --main-bg: #eeeeee;
  
  --content-bg: #ffffff;
  
  /* アクセントカラー（ヘッダー部分など） */
  --accent-color: #003366; 
  
  --text-color: #333333;
  --link-color: #0000ff;
  
  /* 強調行の設定（青系に変更） */
  --highlight-bg: #e6f2ff;   /* 非常に薄い水色背景 */
  --highlight-text: #0044cc; /* 鮮やかな青文字 */
}

/* --- 基本設定 --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  text-align: center;
}

a { color: var(--link-color); text-decoration: underline; }
a:hover { background-color: #ffff00; }

/* --- メインレイアウト --- */
#contents {
  width: 100%;
  max-width: 850px;
  margin: 2em auto;
  padding: 3em 2em;
  background-color: var(--main-bg); /* ここが薄いグレーになります */
  border-radius: 8px;
}

/* --- ガイドセクション --- */
#guide h1 {
  background-color: var(--content-bg);
  color: #000;
  font-size: 1.8rem;
  margin: 0 auto 2em auto;
  padding: 1em;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ボタン */
#guide a.button01 {
  display: inline-block;
  background-color: var(--content-bg);
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 40px;
  margin: 2em auto;
  border-radius: 5px;
  border: 1px solid #aaa;
  box-shadow: 0 2px 0 rgba(0,0,0,0.1);
  transition: all 0.2s;
}
#guide a.button01:hover {
  background-color: #ffffcc;
  transform: translateY(2px);
  box-shadow: none;
}

#guide p.note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2.5em;
}

/* --- 掲示板スタイルの定義 (サイズ縮小版) --- */
.board-container {
  background-color: var(--content-bg);
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  
  /* サイズ調整：幅を狭く */
  max-width: 600px; 
}

/* 掲示板の見出し帯 */
.board-header {
  background-color: var(--accent-color);
  color: #fff;
  padding: 8px 15px; /* 少し高さを減らす */
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.05em;
}

.board-content {
  padding: 15px; /* 余白を少し減らす */
}

/* テーブルデザイン */
table.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem; /* 文字を少し小さく */
}

table.schedule-table th,
table.schedule-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

table.schedule-table th {
  width: 38%;
  color: #444;
  font-weight: bold;
  white-space: nowrap;
}

/* 強調行のデザイン（青系） */
tr.highlight-row th,
tr.highlight-row td {
  background-color: var(--highlight-bg); /* 薄い水色 */
  color: var(--highlight-text);          /* 濃い青 */
}
tr.highlight-row strong {
  font-weight: bold;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 600px) {
  #contents { padding: 1.5em 1em; }
  #guide h1 { font-size: 1.4rem; padding: 0.8em; }
  
  /* スマホでは表を縦並びに */
  table.schedule-table th,
  table.schedule-table td {
    display: block;
    width: 100%;
    padding: 6px 8px;
    border: none;
  }
  table.schedule-table th {
    margin-top: 8px;
    background-color: #f7f7f7;
    white-space: normal;
  }
  table.schedule-table td {
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
  }
}
