
.entv,.entv *{box-sizing:border-box}.entv{--y:#ffd900;--k:#151719;--g:#f4f5f6;max-width:1280px;margin:auto;color:#151719;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}.entv a{text-decoration:none!important}
.entv-hero{height:330px;position:relative;overflow:hidden;background:#ffe000 center/cover no-repeat}.entv-copy{width:48%;padding:45px 34px;position:relative;z-index:2}.entv-copy h1{font-size:54px!important;line-height:1!important;margin:0 0 14px!important;font-weight:950}.entv-copy h2{font-size:20px!important;margin:0 0 13px!important}.entv-copy em{display:block;width:65px;border-top:4px solid #111;margin:0 0 15px}.entv-copy p{font-size:13px;font-weight:800;line-height:1.7;margin:0}.entv-copy strong{position:absolute;left:15px;bottom:-42px;font-size:62px;font-style:italic;opacity:.09;white-space:nowrap}.entv-slogan{position:absolute;right:3%;top:45px;color:#fff;font-size:29px;font-weight:900;text-align:center;text-shadow:0 2px 6px #000}.entv-slogan i{display:block;width:100px;border-top:5px solid var(--y);transform:rotate(-10deg);margin-top:7px}
.entv-search{width:82%;margin:-25px auto 18px;background:#1d1f20;border-radius:10px;padding:0 14px 14px;position:relative;z-index:3;box-shadow:0 7px 18px #0003}.entv-tabs{display:flex;color:#fff}.entv-tabs>*{padding:13px 25px;background:#303234;font-size:13px}.entv-tabs b{background:var(--y);color:#111}.entv-search form{display:flex;background:#fff;padding:9px;border-radius:0 0 6px 6px;width:72%;float:left}.entv-search input{flex:1;border:1px solid #ddd!important;padding:10px!important;font-size:14px}.entv-search button{background:var(--y);border:0;border-radius:4px;padding:0 18px;font-weight:900}.entv-key{margin-left:73%;padding:7px;color:#fff}.entv-key small{display:block;margin-bottom:5px}.entv-key a{display:inline-block;color:#fff!important;background:#333;border:1px solid #555;border-radius:6px;padding:4px 8px;margin:2px;font-size:10px}.entv-search:after{content:"";display:block;clear:both}
.entv-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;padding:0 15px 22px}.entv-card{height:175px;background:#202326 center/cover no-repeat;border-left:7px solid var(--y);border-radius:6px;overflow:hidden;position:relative;color:#fff!important}.entv-card>div{position:absolute;inset:0;padding:14px;display:flex;flex-direction:column;justify-content:flex-end}.entv-card i{font-style:normal;font-size:30px}.entv-card b{font-size:20px}.entv-card small{font-size:10px}.entv-card span{position:absolute;right:12px;bottom:14px;font-size:20px}
.entv-news{margin:0 15px 25px;border:1px solid #e2e2e2;display:flex;align-items:center;min-height:52px;color:#111!important;box-shadow:0 3px 12px #0001}.entv-news b{background:var(--y);padding:16px 25px}.entv-news time{padding:0 18px;font-size:12px}.entv-news i{background:#ef3333;color:#fff;padding:4px 9px;font-style:normal;border-radius:3px;font-size:11px}.entv-news span{padding:0 13px;font-weight:800;font-size:13px}.entv-news strong{margin-left:auto;padding-right:20px}
.entv-lower{display:grid;grid-template-columns:2.2fr 1fr;gap:16px;padding:0 15px 25px}.entv-lower>section,.entv-lower>aside{border:1px solid #e7e7e7;border-radius:7px;padding:12px;background:#fff}.entv-lower header{display:flex;justify-content:space-between;align-items:center}.entv-lower h2{font-size:20px!important;margin:0 0 12px!important;border-left:6px solid var(--y);padding-left:9px}.entv-lower header a{font-size:11px;color:#111!important}.entv-postgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.entv-postgrid article{min-width:0}.entv-thumb{height:105px;background:#eee;overflow:hidden;border-radius:5px}.entv-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}.entv-postgrid h3{font-size:12px!important;line-height:1.45!important;margin:7px 0 4px!important;color:#111!important}.entv-postgrid time{font-size:9px;color:#999}.entv-rank{padding:0!important;margin:0!important;list-style:none!important}.entv-rank li{display:flex;align-items:center;border-bottom:1px solid #eee;padding:8px 0}.entv-rank span{width:25px;height:25px;display:grid;place-items:center;background:#777;color:#fff;border-radius:3px;font-weight:900}.entv-rank li:first-child span{background:var(--y);color:#111}.entv-rank a{padding-left:9px;color:#111!important;font-size:11px;font-weight:700}
.entv-foot{min-height:90px;background:linear-gradient(90deg,#dfe8ec,#fff);display:flex;align-items:center;justify-content:space-around;padding:20px}.entv-foot b{font-family:cursive;font-size:30px;font-style:italic;color:#fff;text-shadow:0 1px 4px #555}.entv-foot span{font-weight:800}
@media(max-width:900px){.entv-hero{height:285px}.entv-copy{width:62%}.entv-copy h1{font-size:40px!important}.entv-cards{grid-template-columns:repeat(3,1fr)}.entv-search{width:94%}.entv-search form{width:100%;float:none}.entv-key{margin:8px 0 0}.entv-lower{grid-template-columns:1fr}}
@media(max-width:600px){.entv-hero{height:235px}.entv-copy{width:78%;padding:28px 18px}.entv-copy h1{font-size:34px!important}.entv-copy h2{font-size:14px!important}.entv-copy p{font-size:10px}.entv-slogan{display:none}.entv-search{margin-top:-14px}.entv-tabs{overflow-x:auto}.entv-tabs>*{white-space:nowrap;padding:10px 14px}.entv-cards{display:flex;overflow-x:auto;padding:0 9px 18px}.entv-card{flex:0 0 66vw;height:150px}.entv-news{margin:0 9px 18px;overflow:hidden}.entv-news time{display:none}.entv-news b{white-space:nowrap;padding:16px 12px}.entv-news span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entv-lower{padding:0 9px 20px}.entv-postgrid{display:flex;overflow-x:auto}.entv-postgrid article{flex:0 0 68vw}.entv-thumb{height:130px}}

/* ===== Ver1.1 Cocoon layout hard fix ===== */
body.entv-fullpage #sidebar,
body.entv-fullpage .sidebar,
body.entv-fullpage #breadcrumb,
body.entv-fullpage .breadcrumb,
body.entv-fullpage .entry-title,
body.entv-fullpage .date-tags,
body.entv-fullpage .sns-share,
body.entv-fullpage .sns-follow,
body.entv-fullpage .article-footer,
body.entv-fullpage .under-entry-content {display:none!important}

body.entv-fullpage #main,
body.entv-fullpage main.main,
body.entv-fullpage .main{
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;float:none!important;
}
body.entv-fullpage #content,
body.entv-fullpage .content,
body.entv-fullpage .content-in,
body.entv-fullpage .article,
body.entv-fullpage .entry-content{
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding-left:0!important;padding-right:0!important;
}
body.entv-fullpage .entry-content>.entv{
  width:min(100%,1560px)!important;max-width:1560px!important;
  margin:0 auto!important;overflow:hidden;
}

/* PC: reference image proportions */
@media(min-width:1101px){
 body.entv-fullpage .entv-hero{height:410px!important}
 body.entv-fullpage .entv-copy{width:49%!important;padding:62px 42px!important}
 body.entv-fullpage .entv-copy h1{font-size:64px!important;white-space:nowrap}
 body.entv-fullpage .entv-search{width:82%!important;margin-top:-28px!important}
 body.entv-fullpage .entv-cards{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.entv-fullpage .entv-card{height:190px!important;min-width:0!important}
}

/* Tablet: do not crush six cards into narrow columns */
@media(min-width:701px) and (max-width:1100px){
 body.entv-fullpage .entv{padding:0!important}
 body.entv-fullpage .entv-hero{height:330px!important}
 body.entv-fullpage .entv-copy{width:58%!important}
 body.entv-fullpage .entv-copy h1{font-size:46px!important;line-height:1.08!important}
 body.entv-fullpage .entv-search{width:92%!important}
 body.entv-fullpage .entv-cards{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 body.entv-fullpage .entv-card{height:175px!important}
}

/* Mobile: intentional horizontal swipe instead of broken vertical text */
@media(max-width:700px){
 body.entv-fullpage .entv-hero{height:250px!important}
 body.entv-fullpage .entv-copy{width:88%!important}
 body.entv-fullpage .entv-copy h1{font-size:36px!important;line-height:1.12!important}
 body.entv-fullpage .entv-search{width:94%!important}
 body.entv-fullpage .entv-cards{
   display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;
   gap:10px!important;padding:0 10px 18px!important;
 }
 body.entv-fullpage .entv-card{
   flex:0 0 72vw!important;width:72vw!important;min-width:72vw!important;
   height:165px!important;scroll-snap-align:start;
 }
}

/* ===== Ver1.1 UX rebuild: 3 main categories ===== */
.entv-maincats{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:16px;padding:3px 15px 14px}
.entv-maincat{height:245px;position:relative;overflow:hidden;border-radius:9px;background:#222 center/cover no-repeat;color:#fff!important;border-left:8px solid var(--y);box-shadow:0 5px 16px #0002;transition:transform .18s ease,box-shadow .18s ease}
.entv-maincat:hover{transform:translateY(-3px);box-shadow:0 9px 22px #0003}
.entv-maincat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.86) 100%)}
.entv-maincat-icon{position:absolute;left:22px;top:20px;z-index:2;width:48px;height:48px;border-radius:50%;background:var(--y);display:grid;place-items:center;font-size:25px}
.entv-maincat-copy{position:absolute;z-index:2;left:22px;right:20px;bottom:19px}
.entv-maincat-copy small{font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--y)}
.entv-maincat-copy h2{font-size:29px!important;color:#fff!important;margin:3px 0 5px!important;line-height:1.15!important}
.entv-maincat-copy p{font-size:12px!important;margin:0 0 12px!important;color:#fff!important;font-weight:700}
.entv-maincat-copy span{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff55;padding-top:10px;font-size:12px;font-weight:900}
.entv-maincat-copy span b{font-size:20px;color:var(--y)}
.entv-main-ekiden{border-left-width:10px}

.entv-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 15px 22px}
.entv-quick>a{min-height:72px;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:1px solid #e4e4e4;border-radius:8px;color:#151719!important;box-shadow:0 2px 9px #0000000d;border-bottom:3px solid var(--y)}
.entv-quick i{font-style:normal;font-size:26px}.entv-quick span{display:flex;flex-direction:column}.entv-quick b{font-size:14px}.entv-quick small{font-size:10px;color:#777;margin-top:2px}.entv-quick strong{margin-left:auto;font-size:18px}

@media(max-width:900px){
 .entv-maincats{grid-template-columns:1fr 1fr}
 .entv-main-ekiden{grid-column:1/-1}
 .entv-maincat{height:210px}
}
@media(max-width:600px){
 .entv-maincats{display:flex;overflow-x:auto;gap:10px;padding:2px 9px 14px;scroll-snap-type:x mandatory}
 .entv-maincat,.entv-main-ekiden{flex:0 0 82vw;width:82vw;height:190px;scroll-snap-align:start}
 .entv-maincat-copy h2{font-size:25px!important}
 .entv-maincat-copy p{font-size:11px!important}
 .entv-quick{grid-template-columns:1fr;padding:0 9px 18px;gap:8px}
 .entv-quick>a{min-height:60px}
}

/* ===== Ver1.1 supplied-design faithful override ===== */
body.entv-fullpage #sidebar,body.entv-fullpage .sidebar,body.entv-fullpage .entry-title,
body.entv-fullpage #breadcrumb,body.entv-fullpage .breadcrumb,body.entv-fullpage .date-tags,
body.entv-fullpage .sns-share,body.entv-fullpage .sns-follow{display:none!important}
body.entv-fullpage #content,body.entv-fullpage .content,body.entv-fullpage .content-in,
body.entv-fullpage #main,body.entv-fullpage .main,body.entv-fullpage .article,
body.entv-fullpage .entry-content{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
.entv{width:100%!important;max-width:1480px!important;margin:auto!important;background:#fff}
.entv-hero{height:410px!important;position:relative!important;background-position:center!important;background-size:cover!important}
.entv-hero:before{content:"";position:absolute;z-index:1;inset:0 auto 0 0;width:49%;background:#ffe000;clip-path:polygon(0 0,100% 0,80% 100%,0 100%)}
.entv-copy{z-index:2!important;width:49%!important;padding:58px 42px!important}
.entv-copy h1{font-size:62px!important;line-height:1!important;white-space:nowrap!important;margin:0 0 18px!important}
.entv-copy h2{font-size:21px!important}.entv-copy p{font-size:14px!important}
.entv-slogan{z-index:2!important}
.entv-search{width:82%!important;margin:-28px auto 20px!important}
.entv-maincats{grid-template-columns:1.15fr 1fr 1fr!important;gap:15px!important;padding:0 18px 15px!important}
.entv-maincat{height:225px!important;min-width:0!important}
.entv-quick{grid-template-columns:repeat(3,1fr)!important;padding:0 18px 20px!important}
.entv-news{margin:0 18px 22px!important}
.entv-lower{grid-template-columns:2.25fr 1fr!important;padding:0 18px 25px!important}
@media(max-width:900px){
 .entv-hero{height:320px!important}.entv-copy{width:60%!important;padding:45px 25px!important}
 .entv-copy h1{font-size:45px!important}.entv-search{width:92%!important}
 .entv-maincats{grid-template-columns:1fr 1fr!important}.entv-main-ekiden{grid-column:1/-1!important}
 .entv-lower{grid-template-columns:1fr!important}
}
@media(max-width:600px){
 .entv-hero{height:245px!important}.entv-hero:before{width:78%;clip-path:polygon(0 0,100% 0,83% 100%,0 100%)}
 .entv-copy{width:82%!important;padding:28px 16px!important}.entv-copy h1{font-size:35px!important;white-space:normal!important}
 .entv-slogan{display:none!important}.entv-search{width:94%!important;margin-top:-14px!important}
 .entv-maincats{display:flex!important;overflow-x:auto!important;gap:10px!important;padding:0 9px 14px!important;scroll-snap-type:x mandatory}
 .entv-maincat,.entv-main-ekiden{flex:0 0 82vw!important;width:82vw!important;height:185px!important;grid-column:auto!important;scroll-snap-align:start}
 .entv-quick{grid-template-columns:1fr!important;padding:0 9px 16px!important}
 .entv-news{margin:0 9px 18px!important}.entv-lower{padding:0 9px 18px!important}
}

/* ===== Ver1.1.2 readability + compact article fix ===== */
/* 白地に白文字になっていた要素を明示的に黒へ */
.entv-maincat:not([style*="background-image"]) .entv-maincat-copy h2,
.entv-maincat:not([style*="background-image"]) .entv-maincat-copy p,
.entv-maincat:not([style*="background-image"]) .entv-maincat-copy span{
 color:#fff!important;
}
.entv-maincat:not([style*="background-image"]){background:linear-gradient(145deg,#39434a,#121719)!important}
.entv-maincat-copy h2{text-shadow:0 2px 5px rgba(0,0,0,.55)}
.entv-maincat-copy p,.entv-maincat-copy span{text-shadow:0 1px 3px rgba(0,0,0,.7)}
.entv-search input{color:#222!important;background:#fff!important}
.entv-search input::placeholder{color:#7c858d!important;opacity:1}
.entv-lower,.entv-lower h2,.entv-postgrid h3,.entv-rank a,.entv-quick a{color:#151719!important}

/* TOP本体を少し広く、情報密度を上げる */
.entv{max-width:1280px!important}
.entv-hero{height:350px!important}
.entv-copy{padding:46px 38px!important}
.entv-copy h1{font-size:54px!important}
.entv-search{margin-top:-24px!important}

/* 注目記事を巨大化させない */
.entv-lower{grid-template-columns:minmax(0,2.35fr) minmax(260px,.85fr)!important;gap:14px!important}
.entv-postgrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.entv-postgrid article{min-width:0!important;width:auto!important;margin:0!important}
.entv-postgrid article a{display:block!important}
.entv-thumb{height:auto!important;aspect-ratio:16/9!important;min-height:0!important;max-height:130px!important;overflow:hidden!important}
.entv-thumb img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;margin:0!important}
.entv-postgrid h3{font-size:12px!important;line-height:1.45!important;margin:6px 0 3px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:34px!important}
.entv-postgrid time{font-size:9px!important}

/* Cocoonの本文画像サイズルールが駅伝ナビの後続記事へ漏れないように */
body.entv-fullpage .entv + *,
body.entv-fullpage .entry-content > *:not(.entv){max-width:1280px;margin-left:auto!important;margin-right:auto!important}
body.entv-fullpage .entry-content > .entv ~ *{display:none!important}

/* カテゴリカードも少しコンパクトに */
.entv-maincat{height:200px!important}
.entv-maincat-copy h2{font-size:25px!important}
.entv-quick>a{min-height:58px!important}

/* タブレット */
@media(max-width:900px){
 .entv-hero{height:285px!important}
 .entv-copy h1{font-size:42px!important}
 .entv-maincat{height:185px!important}
 .entv-postgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .entv-thumb{max-height:none!important}
}
/* スマホ：記事カードは1.45枚程度見せる */
@media(max-width:600px){
 .entv-hero{height:220px!important}
 .entv-copy h1{font-size:32px!important}
 .entv-maincat{height:170px!important}
 .entv-postgrid{display:flex!important;overflow-x:auto!important;gap:10px!important;scroll-snap-type:x mandatory}
 .entv-postgrid article{flex:0 0 68vw!important;scroll-snap-align:start}
 .entv-thumb{aspect-ratio:16/9!important;max-height:none!important}
}

/* ===== Ver1.2: large-photo removal / portal-only TOP ===== */
/* TOP shortcode以外の投稿本文・巨大アイキャッチを完全に出さない */
body.entv-fullpage .eye-catch,
body.entv-fullpage .entry-card-wrap,
body.entv-fullpage .new-entry-cards,
body.entv-fullpage .popular-entry-cards,
body.entv-fullpage .list,
body.entv-fullpage .list-new-entries,
body.entv-fullpage .article-header,
body.entv-fullpage .article-footer,
body.entv-fullpage .related-entry-card,
body.entv-fullpage .pager-post-navi,
body.entv-fullpage .entry-content > p,
body.entv-fullpage .entry-content > figure,
body.entv-fullpage .entry-content > h1,
body.entv-fullpage .entry-content > h2,
body.entv-fullpage .entry-content > h3,
body.entv-fullpage .entry-content > h4,
body.entv-fullpage .entry-content > .wp-block-image,
body.entv-fullpage .entry-content > .wp-block-group:not(:has(.entv)){
 display:none!important;
}

/* 駅伝ナビ本体だけ表示 */
body.entv-fullpage .entry-content > .entv{display:block!important}

/* 参考デザインに合わせて黄色ヒーローは写真なしでも完成する */
.entv-hero{background-image:none!important;background-color:#ffdf00!important;height:335px!important}
.entv-hero:before{background:#ffdf00!important;width:100%!important;clip-path:none!important}
.entv-copy{width:62%!important;padding:46px 38px!important}
.entv-copy h1{font-size:55px!important}
.entv-slogan{color:#111!important;text-shadow:none!important;right:6%!important;top:48px!important}
.entv-slogan i{border-color:#111!important}

/* 3大カテゴリは写真がある時だけ写真を使い、サイズは固定 */
.entv-maincats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.entv-maincat{height:190px!important;background-color:#1a2023!important}
.entv-maincat[style*="background-image"]{background-size:cover!important;background-position:center!important}
.entv-maincat-copy h2{font-size:25px!important}

/* 注目記事は小型カード限定 */
.entv-postgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.entv-thumb{aspect-ratio:16/9!important;height:auto!important;max-height:115px!important}
.entv-postgrid article img{width:100%!important;height:100%!important;object-fit:cover!important}

/* 本体の最大幅を参考画像寄りに */
.entv{max-width:1180px!important}
.entv-search{width:86%!important}

@media(max-width:900px){
 .entv-maincats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .entv-maincat{height:165px!important}
 .entv-copy{width:70%!important}
}
@media(max-width:600px){
 .entv-hero{height:215px!important}
 .entv-copy{width:78%!important;padding:25px 16px!important}
 .entv-copy h1{font-size:31px!important}
 .entv-maincats{display:flex!important}
 .entv-maincat{flex:0 0 80vw!important;width:80vw!important;height:170px!important}
 .entv-thumb{max-height:none!important}
}

/* ===== Ver1.3 SEO + AdSense + UX ===== */
.entv{--content:1180px}
.entv-maincats,.entv-quick,.entv-news,.entv-lower,.entv-seo-content,.entv-about,.entv-ad{max-width:var(--content);margin-left:auto!important;margin-right:auto!important}
.entv-maincats{padding-left:14px!important;padding-right:14px!important}
.entv-maincat{height:178px!important}
.entv-maincat-copy h2{font-size:24px!important}
.entv-maincat-copy p{line-height:1.45!important}
.entv-quick{padding-left:14px!important;padding-right:14px!important}
.entv-news{margin-top:0!important}
.entv-lower{padding-left:14px!important;padding-right:14px!important}

/* Reserved-height ad slots reduce layout shift */
.entv-ad{margin-top:10px!important;margin-bottom:20px!important;padding:8px 14px 12px;background:#fff;text-align:center;min-height:110px;border-top:1px solid #eee;border-bottom:1px solid #eee}
.entv-ad>small{display:block;color:#888;font-size:9px;margin-bottom:5px}
.entv-ad-inner{min-height:90px;display:flex;align-items:center;justify-content:center;overflow:hidden}

/* Search-engine-readable content sections, kept compact */
.entv-seo-content{padding:0 14px 8px}
.entv-genre{margin:0 0 22px}
.entv-genre>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;border-bottom:2px solid #16191b}
.entv-genre>header h2{font-size:19px!important;line-height:1.2!important;margin:0!important;padding:0 0 7px 10px!important;border-left:6px solid var(--y)}
.entv-genre>header a{font-size:11px;color:#111!important;font-weight:800}
.entv-genre-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.entv-genre-grid article{min-width:0}
.entv-genre-grid article a{color:#111!important}
.entv-genre-thumb{aspect-ratio:16/9;background:#f0f1f2;border-radius:5px;overflow:hidden}
.entv-genre-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.entv-genre-grid h3{font-size:12px!important;line-height:1.45!important;margin:6px 0 3px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.entv-genre-grid time{font-size:9px;color:#8b8b8b}

/* Helpful descriptive copy and crawlable internal links */
.entv-about{margin-top:4px!important;margin-bottom:22px!important;padding:18px 20px;background:#f7f8f8;border-left:6px solid var(--y);border-radius:5px}
.entv-about h2{font-size:18px!important;margin:0 0 8px!important}
.entv-about p{font-size:12px!important;line-height:1.8!important;margin:0 0 11px!important;color:#333!important}
.entv-about nav{display:flex;flex-wrap:wrap;gap:7px}
.entv-about nav a{font-size:11px;color:#111!important;background:#fff;border:1px solid #ddd;border-radius:999px;padding:6px 11px;font-weight:750}

/* Keep images subordinate to navigation */
.entv-thumb{max-height:105px!important}
.entv-postgrid h3{font-size:11px!important}
.entv-foot{max-width:var(--content);margin:auto}

/* Keyboard/accessibility visibility */
.entv a:focus-visible,.entv button:focus-visible,.entv input:focus-visible{outline:3px solid #1b66d2!important;outline-offset:2px!important}

@media(max-width:900px){
 .entv-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .entv-ad{min-height:100px}
}
@media(max-width:600px){
 .entv-maincat{height:165px!important}
 .entv-genre-grid{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory}
 .entv-genre-grid article{flex:0 0 68vw;scroll-snap-align:start}
 .entv-about{margin-left:9px!important;margin-right:9px!important;padding:15px}
 .entv-ad{margin-left:9px!important;margin-right:9px!important;min-height:90px}
}

/* ===== Ver1.4 section separation + independent search + varied layouts ===== */

/* Hero and search are separate blocks: never overlap */
.entv-hero{height:270px!important;margin-bottom:0!important;border-radius:0!important}
.entv-search{
 position:static!important;
 transform:none!important;
 width:auto!important;
 max-width:1180px!important;
 margin:18px auto 26px!important;
 border-radius:8px!important;
 box-shadow:0 5px 18px rgba(0,0,0,.08)!important;
 background:#171a1c!important;
}
.entv-search:before{
 content:"サイト内検索";
 display:block;
 font-size:15px;
 font-weight:900;
 color:#fff;
 padding:14px 18px 2px;
}
.entv-search form{margin-top:8px!important}
.entv-search input{height:48px!important;background:#fff!important;color:#111!important}
.entv-search button{height:48px!important;background:#ffdc00!important;color:#111!important}

/* Strong visual separation between sections */
.entv-maincats{margin-top:0!important;padding-top:25px!important;padding-bottom:30px!important;background:#f5f6f6}
.entv-quick{padding-top:24px!important;padding-bottom:24px!important;background:#fff}
.entv-news{margin-top:6px!important;margin-bottom:30px!important}
.entv-lower{padding-top:28px!important;padding-bottom:30px!important;background:#f6f7f7}
.entv-seo-content{padding-top:30px!important;padding-bottom:8px!important;background:#fff}

/* Main categories: large navigation, not article cards */
.entv-maincat{height:160px!important;border-radius:8px!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.08)}
.entv-maincat-copy h2{font-size:25px!important}
.entv-maincat-copy p{font-size:11px!important}

/* Utility links become compact icon-like buttons */
.entv-quick{gap:8px!important}
.entv-quick a{min-height:54px!important;border-radius:7px!important;border:1px solid #e3e3e3!important;box-shadow:none!important}

/* UNIVERSITY EKIDEN: one lead card + three compact cards */
.entv-genre-ekiden .entv-genre-grid{
 display:grid!important;
 grid-template-columns:1.45fr repeat(3,1fr)!important;
 gap:12px!important;
 overflow:visible!important;
}
.entv-genre-ekiden .entv-genre-grid article:first-child{
 grid-row:span 2;
 background:#f5f6f6;
 padding:9px;
 border-radius:8px;
}
.entv-genre-ekiden .entv-genre-grid article:first-child .entv-genre-thumb{aspect-ratio:16/9}
.entv-genre-ekiden .entv-genre-grid article:first-child h3{font-size:15px!important}
.entv-genre-ekiden .entv-genre-grid article:not(:first-child) .entv-genre-thumb{aspect-ratio:16/9}

/* RUNNING: horizontal editorial rows instead of repeated cards */
.entv-genre-running .entv-genre-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 18px!important}
.entv-genre-running .entv-genre-grid article a{
 display:grid!important;
 grid-template-columns:120px 1fr!important;
 grid-template-rows:auto auto!important;
 column-gap:10px!important;
 align-items:start!important;
 border-bottom:1px solid #e8e8e8;
 padding-bottom:10px;
}
.entv-genre-running .entv-genre-thumb{grid-row:1/3!important;aspect-ratio:16/9!important}
.entv-genre-running h3{font-size:12px!important;margin-top:2px!important}

/* PHOTO: clean photo grid with titles under images */
.entv-genre-photo{background:#f3f4f4;padding:18px!important;border-radius:8px}
.entv-genre-photo .entv-genre-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:9px!important}
.entv-genre-photo .entv-genre-thumb{aspect-ratio:4/3!important}
.entv-genre-photo h3{font-size:11px!important}

/* More breathing room between genre sections */
.entv-genre{margin-bottom:38px!important}
.entv-genre>header{margin-bottom:14px!important}
.entv-genre>header h2{font-size:20px!important}

/* Ads are isolated, not fused to cards */
.entv-ad{margin-top:28px!important;margin-bottom:32px!important;background:#fafafa!important;border:1px solid #eee!important;border-radius:6px}

/* About section visually different from article sections */
.entv-about{margin-top:32px!important;background:#171a1c!important;color:#fff!important;border-left:7px solid #ffdc00!important}
.entv-about h2,.entv-about p{color:#fff!important}
.entv-about nav a{background:#fff!important;color:#111!important}

/* Mobile: no overlap, compact sections */
@media(max-width:900px){
 .entv-genre-ekiden .entv-genre-grid{grid-template-columns:1fr 1fr!important}
 .entv-genre-ekiden .entv-genre-grid article:first-child{grid-column:1/-1;grid-row:auto}
 .entv-genre-running .entv-genre-grid{grid-template-columns:1fr!important}
 .entv-genre-photo .entv-genre-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:600px){
 .entv-hero{height:205px!important}
 .entv-search{margin:12px 9px 20px!important;border-radius:7px!important}
 .entv-search:before{font-size:13px;padding:11px 12px 1px}
 .entv-maincats{padding-top:18px!important;padding-bottom:22px!important}
 .entv-genre-ekiden .entv-genre-grid{
   display:flex!important;overflow-x:auto!important;gap:10px!important;scroll-snap-type:x mandatory!important
 }
 .entv-genre-ekiden .entv-genre-grid article{flex:0 0 72vw!important;scroll-snap-align:start!important}
 .entv-genre-running .entv-genre-grid article a{grid-template-columns:105px 1fr!important}
 .entv-genre-photo .entv-genre-grid{display:grid!important;grid-template-columns:1fr 1fr!important;overflow:visible!important}
 .entv-genre-photo .entv-genre-grid article{min-width:0!important}
}
