/* ===== Newsスクロール ===== */
.news-container {
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* 各行 */
.news-item {
  display: flex;
  align-items: center;
  padding: 12px 5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

/* 日付 */
.news-date {
  width: 110px;
  color: #aaa;
  font-size: 14px;
  flex-shrink: 0;
}

/* 本文 */
.news-text {
  flex: 1;
}

/* ホバー */
.news-item:hover {
  background: rgba(124,58,237,0.08);
  transform: translateX(5px);
}

/* News Card */
.news-card {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}


/* リンク付き */
.news-link .news-text {
  text-decoration: underline;

  text-underline-offset: 4px;
}


/* ===== スクロールバー ===== */
.news-container::-webkit-scrollbar {
  width: 6px;
}

.news-container::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.6);
  border-radius: 3px;
}

.news-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.6) transparent;
}


/* ===== Project Link ===== */
.project-link {
  text-decoration: none;
  color: white;
}

.project-link .card {
  height: auto;
}

.project-link:hover .card {
  transform: translateY(-8px);
}



/* ===== Contact ===== */
.contact-office {
  margin: 0 0 25px;
  font-size: 18px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 10px;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.contact-card p {
  margin: 0;
  opacity: 0.9;
}