/* ============================
   共通レイアウト（必要なら）
============================ */
.page {
  padding: 20px;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* ============================
   Page2 専用スタイル
============================ */
.page2 .title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1em;
}

.page2 .item {
  padding: 10px;
  background: #f0f8ff;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ============================
   Page3 専用スタイル
============================ */
.page3 .lead {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1em;
  color: #444;
}

.page3 .card {
  border: 1px solid #ccc;
  padding: 1em;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 1.5em;
}

.page3 .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page3 .grid .item {
  background: #e0f0ff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

/* ============================
   News 専用スタイル
============================ */
.news .headline {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.news .date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1em;
}

.news .article {
  padding: 1em;
  border-left: 4px solid #106eb7;
  background: #f5faff;
  margin-bottom: 1.5em;
}
/* ============================
   Page2：ど派手スタイル
============================ */
.page2 {
  padding: 20px;
  background: linear-gradient(135deg, #ff0080, #ff8c00);
  color: #fff;
  min-height: 100vh;
  animation: bgMove 10s infinite alternate ease-in-out;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.page2 .card {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 1.5em;
  border-radius: 16px;
  margin-bottom: 1.5em;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}

.page2 .card:hover {
  transform: scale(1.05);
}

.page2 .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page2 .grid .item {
  background: rgba(255, 255, 255, 0.25);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.page2 .grid .item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.4);
}

.page2 a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #fff;
  color: #ff0080;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
  transition: transform 0.2s ease;
}

.page2 a:hover {
  transform: scale(1.1);
}
