/* 執筆者・監修者の短いカード（目次のすぐ上）。2026-11-23
   通常の記事の本文（.post_content）の中だけに効かせる。出す処理は acm-author-card.php。
   格安SIMおすすめの記事テンプレートのカード（.acm-ksim-who）と同じ見た目。直すときは両方をそろえる */
.post_content .acm-who{--who-ink:#09284b;--who-sub:#526b80;--who-line:#d7eaf1;--who-accent:#00829c}
.post_content .acm-who{display:grid;gap:8px;margin:1.2em 0 1.4em}
.post_content .acm-who__card{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;margin:0;padding:10px 16px;border:1px solid var(--who-line);border-radius:18px;background:linear-gradient(145deg,#edfaff,#fff 60%);box-shadow:0 5px 20px rgba(23,62,86,.03)}
.post_content .acm-who__card p{margin:0}
.post_content .acm-who__portrait{display:grid;justify-items:center;gap:4px}
.post_content .acm-who__portrait img{display:block;width:58px;height:58px;max-width:none;border-radius:50%;object-fit:cover;background:#daedf2}
.post_content .acm-who__role,.post_content .acm-who__chip{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;line-height:17px;font-weight:500;white-space:nowrap}
.post_content .acm-who__role{background:#e2f5fb;color:#176078}
.post_content .acm-who__chip{background:#eef4f5;color:#476574}
.post_content .acm-who__name{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:17.6px;line-height:1.4;font-weight:700;color:var(--who-ink)}
.post_content .acm-who__name a{color:inherit;text-decoration:none}
.post_content .acm-who__name a:hover{text-decoration:underline}
.post_content .acm-who__aff{font-size:12px;line-height:1.5;color:var(--who-sub)}
.post_content .acm-who__bio{margin-top:2px}
.post_content .acm-who__bio summary{display:flex;align-items:flex-end;gap:6px;list-style:none;cursor:pointer}
.post_content .acm-who__bio summary::-webkit-details-marker{display:none}
.post_content .acm-who__bio summary:focus-visible{outline:2px solid var(--who-accent);outline-offset:2px;border-radius:6px}
.post_content .acm-who__preview{flex:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.45;color:#405d72}
.post_content .acm-who__more{display:inline-flex;align-items:center;min-height:40px;padding:0 4px;font-size:12px;font-weight:700;color:#006f85;white-space:nowrap}
.post_content .acm-who__more::after{content:"";width:5px;height:5px;margin:-3px 2px 0 6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg)}
.post_content .acm-who__more .is-close,.post_content .acm-who__bio[open] .is-open,.post_content .acm-who__bio[open] .acm-who__preview{display:none}
.post_content .acm-who__bio[open] .is-close{display:inline}
.post_content .acm-who__bio[open] summary{justify-content:flex-end}
.post_content .acm-who__bio[open] .acm-who__more::after{transform:rotate(225deg);margin-top:3px}
.post_content .acm-who__bio>p{font-size:14px;line-height:1.6;color:#405d72}
.post_content .acm-who__more .is-narrow{display:none}
@media (max-width:599px){.post_content .acm-who__more .is-open .is-narrow{display:inline}}
@media (max-width:599px){.post_content .acm-who{gap:0;border:1px solid var(--who-line);border-radius:16px;background:linear-gradient(145deg,#edfaff,#fff 60%);box-shadow:0 5px 20px rgba(23,62,86,.03);overflow:hidden}.post_content .acm-who__card{grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:start;padding:12px 12px 10px;border:0;border-radius:0;background:none;box-shadow:none}.post_content .acm-who__card+.acm-who__card{border-top:1px solid var(--who-line)}.post_content .acm-who__portrait img{width:48px;height:48px}.post_content .acm-who__role{padding:1px 6px;font-size:10px;letter-spacing:0}.post_content .acm-who__body{position:relative}.post_content .acm-who__name{font-size:16px;padding-right:96px}.post_content .acm-who__bio{margin:0}.post_content .acm-who__bio summary{position:absolute;top:-9px;right:-4px;display:block}.post_content .acm-who__preview{display:none}.post_content .acm-who__more{display:inline-flex}.post_content .acm-who__bio>p{margin-top:6px;font-size:13px}.post_content .acm-who__more .is-wide{display:none}}
/* カードを開いたとき（2026-11-23）：顔写真・名前・所属を上にまとめ、区切り線の下に紹介文をカードの幅いっぱいで出す。:has が使えないブラウザでは前の見え方のまま */
.post_content .acm-who__card:has(.acm-who__bio[open]){display:block;position:relative}
.post_content .acm-who__card:has(.acm-who__bio[open])::after{content:"";display:block;clear:both}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__portrait{float:left;width:76px;margin:0 12px 10px 0}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__body{position:static}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__name{padding-right:76px}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio{margin:0}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio summary{position:absolute;top:4px;right:12px;display:block}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio>p{clear:both;margin-top:10px;padding:12px 2px 6px;border-top:1px solid var(--who-line);font-size:14px;line-height:1.8;color:var(--who-ink)}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio>p a{color:#176078;text-decoration:underline;text-decoration-color:#9fc3cc;text-underline-offset:.2em}
@media (max-width:599px){.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__portrait{width:62px;margin:0 10px 8px 0}.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio summary{top:3px;right:8px}.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio>p{padding:10px 0 4px;font-size:13.5px}}
/* 執筆者・監修者カードの色を灰色に（2026-11-23）。水色のグラデーションと影をやめ、平らな灰色にする。押せる文字（続きを読む・閉じる）だけ今の色を残す */
.post_content .acm-who__card{border-color:#e4e7ea;background:#f5f6f7;box-shadow:none}
.post_content .acm-who__role{background:#fff;color:#4b5a63;box-shadow:inset 0 0 0 1px #dde1e4}
.post_content .acm-who__chip{background:#e7eaec;color:#4b5a63}
.post_content .acm-who__portrait img{background:#e3e6e8}
.post_content .acm-who__preview{color:#55606a}
.post_content .acm-who__card:has(.acm-who__bio[open]) .acm-who__bio>p{border-top-color:#dde1e4}
@media (max-width:599px){.post_content .acm-who{border-color:#e4e7ea;background:#f5f6f7;box-shadow:none}.post_content .acm-who__card{background:none}.post_content .acm-who__card+.acm-who__card{border-top-color:#dde1e4}}
