:root{--td-yellow:#ffda35;--td-ink:#191b1e;--td-muted:#70747a;--td-line:#e7e8eb;--td-soft:#f6f7f8;--td-radius:12px}
*{box-sizing:border-box}.td-preview{margin:0;color:var(--td-ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;line-height:1.65}.td-preview a{color:inherit;text-decoration:none}.td-preview button,.td-preview input{font:inherit}.td-preview button{cursor:pointer}.td-preview img{max-width:100%;vertical-align:middle}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #916e00;outline-offset:4px}.td-skip{position:absolute;left:12px;top:-100px;background:var(--td-yellow);padding:12px;z-index:100}.td-skip:focus{top:10px}
.td-header{background:#fff;border-top:5px solid var(--td-yellow)}.td-header-inner{max-width:1240px;margin:auto;min-height:116px;display:flex;align-items:center;gap:32px;padding:14px 24px}.td-logo{width:300px;display:block;flex-shrink:0}.td-logo img{display:block;width:100%;height:auto}.td-tagline{font-size:13px;letter-spacing:.08em;color:var(--td-muted)}.td-controls{display:flex;align-items:center;gap:10px;margin-left:auto}.td-controls button{border:1px solid var(--td-line);background:white;color:var(--td-ink);border-radius:50px;height:44px;min-width:44px;padding:0 18px;font-size:18px}.td-controls button span{font-size:13px;padding-left:8px}.td-controls .td-menu-button{display:none}.td-nav{border-top:1px solid var(--td-line);border-bottom:1px solid var(--td-line)}.td-nav>div,.td-nav>ul{max-width:1192px;margin:0 auto;display:flex;padding:0;list-style:none}.td-nav a{display:block;padding:17px 25px;font-size:14px;font-weight:700;white-space:nowrap;position:relative}.td-nav a:hover{background:var(--td-soft)}.td-nav a[aria-current=page]:after{content:"";position:absolute;bottom:0;left:24px;right:24px;height:4px;background:var(--td-yellow)}
.td-layout{max-width:1240px;margin:34px auto 68px;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:42px}.td-layout main{min-width:0}.td-section-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.td-section-top h1,.td-section-top h2{font-size:21px;letter-spacing:.04em;line-height:1.4;margin:0;font-weight:800;display:flex;align-items:center;gap:10px}.td-dot{display:inline-block;width:7px;height:22px;border-radius:2px;background:var(--td-yellow)}.td-en{font-size:11px;letter-spacing:.16em;font-weight:700;color:#858990}.td-hero-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px}.td-hero-main,.td-hero-small{min-width:0}.td-hero-main .td-image{aspect-ratio:16/10}.td-image{overflow:hidden;border-radius:var(--td-radius);background:var(--td-soft);display:block;aspect-ratio:16/9}.td-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.td-image:hover img{transform:scale(1.035)}.td-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--td-muted);margin:12px 0 8px}.td-category{font-weight:700;color:var(--td-ink);background:var(--td-yellow);padding:2px 9px;border-radius:3px}.td-hero-main h2{font-size:23px;line-height:1.55;margin:0;letter-spacing:.01em}.td-hero-small h2{font-size:14px;line-height:1.6;margin:0}.td-hero-small+.td-hero-small{margin-top:20px}.td-hero-small .td-image{aspect-ratio:16/8}.td-latest-title{margin-top:44px;border-top:1px solid var(--td-line);padding-top:30px}.td-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}.td-card h3{font-size:16px;line-height:1.7;margin:0;font-weight:700}.td-card:hover h3,.td-hero-main:hover h2,.td-hero-small:hover h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.td-more{display:flex;justify-content:space-between;align-items:center;max-width:380px;margin:38px auto 0;border:1px solid #d7d9dd;border-radius:40px;font-size:14px;font-weight:700;padding:13px 26px}.td-more:hover{background:var(--td-yellow);border-color:var(--td-yellow)}
.td-sidebar{padding-top:3px}.td-panel{padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid var(--td-line)}.td-panel h2{font-size:17px;display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;border-bottom:3px solid var(--td-yellow);padding-bottom:12px}.td-panel h2 span{font-size:10px;letter-spacing:.12em;color:var(--td-muted)}.td-side-category{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid #f0f1f2;font-size:13px}.td-side-category b{color:var(--td-muted);font-weight:400}.td-popular{display:flex;gap:12px;margin:18px 0;position:relative}.td-popular img{width:88px;height:68px;object-fit:cover;border-radius:7px}.td-popular strong{font-size:12px;line-height:1.65}.td-rank{position:absolute;top:-5px;left:-5px;background:var(--td-yellow);font-size:11px;width:22px;height:22px;text-align:center;border-radius:50%;font-weight:800}.td-caption{font-size:10px;color:var(--td-muted);margin:8px 0 14px}.td-tags{display:flex;flex-wrap:wrap;gap:8px}.td-tags a{background:var(--td-soft);border-radius:5px;padding:5px 10px;font-size:11px}.td-ad-placeholder{background:#fafafa;border:1px dashed #e1e1e1;text-align:center;font-size:10px;color:#888;padding:35px 10px;margin:32px 0}.td-footer{border-top:4px solid var(--td-yellow);background:var(--td-soft);padding:36px 24px;text-align:center}.td-footer>a{font-weight:900;font-size:24px}.td-footer p{font-size:12px;color:var(--td-muted)}.td-footer nav{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:24px auto;font-size:11px}.td-footer small{color:var(--td-muted);font-size:11px}
.td-dialog{border:1px solid var(--td-line);border-radius:16px;padding:30px;max-width:540px;width:calc(100% - 32px);color:var(--td-ink)}.td-dialog::backdrop{background:#191b1e88}.td-dialog h2{font-size:20px;margin:0 0 22px}.td-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:28px;width:44px;height:44px;cursor:pointer}.td-dialog label{font-size:13px}.td-search-row{display:flex;gap:8px;margin-top:8px}.td-search-row input{width:100%;min-width:0;border:1px solid #bbb;border-radius:6px;padding:12px;font-size:16px}.td-search-row button{background:var(--td-yellow);border:0;border-radius:6px;min-width:65px;font-weight:700}.td-dialog nav a{display:block;padding:12px 0;border-bottom:1px solid var(--td-line)}
/* Cocoon child integration: append assets without replacing parent templates. */
body.tredam-news:not(.td-preview){background:#fff;color:var(--td-ink)}.tredam-news:not(.td-preview) #header-container{background:#fff;border-top:5px solid var(--td-yellow)}.tredam-news #header-in{max-width:1192px;min-height:116px;display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:14px 0}.tredam-news #header-in .logo{margin:0;padding:0;text-align:left;max-width:300px;flex:0 1 300px}.tredam-news #header-in .logo img{width:300px;height:auto;max-height:none;object-fit:contain}.tredam-news #header-in .td-nav{flex:0 0 100%;width:100%;margin:0}.tredam-news #header-in .td-nav>div{display:flex}.tredam-news #navi,.tredam-news .mobile-footer-menu-buttons,.tredam-news .mobile-header-menu-buttons{display:none!important}.tredam-news #container{padding-bottom:0}.tredam-news #content{margin-top:32px}.tredam-news #content-in{max-width:1192px;gap:42px}.tredam-news #main{background:#fff;border:0;padding:0;min-width:0;flex:1}.tredam-news #sidebar{background:#fff;padding:0;width:288px;min-width:288px;border:0}.tredam-news.home #list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}.tredam-news.home #list>.td-pickup,.tredam-news.home #list>.td-latest-title,.tredam-news.home #list>.ad-area{grid-column:1/-1}.tredam-news.home #list>.entry-card-wrap{margin:0;padding:0;border:0;border-radius:0;width:auto;background:#fff;color:var(--td-ink)}.tredam-news.home .entry-card{display:flex;flex-direction:column;height:100%;font-size:14px}.tredam-news.home .entry-card-thumb{float:none;width:100%;margin:0 0 12px;aspect-ratio:16/9;border-radius:12px;overflow:hidden}.tredam-news.home .entry-card-thumb img{width:100%;height:100%;object-fit:cover}.tredam-news.home .entry-card-content{margin:0;padding:0;display:flex;flex-direction:column;flex:1}.tredam-news.home .entry-card-title{font-size:16px;line-height:1.7;margin:0 0 10px}.tredam-news.home .entry-card-snippet{display:none}.tredam-news.home .entry-card-info{position:static;margin-top:auto;text-align:left;font-size:11px;color:var(--td-muted)}.tredam-news.home .cat-label{background:var(--td-yellow);color:var(--td-ink);border:0;border-radius:3px}.tredam-news #sidebar h3{background:transparent;color:var(--td-ink);border:0;border-bottom:3px solid var(--td-yellow);font-size:17px;padding:0 0 12px}.tredam-news #footer{background:var(--td-soft);color:var(--td-ink);border-top:4px solid var(--td-yellow);margin-top:50px}.tredam-news .td-panel a{color:var(--td-ink);text-decoration:none}.tredam-news .td-header-tools{display:contents}.tredam-news .td-hero-main h2,.tredam-news .td-hero-small h2,.tredam-news .td-section-top h2,.tredam-news .td-panel h2{background:transparent;border-left:0;padding:0}.tredam-news .td-panel h2{padding-bottom:12px}.tredam-news .td-pickup a{color:var(--td-ink);text-decoration:none}.tredam-news .td-caption{line-height:1.6}.tredam-news .td-nav a{color:var(--td-ink);text-decoration:none}.tredam-news .td-nav ul{display:flex;list-style:none;padding:0;margin:0}.tredam-news .td-panel .popular-entry-card-title{font-size:12px}.tredam-news #sidebar .td-panel{margin-bottom:28px}
@media(max-width:1023px){.td-layout{gap:28px;grid-template-columns:minmax(0,1fr) 250px}.td-nav a{padding:15px 17px}.td-hero-grid{grid-template-columns:1.6fr 1fr;gap:16px}.td-tagline{display:none}.tredam-news #header-in{padding:12px 20px}.tredam-news #content-in{padding:0 20px;gap:28px}.tredam-news #sidebar{width:250px;min-width:250px}}
@media(max-width:767px){.td-header-inner{min-height:94px;padding:12px 16px;gap:8px}.td-logo{width:228px;max-width:calc(100% - 90px)}.td-controls{gap:6px}.td-controls button{padding:0;width:40px;min-width:40px;height:40px;font-size:22px}.td-controls .td-menu-button{display:block}.td-search-button span{display:none}.td-nav{overflow-x:auto;scrollbar-width:none}.td-nav::-webkit-scrollbar{display:none}.td-nav>div{width:max-content;min-width:100%;padding:0 6px}.td-nav a{font-size:12px;padding:13px 16px}.td-nav a[aria-current=page]:after{left:15px;right:15px;height:3px}.td-layout{display:block;margin-top:24px;padding:0 18px;margin-bottom:44px}.td-section-top{margin-bottom:16px}.td-section-top h1,.td-section-top h2{font-size:18px}.td-en{font-size:10px}.td-hero-grid{display:block}.td-hero-main .td-image{aspect-ratio:16/10}.td-hero-main h2{font-size:21px;line-height:1.6}.td-hero-secondary{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.td-hero-small+.td-hero-small{margin-top:0}.td-hero-small .td-image{aspect-ratio:16/10}.td-hero-small h2{font-size:12px}.td-hero-small .td-meta{font-size:9px;flex-wrap:wrap}.td-latest-title{margin-top:30px;padding-top:24px}.td-feed{gap:25px 16px}.td-card h3{font-size:13px;line-height:1.7}.td-meta{margin:9px 0 6px;font-size:9px}.td-category{padding:2px 6px}.td-image{border-radius:9px}.td-sidebar{margin-top:44px}.td-footer{padding:30px 18px}.td-footer nav{gap:12px 18px}.td-dialog{padding:24px}.tredam-news #header-in{min-height:94px;padding:10px 16px;gap:6px}.tredam-news #header-in .logo{flex:0 1 228px;max-width:calc(100% - 92px)}.tredam-news #header-in .logo img{width:228px}.tredam-news #header-in .td-nav{margin:7px -16px -10px;width:calc(100% + 32px);flex-basis:calc(100% + 32px)}.tredam-news #content{margin-top:24px}.tredam-news #content-in{display:block;padding:0 18px}.tredam-news #sidebar{width:100%;min-width:0;margin-top:40px}.tredam-news.home #list{gap:24px 16px}.tredam-news.home .entry-card-title{font-size:13px;line-height:1.7}.tredam-news.home .entry-card-thumb{margin-bottom:9px}.tredam-news.home .entry-card-info{font-size:10px}.tredam-news .mobile-button-fmb{padding-bottom:0}.tredam-news .td-nav ul{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.td-image img{transition:none}}
