html, body {
  margin: 0;
  padding: 0;
  width: 1920px;
  height: 720px;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* ---------------- 左パネル ---------------- */
#left-panel {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  color: #fff;
}

#clock {
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: #f0f0f0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  transition: all 0.3s ease-in-out;
}

#date {
  font-size: 36px;
  margin-top: 20px;
  color: #cccccc;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

#weather {
  font-size: 36px;
  margin-top: 10px;
  color: #a0dfff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

/* ---------------- 右パネル ---------------- */
#right-panel {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
}

#news-card {
  width: 100%;
  height: 300px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  background-image: url('img/news-bg.png');
  background-size: cover;
  background-position: center;
  padding: 30px;
  color: #fff;
  font-size: 24px;
}

.news-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.news-item.show {
  opacity: 1;
  transform: translateX(0);
}

.news-item.hide {
  opacity: 0;
  transform: translateX(-50px);
}

/* ---------------- ニュースタイトル ---------------- */
.news-title {
  color: #ffffff;        
  font-weight: 700;      
  font-size: 32px;       
  text-decoration: none; 
  display: block;        
  margin-bottom: 10px;   
}

.news-item a:hover {
  color: #1e90ff;        
}
