@charset "UTF-8";

/* ==================================== */
/*   変数定義（入力フォームと統一） */
/* ==================================== */
:root {
  --primary-color: #0056b3;
  --dark-color: #004494;
  --accent-light: #f0f7ff;
  --bg-color: #f5f7f9; /* 全体背景 */
  --text-main: #2c3e50;
  --text-sub: #636e72;
  --white: #ffffff;
  --border-color: #e0e6ed;
  --header-height: 55px;
}

/* ==================================== */
/*   全体設定 */
/* ==================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ==================================== */
/*   固定ヘッダー */
/* ==================================== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.header-content {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.header-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.home-icon {
  color: var(--primary-color);
  font-size: 1.8rem;
  text-decoration: none;
}
.header-spacer {
  width: 44px;
}
/* ==================================== */
/*   フッター */
/* ==================================== */

.footer {
  margin-top: auto;
  padding: 25px;
  background-color: #e9ecef;
  width: 100%;
  text-align: center;
  font-size: 0.95em;
  color: #555;
  border-top: 1px solid #dee2e6;
}

.footer p {
  margin: 1px 0;
  font-size: 9px;
}
/* ==================================== */
/*   メインレイアウト */
/* ==================================== */
.content-wrapper {
  max-width: 1000px;
  margin: calc(var(--header-height) + 30px) auto 60px;
  padding: 1rem;
}
/* ==================================== */
/* 🏢 一覧テーブル */
/* ==================================== */
.list-header {
  /*display: flex;*/
  align-items: center;
  margin-bottom: 15px;
  padding-left: 5px;
}
.list-header h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-main);
}

.table-container {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
table.modern-table {
  width: 100%;
  border-collapse: collapse;
}
table.modern-table th {
  background: #f8f9fa;
  padding: 15px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-sub);
  border-bottom: 2px solid #f0f0f0;
}
table.modern-table td {
  padding: 16px 15px;
  border-bottom: 1px solid #f6f6f6;
  vertical-align: middle;
}
.ttlBar {
  background-color: rgba(77, 155, 193, 0.8);
  border-color: rgb(77, 155, 193);
  margin: 10px;
  padding: 10px;
}

.syllabus {
  border-collapse: collapse;
  width: 100%;
  max-width: 1020px;
  font-size: 0.9rem;
}
.syllabus th,
.syllabus td {
  border: 2px solid #fff;
  background-color: #e6f1f6;
  padding: 1em;
}
.syllabus th {
  background-color: rgb(77, 155, 193);
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
  padding: 5px 15px;
  border-bottom: 1px solid #ccc;
  font-weight: 500;
}
.syllabus td {
  white-space: pre-wrap; /* 改行や空白をそのまま表示 */
}
