/* ==========================================================
   島根大学 オープンイノベーション推進本部 共通スタイル v2
   -- 藍 × 金茶 / Noto Sans JP / 余白基調のクリーンデザイン --
   ========================================================== */

:root {
    /* 大学ロゴ由来のパレット */
    --blue: #24549E;        /* 藍 */
    --blue-deep: #16305C;   /* 濃藍 */
    --gold: #B8863B;        /* 金茶 */
    --gold-soft: #D9B87E;
    --ink: #22272E;         /* 本文 */
    --muted: #667085;       /* 補足テキスト */
    --paper: #FFFFFF;
    --mist: #F6F7F9;        /* セクション背景 */
    --line: #E5E8EC;        /* 罫線 */
    --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-en: "Outfit", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-jp);
    font-weight: 400;
    line-height: 1.9;
    color: var(--ink);
    margin: 0;
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--blue); }

.container { max-width: 1040px; margin: 0 auto; padding: 72px 24px; }

/* ==========================================================
   ヘッダー / ナビゲーション
   ========================================================== */
header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px;
    gap: 12px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 34px; }
.brand-text { line-height: 1.35; display: flex; flex-direction: column; }
.brand-text .ja { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.brand-text .en { font-family: var(--font-en); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
nav > ul > li { position: relative; }
nav > ul > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 10px 8px;
    font-size: 0.88rem; font-weight: 500;
    color: var(--ink); text-decoration: none;
    border-radius: 6px;
    transition: color 0.25s, background-color 0.25s;
    white-space: nowrap;
}
nav > ul > li > a:hover { color: var(--blue); background: var(--mist); }

/* 現在のページ */
nav > ul > li > a.active {
    color: var(--blue);
    position: relative;
}
nav > ul > li > a.active::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px;
    height: 2px; background: var(--gold); border-radius: 2px;
}

/* ドロップダウン */
.caret {
    width: 7px; height: 7px; flex: none;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s;
    opacity: 0.55;
}
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(225deg) translateY(-1px); }

.sub {
    position: absolute; top: calc(100% + 6px); left: 8px;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 12px 30px rgba(22, 48, 92, 0.12);
    list-style: none; margin: 0; padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.sub a {
    display: block; padding: 9px 14px;
    font-size: 0.88rem; color: var(--ink); text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}
.sub a:hover { background: var(--mist); color: var(--blue); }
.sub a::before { content: "— "; color: var(--gold); font-weight: 700; }

/* お問い合わせ = CTAボタン */
nav a.nav-cta {
    background: var(--blue); color: #fff;
    border-radius: 999px; padding: 10px 18px;
    margin-left: 6px;
    transition: background-color 0.25s;
}
nav a.nav-cta:hover { background: var(--blue-deep); color: #fff; }
nav a.nav-cta.active { color: #fff; }
nav a.nav-cta.active::after { display: none; }

/* ハンバーガー(モバイル) */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 8px;
    cursor: pointer; padding: 10px;
    flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   ヒーロー
   ========================================================== */
.hero {
    position: relative;
    display: flex; align-items: center;
    min-height: 300px;
    background: var(--mist);
    overflow: hidden;
}
.hero-inner { max-width: 1040px; margin: 0 auto; padding: 56px 24px; width: 100%; position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: 0.03em; margin: 0 0 10px; color: var(--blue-deep); }
.hero p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 640px; }

/* 写真つきヒーロー(HOME・企業) */
.hero-photo { min-height: 440px; color: #fff; }
.hero-photo::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--hero-img);
    background-size: cover; background-position: center;
}
.hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(22, 48, 92, 0.82) 0%, rgba(22, 48, 92, 0.55) 45%, rgba(22, 48, 92, 0.12) 100%);
}
.hero-photo .hero-inner { z-index: 2; }
.hero-photo h1 { color: #fff; font-size: 2.7rem; }
.hero-photo p { color: rgba(255, 255, 255, 0.88); }
.hero-photo .eyebrow { color: var(--gold-soft); }

/* ==========================================================
   見出し・シグネチャ(織りライン)
   ========================================================== */
.eyebrow {
    display: block;
    font-family: var(--font-en);
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold);
}

.sec-head { margin: 0 0 36px; }
.sec-head h2 {
    font-size: 1.75rem; font-weight: 700; letter-spacing: 0.04em;
    color: var(--blue-deep);
    margin: 4px 0 14px;
}
/* 織りライン:藍と金茶の交差 */
.weave { position: relative; width: 64px; height: 6px; }
.weave::before, .weave::after { content: ""; position: absolute; top: 2px; height: 3px; border-radius: 3px; }
.weave::before { left: 0; width: 40px; background: var(--blue); }
.weave::after { left: 28px; width: 36px; background: var(--gold); opacity: 0.9; top: 0; }

