@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(8.9993518068%, 33.8251498947%, 66.0986874088%);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(24.6666666667%, 24.6666666667%, 24.6666666667%);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(96.9803921569%, 96.9803921569%, 96.9803921569%);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(93.9803921569%, 93.9803921569%, 93.9803921569%);
  border: 1px solid rgb(86.9803921569%, 86.9803921569%, 86.9803921569%);
  border-bottom-color: rgb(78.9803921569%, 78.9803921569%, 78.9803921569%);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/* ============================================================
   配色。値を変えるとサイト全体に反映されます。
   色数は絞り、面ではなく余白と文字で構成しています。
   ============================================================ */
:root {
  --bg: #fbfaf8; /* 生成りの背景。純白より目に優しい */
  --surface: #ffffff;
  --text: #1a1a18; /* 真っ黒にはしない */
  --text-muted: #8b8880; /* 補助テキスト */
  --text-subtle: #b4b0a8; /* 日付など */
  --line: #e6e3dd; /* ごく薄い罫線。使う箇所は最小限 */
  --accent: #1a1a18; /* 原則リンクも黒。色で強調しない */
  /* 余白の基準値。ここを変えると全体の密度が変わります */
  --gap-section: 7.5rem; /* セクション間 */
  --gap-block: 2.5rem; /* ブロック間 */
}

/* ============================================================
   基本タイポグラフィ
   小さめの字・広い字間・広い行間で「余白の多さ」を作ります
   ============================================================ */
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400; /* 太字で強調しない */
  line-height: 1.9;
  letter-spacing: 0.12em;
  margin: 0;
}

p {
  margin: 0 0 1.6em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.25s ease;
}
a:visited {
  color: var(--accent);
}
a:hover {
  color: var(--accent);
  opacity: 0.5;
  text-decoration: none;
}

pre, code, kbd, samp {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  letter-spacing: 0;
}

/* 幅。読み物としての行長を優先し、広げすぎない */
.wrapper {
  max-width: 960px;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}
