/* Google Fonts のNoto Sans JPを使います */

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

header {
  background-color: #004d99;
  color: white;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.8rem;
  margin: 0;
}

nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s;
}

nav a:hover,
nav a.active {
  background-color: #003366;
}

.hero {
  background: linear-gradient(90deg, #004d99, #007acc);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 8px;
}

.about, .tiktok, .news-preview {
  background-color: white;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

h2, h3 {
  color: #004d99;
  margin-top: 0;
}

.tiktok a {
  color: #0099ff;
  font-weight: 700;
}

.tiktok-embed {
  margin-top: 15px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.news-preview ul {
  list-style: disc inside;
  padding-left: 15px;
}

.news-preview ul li {
  margin-bottom: 10px;
}

.news-preview a {
  color: #004d99;
  font-weight: 600;
  text-decoration: none;
}

.news-preview a:hover {
  text-decoration: underline;
}

.news-link {
  text-align: right;
  margin-top: 10px;
}

main {
  margin-bottom: 60px;
}

footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

.news-article {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

.news-article time {
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .tiktok-embed iframe {
    width: 100%;
    height: 480px;
  }
}