/* Scoped styles keep every page's body and navigation independent. */
footer.scg-footer, .scg-footer * { box-sizing: border-box; }
footer.scg-footer { display:block; width:100%; max-width:none; margin:0; padding:0; border:0; border-radius:0; background:#fff; color:#333; font-family:Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; font-size:14px; line-height:1.7; text-align:left; box-shadow:none; }
.scg-footer .scg-footer-search { max-width:1110px; margin:0 auto; padding:40px 15px 20px; }
.scg-footer form { display:flex; margin:0; padding:0; border:1px solid #888; border-radius:4px; overflow:hidden; background:#fff; }
.scg-footer input[type="search"] { display:block; flex:1 1 auto; width:0; min-width:0; height:38px; margin:0; padding:6px 12px; border:0; border-radius:0; background:#fff; color:#333; font:inherit; font-size:16px; box-shadow:none; }
.scg-footer button { display:flex; align-items:center; justify-content:center; gap:12px; flex:0 0 140px; width:140px; min-height:38px; margin:0; padding:6px 16px; border:0; border-radius:0; background:#0068b7; color:#fff; font:inherit; font-size:16px; cursor:pointer; }
.scg-footer button:hover { background:#00528f; }
.scg-footer .scg-footer-nav { display:block; position:static; width:100%; max-width:none; margin:0; padding:0; border:0; border-top:1px solid #337e9c; border-bottom:1px solid #f2f2f2; border-radius:0; background:#fff; box-shadow:none; }
.scg-footer .scg-footer-nav ul { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:0; max-width:1110px; margin:0 auto; padding:12px 0; list-style:none; }
.scg-footer .scg-footer-nav li { display:block; flex:none; width:auto; margin:0; padding:0 20px; border:0; border-left:1px solid #eee; background:none; font-size:12px; line-height:1.3; }
.scg-footer .scg-footer-nav li:last-child { border-right:1px solid #eee; }
.scg-footer .scg-footer-nav a { display:inline; margin:0; padding:0; color:#333; font:inherit; text-decoration:none; background:none; }
.scg-footer a:hover { text-decoration:underline; }
.scg-footer a:focus-visible, .scg-footer button:focus-visible, .scg-footer input:focus-visible { outline:3px solid #e89016; outline-offset:-3px; }
.scg-footer .scg-footer-channel { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:114px; padding:36px 20px 18px; text-align:center; overflow-wrap:anywhere; }
.scg-footer .scg-footer-channel-link { color:#333; font-size:12px; text-decoration:none; }
.scg-footer .scg-footer-channel:has(iframe) .scg-footer-channel-link { display:none; }
.scg-footer .scg-footer-copyright { margin:0; padding:12px 20px 24px; color:#333; font-size:12px; font-weight:400; line-height:1.7; text-align:center; }
@media(max-width:640px) {
  .scg-footer .scg-footer-search { padding:28px 16px 20px; }
  .scg-footer input[type="search"] { font-size:14px; }
  .scg-footer button { flex-basis:76px; width:76px; padding:6px 8px; gap:6px; font-size:14px; }
  .scg-footer .scg-footer-nav ul { display:block; padding:0 16px; }
  .scg-footer .scg-footer-nav li, .scg-footer .scg-footer-nav li:last-child { padding:0; border:0; border-bottom:1px solid #eee; }
  .scg-footer .scg-footer-nav a { display:block; padding:13px 4px; line-height:1.6; }
  .scg-footer .scg-footer-channel { padding:28px 16px 12px; }
}
@media print { footer.scg-footer { display:none; } }
