/* ===============================
   全体レイアウト（固定レイアウト版）
================================ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  font-family: "Helvetica", "Arial", sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* ===============================
   ヘッダー
================================ */
header {
  height: 120px;
  background: navy;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

header h1 {
  font-size: 2em;
  margin: 0;
  text-align: center;
}

header nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  padding: 8px 12px;
  border-radius: 4px;
}

header nav a.active,
header nav a:hover {
  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 40px;
  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;
  display: block;
  text-align: left;
}

main.content p {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* テキスト＋画像レイアウト */
.full-table {
  width: calc(100% + 40px);
  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: 80%;
  text-align: left;
}

.image-cell {
  width: 20%;
  text-align: center;
}

.image-cell img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===============================
   今週の予定（ボトム）
================================ */
.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: 40px;
  box-sizing: border-box;
}

.bottom div h2 {
  border-left: 5px solid navy;
  padding-left: 10px;
  margin: 0 0 10px 0;
}

/* ===============================
   右カラム内要素（後半CSS統合）
================================ */
.right h2 {
  border-left: 5px solid navy;
  padding-left: 10px;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.right table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.right th,
.right td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.right th {
  background-color: #e6ecf9;
  color: navy;
}

.right tr:nth-child(even) {
  background-color: #f5f8fc;
}

.right .info-box {
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ===============================
   フッター
================================ */
footer {
  height: 60px;
  background-color: #e6ecf9;
  color: navy;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   スマホ対応
================================ */
@media screen and (max-width: 768px) {
  html, body {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  main.content {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .bottom {
    height: auto;
  }
  @media (max-width: 768px) {
  header {
    height: auto;
  }
}