/* Research ページ専用スタイル */

html.research-html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.research-page {
  background: #fff !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh;
}

/* ヘッダーを常に表示 */
.research-page .site-header {
  opacity: 1;
}

/* ロゴを左上に固定 */
.research-page .logo-wrapper {
  position: fixed;
  width: auto;
  height: auto;
  top: 1rem;
  left: 1rem;
  transform: none;
  background: transparent;
  opacity: 1;
}

/* Research コンテンツ */
.research-content {
  padding: 120px 5vw 80px;
  max-width: 900px;
  margin: 0 auto;
}

.research-content h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 2em;
  letter-spacing: 0.1em;
  color: #111;
}

/* セクション */
.research-section {
  margin-bottom: 4em;
}

.research-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #333;
  color: #111;
  letter-spacing: 0.05em;
}

/* 研究アイテム */
.research-item {
  display: flex;
  gap: 2em;
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid #eee;
}

.research-item:last-child {
  border-bottom: none;
}

.research-year {
  flex: 0 0 60px;
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

.research-detail {
  flex: 1;
}

.research-detail h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5em;
  color: #111;
  line-height: 1.5;
}

.research-detail .subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  margin: 0 0 0.5em;
  line-height: 1.5;
}

.research-detail .author {
  font-size: 0.9rem;
  color: #444;
  margin: 0 0 0.3em;
  line-height: 1.5;
}

.research-detail .publication {
  font-size: 0.95rem;
  color: #444;
  margin: 0 0 0.3em;
  line-height: 1.5;
}

.research-detail .meta {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* 出版物の書籍カバー画像 */
.publication-item {
  position: relative;
}

.book-cover {
  flex: 0 0 auto;
  margin-left: auto;
}

.book-cover img {
  height: 120px;
  width: auto;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 右側スクロールナビ（about.cssから流用） */
.research-page .side-scroll-nav {
  position: fixed;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 5000;
}

.research-page .arrows-container-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.research-page .nav-arrow-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  animation: fadeInOut 3s ease-in-out infinite;
}

.research-page .nav-arrow-vertical .arrow {
  width: 20px;
  height: 20px;
  border-right: 3px solid #333;
  border-bottom: 3px solid #333;
  filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 15px rgba(255,255,255,0.8));
}

/* 上矢印 */
.research-page .nav-up .arrow {
  transform: rotate(-135deg);
  animation: arrowMoveUp 1.5s ease-in-out infinite;
}

.research-page .nav-up:hover .arrow {
  animation: none;
  transform: rotate(-135deg) translate(3px, 3px);
}

/* 下矢印 */
.research-page .nav-down .arrow {
  transform: rotate(45deg);
  animation: arrowMoveDown 1.5s ease-in-out infinite;
}

.research-page .nav-down:hover .arrow {
  animation: none;
  transform: rotate(45deg) translate(3px, 3px);
}

/* SCROLLテキスト（縦書き） */
.research-page .hint-text-vertical {
  font-size: 0.7rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px rgba(255,255,255,0.8);
  writing-mode: vertical-rl;
  animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes arrowMoveUp {
  0%, 100% {
    transform: rotate(-135deg) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: rotate(-135deg) translate(3px, 3px);
    opacity: 0.5;
  }
}

@keyframes arrowMoveDown {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) translate(3px, 3px);
    opacity: 0.5;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .research-item {
    flex-direction: column;
    gap: 0.5em;
  }

  .research-year {
    flex: none;
  }

  .research-page .side-scroll-nav {
    right: 1rem;
  }
}
