/* RAT 静的サイト: 案D（rat-d.css）に足す部品と、取り込んだ WordPress 本文の見た目 */
.renew { display: block; background: #111; color: #fff; font-size: 13px; line-height: 1.6; padding: 9px 16px; text-align: center; }
.renew b { background: var(--accent); padding: 1px 8px; margin-right: 8px; font-size: 11.5px; letter-spacing: .1em; }
.oldnote { background: #f3f1ec; font-size: 13.5px; color: var(--ink-2); padding: 10px 14px; margin: 0 0 18px; }
.catbanner .ph { aspect-ratio: 16 / 9; }
@media (min-width: 760px) { .catbanner .ph { aspect-ratio: 21 / 7; } }
.catbanner { margin-top: 0; }

/* 取り込んだ本文（SWELL） */
.body.wp img { max-width: 100%; height: auto; }
.body.wp figure { margin: 22px 0; }
.body.wp figure img { width: 100%; }
.body.wp figcaption, .body.wp .wp-element-caption { font-size: 12.5px; color: var(--ink-3); padding-top: 6px; }
.body.wp h3 { font-size: 18px; font-weight: 700; margin: 30px 0 10px; line-height: 1.5; }
.body.wp h4 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.body.wp ul, .body.wp ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body.wp li { margin: 4px 0; }
.body.wp a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.body.wp .swl-marker, .body.wp .mark_orange { background: linear-gradient(transparent 62%, #fbe3d5 62%); }
.body.wp .cap_box { border: 1px solid var(--rule); margin: 22px 0; }
.body.wp .cap_box_ttl { background: #f3f1ec; padding: 9px 14px; font-weight: 700; font-size: 15px; }
.body.wp .cap_box_content { padding: 12px 16px 4px; }
.body.wp blockquote { border-left: 3px solid var(--ink); margin: 20px 0; padding: 4px 0 4px 16px; color: var(--ink-2); }
.body.wp hr { border: 0; border-top: 1px solid var(--rule); margin: 28px 0; }
.body.wp table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.body.wp th, .body.wp td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.body.wp .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.body.wp .swell-block-button { margin: 20px 0; text-align: center; }
.body.wp .swell-block-button__link { display: inline-block; background: var(--ink); color: #fff !important; text-decoration: none; padding: 12px 26px; font-weight: 700; }
.body.wp .wp-block-columns { display: grid; gap: 16px; }
@media (min-width: 760px) { .body.wp .wp-block-columns { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.body.wp small, .body.wp .u-fz-xs { font-size: 12.5px; color: var(--ink-3); }
.body.wp .has-text-align-center { text-align: center; }
.wordmark { font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.wordmark span { color: var(--accent); }
@media (min-width: 1040px) { .wordmark { font-size: 27px; } }
.ecard { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; border: 1px solid var(--rule); padding: 10px; margin: 20px 0; text-decoration: none !important; color: var(--ink) !important; }
.ecard .ph { aspect-ratio: 3 / 2; }
.ecard b { display: block; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.people-box .pp { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: start; text-decoration: none; color: var(--ink); }
.people-box .pp img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #eee; }
.people-box small { display: block; font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.people-box b { font-size: 16px; }
.people-box span { display: block; font-size: 12.5px; color: var(--ink-3); }
.people-box p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
@media (min-width: 760px) { .people-box.wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } .people-box.wide h2 { grid-column: 1 / -1; } .people-box.wide .pp { grid-template-columns: 110px 1fr; } .people-box.wide .pp img { width: 110px; height: 110px; } }
.author .avimg { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.stemhub { background: var(--tint, #f4f1ea); margin: 0 -16px; padding: 26px 16px; }
.stemhub h2 { font-size: 22px; font-weight: 800; margin: 4px 0 6px; line-height: 1.45; }
.stemhub .lead2 { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.stemhub .scard b { margin-top: 8px; }
.stemhub .hscroll { margin: 0 -16px; padding: 0 16px 4px; }
.stemside { display: grid; grid-template-columns: 110px 1fr; gap: 12px; background: var(--tint, #f4f1ea); padding: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.stemside .ph { aspect-ratio: 1; }
.stemside b { display: block; font-size: 15px; line-height: 1.5; margin: 2px 0 4px; }
.stemside .more { font-size: 12.5px; font-weight: 700; color: var(--accent); }
@media (min-width: 760px) { .stemhub { margin: 0; padding: 32px; } .stemhub .hscroll { margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); } .stemhub h2 { font-size: 26px; } }

/* 明るいメニュー（2026-10-14 本人: 黒い帯は存在感が強いので、攻撃的でなく見やすく） */
.gnav { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid #d9d9d9; position: relative; }
.gnav a { color: #333; font-size: 15.5px; font-weight: 700; padding: 13px 14px 12px; letter-spacing: .03em; }
.gnav a:hover { color: var(--accent); }
.gnav a[aria-current] { background: transparent; color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 1039px) {
  .gnav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 80%); pointer-events: none; }
}
@media (min-width: 1040px) { .gnav .wrap { justify-content: space-between; } .gnav a { font-size: 16px; padding: 14px 6px 13px; } }
.renew { background: #f7f4ee; color: var(--ink); border-bottom: 1px solid var(--rule); font-size: 14px; }
.renew b { color: #fff; }
.ft { background: #f5f4f1; color: var(--ink-2); border-top: 1px solid var(--rule); }
.ft .logo-w, .ft h4 { color: var(--ink); }
.ft a { color: var(--ink-2); }
.ft .note { color: var(--ink-3); border-top-color: var(--rule); }

/* アクセントを少し深く（白地とのコントラスト 4.1 → 5.3。2026-10-14） */
:root { --accent: #b8471a; }

/* 編集方針などの表（スマホではみ出さないように） */
.body.wp table { table-layout: fixed; }
.body.wp th { width: 7.5em; white-space: nowrap; font-weight: 700; background: #faf9f6; }
.body.wp td { overflow-wrap: anywhere; }
.body.wp .evt td:first-child { width: 5em; }
.body.wp table.ptable td { white-space: normal; }
.body.wp table.ptable thead th:first-child { width: 5.5em; }
.body.wp table.ptable thead th:last-child { width: auto; }

/* フォーム（/meeting/・/webinar-apply/・/inquiry/・/register/） */
.ratform { border: 1px solid var(--rule); padding: 20px 18px; margin: 28px 0 0; display: grid; gap: 14px; background: #fff; }
.ratform label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.ratform em { font-style: normal; font-size: 11.5px; color: #fff; background: var(--accent); padding: 0 6px; margin-left: 4px; font-weight: 700; }
.ratform input, .ratform textarea, .ratform select { font: inherit; font-weight: 400; font-size: 16px; padding: 10px 12px; border: 1px solid #c9c9c9; border-radius: 4px; width: 100%; background: #fff; }
.ratform small { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.ratform fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.ratform legend { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ratform .rd { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.ratform .rd input { width: auto; }
.ratform button { justify-self: start; font-size: 16px; padding: 13px 28px; }
.ratform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ratform .fmsg { margin: 0; font-size: 14px; }
.ratform .fmsg.ng { color: #b42318; }
.ratform .fnote { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.fdone { padding: 10px 0; } .fdone b { font-size: 18px; }

/* AI 生成の写真の表示（2026-10-19） */
.ph .aibadge { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 1.6; letter-spacing: .02em; pointer-events: none; }