@media screen and (max-width: 700px) {
  .wrapper {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

/* ============================================================
   ヘッダー / フッター
   罫線と色帯をなくし、余白だけで独立させます
   ============================================================ */
.site-header {
  border-top: none;
  border-bottom: none;
  background: transparent;
  min-height: 0;
  padding: 3.5rem 0 0;
}
.site-header .wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}
@media screen and (max-width: 700px) {
  .site-header {
    padding-top: 2.25rem;
  }
  .site-header .wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  float: none;
  line-height: 1;
  min-height: 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  font-weight: 400;
}
.site-brand, .site-brand:visited {
  color: var(--text);
}

.site-brand__name {
  font-size: inherit;
  font-weight: 400;
}

.site-nav {
  position: static;
  float: none;
  border: none;
  background: transparent;
  line-height: 1;
}
.site-nav .nav-trigger, .site-nav label[for=nav-trigger] {
  display: none;
}
.site-nav {
  /* minima は「.site-nav input ~ .trigger」で非表示にするため、
     同じ形のセレクタで書かないと詳細度が足りず上書きできない */
}
.site-nav .trigger, .site-nav input ~ .trigger {
  display: flex;
  gap: 2.25rem;
}
.site-nav .page-link {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  line-height: 1;
  margin: 0;
}
.site-nav .page-link:hover {
  color: var(--text);
  opacity: 1;
}
@media screen and (max-width: 700px) {
  .site-nav .trigger, .site-nav input ~ .trigger {
    gap: 1.75rem;
  }
  .site-nav .page-link {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

.page-content {
  padding: var(--gap-section) 0 0;
}
@media screen and (max-width: 700px) {
  .page-content {
    padding-top: 3.5rem;
  }
}

.site-footer {
  border-top: none;
  padding: var(--gap-section) 0 4rem;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  line-height: 2.2;
  color: var(--text-subtle);
}
.site-footer p {
  margin: 0;
}

.site-footer__updated time {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   トップページ
   ============================================================ */
.home > * + * {
  margin-top: var(--gap-section);
}

.profile {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
@media screen and (max-width: 700px) {
  .profile {
    flex-direction: column;
    gap: 2.5rem;
  }
}

.profile__avatar {
  /* 写真は切り出さず、角丸も付けない */
  width: 340px;
  height: auto;
  flex-shrink: 0;
  align-self: flex-start;
  /* スマホで全幅にすると写真だけで画面が埋まるため、控えめに */
}
@media screen and (max-width: 700px) {
  .profile__avatar {
    width: 58%;
    max-width: 260px;
  }
}

.profile__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.5rem;
}

.profile__name {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.5rem;
}

.profile__name-en {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0.9rem 0 0;
}

.profile__affiliation {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 var(--gap-block);
}

.profile__bio {
  margin-bottom: var(--gap-block);
}
.profile__bio p {
  margin-bottom: 0.8em;
}
.profile__bio p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   セクション
   見出しは大きくせず、字間と余白で区切ります
   ============================================================ */
.section__title {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  border: none;
  padding: 0;
  margin-bottom: 2.25rem;
}

/* 一覧はドットや枠を使わず、余白で並べます */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}

.tag {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.social-links a:hover {
  color: var(--text);
  opacity: 1;
}

.social-icon {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 15px;
}

/* ============================================================
   記事一覧
   ============================================================ */
.post-list-compact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list-compact li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0 2rem;
  padding: 1.5rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
}
.post-list-compact li:first-child {
  padding-top: 0;
}
@media screen and (max-width: 700px) {
  .post-list-compact li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
.post-list-compact time {
  grid-column: 1;
  color: var(--text-subtle);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  line-height: 2.4;
  margin: 0;
}
.post-list-compact a {
  grid-column: 2;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 700px) {
  .post-list-compact a {
    grid-column: 1;
  }
}

.post-list-compact__excerpt {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin: 0.3rem 0 0;
}
@media screen and (max-width: 700px) {
  .post-list-compact__excerpt {
    grid-column: 1;
  }
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.pagination__current {
  color: var(--text-subtle);
}

/* ============================================================
   固定ページ（経歴・研究業績）
   ============================================================ */
.post-title, .page-heading {
  font-size: 0.7rem !important;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 3rem;
}

.post-content h2 {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 4.5rem 0 2rem;
}
.post-content h2:first-child {
  margin-top: 0;
}
.post-content h3 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  margin: 3rem 0 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0 2.5rem;
  margin: 0 0 var(--gap-block);
}
@media screen and (max-width: 700px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.timeline dt {
  color: var(--text-subtle);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  padding-top: 0.45rem;
}
.timeline dd {
  margin: 0 0 2.25rem;
  font-size: 0.85rem;
}
.timeline dd strong {
  font-weight: 400;
  letter-spacing: 0.1em;
}

.timeline__desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.timeline__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------
   制作物一覧（works.md / _data/works.yml）
   ------------------------------------------------------------ */
.work-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--gap-block);
}

.work {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}
.work:first-child {
  padding-top: 0;
}

/* 作品名は本文の h2（小さい英字ラベル）とは別扱いにする */
.post-content .work__title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.work__meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin: 0 0 1rem;
}

.work__role::before {
  content: "/";
  margin: 0 0.6em;
  color: var(--line);
}

/* 研究発表のみ持つ行（著者・所属・発表先） */
.work__authors,
.work__venue {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.3rem;
}

.work__affiliations {
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin: 0 0 0.3rem;
}

.work__summary {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.work__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  margin: 1.1rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   記事本文
   ============================================================ */
.post-header {
  margin-bottom: 4rem;
}

.post-header .post-title {
  font-size: 1.05rem !important;
  letter-spacing: 0.16em;
  color: var(--text);
  text-transform: none;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--text-subtle);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.post-content h2, .post-content h3, .post-content h4 {
  position: relative;
}
.post-content ul, .post-content ol {
  margin-bottom: 1.6em;
}
.post-content li {
  margin-bottom: 0.4em;
}
.post-content {
  /* 本文に直接置かれた画像だけを対象にする。
     子孫すべてに当てると、リンクカードのサムネイルやファビコンまで
     余白と中央寄せの影響を受けて崩れる */
}
.post-content > img,
.post-content > p > img,
.post-content > figure img {
  display: block;
  margin: 3rem auto;
}

blockquote {
  color: var(--text-muted);
  border-left: 1px solid var(--line);
  padding-left: 1.6rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

pre, code {
  background-color: #f3f1ed;
  border: none;
  border-radius: 2px;
  font-size: 0.8rem;
}

pre {
  padding: 1.2rem;
}

table {
  font-size: 0.8rem;
}
table th, table td {
  border-color: var(--line);
}
table th {
  background: none;
  font-weight: 400;
  letter-spacing: 0.1em;
}
table tr:nth-child(even) {
  background: none;
}

/* ============================================================
   見出しのアンカーコピー（assets/js/heading-anchor.js）
   ============================================================ */
.heading-anchor {
  appearance: none;
  background: none;
  border: none;
  padding: 0 0 0 0.6rem;
  margin: 0;
  font: inherit;
  color: var(--text-subtle);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.heading-anchor:hover {
  color: var(--text);
}
.heading-anchor:focus-visible {
  opacity: 1;
  outline: 1px solid var(--text-muted);
  outline-offset: 3px;
}

h2:hover > .heading-anchor,
h3:hover > .heading-anchor,
h4:hover > .heading-anchor {
  opacity: 1;
}

@media (hover: none) {
  .heading-anchor {
    opacity: 0.4;
  }
}
.heading-anchor.is-copied {
  opacity: 1;
  color: var(--text);
}
.heading-anchor.is-copied::after {
  content: attr(data-feedback);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0.6rem;
  white-space: nowrap;
  background: var(--text);
  color: var(--bg);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  pointer-events: none;
}

.heading-anchor.is-error::after {
  background: #9a5b4f;
}

/* ============================================================
   リンクカード（_includes/card.html）
   ============================================================ */
.link-card-block {
  margin: 2.5rem 0;
}

.link-card {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  transition: opacity 0.25s ease;
}
.link-card:hover {
  opacity: 0.65;
}

.link-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.link-card__title {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-card__desc {
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
}

.link-card__favicon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.link-card__thumb {
  flex: 0 0 180px;
  background: var(--bg);
}
.link-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 700px) {
  .link-card {
    flex-direction: column-reverse;
  }
  .link-card__thumb {
    flex: none;
    height: 160px;
  }
}
/* ------------------------------------------------------------
   記事本文の見出し
   固定ページ（経歴・研究業績）の見出しはラベルとして小さく扱うが、
   記事は読み物なので本文と区別できる大きさに戻す
   ------------------------------------------------------------ */
.post.h-entry .post-content h2 {
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: none;
  margin: 4.5rem 0 1.5rem;
}
.post.h-entry .post-content h3 {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: var(--text);
  margin: 3rem 0 1rem;
}

/* ------------------------------------------------------------
   コードブロック（minima 既定の薄紫を打ち消す）
   ------------------------------------------------------------ */
.highlighter-rouge .highlight,
div.highlight,
figure.highlight {
  background: #f3f1ed;
  border-radius: 2px;
}

.highlight pre, pre.highlight {
  background: transparent;
  border: none;
  padding: 0;
}

/*# sourceMappingURL=main.css.map */