/* 新着情報のカード・一覧。トップ(script/topNews.php)と em-hayashi テーマで共用 */
.tn-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 24px}
.tn-tab,.em-chip{padding:9px 16px;border:1px solid #d9d2c6;border-radius:999px;background:#fff;color:var(--text-color);font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;text-decoration:none}
.tn-tab.is-on,.em-chip.is-on,.em-chip:hover{border-color:var(--main-color);background:var(--main-color);color:#fff}
.tn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0;padding:0;list-style:none}
.tn-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgba(80,60,30,.08);color:var(--text-color);text-decoration:none}
.tn-card:hover{box-shadow:0 6px 18px rgba(80,60,30,.16)}
.tn-im{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;aspect-ratio:16/10;background:#f3efe7}
.tn-im.has-img::before{content:"";position:absolute;top:-24px;right:-24px;bottom:-24px;left:-24px;background:var(--tn-img) center/cover no-repeat;filter:blur(16px) saturate(1.1);opacity:.55}
.tn-im img{position:absolute;top:0;left:0;display:block;width:100%;height:100%;object-fit:contain}
.tn-im.is-wide{background:#fff;border-bottom:1px solid #f0ebe2}
.tn-im img.tn-logo{position:static;width:58%;height:auto;max-height:70%;opacity:.85}
.tn-im--campaign.is-ph{background:#fdf1e6}.tn-im--news.is-ph{background:#edf2f7}.tn-im--care.is-ph{background:#e9f3f0}.tn-im--service.is-ph{background:#f3eee8}.tn-im--em-column.is-ph{background:#f1f6df}
.tn-play{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:56px;height:40px;margin:auto;border-radius:10px;background:rgba(200,0,0,.88);color:#fff;font-size:18px}
.tn-b{padding:14px 16px 18px;text-align:left}
.tn-m{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;color:#9a8d7b}
.tn-l{padding:3px 9px;border-radius:999px;background:#6f9400;color:#fff;font-weight:700;font-size:12px}
.tn-l--campaign{background:#e9781e}.tn-l--news{background:#5b7fa6}.tn-l--care{background:#4f8a7a}.tn-l--service{background:#8a6d4f}.tn-l--video{background:#c23b3b}
.tn-t{display:-webkit-box;overflow:hidden;font-size:15.5px;font-weight:700;line-height:1.55;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.tn-more{margin-top:28px}
.em-list{max-width:1120px;margin:0 auto;padding:12px 20px 56px}
.em-list h1.f-base__contentsttl{margin-bottom:18px}
.em-list__lead span{display:inline-block}
.em-list__lead{margin:0 auto 26px;text-align:center;line-height:1.9;color:var(--text-color)}
.em-search{display:flex;max-width:620px;margin:0 auto 12px;border:2px solid var(--main-color);border-radius:999px;overflow:hidden;background:#fff}
.em-search input[type=search]{flex:1;min-width:0;padding:12px 20px;border:0;outline:0;background:none;color:var(--text-color);font-size:16px}
.em-search button{flex:none;padding:0 24px;border:0;background:var(--main-color);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.em-kw{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;margin:0 auto 26px;font-size:13px;color:#9a8d7b}
.em-kw a{color:var(--text-color);text-decoration:underline}
.em-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto 28px}
.em-chip small{margin-left:5px;font-size:12px;font-weight:500;opacity:.75}
.em-result{margin:0 0 20px;text-align:center}
.em-result h2{margin:0 0 4px;font-size:21px;font-weight:700;line-height:1.5;color:var(--text-color)}
.em-result p{margin:0;font-size:14px;line-height:1.8;color:#8a7d6c}
.em-result a{color:#5f8200;text-decoration:underline}
.em-empty{padding:32px 20px;border-radius:12px;background:#fff;text-align:center;line-height:1.9}
.em-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:36px 0 0}
.em-pages .page-numbers{display:block;min-width:42px;padding:9px 13px;border-radius:10px;background:#fff;color:var(--text-color);font-weight:700;text-align:center;text-decoration:none;line-height:1.4}
.em-pages .current{background:var(--main-color);color:#fff}
.em-pages .dots{background:none}
.em-back{margin-top:30px}
@media screen and (max-width:768px){.tn-tab,.em-chip{padding:7px 12px;font-size:13px}.tn-grid{grid-template-columns:1fr;gap:12px}.tn-card{flex-direction:row}.tn-im{flex:0 0 40%;min-width:0;aspect-ratio:auto;min-height:104px}.tn-b{flex:1;min-width:0;padding:10px 12px}.tn-t{font-size:14px}.tn-play{width:40px;height:28px;font-size:13px}.em-list{padding:4px 14px 40px}.em-search button{padding:0 16px}.em-search input[type=search]{padding:10px 14px}}