/* リボン結びアクセント（理念・ビジョンなど） */
.ribbon-accent {
    display: block;
    width: min(340px, 70%);
    height: auto;
    margin: -6px 0 0 -24px;
    user-select: none;
    pointer-events: none;
}
.sec-head-ribbon { margin-bottom: 24px; }

section { scroll-margin-top: 90px; }
.section-gap { margin-top: 88px; }

/* 互換:旧クラス(about.htmlの既存マークアップ用) */
.philosophy-title-area { margin-bottom: 30px; }
.phi-en { display: block; font-family: var(--font-en); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.phi-ja { font-size: 1.75rem; font-weight: 700; color: var(--blue-deep); letter-spacing: 0.04em; }
.philosophy-body {
    font-size: 1.02rem;
    background: var(--mist); border: none; border-left: 3px solid var(--gold);
    padding: 36px 40px; border-radius: 0 12px 12px 0;
}
.section-title-line {
    font-size: 1.75rem; font-weight: 700; color: var(--blue-deep); letter-spacing: 0.04em;
    border-bottom: none; text-align: left;
    margin: 88px 0 36px; padding-bottom: 16px;
    position: relative; display: block; width: auto;
}
.section-title-line::after {
    content: ""; position: absolute; left: 0; bottom: 6px;
    width: 40px; height: 3px; background: var(--blue); border-radius: 3px;
}
.section-title-line::before {
    content: ""; position: absolute; left: 28px; bottom: 9px;
    width: 36px; height: 3px; background: var(--gold); border-radius: 3px; opacity: 0.9;
}

.lead-message { text-align: center; margin-bottom: 72px; }
.lead-bold { font-size: 1.45rem; font-weight: 700; display: block; margin-bottom: 18px; color: var(--blue-deep); letter-spacing: 0.04em; }
.lead-text { font-size: 1.02rem; max-width: 860px; margin: 0 auto; text-align: left; color: var(--ink); }

.org-chart { text-align: center; }
.org-chart img { max-width: 720px; width: 100%; height: auto; border: none; }

/* 準備中プレースホルダ */
.placeholder-box {
    background: var(--mist);
    border: 1.5px dashed #C9CFD8;
    border-radius: 12px;
    padding: 48px 30px;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    margin: 28px 0;
}

/* ==========================================================
   カード
   ========================================================== */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.entry-card {
    display: flex; flex-direction: column; gap: 8px;
    text-decoration: none; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 30px 26px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(22, 48, 92, 0.10); border-color: transparent; }
.entry-card .eyebrow { font-size: 0.72rem; }
.entry-card h3 { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--blue-deep); }
.entry-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.entry-card .more { margin-top: 4px; }
.entry-card .more { font-size: 0.88rem; font-weight: 500; color: var(--blue); }
.entry-card .more::after { content: " →"; color: var(--gold); }

/* ==========================================================
   MEMBER グリッド(既存マークアップ互換)
   ========================================================== */
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.first-row { grid-column: 1 / -1; margin-bottom: 20px; }

.orange-label {
    background: none;
    color: var(--gold);
    font-family: var(--font-en);
    font-weight: 600; font-size: 0.8rem;
    letter-spacing: 0.14em;
    display: block; width: 100%; max-width: 320px;
    text-align: left; margin-bottom: 12px; padding: 0 0 6px;
    border-bottom: 2px solid var(--gold-soft);
}

.member-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    overflow: hidden; cursor: pointer; max-width: 320px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: none;
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(22, 48, 92, 0.10); border-color: transparent; }

