/* ========================================
   Publicationsページ専用スタイル
   ======================================== */

/* ========================================
   ヒーローセクション（Publications専用）
   ======================================== */
.hero-publications {
  /* 位置・サイズ */
  position: relative;
  width: 100%;
  height: 420px;

  /* レイアウト */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* 余白 */
  padding: 163px 199px 146px;

  /* オーバーフロー */
  overflow: hidden;
}

/* カルーセルコンテナ */
.hero-publications .hero-carousel {
  /* 位置・サイズ */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* カルーセルスライド */
.hero-publications .carousel-slide {
  /* 位置・サイズ */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 透明度 */
  opacity: 1;
}

/* スライド内の画像 */
.hero-publications .carousel-slide img {
  /* サイズ */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* ヒーロー画像の上のオーバーレイ（暗くする効果） */
.hero-overlay-publications {
  /* 位置・サイズ */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;

  /* グラデーション背景 */
  background: linear-gradient(180deg,
      rgba(41, 51, 84, 0.68) 25%,
      rgba(41, 51, 84, 0.85) 100%);

  /* ブレンドモード */
  mix-blend-mode: multiply;

  /* ポインターイベントを無効化 */
  pointer-events: none;
}

/* ヒーローコンテンツ */
.hero-content-publications {
  /* 位置 */
  position: relative;
  z-index: 2;

  /* レイアウト */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  /* サイズ */
  width: 100%;
  max-width: 1042px;
  text-align: center;
}

/* ヒーロータイトル */
.hero-title-publications {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  /* 色 */
  color: var(--color-text-light);

  /* サイズ */
  width: 100%;
}

.hero-title-publications .hero-title-en {
  /* フォント */
  font-family: var(--font-en-serif);
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.8px;

  /* 透明度 */
  opacity: 0.9;
}

.hero-title-publications .hero-title-ja {
  /* フォント */
  font-family: var(--font-ja-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 2.64px;
  white-space: nowrap;
}

.hero-publications .hero-subtitle {
  /* フォント */
  font-family: var(--font-ja-mincho);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.5px;

  /* 色 */
  color: var(--color-text-secondary);

  /* 余白 */
  margin-top: 8px;
}

/* 研究室名セクション（Publications専用） */
.hero-publications .lab-name-section {
  /* 位置 */
  position: absolute;
  bottom: 20.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.content-wrapper-publications {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: 80px;

  /* サイズ */
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ========================================
   イントロセクション
   ======================================== */
.content-wrapper-publications .intro-section {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);

  /* サイズ */
  width: 100%;
}

/* ========================================
   年別グループ
   ======================================== */
.year-group {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);

  /* 余白 */
  margin-bottom: var(--spacing-xl);
}

.year-group:last-child {
  margin-bottom: 0;
}

.year-title {
  /* フォント */
  font-family: var(--font-en-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.5px;

  /* 色 */
  color: var(--color-primary);

  /* 下線 */
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-primary);
}

/* ========================================
   論文リスト
   ======================================== */
.publications-list {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);

  /* サイズ */
  width: 100%;
}

.publication-item {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);

  /* 余白 */
  padding-left: var(--spacing-md);

  /* 左線 */
  border-left: 3px solid var(--color-border);
}

.publication-title {
  /* フォント */
  font-family: var(--font-ja-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;

  /* 色 */
  color: var(--color-text-primary);
}

.publication-authors {
  /* フォント */
  font-family: var(--font-ja-mincho);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;

  /* 色 */
  color: #555;
}

.publication-journal {
  /* フォント */
  font-family: var(--font-ja-mincho);
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;

  /* 色 */
  color: var(--color-primary);
}

/* ========================================
   学会発表リスト
   ======================================== */
.presentations-list {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);

  /* サイズ */
  width: 100%;
}

.presentation-item {
  /* レイアウト */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);

  /* 余白 */
  padding-left: var(--spacing-md);

  /* 左線 */
  border-left: 3px solid var(--color-border);

  /* 位置 */
  position: relative;
}

.presentation-item.invited {
  /* 招待講演のスタイル */
  /* border-left-color: var(--color-primary); */
  /* background-color: rgba(41, 51, 84, 0.03); */
  /* padding: var(--spacing-md); */
  /* padding-left: var(--spacing-lg); */
}

.presentation-title {
  /* フォント */
  font-family: var(--font-ja-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;

  /* 色 */
  color: var(--color-text-primary);
}

.presentation-authors {
  /* フォント */
  font-family: var(--font-ja-mincho);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;

  /* 色 */
  color: #555;
}

.presentation-venue {
  /* フォント */
  font-family: var(--font-ja-mincho);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;

  /* 色 */
  color: var(--color-primary);
}

.invited-badge {
  /* フォント */
  font-family: var(--font-ja-serif);
  font-size: 12px;
  font-weight: 600;

  /* 色 */
  color: #fff;
  background-color: var(--color-primary);

  /* 余白 */
  padding: 2px 8px;
  border-radius: 4px;

  /* 配置 */
  display: inline-block;
  width: fit-content;
  margin-top: var(--spacing-xs);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .hero-publications {
    height: 300px;
    padding: 100px 50px 80px;
  }

  .hero-title-publications .hero-title-en {
    font-size: 60px;
  }

  .hero-title-publications .hero-title-ja {
    font-size: 18px;
  }

  .hero-publications .hero-subtitle {
    font-size: 14px;
  }

  .content-wrapper-publications {
    gap: 64px;
    padding: 0 16px;
  }

  .year-title {
    font-size: 24px;
  }

  .publication-title,
  .presentation-title {
    font-size: 15px;
  }

  .publication-authors,
  .publication-journal,
  .presentation-authors,
  .presentation-venue {
    font-size: 13px;
  }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
  .hero-publications {
    height: auto;
    min-height: 40vh;
    padding: 80px 27px 60px;
  }

  .hero-title-publications .hero-title-en {
    font-size: 48px;
  }

  .hero-title-publications .hero-title-ja {
    font-size: 16px;
    letter-spacing: 1.92px;
  }

  .hero-publications .hero-subtitle {
    font-size: 13px;
  }

  .hero-publications .lab-name-section {
    bottom: 16px;
  }

  .content-wrapper-publications {
    gap: 96px;
  }

  .year-title {
    font-size: 20px;
  }

  .publication-item,
  .presentation-item {
    padding-left: var(--spacing-sm);
  }

  .publication-title,
  .presentation-title {
    font-size: 14px;
  }

  .publication-authors,
  .publication-journal,
  .presentation-authors,
  .presentation-venue {
    font-size: 12px;
  }

  .invited-badge {
    font-size: 11px;
  }
}