@charset "UTF-8";
/*====================
スマホを基本設計にする
 - 〜479px：スマートフォン縦
 - 480px〜599px：スマートフォン横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 80px;
  padding: 0 auto
}

#mainvisual img {
  width: 100%;
  max-width: 1920px;
  height: 500px;
  object-fit: cover;
}

/* スライダー用スタイル */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;

}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* スライドの数に応じて調整 */
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 10;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button.prev:hover,
button.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


/*-------------------------------------------
About
-------------------------------------------*/
#about ul {
  margin-bottom: 30px;
}

#about ul li {
  margin-bottom: 3px;
}

#about ul li:first-child {
  margin-bottom: 30px;
}

#about p {
  text-align: justify;
}

/* Aboutセクションの全体レイアウト */
#about .about-content {
  display: flex;
  justify-content: space-between;
  align-items: center; /* コンテンツを縦方向で中央揃え */
  gap: 20px; /* テキストと画像の間にスペースを追加 */
}

#about .about-text {
  flex: 1; /* テキストエリアを柔軟に広げる */
}

/*
#about .about-image {
  flex: 0 0 300px;
  margin-left: auto;
}

#about .about-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 300px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
*/


/*-------------------------------------------
News
-------------------------------------------*/
#news dl {
  display: flex;
  flex-wrap: wrap;
  border-top: solid 1px #c8c8c8;
  margin-bottom: 20px;
  max-height: 300px; /* 高さを制限 */
  overflow-y: auto; /* 垂直方向にスクロール可能にする */
  overflow-x: hidden; /* 横スクロール禁止 */
  border: 1px solid #c8c8c8; /* 枠線（任意） */
  padding: 10px; /* 内側の余白を追加 */
  background-color: #f9f9f9; /* 背景色（任意） */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ボックスシャドウ（任意） */
}


#news dl {
  margin: 0;
  padding: 0;
}

#news dt {
  width: 20%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
  font-weight: bold;
  color: #333;
}

#news dd {
  width: 80%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
  color: #555;
  line-height: 1.6;
}



/*-------------------------------------------
Contact
-------------------------------------------*/
#contact p {
  text-align: center;
  margin-bottom: 20px;
}

#contact dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#contact dt {
  width: 15%;
}

#contact dd {
  width: 85%;
  margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea {
  width: 100%;
  border: solid 1px #c8c8c8;
  padding: 10px;
}

#contact dd textarea {
  height: 10rem;
}

#contact .button {
  text-align: center;
}

#contact .button input {
  border: solid 1px #24292e;
  width: 200px;
  background-color: #24292e;
  color: #fff;
  padding: 15px 0;
  transition: all 0.3s;
}

#contact .button input:hover {
  background: #fff;
  color: #24292e;
}

/*-------------------------------------------
Topics
-------------------------------------------*/
#topics .topics-title { /* topics のタイトル */
  font-size: 1.5rem;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}


#topics .topics-text { /* topics の文章の校正 */
  display: flex;
  justify-content: space-between;
  align-items: center; /* コンテンツを縦方向で中央揃え */
  gap: 20px; /* テキストと画像の間にスペースを追加 */
}

#topics .topics-text-center { /* 中央ぞろえテキスト */
  display: flex;
  justify-content: center;
  align-items: center; /* コンテンツを縦方向で中央揃え */
  gap: 20px; /* テキストと画像の間にスペースを追加 */
  text-align: center;
}

#topics .topics-image {
  flex: 0 0 300px;
  margin-left: auto;
}

#topics ul li {
  margin-top: 3px;
  margin-bottom: 30px;
  text-align: justify;
}

/*-------------------------------------------
CV & Publication Page
-------------------------------------------*/

/* セクション間のスペースを調整 */
section#publications {
    margin-top: 60px;
}

.cv-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #24292e;
    padding-bottom: 10px;
}

/* プロフィール画像用のスタイル */
.profile-image-container {
    text-align: center; /* 画像を中央に配置 */
    margin-bottom: 30px;
}

/* プロフィール画像（四角形・通常の比率で表示） */
.profile-image {
  width: 100%;
  height: auto;
  border-radius: 0;        /* ← 円形をやめて四角形に */
  object-fit: cover;       /* 余白が出る場合の保険（基本は自然比率） */
  border: 3px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,.06);
  max-width: 260px;        /* 大きすぎない適正サイズ */
}


.cv-container h4 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    border-left: 5px solid #24292e;
    padding-left: 10px;
}

.cv-section ul {
    list-style: none;
    padding-left: 15px;
}

.cv-section li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.cv-section .date {
    font-weight: bold;
    margin-right: 15px;
    display: inline-block;
    width: 300px;
}

.publication-container ol {
    list-style-type: decimal;
    padding-left: 30px;
}

.publication-container li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.publication-container .authors {
    font-weight: bold;
}

.publication-container .title {
    font-style: italic;
}


/*-------------------------------------------
Footer
-------------------------------------------*/


#footer {
  background-color: #000; /* フッターの背景色 */
  padding: 20px 0;
  text-align: center;
  position: relative; /* 子要素の位置調整の基準にする */
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  position: relative;
}

.footer-links li {
  display: inline-block;
  position: relative;
}

.footer-links li:first-child {
  transform: translateX(-30px); /* 左に30px移動 */
}

.footer-links li:last-child {
  transform: translateX(30px); /* 右に30px移動 */
}

.footer-links img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.footer-links img:hover {
  transform: scale(1.1); /* ホバー時に画像を拡大 */
}

