/* ==========================================
   RESEARCH（研究内容）ページ専用 (research.css)
========================================== */
.research-hero-quote {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  margin: 20px 0 80px;
  color: #185FA5;
  line-height: 1.6;
}

.research-container {
  max-width: 1000px;
  margin: 0 auto;
}

.research-section {
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px dashed var(--color-border-secondary);
}

.research-section:last-of-type {
  border-bottom: none;
}

.research-title {
  font-size: 22px;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid #185FA5;
  line-height: 1.4;
}

.research-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.research-block.ratio-text-wide .research-text {
  flex: 2;
}

.research-block.ratio-text-wide .research-image {
  flex: 1;
}

.research-block:last-child {
  margin-bottom: 0;
}

.research-block.reverse {
  flex-direction: row-reverse;
}

.research-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.research-image {
  flex: 1;
  max-width: 420px;
}

.research-image img {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s, transform 0.3s;
}

.research-image img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.research-note {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  border-left: 3px solid #cbd5e1;
}

.note-bullet {
  color: #185FA5;
}

.text-link {
  color: #185FA5;
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* --- 拡張レイアウト（複数写真・中央1枚） --- */
.research-multi-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.research-multi-images figure {
  margin: 0;
  text-align: center;
}

.research-multi-images img {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.research-multi-images figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.research-center-image {
  text-align: center;
  margin: 32px 0;
}

.research-center-image img {
  max-width: 80%;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.research-center-image .caption {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
}

/* --- プロジェクトセクション --- */
.projects-section {
  background: transparent;
  margin: 0;
  padding: 0;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border-tertiary);
  margin-bottom: 24px;
}

.project-title {
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-tertiary);
}

.project-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.project-members {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
}

.project-members li {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.project-members li:last-child {
  margin-bottom: 0;
}

.project-members strong {
  color: #185FA5;
  display: inline-block;
  width: 200px;
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-grid {
  display: flex;
  gap: 24px;
}

.project-grid .project-card {
  flex: 1;
  margin-bottom: 0;
}

.project-category {
  font-size: 12px;
  font-weight: bold;
  color: #185FA5;
  margin-bottom: 8px;
}

/* --- タブ切り替え --- */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  border-bottom: 2px solid var(--color-border-tertiary);
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: #185FA5;
}

.tab-btn.active {
  color: #185FA5;
  border-bottom-color: #185FA5;
}

.tab-pane {
  display: none;
  animation: fadeInTab 0.4s ease-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 論文リスト --- */
.publication-list {
  list-style: none;
  padding: 0;
}

.pub-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--color-border-tertiary);
}

.pub-year {
  font-size: 18px;
  font-weight: bold;
  color: #185FA5;
  flex-shrink: 0;
}

.pub-details {
  flex: 1;
}

.pub-authors {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-bottom: 4px;
}

.pub-title {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.pub-journal {
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-secondary);
}

/* --- レスポンシブ（スマホ・タブレット対応） --- */
@media (max-width: 900px) {

  .research-block,
  .research-block.reverse {
    flex-direction: column;
    gap: 24px;
  }

  .research-image {
    max-width: 100%;
  }

  .project-members strong {
    width: 100%;
    margin-bottom: 4px;
  }

  .project-grid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .tab-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .pub-item {
    flex-direction: column;
    gap: 8px;
  }
}