@charset "UTF-8";
/* ============================================================
   教員プロフィール  /about/teacher/
   接頭辞 .tc-（既存スタイルと衝突しないようスコープ）
   ============================================================ */

.tc-wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* ---- 導入 ---- */
.tc-head{text-align:center;padding:6px 0 30px}
.tc-head__eyebrow{margin:0 0 8px;font-size:.72rem;font-weight:800;letter-spacing:.18em;color:#009e96}
.tc-wrap .tc-head__title{margin:0;padding:0;border:0;font-size:1.72rem;line-height:1.55;font-weight:800;color:#1f2a38;letter-spacing:.02em}
.tc-head__lead{max-width:720px;margin:14px auto 0;font-size:.9rem;line-height:2;color:#5b6879;text-align:left}

/* ---- 目次 ---- */
.tc-index{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:26px 0 0}
.tc-index a{position:relative;display:block;padding:12px 26px 11px 12px;border:1px solid #e1e7ef;border-radius:6px;background:#fff;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
.tc-index a::after{content:"\2192";position:absolute;right:11px;top:11px;font-size:.72rem;line-height:1.4;color:#a9bcd6;transition:color .2s,transform .2s}
.tc-index a:hover{border-color:#b9cbe4;box-shadow:0 6px 16px rgba(0,50,120,.08);transform:translateY(-2px)}
.tc-index a:hover::after{color:#003c8c;transform:translateX(2px)}
.tc-index a:focus-visible{outline:2px solid #003c8c;outline-offset:2px}
.tc-index b{display:block;font-size:.86rem;font-weight:800;color:#1f2a38;line-height:1.4}
.tc-index span{display:block;margin-top:3px;font-size:.64rem;color:#7c8899;letter-spacing:.04em}

/* ---- プロフィール ---- */
.tc-list{margin:38px 0 0;display:flex;flex-direction:column;gap:26px}
.tc-person{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-areas:"photo head" "body body";background:#fff;border:1px solid #e1e7ef;border-radius:10px;overflow:hidden;scroll-margin-top:calc(var(--ygh-header-height, 0px) + 24px)}
.tc-person__photo{grid-area:photo;position:relative;overflow:hidden;min-height:300px}
.tc-person__photo--blank{background:linear-gradient(160deg,#f2f6fc 0%,#e3ebf6 100%);border-right:1px solid #e7edf6}
.tc-person__photo span{position:absolute;left:14px;bottom:12px;font-size:.6rem;letter-spacing:.22em;color:#a7b6ca}
.tc-person__photo--blank::after{content:"";position:absolute;inset:14px;border:1px solid #dbe4f0;border-radius:3px;pointer-events:none}
/* 写真あり: 背景色・枠線・内側の罫線をすべて出さず、写真だけを表示 */
.tc-person__photo--img{background:none !important;border:0 !important;box-shadow:none !important}
.tc-person__photo--img::before,
.tc-person__photo--img::after{content:none !important;display:none !important;border:0 !important}
.tc-person__photo--img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block;border:0}
.tc-person__head{grid-area:head;padding:24px 30px 22px;min-width:0}
.tc-person__body{grid-area:body;padding:20px 30px 30px;min-width:0}

.tc-role{display:inline-block;margin:0 0 8px;padding:2px 9px;border-radius:2px;background:#003c8c;color:#fff;font-size:.64rem;font-weight:700;letter-spacing:.08em}
.tc-wrap .tc-name{margin:0;padding:0;border:0;font-size:1.5rem;line-height:1.35;font-weight:900;color:#111820;letter-spacing:.03em}
.tc-kana{margin:3px 0 0;font-size:.68rem;letter-spacing:.1em;color:#93a0b3}

.tc-meta{margin:16px 0 0;padding:14px 0 2px;border-top:1px solid #eef2f7;display:grid;grid-template-columns:78px minmax(0,1fr);gap:0}
.tc-meta dt{padding:4px 0;font-size:.66rem;font-weight:700;color:#8c98aa;letter-spacing:.04em;line-height:1.9}
.tc-meta dd{margin:0;padding:4px 0;font-size:.74rem;line-height:1.9;color:#566274;min-width:0}
.tc-chips{display:flex;flex-wrap:wrap;gap:5px}
.tc-chip{padding:1px 7px;border:1px solid #d8e7f9;border-radius:2px;background:#f1f7fe;color:#2f6db4;font-size:.64rem;line-height:1.8}
.tc-abroad{margin:0;padding:0;list-style:none}
.tc-abroad li{position:relative;padding-left:13px;line-height:1.9}
.tc-abroad li::before{content:"";position:absolute;left:2px;top:.82em;width:4px;height:4px;border-radius:50%;background:#009e96}

.tc-block{margin:18px 0 0}
.tc-block__title{margin:0 0 7px;padding:0;border:0;font-size:.68rem;font-weight:800;letter-spacing:.1em;color:#003c8c}
.tc-block p{margin:0;font-size:.82rem;line-height:2.05;color:#3d4757}
.tc-block p + p{margin-top:10px}

.tc-message{margin:18px 0 0;padding:16px 20px 18px;border-left:3px solid #ef8b28;background:#fbfcfe;border-radius:0 4px 4px 0}
.tc-message .tc-block__title{color:#b25f0c}
.tc-message p{font-size:.84rem;line-height:2.05;color:#3d4757}

/* 画像は全員左／自己紹介以降はカード左端から全幅 */

/* ---- 注記・CTA ---- */
.tc-note{margin:34px 0 0;padding:16px 20px;border-left:3px solid #009e96;background:#f6fbfa;font-size:.74rem;line-height:1.95;color:#3f5e5a}
.tc-cta{margin:34px 0 0;padding:26px 30px;border:1px solid #e1e7ef;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.tc-cta p{margin:0;font-size:.9rem;font-weight:800;color:#1f2a38;line-height:1.7}
.tc-cta span{display:block;margin-top:4px;font-size:.72rem;font-weight:500;color:#6b7789}
.tc-cta a{display:inline-flex;align-items:center;gap:6px;padding:11px 22px;border-radius:6px;background:#003c8c;color:#fff;font-size:.78rem;font-weight:700;text-decoration:none;white-space:nowrap}
.tc-cta a:hover{background:#002a63}

/* ---- レスポンシブ ---- */
@media (max-width:1000px){
  .tc-index{grid-template-columns:repeat(3,1fr)}
  .tc-person{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "head" "body"}
  .tc-person__photo{width:72%;height:auto;min-height:0;aspect-ratio:4/5;border:0}
  .tc-person__head{padding:20px 24px 16px}
  .tc-person__body{padding:16px 24px 24px}
}
@media (max-width:767px){
  .tc-wrap{padding:0 16px}
  .tc-wrap .tc-head__title{font-size:1.3rem}
  .tc-head__lead{font-size:.84rem}
  .tc-index{grid-template-columns:repeat(2,1fr);margin-top:20px}
  .tc-index a:last-child:nth-child(odd){grid-column:1 / -1}
  .tc-index b{font-size:.8rem}
  .tc-person__head{padding:16px 18px 12px}
  .tc-person__body{padding:12px 18px 20px}
  .tc-wrap .tc-name{font-size:1.28rem}
  .tc-meta{grid-template-columns:70px minmax(0,1fr)}
  .tc-block p,.tc-message p{font-size:.8rem}
  .tc-person__photo{width:78%;height:auto;margin:0 auto 18px;aspect-ratio:5/6}
  .tc-person__photo--img img{object-position:center 20%}
  .tc-person__head{padding-top:2px}
  .tc-cta{padding:20px}
}

@media (max-width:380px){
  .tc-person__photo{width:84%;margin-bottom:16px}
}

/* 2026-11-12 補正：小さすぎる文字サイズを引き上げ */
.tc-role { font-size: 12.5px !important; }
.tc-kana { font-size: 12.5px !important; }
.tc-meta dt { font-size: 13px !important; }
.tc-meta dd { font-size: 14px !important; }
.tc-note { font-size: 13px !important; }

/* ==========================================================
 * 2026-11-12 個別修正（このページ固有）
 * 1024〜1440px でページバナーの英字ラベルが固定ヘッダーに潜り、
 * リード文がバナー下端からはみ出す問題を修正。
 * 原因：バナーの固定高さ（aspect-ratio 32/5・min-height）に対し
 *       中身（ラベル＋見出し＋リード）が高く、中央揃えで上下に溢出していた。
 * ========================================================== */
.ygh-page-banner {
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 210px !important;
    align-items: flex-start !important;
    padding-top: max(calc(var(--ygh-header-height, 90px) + 26px), 112px) !important;
    padding-bottom: 28px !important;
    box-sizing: border-box !important;
}
@media screen and (max-width: 899px) {
    .ygh-page-banner {
        min-height: calc(var(--ygh-header-height, 90px) + 96px) !important;
        padding-top: calc(var(--ygh-header-height, 90px) + 16px) !important;
        padding-bottom: 18px !important;
    }
}
