body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  margin: 0;
  padding: 0;
  background: #eaf2f8;
  color: #222;
  line-height: 1.6;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* ヘッダー */
header {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-bottom: 5px;
  background: #f8fbff;
  padding: 24px 8px 40px;
  margin-right: -15px;  /* ← section と同じ */
  margin-left: -15px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  box-sizing: border-box;  
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-text h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  font-weight: 700;
}

.header-text .name-en {
  font-size: 1.1rem;
  color: #090909;
  margin-bottom: 8px;
}

.header-text .position {
  font-size: 1.1rem;
  color: #090909;
  margin-bottom: 4px;
}

.header-text .affiliation {
  font-size: 1.1rem;
  color: #090909;
}

/* セクション */
section {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

section h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 8px;
  border-left: 4px solid #1e88e5;
  padding-left: 8px;
}

.sub-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: -4px;
  margin-bottom: 8px;
}

/* リスト */
ul {
  margin: 8px 0 0 1.1rem;
  padding: 0;
}

li {
  margin-bottom: 4px;
}

/* タグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e3f2fd;
  color: #1565c0;
  white-space: nowrap;
}

/* 略歴テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 4px 0;
  vertical-align: top;
}

th {
  width: 80px;
  font-weight: 600;
  color: #555;
}

/* フッター */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 16px;
}

a {
  color: #1e88e5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    width: 130px;
    height: 130px;
  }

  .header-text h1 {
    font-size: 1.6rem;
  }
}

.spring-link {
  display: inline-block;
  padding: 6px 12px;
  background: #e8f1ff;
  border: 1px solid #1e88e5;
  border-radius: 6px;
  color: #1e88e5;
  text-decoration: none;
  font-size: 0.9rem;
}

.spring-link:hover {
  background: #dce9ff;
}
.me {
  font-weight: 700;         /* 太字 */
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 2px; /* 線を太めにしたい場合 */
  text-underline-offset: 2px;    /* 下線と文字の間隔 */
}
.title {
  font-weight: 600;
  display:  inline-block;
  padding-left: 0em;       /* S の開始位置 */
  text-indent: -0.5em;
  margin-bottom: 2px;
}
.detail {
  color: #323030;
  font-size: 0.88rem;
}
.pub-list {
  list-style: none;        /* デフォルト番号は使わない */
  padding-left: 0;
  margin-left: 0;
  counter-reset: pub;      /* カウンタ初期化 */
}

.pub-list li {
  counter-increment: pub;
  padding-left: 2em;       /* S の開始位置 */
  text-indent: 0em;
  margin-bottom: 0.8em;
  position: relative;
}

.pub-list li::before {
  content: "[" counter(pub) "] ";
  position: absolute;
  left: 0;
  font-weight: 600;
}