/* Dr.石井光の臨床科学アカデミー（dr-ishii-ac.com）
   デザイン：docs/design/ のデザイン画（Codex 作・2026-11-25 決定。紺×白×くすんだゴールド、明朝体の見出し）
   余白はデザイン画より広めに取る（ユーザー指示：画像は詰まって見えるので、実際のサイトはゆったり） */
:root {
  --navy: #14254a;
  --navy-2: #1d3263;
  --navy-deep: #0e1b38;
  --gold: #b08d4c;
  --gold-soft: #d9c79f;
  --ink: #1f2633;
  --muted: #5d6676;
  --line: #d9dde6;
  --line-soft: #eceff4;
  --paper: #ffffff;
  --cream: #f7f3ea;
  --mist: #f4f6fa;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --sec: clamp(72px, 9vw, 128px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: .04em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.4; letter-spacing: .06em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * 40px); margin: 0 auto; padding-left: max(40px, var(--gutter)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) { .wrap { padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); } }
.en { font-family: var(--serif); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-size: .78rem; font-weight: 500; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ===== ヘッダー ===== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 18px rgba(20,37,74,.06); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .bar { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.logo { display: flex; align-items: center; gap: 16px; flex-shrink: 0; color: var(--navy); }
.logo::before { content: ""; width: 4px; height: 48px; background: linear-gradient(var(--gold), #8c6c33); border-radius: 2px; }
.logo .name { font-family: var(--serif); font-weight: 700; font-size: 1.42rem; letter-spacing: .06em; line-height: 1.3; display: block; }
.logo .name small { font-size: .84em; }
.logo .sub { display: block; font-family: var(--serif); font-size: .68rem; letter-spacing: .26em; color: var(--gold); margin-top: 4px; }
.logo:hover { color: var(--navy); }
.gnav { margin-left: auto; }
.gnav > ul { list-style: none; display: flex; margin: 0; padding: 0; }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a { display: flex; flex-direction: column; align-items: center; padding: 14px 14px; color: var(--navy); line-height: 1.35; }
.gnav .ja { font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.gnav .has-sub > a .ja::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--gold); margin-top: 2px; }
.gnav .en-s { font-family: var(--serif); font-size: .68rem; letter-spacing: .12em; color: var(--muted); margin-top: 3px; }
.gnav > ul > li > a::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px; background: var(--gold); transition: .25s; transform: translateX(-50%); }
.gnav > ul > li:hover > a::after, .gnav > ul > li.current > a::after { width: 28px; }
.gnav .sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); box-shadow: 0 16px 40px rgba(20,37,74,.14); list-style: none; margin: 0; padding: 10px 0; opacity: 0; visibility: hidden; transition: .2s; }
.gnav li:hover > .sub, .gnav li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnav .sub a { display: block; padding: 10px 22px; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.gnav .sub a::before { content: "—"; color: var(--gold); margin-right: 10px; }
.gnav .sub a:hover { background: var(--mist); color: var(--navy); }
.hbtns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: .88rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap; transition: .2s; }
.btn-pill svg { width: 17px; height: 17px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { border: 1.5px solid var(--gold); color: #8a6a30; background: #fff; }
.btn-line:hover { background: var(--cream); color: #7a5c26; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .25s; }
@media (max-width: 1240px) {
  .gnav > ul > li > a { padding: 14px 10px; }
  .gnav .ja { font-size: .88rem; }
  .hbtns .btn-line { display: none; }
}
@media (max-width: 1080px) {
  .site-header .bar { min-height: 72px; }
  .logo .name { font-size: 1.15rem; }
  .logo::before { height: 38px; }
  .menu-toggle { display: block; }
  .hbtns { display: none; }
  .gnav { position: fixed; inset: 72px 0 0 0; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s; padding: 8px var(--gutter) 40px; border-top: 1px solid var(--line); }
  body.menu-open .gnav { transform: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnav > ul { flex-direction: column; }
  .gnav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .gnav > ul > li > a { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 18px 4px; }
  .gnav > ul > li > a::after { display: none; }
  .gnav .ja { font-size: 1.05rem; }
  .gnav .has-sub > a .ja::after { display: none; }
  .gnav .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; }
  .gnav .sub a { padding: 8px 4px; white-space: normal; }
  .gnav .sp-btns { display: grid; gap: 12px; margin-top: 24px; }
  .gnav .sp-btns .btn-pill { justify-content: center; height: 52px; }
}
@media (min-width: 1081px) { .gnav .sp-btns { display: none; } }
@media (max-width: 480px) { .logo .name { font-size: 1rem; } .logo .sub { font-size: .56rem; letter-spacing: .18em; } }

/* ===== 見出し（セクション） ===== */
.section { padding-block: var(--sec); }
.section + .section { padding-top: 0; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .en { display: block; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); display: flex; align-items: center; justify-content: center; gap: 28px; }
.sec-head h2::before, .sec-head h2::after { content: ""; flex: 1; max-width: 340px; height: 1px; background: linear-gradient(90deg, transparent, #9fb0cf); }
.sec-head h2::after { background: linear-gradient(90deg, #9fb0cf, transparent); }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: .95rem; }
@media (max-width: 600px) { .sec-head h2::before, .sec-head h2::after { max-width: 40px; } .sec-head h2 { gap: 14px; } }
.more { text-align: center; margin-top: 48px; }
.btn-outline { display: inline-flex; align-items: center; gap: 14px; padding: 14px 40px; border: 1px solid var(--navy); color: var(--navy); font-family: var(--serif); letter-spacing: .1em; transition: .2s; }
.btn-outline::after { content: "›"; color: var(--gold); font-size: 1.2em; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ===== メインビジュアル ===== */
.hero { background: radial-gradient(120% 140% at 75% 30%, #233c73 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; gap: 32px; position: relative; z-index: 1; }
.hero .copy { padding-block: clamp(64px, 8vw, 110px); }
.hero .en { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.4; margin-top: 18px; letter-spacing: .06em; text-wrap: nowrap; }
@media (max-width: 600px) { .hero h1 { text-wrap: balance; } }
.hero .rule { width: 56px; height: 2px; background: var(--gold); margin: 30px 0; }
.hero .lead { color: rgba(255,255,255,.86); line-height: 1.7; font-size: 1rem; }
.hero .photo { position: relative; align-self: end; display: flex; justify-content: center; }
.hero .photo img { width: min(440px, 100%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero .nameplate { position: absolute; right: 0; top: 34%; text-align: left; }
.hero .nameplate b { display: block; font-family: var(--serif); font-size: 1.7rem; letter-spacing: .3em; font-weight: 600; }
.hero .nameplate span { display: block; font-family: var(--serif); font-size: .72rem; letter-spacing: .3em; color: rgba(255,255,255,.8); margin-top: 4px; }
.hero .nameplate i { display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 16px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero .copy { padding-bottom: 24px; }
  .hero .photo img { width: min(340px, 80%); }
  .hero .nameplate { right: 4%; top: 40%; }
  .hero .nameplate b { font-size: 1.3rem; }
}

/* ===== お知らせ ===== */
.news-row { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.news-row .ttl { border-right: 1px solid var(--gold); padding: 18px 0; }
.news-row .ttl h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.news-row .ttl .en { display: block; margin-top: 4px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 130px 1fr 20px; gap: 24px; padding: 18px 6px; color: var(--ink); align-items: baseline; }
.news-list time { font-family: var(--serif); color: var(--muted); letter-spacing: .08em; }
.news-list a::after { content: "›"; color: var(--navy); font-size: 1.3rem; }
.news-list a:hover { background: var(--mist); color: var(--navy); }
@media (max-width: 760px) {
  .news-row { grid-template-columns: 1fr; gap: 20px; }
  .news-row .ttl { border-right: 0; border-left: 3px solid var(--gold); padding: 0 0 0 16px; }
  .news-list a { grid-template-columns: 1fr 16px; gap: 4px 12px; }
  .news-list time { grid-column: 1; }
  .news-list a span { grid-column: 1; }
  .news-list a::after { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}

/* ===== 研究テーマ ===== */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); }
.theme { text-align: center; padding: 10px 18px 6px; border-left: 1px solid var(--line); color: var(--ink); position: relative; }
.theme:first-child { border-left: 0; }
.theme svg { width: 52px; height: 52px; color: var(--navy); margin: 0 auto 18px; stroke-width: 1.3; }
.theme h3 { font-size: 1.08rem; white-space: nowrap; }
.theme h3 em { font-style: italic; color: var(--gold); margin-right: 8px; font-weight: 500; }
.theme p { font-size: .84rem; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.theme .nk { position: absolute; width: 58px; top: -4px; right: 8%; }
.theme:hover h3 { color: var(--gold); }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(2, 1fr); gap: 28px 0; } .theme:nth-child(odd) { border-left: 0; } }
@media (max-width: 420px) { .theme h3 { font-size: .98rem; white-space: normal; } }

/* ===== 記事カード ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: grid; grid-template-columns: 44px 1fr 14px; gap: 6px 14px; align-items: start; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); transition: .2s; min-width: 0; }
.card:hover { border-color: var(--navy); box-shadow: 0 10px 30px rgba(20,37,74,.08); color: var(--ink); }
.card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.6rem; line-height: 1.1; }
.card h3 { font-size: 1.05rem; line-height: 1.4; }
.card p { grid-column: 2; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.card .arr { grid-row: 1 / span 2; grid-column: 3; align-self: center; color: var(--navy); font-size: 1.3rem; }
.card .tags { grid-column: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .72rem; padding: 2px 10px; background: var(--cream); color: #7a5c26; border-radius: 2px; letter-spacing: .06em; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; gap: 16px; } .card { padding: 22px 18px; } }

/* ===== 連載の帯 ===== */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.banner { position: relative; display: block; min-height: 190px; padding: 40px 48px; color: #fff; overflow: hidden; background: var(--navy); }
.banner::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center right; opacity: .55; transition: transform .6s; }
.banner.b1::before { background-image: linear-gradient(90deg, var(--navy) 30%, rgba(20,37,74,.2)), url(../images/bg-library.jpg); }
.banner.b2::before { background-image: linear-gradient(90deg, var(--navy) 30%, rgba(20,37,74,.2)), url(../images/bg-books.jpg); }
.banner:hover::before { transform: scale(1.04); }
.banner > * { position: relative; }
.banner h3 { color: #fff; font-size: 1.7rem; border-left: 3px solid var(--gold); padding-left: 20px; }
.banner p { margin-top: 12px; padding-left: 23px; color: rgba(255,255,255,.85); font-size: .92rem; }
.banner .go { position: absolute; right: 28px; bottom: 22px; color: var(--gold); font-size: 1.5rem; }
.banner:hover { color: #fff; }
@media (max-width: 760px) { .banners { grid-template-columns: 1fr; gap: 16px; } .banner { padding: 32px 24px; min-height: 150px; } .banner h3 { font-size: 1.35rem; } }

/* ===== 著書 ===== */
.books-row { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; border-top: 1px solid #b9c5dc; padding-top: clamp(48px, 6vw, 72px); }
.books-row .ttl h2 { font-size: 2rem; letter-spacing: .4em; }
.books-row .ttl .en { display: block; margin-top: 6px; letter-spacing: .3em; }
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.book { color: var(--ink); text-align: center; }
.book .cover { aspect-ratio: 3 / 4.2; display: flex; align-items: center; justify-content: center; background: var(--mist); box-shadow: 0 10px 24px rgba(20,37,74,.14); overflow: hidden; max-width: 100%; }
.book .cover img { width: 100%; height: 100%; object-fit: cover; }
.book .cover .noimg { font-family: var(--serif); color: var(--navy); padding: 20px; font-size: 1rem; line-height: 1.5; }
.book h3 { font-size: .95rem; margin-top: 16px; line-height: 1.4; }
.book p { font-size: .78rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .books-row { grid-template-columns: 1fr; gap: 28px; } .books { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ===== プロフィール（トップ） ===== */
.profile-row { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 48px; align-items: center; border-top: 1px solid #b9c5dc; padding-top: clamp(48px, 6vw, 72px); }
.profile-row .pic { background: linear-gradient(#eef1f6, #dfe5ef); aspect-ratio: 1 / .8; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; max-width: 100%; }
.profile-row .pic img { width: 92%; }
.profile-row h2 { font-size: 1.7rem; }
.profile-row h2 small { font-size: .7em; }
.profile-row .en { display: block; margin: 6px 0 20px; }
.profile-row .txt { color: var(--ink); line-height: 1.65; }
.profile-row .facts { border-left: 1px solid var(--navy); padding-left: 40px; }
.profile-row .facts h3 { font-size: 1.1rem; margin-bottom: 14px; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 20px; font-size: .9rem; line-height: 1.55; }
.dots li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@media (max-width: 960px) { .profile-row { grid-template-columns: 1fr; gap: 28px; } .profile-row .pic { max-width: 360px; } .profile-row .facts { padding-left: 20px; } }

/* ===== 公式LINE（書籍プレゼント） ===== */
.line-band { background: linear-gradient(180deg, #faf7ef, var(--cream)); border: 1px solid #e9dfc6; border-radius: 14px; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 64px); display: grid; grid-template-columns: auto auto 1fr; gap: 28px 40px; align-items: center; position: relative; overflow: hidden; }
.line-band::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; background: radial-gradient(60% 100% at 50% 0, rgba(176,141,76,.14), transparent 70%); }
.line-band .nk { width: 170px; }
.line-band .cover { width: 150px; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.line-band .txt { border-left: 2px solid var(--gold); padding-left: 40px; position: relative; z-index: 1; }
.line-band .kicker { font-family: var(--serif); color: var(--gold); font-size: 1.25rem; letter-spacing: .12em; font-weight: 600; }
.line-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .1em; margin-top: 4px; }
.line-band p { margin-top: 12px; line-height: 1.6; }
.line-band .btn-navy { height: 56px; padding: 0 40px; font-size: 1rem; margin-top: 22px; }
.line-band .btn-navy::after { content: "›"; color: var(--gold); font-size: 1.3em; margin-left: 8px; }
.line-band .note { font-size: .78rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) {
  .line-band { grid-template-columns: auto auto; justify-content: center; text-align: center; }
  .line-band .txt { grid-column: 1 / -1; border-left: 0; border-top: 2px solid var(--gold); padding: 24px 0 0; }
  .line-band .nk { width: 120px; } .line-band .cover { width: 110px; }
}

/* ===== フッター ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); margin-top: var(--sec); padding-block: 56px 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .fname { font-family: var(--serif); font-size: 1.3rem; color: #fff; border-left: 3px solid var(--gold); padding-left: 16px; letter-spacing: .08em; }
.site-footer .fname small { display: block; font-size: .62rem; letter-spacing: .26em; color: var(--gold-soft); margin-top: 6px; }
.site-footer p { font-size: .84rem; margin-top: 16px; line-height: 1.6; }
.site-footer h3 { color: #fff; font-size: .9rem; margin-bottom: 12px; letter-spacing: .12em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); font-size: .88rem; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; font-size: .76rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }

/* ===== 下層：ページの帯・パンくず ===== */
.page-hero { background: linear-gradient(100deg, var(--navy-deep), var(--navy) 60%, #22396d); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.page-hero .ttl { border-left: 4px solid var(--gold); padding-left: 28px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: .14em; }
.page-hero .en { color: var(--gold-soft); display: block; margin-top: 6px; }
.page-hero p { color: rgba(255,255,255,.86); border-left: 1px solid rgba(255,255,255,.3); padding-left: 40px; line-height: 1.65; }
@media (max-width: 760px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 18px; } .page-hero p { border-left: 0; padding-left: 0; } }
.crumbs { font-size: .78rem; color: var(--muted); padding-block: 22px; border-bottom: 1px solid var(--line-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: var(--muted); }

/* ===== 記事一覧 ===== */
.tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 40px; }
.tabs a { flex: 1 1 auto; text-align: center; padding: 14px 18px; font-family: var(--serif); font-size: .92rem; color: var(--navy); border-left: 1px solid var(--line); white-space: nowrap; }
.tabs a:first-child { border-left: 0; }
.tabs a.on { background: var(--navy); color: #fff; }
.tabs a:hover:not(.on) { background: var(--mist); }
@media (max-width: 760px) { .tabs { border: 0; gap: 8px; } .tabs a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .84rem; } }
.alist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.alist li { border-bottom: 1px solid var(--line); }
.alist a { display: grid; grid-template-columns: 64px 170px 120px 1fr 20px; gap: 24px; align-items: center; padding: 26px 8px; color: var(--ink); }
.alist a:hover { background: var(--mist); }
.alist .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.7rem; }
.alist time { font-family: var(--serif); color: var(--muted); font-size: .92rem; }
.alist h2 { font-size: 1.12rem; }
.alist p { font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.alist .arr { color: var(--navy); font-size: 1.3rem; }
.alist .tags { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .alist a { grid-template-columns: 1fr 16px; gap: 8px 12px; padding: 22px 4px; }
  .alist .num { display: none; }
  .alist .tags, .alist time, .alist .body { grid-column: 1; }
  .alist .arr { grid-row: 1 / span 3; grid-column: 2; }
}
.empty { padding: 48px 0; color: var(--muted); text-align: center; }

/* ===== 記事ページ ===== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-block: 48px var(--sec); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 56px; } }
.a-head .tags { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.a-head .tags a { background: var(--gold); color: #fff; font-size: .78rem; padding: 4px 14px; border-radius: 2px; letter-spacing: .08em; }
.a-head h1 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.4; }
.a-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-top: 18px; font-family: var(--serif); }
.a-author { display: flex; gap: 18px; align-items: center; margin-top: 26px; padding-block: 18px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.a-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); }
.a-author b { font-family: var(--serif); color: var(--navy); }
.a-author p { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.toc { margin: 40px 0; border: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; }
.toc .ttl { display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid var(--gold); padding: 20px; }
.toc .ttl b { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; letter-spacing: .3em; }
.toc ol { list-style: none; margin: 0; padding: 18px 28px; counter-reset: t; }
.toc li { counter-increment: t; border-bottom: 1px dashed var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: block; padding: 8px 0; font-size: .92rem; color: var(--ink); }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold); margin-right: 14px; }
@media (max-width: 600px) { .toc { grid-template-columns: 1fr; } .toc .ttl { border-right: 0; border-bottom: 1px solid var(--gold); padding: 12px; } }
.prose { font-size: 1.02rem; line-height: 1.7; }
.prose > * + * { margin-top: .9em; }
.prose h2 { font-size: 1.55rem; margin-top: 2.6em; padding-bottom: 12px; border-bottom: 1px solid var(--line); counter-increment: h2; display: flex; gap: 14px; align-items: baseline; }
.prose { counter-reset: h2; }
.prose h2::before { content: counter(h2, decimal-leading-zero); font-style: italic; color: var(--gold); font-weight: 500; }
.prose h3 { font-size: 1.22rem; margin-top: 2em; border-left: 3px solid var(--navy); padding-left: 14px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; box-shadow: 0 6px 20px rgba(20,37,74,.1); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 24px 32px; background: var(--cream); border-left: 3px solid var(--gold); font-family: var(--serif); }
.prose .wp-block-group { padding: 22px 26px !important; border-radius: 4px !important; }
.prose .wp-block-group.has-border-color { border: 0 !important; background: var(--cream) !important; border-left: 4px solid var(--gold) !important; }
.prose .wp-block-group p { margin: 0; }
.prose .wp-block-group p + p { margin-top: .4em; }
.prose .wp-block-file { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); }
.prose .wp-block-file__button { display: inline-flex; align-items: center; padding: 10px 28px; background: var(--navy); color: #fff !important; text-decoration: none !important; font-size: .9rem; border-radius: 2px; }
.prose .btn, .prose a.btn { display: inline-block; padding: 14px 36px; background: var(--navy); color: #fff; text-decoration: none; font-family: var(--serif); letter-spacing: .08em; }
.prose .embed-link { word-break: break-all; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--mist); }
.prose .note, .prose p[style*="font-size:0.9em"] { color: var(--muted); }
.gallery-pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 600px) { .gallery-pages { grid-template-columns: 1fr; } }
.author-box { margin-top: 64px; border: 1px solid var(--line); display: grid; grid-template-columns: 140px 120px 1fr; gap: 28px; align-items: center; padding: 24px 28px; }
.author-box .ttl b { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); display: block; letter-spacing: .1em; }
.author-box img { width: 120px; height: 120px; object-fit: cover; object-position: top; background: var(--mist); }
.author-box h3 { font-size: 1.05rem; }
.author-box p { font-size: .86rem; color: var(--muted); margin-top: 6px; line-height: 1.55; }
@media (max-width: 700px) { .author-box { grid-template-columns: 90px 1fr; } .author-box .ttl { grid-column: 1 / -1; } .author-box img { width: 90px; height: 90px; } }
.related { margin-top: 56px; }
.related > h2 { font-size: 1.25rem; border-left: 3px solid var(--gold); padding-left: 14px; margin-bottom: 20px; }
.related .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related .card { padding: 20px 18px; }
@media (max-width: 760px) { .related .cards { grid-template-columns: 1fr; } }
.disclaimer { margin-top: 40px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* サイドバー */
.side > section + section { margin-top: 48px; }
.side h2 { font-size: 1.15rem; border-left: 3px solid var(--gold); padding-left: 14px; }
.side h2 .en { display: block; font-size: .66rem; margin-top: 2px; }
.side ul { list-style: none; margin: 16px 0 0; padding: 0; }
.side li { border-bottom: 1px solid var(--line); }
.side li a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 4px; font-size: .9rem; color: var(--ink); }
.side li a::after { content: "›"; color: var(--navy); }
.side li a:hover { color: var(--navy); background: var(--mist); }
.side .latest a { display: block; }
.side .latest a::after { display: none; }
.side .latest time { display: block; font-size: .76rem; color: var(--muted); font-family: var(--serif); margin-top: 2px; }
@media (min-width: 1001px) { .side .sticky { position: sticky; top: 120px; } }

/* ===== プロフィールページ ===== */
.prof-hero .wrap { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px; padding-bottom: 0; }
.prof-hero .copy { padding-block: clamp(56px, 7vw, 96px); }
.prof-hero .photo img { width: min(400px, 100%); margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.two-col > div { min-width: 0; }
.two-col h2 { font-size: 1.6rem; }
.two-col .en { display: block; margin: 4px 0 22px; }
.two-col .bio { border-left: 1px solid var(--gold); padding-left: 56px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 48px; } .two-col .bio { border-left: 0; padding-left: 0; } }
.greet p + p { margin-top: .9em; }
.timeline { width: 100%; border-collapse: collapse; }
.timeline th, .timeline td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; font-size: .94rem; line-height: 1.55; }
.timeline tr:first-child th, .timeline tr:first-child td { border-top: 1px solid var(--navy); }
.timeline th { width: 96px; font-family: var(--serif); font-weight: 500; color: var(--navy); border-right: 1px solid var(--line); white-space: nowrap; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid div { padding: 32px 16px; text-align: center; border-left: 1px solid var(--line); }
.facts-grid div:first-child { border-left: 0; }
.facts-grid b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--navy); font-weight: 600; }
.facts-grid b small { font-size: .45em; margin-left: 2px; }
.facts-grid span { font-size: .84rem; color: var(--muted); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .facts-grid div:nth-child(3) { border-left: 0; } .facts-grid div { border-bottom: 1px solid var(--line); } }

/* ===== 著書ページ ===== */
.book-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.book-item { display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.book-item .cover { aspect-ratio: 3 / 4.2; background: var(--mist); box-shadow: 0 10px 24px rgba(20,37,74,.14); display: flex; align-items: center; justify-content: center; text-align: center; max-width: 100%; }
.book-item .cover img { width: 100%; height: 100%; object-fit: cover; }
.book-item .cover .noimg { font-family: var(--serif); color: var(--navy); padding: 16px; line-height: 1.5; }
.book-item h2 { font-size: 1.4rem; }
.book-item .sub { color: var(--muted); font-family: var(--serif); margin-top: 4px; }
.book-item dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 16px; font-size: .88rem; margin: 18px 0; }
.book-item dt { color: var(--muted); }
.book-item dd { margin: 0; }
@media (max-width: 700px) { .book-item { grid-template-columns: 110px 1fr; gap: 20px; padding: 32px 0; } .book-item .desc { grid-column: 1 / -1; } }

/* ===== 固定ページ・フォーム ===== */
.page-body { max-width: 860px; margin: 0 auto; padding-block: 56px var(--sec); }
.form-box { border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.form-row label { font-weight: 600; color: var(--navy); }
.form-row .req { font-size: .72rem; background: var(--navy); color: #fff; padding: 1px 8px; margin-left: 8px; border-radius: 2px; font-weight: 400; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid #c6ccd8; border-radius: 3px; padding: 12px 14px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.form-row textarea { min-height: 200px; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.form-actions { text-align: center; margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.form-actions button { height: 56px; padding: 0 56px; border: 0; background: var(--navy); color: #fff; font: inherit; font-family: var(--serif); letter-spacing: .12em; cursor: pointer; border-radius: 2px; }
.form-actions button.back { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.form-err { background: #fdf1f1; border-left: 3px solid #b03a3a; padding: 12px 18px; margin-bottom: 24px; color: #8a2a2a; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; gap: 8px; } }
.site-header .wrap { max-width: 1480px; }
@media (max-width: 1600px) { .gnav > ul > li > a { padding: 14px 9px; } .gnav .ja { font-size: .88rem; } .btn-pill { padding: 0 16px; } }
.related .card { grid-template-columns: 34px 1fr 12px; }
.related .card h3 { font-size: .95rem; }
.related .card p { display: none; }
.related .card .num { font-size: 1.3rem; }
.nb { display: inline-block; }
@media (max-width: 600px) { br.pc { display: none; } }
/* スマホ：ヘッダーの backdrop-filter があると、固定配置のメニューの基準がヘッダーになってしまうので外す */
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .gnav { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  body.menu-open .gnav { visibility: visible; transition: transform .3s; }
}
html, body { overflow-x: clip; }
/* ヘッダーが横にはみ出さないように：幅が足りないときはロゴ・メニュー・ボタンを順に詰める */
.site-header .bar { gap: 20px; }
.gnav { min-width: 0; }
@media (max-width: 1400px) { .logo .name { font-size: 1.25rem; } .hbtns .btn-line { display: none; } }
@media (max-width: 1180px) { .logo .sub { display: none; } .gnav > ul > li > a { padding: 14px 7px; } .gnav .ja { font-size: .84rem; } .btn-pill { padding: 0 14px; font-size: .82rem; } }
@media (min-width: 1081px) and (max-width: 1150px) { .gnav > ul > li > a { padding: 14px 5px; } .gnav .ja { font-size: .8rem; letter-spacing: .03em; } }
/* 旧トップから移した記事の部品 */
.prose .step { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--navy); font-family: var(--serif); font-weight: 600; color: var(--navy); }
.prose .step b { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.prose .step + .step { margin-top: 10px; }
.prose .small-photo { float: right; width: 200px; margin: 0 0 16px 24px; }
@media (max-width: 600px) { .prose .small-photo { float: none; margin: 0 auto 16px; } }
.prose h2 { clear: both; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 760px; font-size: .84rem; }
.prose dl dt { font-weight: 600; color: var(--navy); margin-top: 1em; }
.prose dl dd { margin: 0 0 0 1em; font-size: .9rem; color: var(--muted); }
.timeline td small { color: var(--muted); font-size: .78em; margin-left: 6px; white-space: nowrap; }
.timeline th { width: 92px; }
.prose figure img { max-width: min(100%, 720px); }
.prose .mv-row { display: flex; gap: 24px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.prose .mv-row figure { margin: 0; }
.prose .mv-row img { max-height: 260px; width: auto; box-shadow: none; }
.prose .mv-row figcaption { text-align: center; font-family: var(--serif); color: var(--navy); font-size: .9rem; margin-top: 6px; }
.prose .lead-copy { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); text-align: center; font-weight: 600; }
.prose .lead-copy b { color: var(--gold); font-size: 1.15em; }
/* スマホのヘッダー（上の 1180〜1320px 用の指定より後ろに置いて、必ずこちらが勝つようにする） */
@media (max-width: 1080px) {
  .logo .name { font-size: 1.1rem; }
  .logo .sub { display: block; }
  .site-header .bar { gap: 12px; }
}
@media (max-width: 480px) {
  .logo { gap: 10px; min-width: 0; }
  .logo .name { font-size: .95rem; white-space: nowrap; }
  .logo .sub { font-size: .52rem; letter-spacing: .14em; }
  .menu-toggle { flex-shrink: 0; margin-right: -8px; }
}
/* スマホ：研究テーマは1列（アイコン左・文字右） */
@media (max-width: 640px) {
  .themes { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .theme { display: grid; grid-template-columns: 52px 1fr; gap: 2px 16px; text-align: left; border-left: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; align-items: center; }
  .theme svg { width: 40px; height: 40px; margin: 0; grid-row: 1 / span 2; }
  .theme h3 { white-space: normal; font-size: 1rem; }
  .theme p { margin-top: 0; grid-column: 2; }
  .theme .nk { width: 46px; top: 8px; right: 4px; }
}
@media (max-width: 640px) {
  .card { grid-template-columns: 30px 1fr 10px; gap: 4px 10px; }
  .card .num { font-size: 1.2rem; }
  .card h3 { font-size: 1rem; }
  .banner p br, .line-band p br { display: none; }
}
.site-footer { margin-top: 0; }
@media (max-width: 640px) {
  .site-footer .fname { font-size: 1.05rem; }
  .line-band { padding: 28px 20px; gap: 20px; }
  .line-band .nk { width: 96px; } .line-band .cover { width: 96px; }
}
/* 記事：中の表が広くても本文の列が広がらないように（スマホで崩れた原因） */
.article-layout > * { min-width: 0; }
.prose img { max-width: 100%; height: auto; }
.prose .mv-row img { max-width: 100%; }
@media (max-width: 640px) { .prose .mv-row { flex-wrap: nowrap; gap: 12px; } .prose .mv-row img { max-height: 150px; } .prose .lead-copy { font-size: 1.2rem; } }
@media (max-width: 900px) {
  .prof-hero .wrap { grid-template-columns: 1fr; }
  .prof-hero .copy { padding-bottom: 16px; }
  .prof-hero .photo img { margin: 0 auto; width: min(320px, 80%); }
}
@media (max-width: 640px) { .page-hero p br, .hero .lead br { display: none; } }
@media (max-width: 900px) {
  .hero .nameplate { top: auto; bottom: 24px; right: 0; background: rgba(14,27,56,.78); padding: 10px 14px; }
  .hero .nameplate i { margin-top: 8px; }
}
/* スマホのメインビジュアルを小さく：写真は右下に小さく重ね、文字の上下の余白を詰める */
@media (max-width: 640px) {
  .hero .wrap { display: block; position: relative; min-height: 0; }
  .hero .copy { padding: 32px 0 28px; position: relative; z-index: 2; max-width: 64%; }
  .hero .en { font-size: .62rem; letter-spacing: .14em; }
  .hero h1 { font-size: 1.22rem; margin-top: 10px; line-height: 1.5; }
  .hero .rule { margin: 14px 0; width: 40px; }
  .hero .lead { font-size: .8rem; line-height: 1.65; }
  .hero .photo { position: absolute; right: -6px; bottom: 0; width: 46%; z-index: 1; }
  .hero .photo img { width: 100%; }
  .hero .nameplate { right: 4px; bottom: 8px; padding: 6px 10px; }
  .hero .nameplate b { font-size: 1rem; letter-spacing: .2em; }
  .hero .nameplate span { font-size: .55rem; letter-spacing: .16em; }
  .hero .nameplate i { display: none; }
  .prof-hero .copy { max-width: 60%; }
  .prof-hero h1 { font-size: 1.6rem !important; }
  .prof-hero .nameplate span:nth-of-type(3) { display: none; }
}
.banners > .banner:only-child { grid-column: 1 / -1; }
/* スマホのキャッチ：改行を3行に（ローズさん：改行が多すぎる） */
@media (max-width: 640px) {
  .hero .copy { max-width: none; padding-bottom: 24px; }
  .hero h1 { font-size: min(4.6vw, 1.25rem); letter-spacing: .02em; text-wrap: nowrap; }
  .hero h1 .nb { display: inline; }
  .hero .lead { max-width: 56%; }
  .hero .photo { width: 42%; }
}
/* スマホの先生の写真をひとまわり大きく（ローズさん） */
@media (max-width: 640px) {
  .hero .photo { width: 54%; right: -10px; }
  .hero .lead { max-width: 50%; }
  .hero .copy { padding-bottom: 36px; }
}
/* PC の先生の写真をひとまわり大きく（ローズさん） */
@media (min-width: 641px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero .photo { justify-content: flex-end; }
  .hero .photo img { width: min(580px, 112%); max-width: none; margin-right: -4%; }
  .hero .nameplate { right: -2%; top: auto; bottom: 18%; background: rgba(14,27,56,.72); padding: 12px 18px; }
}
/* キャッチをひとまわり大きく（ローズさん） */
.hero:not(.prof-hero) h1 { font-size: clamp(1.75rem, 3.4vw, 2.85rem); }
@media (max-width: 640px) {
  .hero:not(.prof-hero) h1 { font-size: min(5.3vw, 1.45rem); letter-spacing: .01em; }
  .hero:not(.prof-hero) .copy { padding-bottom: 76px; }
}
/* スマホの先生の写真をもうひとまわり大きく（ローズさん 2回目） */
@media (max-width: 640px) {
  .hero:not(.prof-hero) .photo { width: 63%; right: -14px; }
  .hero:not(.prof-hero) .lead { max-width: 45%; }
  .hero:not(.prof-hero) .copy { padding-bottom: 110px; }
}
/* PC のメニューが入りきらないときの詰め方（site.js が付ける。文字の大きさの設定や拡大表示でも重ならないように） */
@media (min-width: 1081px) {
  .nav-t1 .gnav > ul > li > a { padding: 14px 4px; }
  .nav-t1 .gnav .ja { font-size: .78rem; letter-spacing: 0; }
  .nav-t1 .gnav .en-s { font-size: .6rem; letter-spacing: .06em; }
  .nav-t1 .hbtns .btn-line { display: none; }
  .nav-t2 .logo .name { font-size: 1.02rem; }
  .nav-t2 .logo .sub { display: none; }
  .nav-t2 .hbtns .btn-pill { padding: 0 12px; font-size: .76rem; }
  .nav-t2 .hbtns .btn-pill svg { display: none; }
  .nav-t3 .gnav .ja { font-size: .7rem; }
  .nav-t3 .gnav > ul > li > a { padding: 14px 3px; }
  .nav-t3 .gnav .has-sub > a .ja::after { display: none; }
}
/* 旧サイトと同じく、PC でも「LINEお問い合わせ」を出しておく（入りきらないときだけ site.js が隠す） */
@media (min-width: 1081px) { .hbtns .btn-line { display: inline-flex; } }
/* 記事などのタイトルは、行の長さをそろえる折り返し（balance）をやめて、端まで使って折り返す（ローズさん：改行が多くて左に寄る） */
.a-head h1, .prose h2, .prose h3, .prose h4, .card h3, .related h2, .author-box h3 { text-wrap: wrap; }
@media (max-width: 640px) { .a-head h1 { font-size: 1.4rem; letter-spacing: .03em; } }
/* 記事ページの右メニュー：固定スクロールをやめる（下まで見えないため）。新着記事の上に余白 */
@media (min-width: 1001px) { .side .sticky { position: static; } }
.side section + section { margin-top: 48px; }
/* プロフィール：他のサブページと同じ帯にしたので、先生の写真は「ごあいさつ」の上に */
.prof-photo { margin: 0 0 32px; background: linear-gradient(160deg, var(--navy-deep), var(--navy)); border-radius: 4px; overflow: hidden; position: relative; }
.prof-photo img { display: block; width: min(360px, 80%); margin: 24px auto 0; }
.prof-photo figcaption { position: absolute; right: 0; bottom: 18px; background: rgba(14,27,56,.78); color: #fff; padding: 10px 18px; font-family: var(--serif); }
.prof-photo figcaption b { display: block; font-size: 1.2rem; letter-spacing: .2em; }
.prof-photo figcaption span { font-size: .72rem; letter-spacing: .1em; color: var(--gold-soft); }
/* コロナ後遺症の一覧：旧トップ（根本的治療仮説）への案内 */
.feature-lc { display: grid; gap: 10px; margin: 0 0 40px; padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 48px); background: linear-gradient(110deg, var(--navy-deep), var(--navy) 70%, #22396d); color: #fff; border-left: 5px solid var(--gold); border-radius: 4px; box-shadow: 0 14px 34px rgba(20,37,74,.18); transition: .2s; }
.feature-lc:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(20,37,74,.26); }
.feature-lc .kicker { color: var(--gold-soft); font-size: .8rem; letter-spacing: .2em; font-weight: 700; }
.feature-lc .ttl { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; }
.feature-lc .txt { color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.7; max-width: 46em; }
.feature-lc .go { justify-self: start; margin-top: 6px; background: var(--gold); color: #fff; padding: 8px 22px; border-radius: 999px; font-size: .88rem; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 640px) { .feature-lc .ttl br { display: none; } }
/* バナーが「押せる」とわかるように：読むボタン・影・ホバーで浮く（ユーザー指摘：ただの帯に見える） */
.banner { border-radius: 6px; box-shadow: 0 12px 30px rgba(20,37,74,.22); transition: transform .2s, box-shadow .2s; cursor: pointer; }
.banner:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20,37,74,.32); }
.banner .go { position: relative; right: auto; bottom: auto; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0 23px; padding: 10px 24px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .08em; transition: background .2s; }
.banner .go i { font-style: normal; font-size: 1.1rem; line-height: 1; transition: transform .2s; }
.banner:hover .go { background: #c29a50; }
.banner:hover .go i { transform: translateX(4px); }
