/* 新着情報ティッカーdn 1.0.0 | GPL-2.0-or-later */
.news-ticker-dn {--ntdn-accent:#183e59;--ntdn-tint:#edf4f9;--ntdn-ink:#18344a;--ntdn-line:#dbe5ec;box-sizing:border-box;width:100%;margin:20px 0;color:var(--ntdn-ink);background:#fff;border:1px solid var(--ntdn-line);border-radius:12px;box-shadow:0 5px 18px #16334b08;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;overflow:hidden;text-align:left;color-scheme:light;}
.news-ticker-dn.ntdn-theme-emerald {--ntdn-accent:#12634f;--ntdn-tint:#edf7f0;--ntdn-ink:#174539;--ntdn-line:#d3e9db;}
.news-ticker-dn.ntdn-theme-gold {--ntdn-accent:#73500b;--ntdn-tint:#fcf5e6;--ntdn-ink:#513c19;--ntdn-line:#ebdfc1;}
.news-ticker-dn *, .news-ticker-dn *::before, .news-ticker-dn *::after {box-sizing:border-box;}
.news-ticker-dn [hidden] {display:none!important;}
.news-ticker-dn .ntdn-bar {display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"label viewport controls";align-items:center;min-height:64px;}
.news-ticker-dn .ntdn-label {grid-area:label;display:flex;align-items:center;justify-content:center;align-self:stretch;gap:9px;max-width:220px;padding:16px 20px;font-size:13px;font-weight:750;letter-spacing:.04em;background:var(--ntdn-accent);color:#fff;overflow-wrap:anywhere;}
.news-ticker-dn .ntdn-dot {display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#fff;opacity:.9;}
.news-ticker-dn .ntdn-viewport {grid-area:viewport;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0;margin:0 18px;scrollbar-width:thin;}
.news-ticker-dn .ntdn-track {display:flex;width:max-content;max-width:none;align-items:center;transform:translateX(0);}
.news-ticker-dn .ntdn-group {display:flex;flex:0 0 auto;align-items:center;gap:32px;width:max-content;list-style:none;margin:0;padding:0 32px 0 0;direction:ltr;}
.news-ticker-dn .ntdn-group li {list-style:none;flex:0 0 auto;margin:0;padding:0;border:0;background:none;}
.news-ticker-dn .ntdn-group li::before,.news-ticker-dn .ntdn-group li::after {display:none;}
.news-ticker-dn .ntdn-group a {display:flex;align-items:center;gap:10px;min-height:60px;max-width:none;padding:8px 0;margin:0;border:0;background:transparent;color:var(--ntdn-ink);text-decoration:none;font-size:14px;font-weight:600;line-height:1.65;white-space:nowrap;}
.news-ticker-dn .ntdn-group a:hover .ntdn-title {text-decoration:underline;text-underline-offset:4px;}
.news-ticker-dn .ntdn-group time {font-size:11px;font-weight:500;color:#526777;font-variant-numeric:tabular-nums;flex-shrink:0;}
.news-ticker-dn .ntdn-new {font-size:9px;font-weight:800;line-height:1.4;letter-spacing:.07em;padding:3px 6px;border-radius:4px;color:var(--ntdn-accent);background:var(--ntdn-tint);flex-shrink:0;}
.news-ticker-dn .ntdn-controls {grid-area:controls;display:flex;align-items:center;gap:5px;padding:8px 10px 8px 0;}
.news-ticker-dn .ntdn-controls button {appearance:none;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:36px;min-height:40px;padding:6px 9px;margin:0;border:1px solid var(--ntdn-line);border-radius:7px;background:#fff;color:var(--ntdn-accent);font:600 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:none;cursor:pointer;letter-spacing:0;text-transform:none;touch-action:manipulation;}
.news-ticker-dn .ntdn-controls button:hover:not(:disabled) {background:var(--ntdn-tint);}
.news-ticker-dn .ntdn-controls button:disabled {opacity:.45;cursor:default;}
.news-ticker-dn .ntdn-empty {font-size:13px;color:#526777;line-height:1.6;margin:14px 0;padding:0;}
.news-ticker-dn .ntdn-status:not(.ntdn-sr) {display:block;padding:8px 16px;border-top:1px solid var(--ntdn-line);font-size:11px;line-height:1.6;color:#76511e;background:#fff9ed;}
.news-ticker-dn .ntdn-sr {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.news-ticker-dn .ntdn-clone {display:none;}
.news-ticker-dn.ntdn-ready[data-static="no"] .ntdn-viewport {overflow:hidden;}
.news-ticker-dn.ntdn-ready[data-static="no"] .ntdn-clone {display:flex;}
.news-ticker-dn.ntdn-ready[data-static="no"] .ntdn-track {animation:ntdn-scroll var(--ntdn-duration,30s) linear infinite;will-change:transform;}
.news-ticker-dn[data-direction="right"] .ntdn-track {animation-direction:reverse!important;}
.news-ticker-dn[data-paused="yes"] .ntdn-track {animation-play-state:paused!important;}
.news-ticker-dn[data-static="yes"] .ntdn-track {display:block;width:100%;animation:none!important;transform:none!important;}
.news-ticker-dn[data-static="yes"] .ntdn-group:not(.ntdn-clone) {display:block;width:100%;min-width:0!important;padding:4px 0;}
.news-ticker-dn[data-static="yes"] .ntdn-group li {width:100%;border-bottom:1px solid var(--ntdn-line);}
.news-ticker-dn[data-static="yes"] .ntdn-group li:last-child {border-bottom:0;}
.news-ticker-dn[data-static="yes"] .ntdn-group a {flex-wrap:wrap;white-space:normal;min-height:46px;gap:4px 10px;overflow-wrap:anywhere;}
.news-ticker-dn[data-static="yes"] .ntdn-title {min-width:0;}
.news-ticker-dn[data-static="yes"] .ntdn-bar {align-items:start;}
.news-ticker-dn a:focus-visible,.news-ticker-dn button:focus-visible {outline:3px solid #3b8fcd;outline-offset:-3px;border-radius:4px;}
.ntdn-auto {padding:0 20px;max-width:1440px;margin:0 auto;}
.ntdn-auto .news-ticker-dn {margin:12px 0;}
.ntdn-admin .ntdn-admin-preview {max-width:1180px;margin-top:24px;padding:18px 22px;background:#fff;border:1px solid #dbe5ec;border-radius:14px;}
.ntdn-admin .ntdn-admin-preview h2 {font-size:14px;margin:0;}
.ntdn-admin .form-table {max-width:1000px;}
.ntdn-admin .ntdn-admin-guide {max-width:1000px;padding:18px 24px;background:#fff;border:1px solid #dbe5ec;border-radius:14px;margin:24px 0;}
.ntdn-admin .ntdn-admin-guide code {overflow-wrap:anywhere;}
@keyframes ntdn-scroll {from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--ntdn-distance,500px)))}}
@media(max-width:650px){
 .news-ticker-dn .ntdn-bar {grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label controls" "viewport viewport";}
 .news-ticker-dn .ntdn-label {justify-content:flex-start;max-width:none;padding:12px 14px;min-height:58px;}
 .news-ticker-dn .ntdn-controls {align-self:stretch;background:var(--ntdn-accent);padding:7px 9px;}
 .news-ticker-dn .ntdn-controls button {min-width:40px;min-height:44px;}
 .news-ticker-dn .ntdn-viewport {margin:0 14px;}
 .news-ticker-dn .ntdn-group a {min-height:54px;font-size:13px;}
 .ntdn-auto {padding:0 10px;}
}
@media(prefers-reduced-motion:reduce){
 .news-ticker-dn .ntdn-track {animation:none!important;transform:none!important;width:100%!important;display:block!important;}
 .news-ticker-dn .ntdn-clone {display:none!important;}
 .news-ticker-dn .ntdn-group:not(.ntdn-clone) {display:block;width:100%;min-width:0!important;padding:4px 0;}
 .news-ticker-dn .ntdn-group a {white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere;}
}
@media print {.news-ticker-dn .ntdn-controls,.news-ticker-dn .ntdn-clone {display:none!important;}.news-ticker-dn .ntdn-track {animation:none!important;transform:none!important;width:100%;}.news-ticker-dn .ntdn-group {display:block;width:100%;min-width:0!important;}.news-ticker-dn .ntdn-group a {white-space:normal;flex-wrap:wrap;}}
