body {
  font-family: "遊ゴシック Medium", sans-serif;
  margin: 0;
}

h1 {
  text-align: center;
  font-size: 26px;
}

h1 p {
  font-size: 20;
  justify-content: center;
}

nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background-color: #000066;

}

.li1 {
  display: flex;
  background-color: #000066;
}

#li1_left {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  background-color: #000066;
}

nav li :hover {
  background-color: orange;
}

nav ul p {
  background-color: rgb(235, 235, 235);
  color: blue;
  display: inline-block;
  margin: 0;
  padding: 1em;
  font-size: 12px;
}

nav li a {
  display: inline-block;
  margin: 0;
  padding: 1em;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

section {
  padding-left: 1em;
  padding-right: 1em;
  border-color: black;
}

section p {
  box-sizing: border-box;
  width: 100%;
  padding-left: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
  background-color: #000066;
  color: #fff;
  font-size: 20px;
  border-radius: 0.3em;
}

#anotation{
  text-decoration-line: underline;
  background-color: white;
  color: black;
}

#footer_id {
  text-align: center;
}

footer ul {
  margin: 50px 0 0;
  padding: 0;
  text-align: center;
}

footer li {
  display: inline;
  margin: 0 0.5rem;
}

footer a {
  text-decoration: none; /* リンクの下線を消す */
  position: relative; /* 擬似要素の基準位置を設定 */
  color: blue; /* リンクテキストの色 */
  padding-bottom: 10px; /* リンクテキスト下部の余白 */
}

footer a::before {
  content: ""; /* 擬似要素の内容は空に設定 */
  position: absolute; /* リンクを基準に絶対位置を指定 */
  left: 50%; /* 下線を中央から表示するための開始位置 */
  bottom: 0; /* リンクテキストの下に下線を配置 */
  width: 0; /* 初期の下線幅を0に設定 */
  height: 2px; /* 下線の太さ */
  background-color: #333; /* 下線の色 */
  transition: all 0.4s ease; /* ホバー時の下線アニメーション効果 */
}

footer a:hover::before {
  width: 100%; /* ホバー時に下線が全体に広がるよう設定 */
  left: 0; /* 下線の開始位置を左端に設定 */
}

footer a:visited {
  color: blueviolet;
}

.search_main {
  padding-top: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  display: flex;
  flex-wrap: wrap;
}

#search_main_overlay1 {
    visibility: hidden;
    position: absolute;
    background-color: white;
    left:10%;
    top:10%;
    width: 85%;
    z-index:2147483647;
    text-align: right;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

#close_button1{
    top: 0;
    right: 0;
    margin-right: 0;
    height: auto;
    background-color: red;
    color:white;
    font-size: 20px;
}

.submit_button{
  width: 70px;
  background-color: #000066;
  color: white;
  border-radius: 0.2em;
}
#close_button:hover{
  background-color: #d08a8a;
}

.search_section {
  width: 380px;
  height: 150px;
  margin-left: 1em;
  margin-bottom: 1em;
  border-color: black;
}

.search_section_result {
  width: 380px;
  height: 50%;
  border-color: black;
}

.search_submit_button {
  width: 3em;
  background-color: #000066;
  color: white;
  border-radius: 0.6em;
  font-size: 15px;
}

.search_submit_button:hover {
  color: black;
  background-color: white;
  transition: 0.4s;
}

.search_input_studentid {
  width: 23%;
}

.search_iframe {
  width: 99.5%;
  height: 2100px;
  border-color: black;
}

#search_section_result_p1 {
  box-sizing: border-box;
  width: 100%;
  padding-left: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
  background-color: #000066;
  color: #fff;
  font-size: 16px;
  border-radius: 0.3em;
}

.search_section_p1 {
  box-sizing: border-box;
  width: 100%;
  padding-left: 2px;
  margin-top: 2px;
  margin-bottom: 2px;
  background-color: #000066;
  color: #fff;
  font-size: 16px;
  border-radius: 0.3em;
}

.search_section_form {
  margin-left: 1em;
  margin-right: 1em;
  padding-top: 0.1em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.1em;
  background-color: rgb(228, 228, 228);
}

#searchByStudentId {
  display: flex;
  flex-wrap: wrap;
}

#button_wrapper{
  position: relative;
  padding-left: 1em;
  padding-right: 1em;
  display: block;

}

#reload_button{
  position: absolute;
  right:3em;
  text-align: center;
  width: 10%;
  height: 40px;
  color: white;
  background-color: #000066;
}