/*
Theme Name: SpCCJ Kadence
Template: kadence
Version: 1.0.1
Text Domain: spccj-kadence
*/
:root{--spccj-red:#aa151b;--spccj-yellow:#f1bf00;--spccj-ink:#1e1e1e;--spccj-soft:#f3f6f4}
body,.spccj{font-family:Montserrat,"Noto Sans JP",sans-serif!important;color:var(--spccj-ink);font-size:16px;line-height:1.65}
h1,h2,h3,h4,h5,h6,.spccj h1,.spccj h2,.spccj h3,.spccj-member-card h3{font-family:Montserrat,"Noto Sans JP",sans-serif!important;letter-spacing:-.025em}
:lang(ja),:lang(ja) h1,:lang(ja) h2,:lang(ja) h3{font-family:"Noto Sans JP",Montserrat,sans-serif!important;letter-spacing:normal}
button,input,select,textarea,.spccj-button,.spccj-site-footer{font-family:Lato,"Noto Sans JP",sans-serif}
.spccj-funding{background:#fff;color:#1e1e1e;width:100%}.spccj-funding-inner{width:calc(100% - 48px);max-width:1200px;margin:auto;border-top:1px solid #e3e5e6;padding:32px 0 24px}.spccj-funding h2{font-size:.86rem;font-weight:600;margin:0 0 12px;line-height:1.5}.spccj-funding-logos{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 32px}.spccj-funding-logos img{display:block;width:300px;max-width:100%;height:auto;object-fit:contain}.spccj-funding-logos img:first-child{width:360px}.spccj-funding-logos img:last-child{width:280px}
@media(max-width:700px){.spccj-funding-inner{width:calc(100% - 32px);padding:28px 0}.spccj-funding-logos{justify-content:center;gap:12px 24px}.spccj-funding h2{text-align:center}.spccj-funding-logos img:first-child{width:340px}}
.content-container{max-width:1248px}.content-area{margin-top:32px;margin-bottom:56px}.entry-content{margin:0}.entry-content>.spccj{max-width:1200px;margin-left:auto;margin-right:auto}
.entry-content h1{font-size:clamp(30px,4vw,48px);line-height:1.18}.entry-content h2{font-size:clamp(24px,3vw,36px);line-height:1.3}
.spccj-expanded-header{border-top:4px solid var(--spccj-red);background:white}.spccj-expanded-header a{font-family:Montserrat,"Noto Sans JP",sans-serif}
.spccj-expanded-header .spccj-local-label{display:none}
@media(min-width:1100px){.spccj-expanded-header{grid-template-columns:180px minmax(0,1fr);gap:25px;padding:18px 0}.spccj-expanded-header .spccj-brand{width:180px}.spccj-expanded-header>nav{grid-column:2;align-self:center}.spccj-expanded-header .spccj-main-menu{justify-content:flex-end;gap:12px 15px}.spccj-expanded-header nav a,.spccj-expanded-header .spccj-menu-group{font-size:.76rem}.spccj-expanded-header .spccj-access{padding:.65rem .8rem}}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--spccj-yellow);outline-offset:3px}
.spccj-theme-single{max-width:1200px;margin:auto;padding:32px 24px 56px}
.spccj-footer{background:#fff;border-top:4px solid #aa151b;color:#1e1e1e;margin-top:20px;font-family:Montserrat,"Noto Sans JP",sans-serif}.spccj-footer-main{max-width:1200px;width:calc(100% - 48px);margin:auto;display:grid;grid-template-columns:1.45fr 1fr 1fr 1.1fr;gap:48px;padding:48px 0 40px}.spccj-footer-brand img{display:block;width:235px;max-width:100%;height:auto}.spccj-footer-tagline{font-size:.94rem;line-height:1.7;font-weight:500;margin:24px 0 18px}.spccj-footer-brand address{font-size:.78rem;font-style:normal;line-height:1.9;color:#666}.spccj-footer-column h2{font-size:.73rem;text-transform:uppercase;letter-spacing:.1em;color:#aa151b;margin:10px 0 24px;font-weight:600}.spccj-footer-column>a{display:block;width:fit-content;font-size:.81rem;line-height:1.6;text-decoration:none;color:#333;padding:7px 0}.spccj-footer-column>a:hover,.spccj-footer-bottom a:hover{color:#aa151b;text-decoration:underline;text-underline-offset:4px}.spccj-footer-column p{font-size:.78rem;line-height:1.9;color:#666;margin:0 0 14px}.spccj-footer-social a{display:flex;justify-content:space-between;gap:32px;min-width:120px}.spccj-footer-social a span{color:#aa151b}.spccj-footer .spccj-funding-inner{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:40px;border-bottom:1px solid #e3e5e6;padding:12px 0}.spccj-footer .spccj-funding h2{color:#666;font-size:.76rem;line-height:1.8;margin:0;font-weight:500;max-width:110px}.spccj-footer .spccj-funding-logos{justify-content:space-between;gap:20px}.spccj-footer .spccj-funding-logos img{width:240px}.spccj-footer .spccj-funding-logos img:first-child{width:280px}.spccj-footer .spccj-funding-logos img:last-child{width:230px}.spccj-footer-bottom{max-width:1200px;width:calc(100% - 48px);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;font-size:.7rem;color:#777}.spccj-footer-bottom a{color:#555;text-decoration:none}.spccj-footer-preview{background:#f3f6f4;padding:10px 24px;text-align:center;font-size:.65rem;color:#777}.spccj-footer a:focus-visible{outline:2px solid #aa151b;outline-offset:4px}
.spccj-footer .spccj-funding h2{max-width:none}
@media(max-width:1050px){.spccj-footer-main{gap:28px;grid-template-columns:1.3fr 1fr 1fr}.spccj-footer-social{grid-column:2/4;display:flex;flex-wrap:wrap;gap:6px 24px}.spccj-footer-social h2,.spccj-footer-social p{width:100%;margin-bottom:8px}.spccj-footer .spccj-funding-inner{grid-template-columns:1fr;gap:8px;padding:22px 0}.spccj-footer .spccj-funding h2{max-width:none}.spccj-footer .spccj-funding-logos{justify-content:flex-start;gap:16px 32px}.spccj-footer .spccj-funding-logos img{width:200px}.spccj-footer .spccj-funding-logos img:first-child{width:260px}.spccj-footer .spccj-funding-logos img:last-child{width:210px}}
@media(max-width:650px){.spccj-footer-main{width:calc(100% - 40px);grid-template-columns:1fr 1fr;padding:32px 0 28px;gap:28px 20px}.spccj-footer-brand{grid-column:1/-1}.spccj-footer-brand img{width:220px}.spccj-footer-tagline{margin:18px 0 12px}.spccj-footer-column h2{margin:0 0 14px}.spccj-footer-social{grid-column:1/-1}.spccj-footer-social a{min-width:0;gap:12px}.spccj-footer .spccj-funding-inner{width:calc(100% - 40px);padding:22px 0 26px;gap:20px}.spccj-footer .spccj-funding h2{text-align:left}.spccj-footer .spccj-funding-logos{justify-content:center;gap:8px 24px}.spccj-footer-bottom{width:calc(100% - 40px);align-items:start;flex-direction:column;gap:12px;padding:22px 0}.spccj-footer-preview{text-align:left;padding:12px 20px;line-height:1.7}}
@media(max-width:600px){.content-area{margin-top:20px}.content-container{padding-left:16px;padding-right:16px}.spccj-theme-single{padding:20px 16px 40px}.entry-content>.spccj{width:100%}}

/* Keep Kadence's inherited controls within the Chamber palette. */
body{--global-palette1:#aa151b;--global-palette2:#811015;--global-palette-highlight:#aa151b;--global-palette-highlight-alt:#811015;--global-palette-btn-bg:#aa151b;--global-palette-btn-bg-hover:#811015;--global-palette-btn:#fff;--global-palette-btn-hover:#fff}
.entry-content :is(button,input[type="submit"],input[type="button"],.button,.wp-block-button__link):hover{background-color:#811015;color:#fff}
.spccj :is(a,button,input,select,textarea,summary):focus-visible,.spccj-site-header a:focus-visible,.spccj-menu-group summary:focus-visible{outline:3px solid #aa151b;outline-offset:4px}
.spccj .sjbca-hero :is(a,button):focus-visible{outline-color:#fff}