.member-card-header {
    background: var(--blue); color: #fff;
    text-align: center; padding: 8px; font-size: 0.88rem; font-weight: 500;
    min-height: 2.4em; display: flex; align-items: center; justify-content: center;
    letter-spacing: 0.05em;
}
.member-card-photo { width: 100%; height: 200px; background: var(--mist); display: flex; align-items: center; justify-content: center; color: #A9B0BC; }
.member-card-photo img, .modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-card-body { padding: 16px; }
.member-name { font-size: 1.08rem; font-weight: 700; color: var(--blue-deep) !important; margin-bottom: 4px; }
.member-role { font-size: 0.84rem; color: var(--muted); font-weight: 500; }

/* ==========================================================
   モーダル
   ========================================================== */
.modal {
    display: none; position: fixed; z-index: 2000; inset: 0;
    background: rgba(22, 48, 92, 0.55); backdrop-filter: blur(3px);
    align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex !important; }

.modal-content-wrapper {
    background: #fff;
    padding: 40px; border-radius: 16px;
    max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto;
    display: grid; grid-template-columns: 280px 1fr; gap: 40px;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.modal-left-area { text-align: left; }
.modal-photo { width: 280px; height: 280px; background: var(--mist); display: flex; align-items: center; justify-content: center; color: #A9B0BC; border-radius: 10px; overflow: hidden; }
.modal-name-block { margin-top: 16px; }
.modal-ja-name { font-size: 1.7rem; font-weight: 700; color: var(--blue-deep); margin: 0; }
.modal-en-name { font-family: var(--font-en); font-size: 1rem; color: var(--muted); margin: 2px 0 10px; letter-spacing: 0.04em; }
.modal-role-info { font-size: 0.9rem; color: var(--muted); margin: 0; }

.modal-right-area { font-size: 1rem; color: var(--ink); display: flex; flex-direction: column; }
.modal-comment {
    background: var(--mist); padding: 28px; border-radius: 12px; border: none;
    flex-grow: 1; white-space: pre-wrap; word-break: break-all;
}
.contact-info { margin-top: 26px; text-align: right; font-size: 0.85rem; color: var(--muted); border-top: 1px dotted #C9CFD8; padding-top: 10px; }

.modal-close-purple {
    grid-column: 1 / -1; justify-self: end;
    background: var(--blue); color: #fff; border: none; border-radius: 999px;
    padding: 10px 28px; font-size: 0.95rem; cursor: pointer; margin-top: 12px;
    font-family: var(--font-jp);
    transition: background-color 0.25s;
}
.modal-close-purple:hover { background: var(--blue-deep); }

/* ==========================================================
   お知らせリスト
   ========================================================== */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { display: flex; gap: 24px; padding: 18px 6px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.news-list time { color: var(--muted); font-family: var(--font-en); flex: none; }

/* ==========================================================
   フッター
   ========================================================== */
footer { background: var(--blue-deep); color: #fff; margin-top: 110px; }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 52px 24px 36px; }
.f-brand { font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; letter-spacing: 0.03em; }
.f-en { font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 26px; }
.f-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 30px; padding: 0; }
.f-nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.f-nav a:hover { color: var(--gold-soft); }
.copy { font-family: var(--font-en); font-size: 0.75rem; color: rgba(255,255,255,0.45); margin: 0; letter-spacing: 0.05em; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1240px) {
    .nav-toggle { display: flex; }
    nav {
        position: fixed; top: 70px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
        box-shadow: 0 16px 30px rgba(22, 48, 92, 0.1);
    }
    body.nav-open nav { max-height: calc(100vh - 70px); overflow-y: auto; }
    nav > ul { flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px; }
    nav > ul > li > a { padding: 13px 10px; font-size: 1rem; border-radius: 8px; }
    nav > ul > li > a.active::after { left: 10px; right: auto; width: 26px; }
    .caret { display: none; }
    .sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        border: none; box-shadow: none; padding: 0 0 4px 14px; min-width: 0;
    }
    nav a.nav-cta { margin: 10px 10px 0; text-align: center; justify-content: center; }
    .brand-text .ja { font-size: 0.92rem; }
    .brand-text .en { display: none; }
}

@media (max-width: 768px) {
    .container { padding: 52px 20px; }
    .hero h1 { font-size: 1.85rem; }
    .hero-photo { min-height: 340px; }
    .hero-photo h1 { font-size: 2rem; }
    .entry-grid { grid-template-columns: 1fr; }
    .member-grid { grid-template-columns: 1fr; }
    .modal-content-wrapper { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
    .modal-photo { width: 100%; max-width: 280px; margin: 0 auto; }
    .lead-bold { font-size: 1.25rem; }
    .news-list li { flex-direction: column; gap: 2px; }
}

/* ==========================================================
   追加コンポーネント(実コンテンツ用)
   ========================================================== */

/* リンクチップ(外部データベース等) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip {
    display: inline-block; padding: 9px 20px;
    border: 1.5px solid var(--blue); color: var(--blue);
    border-radius: 999px; font-size: 0.88rem; font-weight: 500;
    text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: var(--blue); color: #fff; }
.chip.gold { border-color: var(--gold); color: var(--gold); }
.chip.gold:hover { background: var(--gold); color: #fff; }

/* 研究方法・事例カード */
.method-grid, .case-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 8px;
}
.method-card, .case-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 28px 26px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
a.case-card { text-decoration: none; color: var(--ink); cursor: pointer; }
a.case-card:hover, .method-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(22, 48, 92, 0.10); border-color: transparent; }
.method-card h3, .case-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--blue-deep); }
.method-card .q { font-size: 0.88rem; color: var(--gold); font-weight: 700; margin: 0; }
.method-card p, .case-card p { margin: 0; font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.method-card .more, .case-card .more { font-size: 0.88rem; font-weight: 500; color: var(--blue); }
.method-card .more::after, .case-card .more::after { content: " →"; color: var(--gold); }

/* 支援リソース(学内向け) */
.resource-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; }
.resource-list li {
    background: var(--mist); border-radius: 12px; padding: 22px 26px;
}
.resource-list h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--blue-deep); }
.resource-list p { margin: 0 0 8px; font-size: 0.92rem; color: var(--ink); }
.resource-list a { font-size: 0.9rem; font-weight: 500; }
.tag-internal {
    display: inline-block; margin-left: 8px;
    font-size: 0.72rem; font-weight: 700; color: var(--gold);
    border: 1px solid var(--gold-soft); border-radius: 4px; padding: 1px 8px;
    vertical-align: 1px;
}

