@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  /* 明るいテーマのカラーパレット */
  --bg-color: #f8f9fa; /* ベース背景色（明るいグレー） */
  --panel-bg: #ffffff; /* パネル・カード背景色（純白） */
  --text-main: #212529; /* メインテキスト（濃いグレー・ほぼ黒） */
  --text-sub: #6c757d; /* サブテキスト */
  
  /* アクセントカラー（※後でロゴの色に合わせて調整可能） */
  --accent-main: #0056b3; /* 仮：信頼感のあるブルー */
  --accent-light: rgba(0, 86, 179, 0.1);
  --accent-hover: #004494;

  /* 影の設定 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Serif JP', serif; /* 明朝体ベース */
  background: transparent;
  color: var(--text-main);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin: 4rem 0 2rem;
  color: var(--accent-main);
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-main);
}

/* Header & Navigation */
header {
  background: var(--panel-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

nav a:hover, nav a.active {
  color: var(--accent-main);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(200, 240, 255, 0.35) 0%, rgba(135, 206, 250, 0.2) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 5%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 600px;
  margin: 0 auto 0;
}

/* Main Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 5%;
}

/* Cards (Grid) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--panel-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent-main);
}

.card-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-main);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif; /* ボタンは視認性重視でゴシック */
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-main);
  border: 2px solid var(--accent-main);
}

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-main);
}

/* Lists */
.news-list {
  background: var(--panel-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.3s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: var(--bg-color);
}

.news-date {
  color: var(--text-sub);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  margin-right: 2rem;
  min-width: 100px;
}

.news-title {
  font-weight: 700;
}

/* Footer */
footer {
  background: var(--panel-bg);
  text-align: center;
  padding: 3rem 5% 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-sub);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-main);
}

/* Responsive (Mobile First Focus) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem 5%;
  }
  
  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
  }
  
  .hero {
    padding: 4rem 5%;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1.5rem;
  }
  
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }
  
  .news-date {
    margin-bottom: 0.5rem;
  }
}
