* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  header {
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    flex-wrap: wrap;
    border-bottom: 2px solid #C00;
  }
  
  .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .hero {
    text-align: center;
    padding: 5em 1em;
    background: linear-gradient(to bottom, #222, #111);
  }
  
  .hero h1 {
    font-size: 3em;
    color: #fff;
  }
  
  .hero p {
    font-size: 1.5em;
    color: #ccc;
  }
  
  .section {
    padding: 4em 2em;
  }
  
  .section.dark {
    background: #222;
  }
  
  .section h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #f44;
  }
  
  .section ul {
    list-style: disc;
    margin-left: 1.5em;
  }
  
  .button {
    background: #C00;
    color: white;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .button:hover {
    background: #900;
  }
  
  footer {
    text-align: center;
    padding: 2em;
    background: #000;
    font-size: 0.9em;
    border-top: 1px solid #444;
  }
  
  /* フェードインアニメーション */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* レスポンシブ */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2em;
    }
  
    .hero p {
      font-size: 1em;
    }
  
    nav ul {
      flex-direction: column;
      gap: 10px;
      margin-top: 1em;
    }
  }
  
  .URL {
    color: #C00;
    text-decoration: none;
    font-weight: bold;
  }

/* ニュースティッカーのスタイル */
.news-ticker {
  background: linear-gradient(90deg, #C00, #900);
  color: white;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 1000;
  display: none; /* 初期状態では非表示 */
}

.ticker-container {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 50px;
  padding: 0 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.ticker-item.important {
  background: rgba(255, 215, 0, 0.3);
  border-left: 3px solid #FFD700;
}

.ticker-item.important:hover {
  background: rgba(255, 215, 0, 0.4);
}

.ticker-title {
  font-weight: bold;
  margin-right: 10px;
  font-size: 0.9em;
}

.ticker-excerpt {
  font-size: 0.8em;
  opacity: 0.9;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .ticker-item {
    margin-right: 30px;
    padding: 0 10px;
  }
  
  .ticker-title {
    font-size: 0.8em;
  }
  
  .ticker-excerpt {
    font-size: 0.7em;
    max-width: 200px;
  }
}