/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap'); */
/* Noto Sans と M PLUS 1p の両方を読み込む（太さ 900 を指定） */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700;900&family=Noto+Sans+JP:wght@400;700;900&display=swap');

/* ページ上部のタイトルに適用 */
header h1,
.f1,
.f2 {
    /* フォント名を 'M PLUS 1p' に変更 */
    font-family: 'M PLUS 1p', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em;
    /* 柔らかいフォントは、少しだけ字間を広げるとより綺麗に見えます */
}

/* テスト用：すべての文字を真っ赤にする */
/* body {
    color: red !important;
} */

/* 研究室名（h1）にフォントを当てる */
/* h1 {
    font-family: 'Noto Serif JP', serif !important;
    font-weight: 900 !important;
} */

/* 親メニューを相対配置にする */
/* .menu-item-has-children {
    position: relative;
} */

/* 子メニュー（論文リストなど）を通常時は隠す */
/* .menu-item-has-children ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000; */
    /* 背景色（テーマに合わせて調整） */
    /* padding: 10px;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
} */

/* マウスを乗せた時だけ表示する */
/* .menu-item-has-children:hover>ul {
    display: block;
} */

/* 子メニュー内のリンクの色 */
/* .menu-item-has-children ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 0;
} */


.lab-title {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
    /* 文字間隔を少し広げると高級感が出ます */
}

/* 研究室名の見た目を調整 */
/* h1 {
    font-weight: 900; */
    /* 極太にする */
    /* letter-spacing: 0.2em; */
    /* 文字の間をあける（ゆとりが出る） */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
    /* 軽く影をつけて立体感を出す */
/* } */

/* Google Fonts から Noto Sans JP の極太版(900)を取り込む */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&display=swap'); */

/* Noto Sans JP の読み込み（複数の太さを含めて予備を作ります） */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap'); */

/* 明朝体（serif）からゴシック（sans-serif）へ戻しつつ、フォントを指名 */
header h1,
.f1,
.f2{
    /* font-family: 'Noto Sans JP', "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important; */
    font-family: 'M PLUS 1p', sans-serif !important;
    /* font-weight: 900 !important; */
    font-weight: 700 !important;
    /* font-weight: 400 !important; */
    letter-spacing: -0.02em;
    /* letter-spacing: 0.02em; */
}

/* 見出しエリア（ヘッダー）の上下余白を調整 */
header.cover .tc-l {
    padding-top: 1rem !important;
    /* 上側の余白（デフォルトはもっと広い） */
    padding-bottom: 1rem !important;
    /* 下側の余白 */
}

/* もし背景画像がない時だけ適用したい場合 */
header.cover:not([style*="background-image"]) .tc-l {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* 全体の見出し上下余白をかなり詰める */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0.15rem !important;
    margin-bottom: 0.05rem !important;
}