/* シンプルリンクリスト */
.simple-links { list-style: none; margin: 8px 0 0; padding: 0; }
.simple-links li { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.simple-links li::before { content: "— "; color: var(--gold); font-weight: 700; }
.simple-links a { text-decoration: none; font-weight: 500; }
.simple-links a:hover { text-decoration: underline; }

/* CTAバンド */
.cta-band {
    background: var(--mist); border-radius: 16px;
    padding: 44px 36px; text-align: center; margin-top: 88px;
}
.cta-band h2 { margin: 0 0 8px; font-size: 1.4rem; color: var(--blue-deep); letter-spacing: 0.04em; }
.cta-band p { margin: 0 0 22px; color: var(--muted); }
.btn-primary {
    display: inline-block; background: var(--blue); color: #fff;
    padding: 13px 40px; border-radius: 999px; text-decoration: none; font-weight: 700;
    transition: background-color 0.25s;
}
.btn-primary:hover { background: var(--blue-deep); }

/* フッター内 関連サイト・所在地 */
.f-sites { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 26px; padding: 0 0 26px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.f-sites a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.f-sites a:hover { color: var(--gold-soft); }
.f-sites a::before { content: "↗ "; color: var(--gold-soft); }
.f-address { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0 0 30px; }

@media (max-width: 768px) {
    .method-grid, .case-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   挿絵アイコン・DBバナー・ニュースモーダル・目的別ナビ
   ========================================================== */

/* アイコン(線画SVG) */
.icon-wrap {
    width: 72px; height: 72px; flex: none;
    border-radius: 50%;
    background: var(--mist);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
}
.icon-wrap svg { width: 40px; height: 40px; }
.method-card .icon-wrap { width: 60px; height: 60px; }
.method-card .icon-wrap svg { width: 34px; height: 34px; }

/* 研究データベース バナー */
.db-banner {
    display: flex; gap: 28px; align-items: center;
    background: linear-gradient(120deg, #EEF3FA 0%, #FBF7EE 100%);
    border: 1px solid var(--line); border-radius: 18px;
    padding: 36px 38px;
}
.db-banner .icon-wrap { width: 88px; height: 88px; background: #fff; margin: 0; }
.db-banner .icon-wrap svg { width: 46px; height: 46px; }
.db-banner h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--blue-deep); }
.db-banner p { margin: 0 0 18px; font-size: 0.94rem; color: var(--ink); }

/* ニュースモーダル(1カラム) */
.modal-single { grid-template-columns: 1fr !important; max-width: 760px; gap: 12px; }
.modal-single h2 { margin: 0 0 6px; font-size: 1.35rem; color: var(--blue-deep); letter-spacing: 0.04em; }
.modal-single .news-list { max-height: 55vh; overflow-y: auto; }
.news-list a { text-decoration: none; font-weight: 500; }
.news-list a:hover { text-decoration: underline; }

/* 目的別セクション見出し補助 */
.purpose-note { font-size: 0.95rem; color: var(--muted); margin: -20px 0 24px; }

@media (max-width: 768px) {
    .db-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
}

/* ==========================================================
   OIロゴ ロックアップ(ヘッダー)
   ========================================================== */
.brand-divider { width: 1px; height: 34px; background: var(--line); margin: 0 4px; flex: none; }
.oi-lockup { display: flex; align-items: center; gap: 10px; }
.oi-mark { display: flex; flex: none; }
.oi-mark svg { width: 38px; height: 38px; }
.oi-text { display: flex; flex-direction: column; line-height: 1.3; }
.oi-ja { font-size: 0.96rem; font-weight: 700; color: var(--blue-deep); letter-spacing: 0.02em; white-space: nowrap; }
.oi-en { font-family: var(--font-en); font-size: 0.54rem; font-weight: 500; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

/* 中間幅(ハンバーガー切替直前)ではさらに詰めて重なりを防止 */
@media (max-width: 1460px) {
    .oi-en { display: none; }
    .oi-ja { font-size: 0.9rem; }
    .oi-mark svg { width: 32px; height: 32px; }
    .brand img { height: 30px; }
    .brand-divider { height: 24px; }
    nav > ul > li > a { padding: 10px 6px; font-size: 0.85rem; }
    nav a.nav-cta { padding: 9px 14px; }
}

@media (max-width: 1240px) {
    .oi-ja { font-size: 0.96rem; }
    .oi-en { display: none; }
    .oi-mark svg { width: 34px; height: 34px; }
    .brand img { height: 34px; }
    .brand-divider { height: 26px; }
}

/* ==========================================================
   研究までの流れ(ステップフロー)
   ========================================================== */
.flow-steps { list-style: none; margin: 32px 0 0; padding: 0; max-width: 880px; }
.flow-step { position: relative; display: flex; gap: 24px; padding-bottom: 36px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::before {
    content: ""; position: absolute; left: 32px; top: 70px; bottom: 6px;
    width: 2px; background: linear-gradient(var(--gold-soft), var(--line));
}
.flow-icon {
    flex: none; width: 66px; height: 66px; border-radius: 50%;
    background: #fff; border: 2px solid var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(22, 48, 92, 0.06);
}
.flow-icon svg { width: 32px; height: 32px; }
.flow-body { padding-top: 4px; }
.flow-num {
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.18em; color: var(--gold);
}
.flow-body h3 { margin: 3px 0 10px; font-size: 1.18rem; font-weight: 700; color: var(--blue-deep); }
.flow-qa { margin: 0 0 8px; font-size: 0.94rem; line-height: 1.8; color: var(--ink); }
.flow-qa .fq { display: block; color: var(--gold); font-weight: 700; font-size: 0.9rem; }

@media (max-width: 768px) {
    .flow-step { gap: 16px; }
    .flow-icon { width: 54px; height: 54px; }
    .flow-icon svg { width: 26px; height: 26px; }
    .flow-step:not(:last-child)::before { left: 26px; top: 58px; }
}

/* ==========================================================
   ShimaDAY マガジンバナー
   ========================================================== */
.magazine-banner {
    display: block; margin-top: 28px; padding: 32px 36px;
    border-radius: 16px; text-decoration: none;
    background: linear-gradient(120deg, var(--blue-deep), var(--blue) 62%, #3E6DB5);
    color: #fff; position: relative; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.magazine-banner::after {
    content: ""; position: absolute; right: -46px; top: -46px;
    width: 190px; height: 190px; border-radius: 50%;
    border: 16px solid rgba(184, 134, 59, 0.35);
    pointer-events: none;
}
.magazine-banner:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22, 48, 92, 0.25); }
.mag-label {
    display: block; font-family: var(--font-en); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px;
}
.mag-title { display: block; font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.mag-desc { display: block; font-size: 0.93rem; line-height: 1.8; color: rgba(255,255,255,0.88); max-width: 680px; margin-bottom: 16px; }
.magazine-banner .more { color: #fff; font-weight: 500; font-size: 0.9rem; }
.magazine-banner .more::after { content: " →"; color: var(--gold-soft); }
@media (max-width: 768px) { .magazine-banner { padding: 26px 22px; } }

/* ==========================================================
   Coming Soon タイル(連携事例)
   ========================================================== */
.case-card.coming-soon {
    align-items: center; justify-content: center; text-align: center;
    min-height: 190px; background: var(--mist);
    border: 1.5px dashed #C9CFD8; cursor: default;
}
.case-card.coming-soon:hover { transform: none; box-shadow: none; border-color: #C9CFD8; }
.cs-en {
    font-family: var(--font-en); font-size: 1.3rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
}
.case-card.coming-soon p { flex-grow: 0; }

/* ==========================================================
   言語切替(JA/EN)
   ========================================================== */
.header-inner > .brand { order: 0; }
.header-inner > nav { order: 1; margin-left: auto; }
.lang-switch {
    flex: none; order: 2;
    display: inline-flex; align-items: center;
    padding: 6px 13px;
    border: 1.5px solid var(--line); border-radius: 999px;
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; color: var(--muted); text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    white-space: nowrap;
}
.lang-switch:hover { color: var(--blue); border-color: var(--blue); background: var(--mist); }
@media (max-width: 1240px) {
    /* モバイルはハンバーガーが最右、その左に言語切替 */
    .lang-switch { order: 1; margin-left: auto; margin-right: 10px; }
    .nav-toggle { order: 2; }
}

/* ==========================================================
   RegiSU バナー(研究助成情報検索システム)
   ========================================================== */
.regisu-banner {
    display: flex; align-items: center; gap: 26px;
    max-width: 860px; margin: 22px 0 26px; padding: 22px 26px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    text-decoration: none; position: relative;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.regisu-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(22, 48, 92, 0.10); border-color: transparent; }
.regisu-banner img { flex: none; width: 250px; max-width: 40%; height: auto; }
.regisu-text { display: flex; flex-direction: column; gap: 8px; }
.regisu-desc { font-size: 0.92rem; line-height: 1.8; color: var(--muted); }
.regisu-banner .more { font-size: 0.9rem; font-weight: 500; color: var(--blue); }
.regisu-banner .more::after { content: " →"; color: var(--gold); }
.regisu-banner .tag-internal { position: absolute; top: 14px; right: 16px; }
@media (max-width: 768px) {
    .regisu-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
    .regisu-banner img { width: 220px; max-width: 80%; }
}


/* ==========================================================
   コンパクトメンバーカード(非本務教員)
   ========================================================== */
.member-mini-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px; margin-top: 16px;
}
.member-mini {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 16px; cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.member-mini:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(22, 48, 92, 0.10); border-color: transparent; }
.mini-photo {
    flex: none; width: 58px; height: 58px; border-radius: 50%;
    overflow: hidden; background: var(--mist);
}
.mini-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-body { min-width: 0; }
.mini-tag { display: block; font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
.mini-name { display: block; font-size: 1rem; font-weight: 700; color: var(--blue-deep); margin: 2px 0; }
.mini-en { font-size: 0.78em; font-weight: 400; color: var(--muted); margin-left: 6px; }
.mini-role { display: block; font-size: 0.78rem; color: var(--muted); }

/* ==========================================================
   税制優遇(研究方法)
   ========================================================== */
.tax-tag {
    align-self: flex-start; flex-grow: 0 !important;
    margin: 0 !important;
    font-size: 0.75rem !important; font-weight: 700;
    color: var(--gold) !important;
    border: 1.5px solid var(--gold-soft); border-radius: 999px;
    padding: 3px 12px;
}
.tax-note {
    max-width: 880px; margin-top: 26px;
    background: #FBF6EC; border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
}
.tax-note h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--blue-deep); }
.tax-note p { margin: 0; font-size: 0.93rem; line-height: 1.9; color: var(--ink); }
.tax-note strong { color: var(--blue-deep); }

/* ==========================================================
   学外公募情報サイトのリンクグリッド
   ========================================================== */
.ext-head {
    margin: 34px 0 4px;
    font-weight: 700; font-size: 1.02rem; color: var(--blue-deep);
    border-left: 4px solid var(--gold); padding-left: 12px;
}
.ext-links {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px; margin-top: 14px; max-width: 960px;
}
.ext-links a {
    display: flex; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 13px 16px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ext-links a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 48, 92, 0.09); border-color: transparent; }
.ext-links strong { font-size: 0.96rem; color: var(--blue); }
.ext-links strong::after { content: " ↗"; font-size: 0.8em; color: var(--gold); }
.ext-links span { font-size: 0.8rem; color: var(--muted); }

/* ==========================================================
   お問い合わせモーダルフォーム
   ========================================================== */
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.contact-form label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 0.88rem; font-weight: 700; color: var(--blue-deep);
}
.contact-form input, .contact-form select, .contact-form textarea {
    font-family: var(--font-jp); font-size: 0.95rem; font-weight: 400;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
    background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary { align-self: center; margin-top: 6px; }

/* Coming Soonプレースホルダ */
.placeholder-box .cs-en { display: block; margin-bottom: 10px; }
.placeholder-box p { margin: 0; font-size: 0.95rem; }

/* エントリーカード内の学内限定タグ */
.entry-card h3 .tag-internal { vertical-align: middle; margin-left: 8px; }

/* ==========================================================
   ShimaDAY 強調チップ
   ========================================================== */
.chip.shimaday {
    background: linear-gradient(115deg, var(--blue-deep), var(--blue));
    border-color: transparent; color: #fff;
    box-shadow: 0 6px 16px rgba(22, 48, 92, 0.22);
}
.chip.shimaday:hover {
    background: linear-gradient(115deg, var(--blue), #3E6DB5);
    transform: translateY(-2px); color: #fff;
}

/* ==========================================================
   連携ニーズ 3ステップ
   ========================================================== */
.needs-steps {
    list-style: none; counter-reset: ns;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; max-width: 920px; margin: 24px 0 6px; padding: 0;
}
.needs-steps li {
    counter-increment: ns;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 22px 20px 18px; position: relative;
    font-size: 0.9rem; line-height: 1.8; color: var(--muted);
}
.needs-steps li::before {
    content: counter(ns);
    position: absolute; top: -14px; left: 18px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gold); color: #fff;
    font-family: var(--font-en); font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(184, 134, 59, 0.35);
}
.needs-steps li strong {
    display: block; margin-bottom: 6px;
    font-size: 1rem; color: var(--blue-deep);
}
@media (max-width: 768px) {
    .needs-steps { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================
   税額控除バッジ(クリックで税制優遇モーダル)と、その中身
   ========================================================== */
.tax-tag-btn { cursor: pointer; user-select: none; }
.tax-tag-btn:hover { background: #F5EBD8; }
.tax-tag-hint { margin-left: 8px; font-weight: 500; color: var(--muted); }
.tax-tag-hint::after { content: " →"; color: var(--gold); }
.tax-modal-body { text-align: left; }
.tax-modal-body h3 {
    margin: 18px 0 8px; font-size: 1.02rem; color: var(--blue-deep);
    border-left: 4px solid var(--gold); padding-left: 10px;
}
.tax-modal-body h3:first-child { margin-top: 6px; }
.tax-modal-body p { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.9; color: var(--ink); }
.tax-modal-body strong { color: var(--blue-deep); }
.tax-modal-note {
    background: #FBF6EC; border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0; padding: 10px 14px; margin-top: 14px !important;
}
.tax-modal-links { list-style: none; margin: 14px 0 0; padding: 0; font-size: 0.88rem; }
.tax-modal-links li { margin-bottom: 6px; }

/* ShimaDAY ロゴチップ */
.chip.shimaday-logo {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; padding: 8px 18px;
    box-shadow: 0 4px 12px rgba(22, 48, 92, 0.10);
}
.chip.shimaday-logo img { height: 30px; width: auto; display: block; }
.chip.shimaday-logo span { font-size: 0.85rem; font-weight: 500; color: var(--blue-deep); }
.chip.shimaday-logo:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22, 48, 92, 0.16); }

/* 事例カードの写真 */
.case-card .case-thumb {
    display: block; margin: -28px -26px 14px;
    border-radius: 14px 14px 0 0; overflow: hidden;
}
.case-card .case-thumb img {
    width: 100%; height: 190px; object-fit: cover; display: block;
}

/* IRデータ集 = 控えめな面取りボタン(お問い合わせの左) */
nav a.nav-ir {
    border: 1px solid var(--line);
    background: var(--mist);
    border-radius: 8px;
    padding: 8px 14px;
    margin-left: 6px;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
nav a.nav-ir:hover { background: #E8EEF7; border-color: var(--blue); color: var(--blue); }
nav a.nav-ir.active { color: var(--blue-deep); border-color: var(--blue); }
nav a.nav-ir.active::after { display: none; }
@media (max-width: 1240px) {
    nav a.nav-ir { margin: 10px 10px 0; text-align: center; justify-content: center; }
}

/* 動画リンク(再生アイコン付き) */
.video-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: 16px; font-size: 0.9rem; font-weight: 500;
}
.video-link svg { width: 17px; height: 17px; flex: none; }

/* ===== ピックアップニュース（写真付きカード） ===== */
.pickup-card {
    display: flex;
    align-items: stretch;
    max-width: 860px;
    margin: 0 0 28px;
    background: var(--paper);
    border: 1px solid #d7e2f2;
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(22, 48, 92, 0.10);
}
.pickup-photo { flex: 0 0 200px; min-height: 130px; }
.pickup-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pickup-body { flex: 1; min-width: 0; padding: 16px 22px 14px; }
.pickup-body .eyebrow { display: block; margin-bottom: 2px; }
.pickup-title {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--blue-deep);
    letter-spacing: 0.02em;
}
.pickup-card .news-list { border-top: none; }
.pickup-card .news-list li { padding: 10px 2px; font-size: 0.92rem; }
.pickup-card .news-list li:last-child { border-bottom: none; }

@media (max-width: 680px) {
    .pickup-card { flex-direction: column; }
    .pickup-photo { flex: none; height: 140px; }
    .pickup-body { padding: 14px 16px 10px; }
}

/* ===== ピックアップニュースのお知らせカード（右下・閉じられる） ===== */
.pickup-toast {
    position: fixed; right: 18px; bottom: 18px;
    width: min(360px, calc(100vw - 24px));
    background: var(--paper);
    border: 1px solid #d7e2f2; border-left: 4px solid var(--gold);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(22, 48, 92, 0.22);
    overflow: hidden;
    z-index: 1300;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.pickup-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.pt-close {
    position: absolute; top: 10px; right: 10px;
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); color: var(--ink);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(22, 48, 92, 0.18);
    transition: background 0.2s;
    z-index: 2;
}
.pt-close:hover { background: #E8EEF7; }
.pt-close svg { width: 15px; height: 15px; }
.pt-photo { height: 96px; }
.pt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-body { padding: 12px 18px 10px; }
.pt-body .eyebrow { display: block; margin-bottom: 2px; }
.pickup-toast .pickup-title { margin: 0 0 2px; font-size: 1rem; }
.pickup-toast .news-list { border-top: none; }
.pickup-toast .news-list li { flex-direction: column; gap: 2px; padding: 10px 0; font-size: 0.88rem; }
.pickup-toast .news-list li:last-child { border-bottom: none; }
.pickup-toast .news-list time { font-size: 0.78rem; }
.pt-hint { margin: 4px 0 4px; font-size: 0.72rem; color: var(--muted); }

@media (max-width: 680px) {
    .pickup-toast { right: 12px; left: 12px; bottom: 12px; width: auto; }
    .pt-photo { height: 80px; }
}

/* ==========================================================
   お知らせティッカー（HOME・ヒーロー画像の右下に重ねて表示）
   ========================================================== */
.news-ticker {
    position: absolute;
    right: 0; bottom: 30px;
    z-index: 3;
    width: min(680px, 62%);
    display: flex; align-items: stretch;
    background: rgba(22, 48, 92, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 999px 0 0 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-right: none;
    box-shadow: 0 10px 30px rgba(10, 24, 50, 0.35);
    overflow: hidden;
}
.ticker-label {
    flex: none;
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff;
    font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em;
    padding: 11px 16px 11px 24px;
    white-space: nowrap;
    position: relative;
}
.ticker-label svg { width: 15px; height: 15px; color: var(--gold-soft); }
.ticker-label::after {
    content: "";
    position: absolute; right: 0; top: 22%; bottom: 22%;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}
.ticker-viewport {
    flex: 1; overflow: hidden; display: flex; align-items: center;
    /* 端をふわっとフェード */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 24px), transparent 100%);
}
.ticker-track {
    display: inline-flex; align-items: center;
    white-space: nowrap;
    padding-left: 26px;
    will-change: transform;
    animation: ticker-scroll var(--ticker-duration, 40s) linear infinite;
}
.news-ticker:hover .ticker-track,
.news-ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex; align-items: baseline; gap: 10px;
    font-size: 0.88rem; color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
    padding: 10px 0;
}
.ticker-item time {
    font-family: var(--font-en);
    font-size: 0.78rem; color: var(--gold-soft);
    font-weight: 600; letter-spacing: 0.03em;
    flex: none;
}
a.ticker-item:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ticker-sep {
    display: inline-block;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold-soft);
    opacity: 0.8;
    margin: 0 24px;
    flex: none; align-self: center;
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 760px) {
    .news-ticker {
        width: 100%;
        bottom: 0;
        border-radius: 0;
        border-left: none;
        background: rgba(22, 48, 92, 0.82);
    }
    .ticker-label { padding: 9px 12px 9px 16px; font-size: 0.76rem; }
    .ticker-item { font-size: 0.83rem; }
    /* 見出しとの重なりを避ける余白 */
    .hero-photo .hero-inner { padding-bottom: 96px; }
}

/* ==========================================================
   メンバーモーダル内：執筆記事・連載カード
   ========================================================== */
.pub-links { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.pub-links-head {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.98rem; color: var(--blue-deep);
    padding-left: 2px; margin-bottom: 2px;
}
.pub-links-head svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.pub-links-sub { font-weight: 400; font-size: 0.78rem; color: var(--muted); margin-left: 4px; }
.pub-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none; color: inherit;
    transition: box-shadow .22s, transform .22s, border-color .22s;
}
.pub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 84, 158, 0.14);
    border-color: var(--blue);
}
.pub-tag {
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 58px; padding: 4px 8px;
    background: #EDF2FA; color: var(--blue);
    border-radius: 8px;
    font-size: 0.72rem; font-weight: 700; line-height: 1.35;
    text-align: center; letter-spacing: 0.04em;
}
.pub-tag-gold { background: #FAF3E3; color: #8a6524; }
.pub-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pub-title { font-weight: 700; font-size: 0.92rem; line-height: 1.55; color: var(--blue-deep); }
.pub-meta { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.pub-arrow {
    margin-left: auto; flex: none;
    color: var(--gold);
    font-weight: 700; font-size: 1.05rem;
    transition: transform .22s;
}
.pub-card:hover .pub-arrow { transform: translateX(4px); }
@media (max-width: 640px) {
    .pub-card { gap: 10px; padding: 11px 13px; }
    .pub-arrow { display: none; }
}
