/* フォント設定 */
@font-face {
  font-family: "DOT";
  src: url("../font/DotGothic16-Regular.ttf") format("truetype");
}

/* 全体 */
body {
  font-family: "DOT", sans-serif;
  color: #1f2937;
  background-color: AACD05;
  margin: 0;
  padding: 16px;
}

/* タイトル部分 */
.mbody {
  background-color: #005bac;
  color: #AACD05;
  display: inline-block;
  padding: 8px 14px;
  border-left: 8px solid #00a0e9;
}

.mbody h1 {
  margin: 0;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #f4f8fb;
  color: #005bac;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 9999;
}

body.loaded #loading-screen {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 参加者欄 */
.member-row {
  max-width: 760px;
  margin-top: 12px;
  padding: 8px 10px;
  background-color: #ffffff;
  border: 1px solid #d7e3ef;
  box-sizing: border-box;
}

.member-row b {
  margin-right: 8px;
}

.admin {
  color: #005bac;
  display: inline-block;
  font-weight: bold;
}

.member {
  color: #3a9700;
  display: inline-block;
}

/* 募集中リンク */
@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }

  100% {
    opacity: 1;
  }
}

.blink-link {
  color: #f41f4d;
  margin-left: 10px;
  font-weight: bold;
  animation: blink 1.2s infinite;
}

/* お知らせ */
.top-news {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}

.news {
  flex: 1;
  max-width: 360px;
}

.news h2 {
  color: #005bac;
  margin-bottom: 6px;
  border-bottom: 3px solid #00a0e9;
}

.newsbox {
  background-color: #ffffff;
  border: 1px solid #b9d7ef;
  border-left: 6px solid #00a0e9;
  margin-top: 0;
  padding: 10px;
  max-height: 160px;
  overflow-y: auto;
}

/* 詳細表示 */
details {
  max-width: 760px;
  margin-top: 14px;
}

details summary {
  color: #ffffff;
  background-color: #005bac;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 12px;
  border-left: 8px solid #00a0e9;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  details {
    max-width: 100%;
  }
}

.sentence {
  font-style: normal;
  background-color: #ffffff;
  display: block;
  border: 1px solid #d7e3ef;
  border-left: 6px solid #00a0e9;
  padding: 10px 14px;
  margin-top: 8px;
  box-sizing: border-box;
}

details p,
details li,
details a {
  font-size: 16px;
  font-weight: normal;
}

.sentence {
  font-style: normal;
  background-color: #ffffff;
  display: inline-block;
  border: 1px solid #d7e3ef;
  border-left: 6px solid #00a0e9;
  padding: 10px 14px;
  margin-top: 8px;
}

/* 文字サイズ */
.small {
  font-size: 12px;
}

.normal {
  font-size: 16px;
}

.big {
  font-size: 24px;
}

/* スマホ・狭い画面用 */
@media (max-width: 900px) {
  body {
    padding: 10px;
  }

  .newsbox {
    max-height: 500px;
  }

  .top-news {
    gap: 12px;
  }
}

/* Twitter埋め込み用。一旦停止 */
/*
.activity {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
}

.twitter-tweet {
  width: 50px;
  max-width: 320px !important;
}
*/