@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=M+PLUS+1p&family=M+PLUS+Rounded+1c&display=swap");

:root {
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.navmenu {
  background: linear-gradient(
    0deg,
    rgb(150, 150, 150) 0%,
    rgb(230, 230, 230) 10%,
    rgb(255, 255, 255) 100%
  );
}

.nav-logo img {
  width: 270px;
}

.main-video video {
  width: 100%;
  padding-bottom: 50px;
}

/* マイメニュー */
.card-effect {
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease-in-out;
}

.card-effect:hover {
  box-shadow: none;
  transform: translateY(3px);
}

.icons {
  display: flex;
}

.icon {
  font-size: 2.8rem;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.icon:hover {
  transform: translateY(3px);
}

.icon i {
  color: #696969;
}

/* ログインフォーム */
.login-form {
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 15px;
}

.login-form input {
  max-width: 300px;
  margin: auto;
  height: 50px;
}

@media (max-width: 555px) {
  .login-form {
    width: 90%;
  }

  .login-logo img {
    width: 300px;
  }
}

/* タイムテーブル */
.form-timetable {
  width: 90%;
  margin: auto;
  padding: 15px;
}

.form-timetable select {
  max-width: 200px;
  height: 50px;
}

.select-form {
  max-width: 300px;
  margin: auto;
  height: 50px;
}

.form-user-list {
  max-width: 1000px;
  margin: auto;
  padding: 15px;
}

/* ニュース記事 */
.latest-news {
  border-bottom: 3px solid #ccc;
  color: #333;
}
.news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted #ccc;
  padding: 20px 20px;
}
.news-list .item:first-child a {
  border-top: 1px solid #ccc;
}
.news-list .item .date {
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span {
  background: #999;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .category-w {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category-w span {
  background: #ff0000;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title {
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title {
  color: rgb(59, 59, 59);
}

@media screen and (max-width: 1200px) {
  .news-list .item a {
    flex-wrap: wrap;
  }
  .news-list .item .date {
    min-width: 100px;
  }
  .news-list .item .title {
    margin-top: 10px;
  }
}

/* チャットエリア */
#chatMessages {
  height: 600px; /* PCでの高さを固定 */
  overflow-y: auto; /* 縦スクロールを許可 */
  border: 1px solid #ccc; /* 枠線を追加してフレームっぽく見せる */
  padding: 10px;
}
