/* ===== 全体レイアウト ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 1000px;
  overflow: hidden;
}

/* ===== 共通：見出し左位置 ===== */
:root {
  --title-left: 40px; /* ← 今週の予定と揃える基準 */
}

/* ===== ヘッダー ===== */
header {
  height: 120px;
  background: navy;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

header h1 {
  font-size: 2em;
  margin: 0;
  text-align: center;
}

/* ===== ナビ ===== */
nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  background-color: #e6ecf9;
  color: navy;
}

/* ===== メイン（チーム紹介） ===== */
main.content {
  height: 410px !important;
  min-height: 410px !important;
  max-height: 410px !important;
  position: relative;
  overflow: hidden;
  padding: 20px 20px 20px var(--title-left);
  box-sizing: border-box;
}

/* 背景ロゴ */
main.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images_new/logo.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 410px;
  opacity: 0.3;
  z-index: 0;
}

/* チーム紹介 見出し（縦棒） */
main.content h2 {
  border-left: 5px solid navy;
  padding-left: 10px;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 1;
}

main.content p {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* ===== ボトム（今週の予定） ===== */
.bottom {
  height: 410px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
}

.bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images_new/logo_1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 410px;
  opacity: 0.3;
  z-index: 0;
}

.bottom div {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-left: var(--title-left);
  box-sizing: border-box;
}

/* 今週の予定 見出し（縦棒） */
.bottom div h2 {
  border-left: 5px solid navy;
  padding-left: 10px;
  margin: 0 0 10px 0;
}

/* ===== フッター ===== */
footer {
  height: 60px;
  background-color: #e6ecf9;
  color: navy;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ★ メインの見出しは必ず左寄せ・ブロック化 */
main.content h2 {
  display: block;
  text-align: left;
}
.full-table {
  width: calc(100% + 40px);   /* padding 20px × 左右 */
  margin-left: -20px;
  margin-right: -20px;
  border-collapse: collapse;
}

.full-table td {
  border: none;
  padding: 20px;
  vertical-align: middle;
  box-sizing: border-box;
}

/* 左：テキスト */
.text-cell {
  width: 60%;
  text-align: left;
}

/* 右：画像 */
.image-cell {
  width: 40%;
  text-align: center;
}

/* 画像サイズ調整 */
.image-cell img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.simple-table {
  width: 100%;
  table-layout: auto;
}

.image-cell {
  vertical-align: top;
}

.image-cell img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== チーム紹介 表の修正 ===== */
.simple-table {
  width: 100%;
  border-collapse: collapse;
}

.text-cell {
  width: 60%;
  vertical-align: top;
}

.image-cell {
  width: 40%;
  vertical-align: top;
}

.image-cell img {
  display: block;
  max-width: 100%;
  height: auto;
}
