/* camad/static/camad/css/base.css */
:root {
  --primary-color: #084F6A;
  --secondary-color: #4AA0C7;
  --tertiary-color: #b1b5b8;
  --quaternary-color: #0000001a;
}

body{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 固定ヘッダー部分 */
.fixed-header {
  font-family: "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  /* box-shadow: 0 2px 5px #0000001a; */
}

/* バナー全体 */
.banner {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 25px 50px;
  font-size: 32px;
  font-weight: bold;
  flex-wrap: wrap; /* 幅が狭い時に折り返し可能に */
  letter-spacing: -1px;
}

/* 左側 */
.banner-left {
  text-align: center;
  color: #084F6A;
  font-size: 10px;
  min-width: 200px; /* 最小幅を設定 */
  letter-spacing: -1px;
}

/* 左側上の大学名 */
.banner-title {
  font-size: 25px;
  font-weight: bold;
  white-space: normal; /* テキストの折り返しを許可 */  
}

/* 左側下のセンター名 */
.banner-subtitle {
  color: #084F6A;
  font-size: 12px;
  font-weight: bold;
  white-space: normal; /* テキストの折り返しを許可 */
}
  
/* 右側のシステム名 */
.banner-right {
  font-size: 37px;
  color: #084F6A;
  font-weight: bold;
  flex: 1; /* 利用可能なスペースを使用 */
  white-space: normal; /* テキストの折り返しを許可 */
  letter-spacing: -1px;
}

/* 仕切り（縦線） */
.banner-divider {
  min-width: 3px;
  width: 3px;
  height: 50px;
  background-color: #084F6A;
  margin: 0 25px;
}
  
/* ナビゲーションのコンテナ */
.nav-container {
  width: 100%;
  text-align: left;
  margin-top: 3px;
  padding-left: 50px;
}

/* ナビゲーションメニュー */
.nav-menu {
  display: inline-block;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  display: inline-block;
  margin: 0 15px;
}

.nav-menu a {
  text-decoration: none;
  color: #b1b5b8;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* マウスオーバー時の色変更 */
.nav-menu a:hover {
  color: #007491;
	opacity: 1;
}

.nav-menu .not-implemented:hover {
  color: #b1b5b8;
  opacity: 0.6;
}

/* クリック時（アクティブ時）の色をバナーの色に合わせる */
.nav-menu a:active,
.nav-menu a.selected {
  color: #084F6A;
  font-weight: bold;
}

/* メインコンテンツ用のスペース確保 */
.content {
  margin-top: 142px; /* 固定ヘッダーの高さ分の余白 */
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #b1b5b8;
}

.flex-container {
  display: flex;
}


/* レスポンシブ対応 - 画面幅が768px未満の場合 */
@media (max-width: 768px) {
    .banner {
        padding: 15px 20px;
    }
    
    .banner-left {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .banner-divider {
        display: none; /* 縦線は非表示に */
    }
    
    .banner-right {
        width: 100%;
        font-size: 24px;
        text-align: center; /* GHDMSを中央表示にしておく */
    }
    
    .nav-container {
        padding-left: 20px;
    }
    
    .content {
        padding: 15px 20px;
    }
    
    /* ログイン画面のフォーム調整 */
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-group label {
        text-align: left;
        margin-bottom: 5px;
        width: auto;
    }
    
    .form-group input {
        width: 100%;
    }
  }
  
  /* さらに小さい画面用（スマホ等） */
  @media (max-width: 480px) {
    .banner-title {
        font-size: 22px;
    }
    
    .banner-right {
        font-size: 18px;
    }
  }
