/* =========================================================
   Kobashi Laboratory – shared style (match index.html vibe)
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
}

/* ===== Header (match index header tone + title scale) ===== */
.site-header{
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 2rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border-bottom: 3px solid rgba(255,255,255,0.1);

  /* ★追加：中身を中央に配置 */
  display: flex;
  justify-content: center;
}

/* ヘッダー内の横幅をカード(.wrap)と揃える */
.site-header > *{
  width: 100%;               /* ★追加 */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}


.site-header a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  opacity:0.95;
}
.site-header a:hover{ opacity:1; text-decoration:underline; }

.site-header h1{
  font-size: 2.5rem; /* 2.2rem → 2.5rem（トップの見出し感） */
  margin: 0.2rem 0 0.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-header p{
  font-size: 1.15rem; /* サブタイトルもトップ寄せ */
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ===== Page container (white “card” like top sections) ===== */
.wrap{
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2.2rem 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.3);
}

.wrap > p{
  color:#555;
  margin-bottom: 1.4rem;
  font-size: 0.98rem;
}

/* ===== Year heading (no line, just spacing) ===== */
.year-block{ margin-top: 1.4rem; }
.year-block h2{
  font-size: 1.6rem;
  font-weight: 800;
  color:#1e3a8a;
  margin: 1.2rem 0 0.6rem 0;
}

/* ===== Publications (IEEE-style hanging indent) ===== */
.pub-list{ margin-top: 0.2rem; }

.pub-item{
  margin: 0.55rem 0;
  line-height: 1.75;
  padding-left: 1.3em;   /* 1.6em → 1.3em（右寄りを軽減） */
  text-indent: -1.3em;   /* 同じ値 */
}

.pub-num{
  font-weight: 800;
  color:#1e3a8a;
  white-space: nowrap;
}

.pub-cite i{ font-style: italic; }

/* link: 控えめピル（※先頭の . を忘れずに） */
.pub-cite a{
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.12em 0.55em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85em;
  color: #1e3a8a;
  background: rgba(59,130,246,0.10);
  vertical-align: baseline;
}

.pub-cite a:hover{
  background: rgba(59,130,246,0.18);
}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .site-header{ padding: 1.4rem 0; }
  .site-header > *{ padding: 0 1.2rem; }
  .site-header h1{ font-size: 1.9rem; }
  .site-header p{ font-size: 1.0rem; }

  .wrap{
    margin: 1.2rem auto;
    padding: 1.4rem 1.2rem;
    border-radius: 18px;
  }

  .pub-item{
    padding-left: 1.1em;
    text-indent: -1.1em;
  }
}
