/*index.html*/
  body.index-page{
      background-color: #f5f5dc;
      font-family: sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }
    .alert-box {
      display: none;
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      background-color: #4caf50;
      color: white;
      padding: 15px 30px;
      border-radius: 0 0 5px 5px;
      font-size: 16px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      z-index: 9999;
     }
    .login-box {
      background-color: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      text-align: center;
    }

    .login-box h2 {
      margin-bottom: 20px;
    }

    .login-box input {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      font-size: 16px;
    }

    .login-box button {
      padding: 10px 20px;
      font-size: 16px;
      background-color: blue;
      color: white;
      border: none;
      cursor: pointer;
    }

    .login-box button:hover {
      background-color: navy;
    }
    #loading {
     display: none;
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     font-size: 24px;
     font-weight: bold;
     background-color: rgba(255, 255, 255, 0.9);
     padding: 20px 40px;
     border-radius: 10px;
     box-shadow: 0 0 10px rgba(0,0,0,0.3);
     z-index: 9999;
    }

   #index-close-btn {
 position: fixed;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  transition: 0.3s;
}
#index-close-btn:hover {
  background-color: #f0f0f0;
  color: red;
  border-color: red;
}


/*about.html*/
a{
  text-decoration: none;
}

body.about-page{
  margin: 10px;
  font-family: sans-serif;
  background-color: #f5f5dc;
}

.top-menu {
  background-color: #000000;
  padding: 10px 20px;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-list {
  list-style: none;
  display: flex;
  gap: 10px; /* ← ここを広げて検索ボックスに余白を */
  margin: 0;
  padding: 0;
}

.menu-list li {
  padding: 0 15px;
  border-right: 1px solid #ccc;
}

.menu-list li:last-child {
  border-right: none;
}

.menu-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.search-box {
  display: flex;
  gap: 5px;
}

.search-box input {
  padding: 5px;
  font-size: 14px;
}

.search-box button {
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}

.main-layout {
  display: flex;
}

.side-menu {
  width: 200px;
  padding: 20px;
}

.side-menu h3 {
  margin-top: 0;
}

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

.side-menu li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.side-menu li:last-child {
  border-bottom: none;
}

.side-menu a {
  text-decoration: none;
  color: #333;
}

.content-area {
  flex: 1;
  padding: 40px;
}

.header-box {
  font-size: 40px;
  background-color: #f5f5dc;
  padding: 7px;
  border-bottom: 2px solid #ccc;
}
.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0px;
}
.circle {
  width: 180px;
  height: 180px;
  background-color: blue;
  border-radius: 50%;
  font-size: 20px;
  color: black;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.side-menu a:hover{
  background-color: #e0e0e0; /* 背景色を変更 */
  color: #0000ff;            /* 文字色を変更（青） */
  padding: 10px;              /* 少し余白を追加して見やすく */
  border-radius: 5px;        /* 角を丸くして柔らかい印象に */
  transition: 0.3s;          /* なめらかに変化 */
}
.menu-list li a:hover{
  background-color: #e0e0e0; /* 背景色を変更 */
  color: #0000ff;            /* 文字色を変更（青） */
  padding: 10px;              /* 少し余白を追加して見やすく */
  border-radius: 5px;        /* 角を丸くして柔らかい印象に */
  transition: 0.3s;
}
.highlight {
  background-color: yellow !important;
  color: red !important;
  }
/*追加分ばってん*/
#pageCloseButton {
  position: fixed;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#pageCloseButton:hover {
  background-color: #f0f0f0;
  color: red;
  border-color: red;
}