/*----------------------------------------------
SP
------------------------------------------------*/
/* pcファースト　大きいサイズから小さいサイズへ */
/* 600pxより小さいときのcss適用 */
@media screen and (max-width: 600px) {
  .wrapper {
    margin-bottom: 60px;
  }

  .site-title {
    margin-top: 20px;
  }

  .sec-title {
    margin-bottom: 40px;
  }

  /* ヘッダー */
  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;
    margin-top: 0px;
    line-height: 40px;
    padding-top: 20px;
  }

  #header li {
    font-size: 0.8rem;
    margin-left: 20px;
  }

  #header li:first-child {
    margin-left: 0;
  }

  #header li img.icon {
    width: 20px;
    margin-top: 15px;
  }

  /* works */
  #works ul {
    flex-direction: column;
  }

  #works ul li {
    width: 100%;
  }

  /* news */
  #news dl {
    flex-direction: column;
  }

  #news dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
  }

  #news dd {
    width: 100%;
    padding-top: 0;
  }

  #mainvisual img {
  width: 100%;
  max-width: 1920px;
  height: 400px;
  object-fit: cover;
}

  #news dl {
    display: block;                 /* flexをやめる */
    max-height: 300px;              /* 既存値を維持 */
    overflow-y: auto;               /* 縦スクロール */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* iOSでの慣性スクロール */
  }

  /* 行のレイアウトは縦積みに */
  #news dt,
  #news dd {
    width: 100%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
  }

  /* 既存のモバイル指定と整合させる微調整（任意） */
  #news dt { padding-bottom: 0; }
  #news dd { padding-top: 0; }

  .cv-section .date {
    display: block;
    width: auto;
    margin-bottom: 5px;
  }


  /* ---- CV セクションの読みやすさ改善 ---- */
#cv .cv-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px 32px;
  align-items: start;
}

/* 画像は左の固定幅カラムに、氏名と本文は右カラムに */
#cv .profile-image-container {
  grid-column: 1;
  grid-row: 1 / span 4; /* 右側本文の高さに沿って伸びる */
  display: flex;
  justify-content: center;
}
#cv h3 {
  grid-column: 2;
  margin: 0 0 8px;
  font-size: 1.9rem;
  line-height: 1.35;
}
#cv .cv-section {
  grid-column: 2;
}

/* セクション見出しをカード見出し風に */
#cv .cv-container h4 {
  font-size: 1.2rem;
  margin: 22px 0 12px;
  color: #111;
  border-left: 4px solid #24292e;
  padding-left: 10px;
}

/* 日付と本文の揃え／余白最適化 */
#cv .cv-section .date {
  font-weight: 700;
  display: inline-block;
  min-width: 8em;
  color: #333;
}

/* ---- Publications の一覧性向上 ---- */
#publications .publication-container ol {
  padding-left: 1.2em;           /* 番号の字下げ */
}
#publications .publication-container li {
  line-height: 1.8;
  margin: 0 0 14px;
  padding: 10px 0 14px;
  border-bottom: 1px solid #eee; /* 行の区切り */
}
#publications .publication-container .authors { font-weight: 600; }
#publications .publication-container .title   { font-style: normal; }
#publications .sec-title { margin-top: 48px; }

#cv .lead-role {
  grid-column: 2;
  margin: -4px 0 4px;
  color: #666;
}

}

/* スマホでは1カラムに自動で縦積み */
@media (max-width: 640px) {
  #cv .cv-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #cv .profile-image-container,
  #cv h3,
  #cv p,
  #cv .cv-section { grid-column: 1; }
  #cv .profile-image { max-width: 220px; }
  #cv .cv-section .date {
    display: block;
    min-width: 0;
    margin-bottom: 4px;
  }
  #cv .lead-role {
  grid-column: 1;        /* ← これで横に出ず、縦に並びます */
  margin: -6px 0 2px;
  }
}


/* ===== ここからがPublication表示のための追加CSSです ===== */

/* 各項目（タイトル）に箇条（・）をつけるために ul のデフォルトリストを活かす */
.paper-list {
  list-style: disc;
  margin: 0 0 1.2rem 1.4rem; /* 左インデント（箇条とテキストの位置） */
  padding: 0;
}

/* li はブロック（各項目のまとまり）にして、タイトルを1行に表示し、下の要素はインデント */
.publish-paper {
  margin: 0 0 0.9rem 0;
  padding: 0.05rem 0 0.35rem 0;
}

/* タイトル（箇条の行） */
.paper-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.18rem;
  line-height: 1.25;
  display: block; /* タイトル自体はブロック要素で1行扱い */
}

/* 著者・引用はタイトルの下に表示（インデント） */
.paper-authors, .paper-citation {
  display: block;
  margin-left: 1.0rem; /* タイトルの下でインデント */
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 0.12rem;
}

/* 引用（ジャーナル）内のリンク */
.paper-citation a {
  color: #1a73e8;
  text-decoration: underline;
}
.paper-citation a strong {
  color: inherit;
  font-weight: 700;
}

/* 「研究業績」「書籍・レビュー」セクションの箇条書きスタイル */
#research-achievements .cv-section ul,
#reviews-books .cv-section ul,
#invited-talks .publication-container ul {
    list-style-type: disc;
    padding-left: 30px;
}

#research-achievements .cv-section li,
#reviews-books .cv-section li,
#invited-talks .publication-container li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 「研究業績」セクションのスタイリング再調整 */
#research-achievements .cv-section ul {
  list-style: none;
  padding: 0;
}

#research-achievements .cv-section li {
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* スマホ等の小画面対応：インデントをやや縮める */
@media (max-width: 640px) {
  .paper-list { margin-left: 1.05rem; }
  .paper-authors, .paper-citation { margin-left: 0.9rem; }
  .paper-title { font-size: 1.00rem; }
}