/* TRILLION Group: readable Yomogi typography, clear contrast and contained tables. */
:root{--tg-read-white:#fff;--tg-read-paper:#181818;--tg-read-raised:#252525;--tg-read-gold:#f0d18d;--tg-read-edge:#757575}
html{scroll-padding-top:24px}
html body:not(.wp-admin){text-size-adjust:100%;-webkit-text-size-adjust:100%}

/* Main copy. Font family deliberately remains the user's selected Yomogi. */
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main){font-size:18px!important;font-weight:600!important;line-height:1.9!important;letter-spacing:.015em!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main) :is(p,li,dd){font-size:18px!important;font-weight:600!important;line-height:1.9!important;color:#fff!important;text-shadow:none!important;overflow-wrap:anywhere}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-text :is(p,li,dd){font-size:18px!important;font-weight:600!important;line-height:1.9!important;letter-spacing:.015em!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-text :is(strong,b){font-weight:700!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main) :is(h2,h3,h4){color:#fff!important;font-weight:700!important;line-height:1.6!important;letter-spacing:.025em!important;text-shadow:none!important;overflow-wrap:anywhere}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom>article{max-width:920px!important;padding:clamp(22px,4vw,36px)!important;line-height:1.9!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom article>header h2{color:#fff!important;background:#181818!important;font-size:clamp(23px,2.4vw,30px)!important;line-height:1.65!important;padding:0 0 18px!important;margin:0 0 18px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom :is(h2,h3,h4,h5,h6){background:#111!important;color:#fff!important;line-height:1.65!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom section>h2{border:0!important;border-left:4px solid #c7a55b!important;padding:16px 18px!important;margin:36px 0 22px!important;font-size:clamp(21px,2.2vw,25px)!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom :is(h3,h4){padding:10px 0!important;background:transparent!important;font-size:20px!important;margin:24px 0 12px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom article>header>p[style*="font-size: 12px"]{font-size:14px!important;color:#f0d18d!important;line-height:1.7!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom :is(nav,blockquote,pre){background:#242424!important;color:#fff!important;border-color:#757575!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom nav a{display:block;padding:10px 0!important;line-height:1.75!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom nav li{margin:0!important;padding:0!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom a{color:#fff!important;text-decoration:underline!important;text-decoration-color:#d0b473!important;text-decoration-thickness:1.5px;text-underline-offset:.22em}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom a:hover{color:#f0d18d!important;text-decoration-color:currentColor!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-top>div>div:first-child>span{background:#303030!important;color:#fff!important;border:1px solid #a88a4c!important;font-size:14px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main) :is(summary,label){font-size:17px!important;line-height:1.75!important;font-weight:700!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main) summary{padding-block:10px!important;cursor:pointer}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-lead{font-size:18px!important;line-height:1.9!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-table{margin:24px 0!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-crumb{font-size:14px!important;font-weight:600;line-height:1.8!important;overflow-wrap:anywhere}

/* Menus retain white labels and gain clear, keyboard-visible states. */
html body.tg-unified-shell.tg-group-skin:not(.wp-admin)>.tg-unified-header#tg-unified-top>.tg-header-h1{font-size:clamp(23px,2.45vw,30px)!important;line-height:1.5!important;font-weight:700!important;padding:16px 20px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-unified-nav>a>.tg-nav-label{font-size:16px!important;font-weight:700!important;line-height:1.6!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin)>.tg-unified-header#tg-unified-top>.tg-unified-nav>a:hover,
html body.tg-unified-shell.tg-group-skin:not(.wp-admin)>.tg-unified-header#tg-unified-top>.tg-unified-nav>.tg-nav-more>summary:hover,
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-nav-more-items>a:hover{background:#333!important;border-color:#d0b473!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(a,button,summary,input,select,textarea):focus-visible,
html body.ta-age-gate :is(a,button,summary):focus-visible{outline:3px solid #f0d18d!important;outline-offset:4px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-unified-footer-links>a{font-size:15px!important;font-weight:600!important;line-height:1.75!important;padding:13px 12px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-footer-group>summary,.tg-footer-group-heading){font-size:17px!important;font-weight:700!important;line-height:1.7!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-news-store-filter,.tg-event-filter,.tg-news-months) a[aria-current=page]{background:#3c3423!important;border:2px solid #e5c77e!important;color:#fff!important;box-shadow:inset 0 -3px #e5c77e!important}

/* Store cards and directory controls. */
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-card p{font-size:16px!important;font-weight:600!important;line-height:1.85!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-card p.text-xs{font-size:14px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-card .grid.grid-cols-2>div>span{font-size:15px!important;font-weight:600!important;line-height:1.7!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-card .grid.grid-cols-2>div>span:first-child{font-size:14px!important;color:#e4e4e4!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-card a{font-size:15px!important;line-height:1.6!important;min-height:48px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-tab{font-size:16px!important;min-height:48px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #stores .store-tab[aria-pressed=true]{background:#3c3423!important;border:2px solid #e5c77e!important;color:#fff!important;box-shadow:inset 0 -3px #e5c77e!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home main :is(p,li){font-size:17px!important;font-weight:600!important;line-height:1.85!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home main .text-xs{font-size:14px!important;line-height:1.7!important}

/* Keep the real, accessible section images; remove the duplicate decorative copies. */
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading{display:flex!important;aspect-ratio:auto!important;min-height:0!important;padding:18px!important;gap:16px!important;background:#111!important;border:1px solid #a98c50!important;margin:0 0 18px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading::before,
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading::after{display:none!important;content:none!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading>div{flex:1 1 auto!important;max-width:none!important;min-width:0!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading h2{background:transparent!important;border:0!important;padding:0!important;font-size:clamp(21px,2.4vw,27px)!important;line-height:1.6!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading small{font-size:14px!important;color:#f0d18d!important;line-height:1.7!important;letter-spacing:.03em!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading>span{font-size:36px!important;color:#fff!important}

/* Tables retain their semantics; overflow stays inside the labeled region. */
html body:not(.wp-admin) .tg-readable-scroll{display:block!important;max-width:100%!important;min-width:0!important;width:100%;overflow-x:auto!important;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;border-radius:4px}
html body:not(.wp-admin) .tg-readable-scroll:focus-visible{outline:3px solid #f0d18d!important;outline-offset:4px}
html body:not(.wp-admin) .tg-readable-scroll>table{display:table!important;max-width:none!important;margin:0!important;border-collapse:collapse!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-readable-wide>table,
html body:not(.wp-admin) :is(.entry-content,.ta-age-content) .tg-readable-wide>table{min-width:var(--tg-table-min,560px)!important;width:100%!important;table-layout:auto!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-readable-data :is(th,td),
html body:not(.wp-admin) :is(.entry-content,.ta-age-content) .tg-readable-data :is(th,td){font-size:16px!important;line-height:1.8!important;font-weight:600!important;padding:14px!important;vertical-align:top!important;border:1px solid #757575!important;color:#fff!important;background:#181818!important;overflow-wrap:anywhere;word-break:normal}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-readable-data th,
html body:not(.wp-admin) :is(.entry-content,.ta-age-content) .tg-readable-data th{background:#303030!important;font-weight:700!important;color:#fff!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-readable-data tbody tr:nth-child(even)>td,
html body:not(.wp-admin) :is(.entry-content,.ta-age-content) .tg-readable-data tbody tr:nth-child(even)>td{background:#242424!important}
html body:not(.wp-admin) .tg-readable-data :is(th,td) :is(span,strong,b,a,p){color:inherit!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main p.tg-table-scroll-note,
html body:not(.wp-admin) :is(.entry-content,.ta-age-content) p.tg-table-scroll-note{color:#f0d18d!important;font-size:14px!important;line-height:1.7!important;font-weight:600!important;margin:16px 0 8px!important}
html body:not(.wp-admin) p.tg-table-scroll-note[hidden]{display:none!important}

/* Ordinary Cocoon pages, including the new regional guides and article archives. */
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) :is(.entry-title,.archive-title,.widget-title){color:#fff!important;background:#111!important;line-height:1.6!important;overflow-wrap:anywhere}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content{color:#fff!important;font-size:18px!important;font-weight:600!important;line-height:1.9!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content :is(p,li,dd){color:#fff!important;font-size:18px!important;font-weight:600!important;line-height:1.9!important;overflow-wrap:anywhere}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content :is(h2,h3,h4){background:#111!important;color:#fff!important;line-height:1.65!important;border-left:4px solid #b89953!important;padding:16px!important;font-weight:700!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content :is(.seo-hero,.pickup-box,.internal-nav-footer){padding:22px!important;background:#222!important;color:#fff!important;border:1px solid #757575!important;margin:24px 0!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content .sub-label{font-size:14px!important;color:#f0d18d!important;font-weight:700!important;line-height:1.7!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content a{color:#fff!important;text-decoration:underline!important;text-underline-offset:.2em;text-decoration-color:#c7a55b!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content .cta-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;padding:13px 18px;min-height:48px;background:#303030!important;color:#fff!important;border:1px solid #c7a55b;text-align:center;font-size:17px;font-weight:700}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) :is(.widget,.entry-card-wrap,.related-entry-card-wrap,.comment-respond,.comment-list){color:#fff!important;background:#181818!important;border-color:#757575!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) :is(.entry-card-title,.entry-card-snippet,.widget a,.breadcrumb a,.date-tags){color:#fff!important}

/* Entrance long-form content. */
html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text :is(p,li,dd){font-size:18px!important;font-weight:600!important;line-height:1.9!important;color:#fff!important;text-shadow:none!important}
html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text :is(h2,h3,h4,h5,h6){background:#111!important;color:#fff!important;line-height:1.65!important;padding:14px 16px!important;overflow-wrap:anywhere}
html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text :is(a,strong,b,span,small){color:inherit!important}
html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text a{text-decoration:underline!important;text-underline-offset:.2em}

@media(max-width:780px){
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-unified-nav>a>.tg-nav-label{font-size:14px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-nav-more-items>a{font-size:15px!important;line-height:1.65!important}
}
@media(max-width:600px){
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main){font-size:17px!important;padding:18px 14px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-main,.tg-faq-page-main,.tg-news-main,.tg-event-main) :is(p,li,dd),html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-text :is(p,li,dd){font-size:17px!important;line-height:1.9!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom>article{padding:22px 16px!important;margin:24px auto!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom nav{padding:16px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom article>header h2{font-size:23px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom section>h2{font-size:21px!important;padding:14px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .ta-seo-bottom :is(h3,h4){font-size:19px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-readable-data :is(th,td),html body:not(.wp-admin) :is(.entry-content,.ta-age-content) .tg-readable-data :is(th,td){font-size:16px!important;padding:12px 10px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner :is(.tb-intro,.tb-section){padding:18px 14px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading{padding:14px!important;gap:12px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading>span{font-size:30px!important;padding-right:10px!important}
 html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-beginner .tb-section>.tb-heading h2{font-size:21px!important}
 html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content,html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content :is(p,li,dd){font-size:17px!important}
 html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text :is(p,li,dd){font-size:17px!important}
 html body.ta-age-gate.tg-age-root .ta-age-content .ta-seo-text :is(th,td){font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Components with their own legacy colors must keep foreground/background paired. */
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary label small{color:#f0d18d!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main p.tg-store-directory-status{background:#303030!important;color:#fff!important;border:1px solid #b59a60!important;font-size:15px!important;line-height:1.6!important;padding:6px 10px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) :is(.tg-aside,.tg-main) a.tg-line,
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) a.tg-line,
html body:not(.wp-admin) a.sns-button.line-button{background:#087c3b!important;color:#fff!important;border-color:#65b985!important;font-size:16px!important;line-height:1.6!important;min-height:48px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #contact a[href^="https://line.me/"]{background:#087c3b!important;color:#fff!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home #contact a[href^="https://line.me/"] :is(div,span){color:#fff!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) :is(.site-name-text,.site-description,.author-name){color:#fff!important}

/* The recruitment landing page places SEO copy directly under main, outside .tg-main. */
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text{font-size:18px!important;line-height:1.9!important;font-weight:600!important;max-width:1600px;box-sizing:border-box;width:min(100%,1600px);margin:24px auto;overflow-wrap:anywhere}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-top>div,
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom :is(article,section,header,nav,div,footer,blockquote,pre){background:#181818!important;color:#fff!important;border-color:#757575!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom>article{max-width:1600px!important;width:100%!important;box-sizing:border-box;border:1px solid #757575!important;border-top:3px solid #b99a58!important;padding:clamp(22px,4vw,36px)!important;margin:24px auto!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text :is(p,li,dd,dt,span,strong,b,small){color:#fff!important;line-height:1.9!important;text-shadow:none!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text :is(p,li,dd){font-size:18px!important;font-weight:600!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text :is(span,strong)[style*="background"]{background:#303030!important;color:#fff!important;border-color:#b99a58!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom :is(h2,h3,h4,h5,h6){background:#111!important;color:#fff!important;border:0!important;border-left:4px solid #b99a58!important;padding:16px 18px!important;font-size:24px!important;line-height:1.65!important;font-weight:700!important;letter-spacing:.02em!important;margin:30px 0 20px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom article>header h2{background:#181818!important;color:#fff!important;border:0!important;font-size:clamp(25px,2.7vw,33px)!important;padding:0 0 18px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom article>header>p[style*="font-size: 12px"]{font-size:14px!important;color:#f0d18d!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom :is(h3,h4){font-size:20px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom :is(a,pre){color:#fff!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom nav{padding:20px!important;background:#242424!important;border:1px solid #757575!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom nav a{display:block;color:#fff!important;padding:9px 0!important;line-height:1.75!important;text-decoration:underline!important;text-underline-offset:.2em}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom a:hover{color:#f0d18d!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .ta-seo-text .tg-readable-wide>table{min-width:var(--tg-table-min,560px)!important;width:100%!important;table-layout:auto!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .ta-seo-text .tg-readable-data :is(th,td){color:#fff!important;background:#181818!important;border:1px solid #757575!important;padding:14px!important;font-size:16px!important;line-height:1.8!important;font-weight:600!important;vertical-align:top!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .ta-seo-text .tg-readable-data th{background:#303030!important;font-weight:700!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .ta-seo-text .tg-readable-data tbody tr:nth-child(even)>td{background:#242424!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .ta-seo-text p.tg-table-scroll-note{color:#f0d18d!important;font-size:14px!important;line-height:1.7!important;font-weight:600!important;margin:16px 0 8px!important}
@media(max-width:600px){
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text{width:calc(100% - 24px);font-size:17px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-text :is(p,li,dd){font-size:17px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom>article{padding:22px 16px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom :is(h2,h3,h4){font-size:21px!important;padding:14px!important}
html body.tg-unified-shell.tg-group-skin.tg-group-home .ta-seo-bottom article>header h2{font-size:23px!important}
}


/* Final scope corrections from the full mobile page sweep. */
html body.tg-unified-shell.tg-group-skin.tg-group-home a[href^="https://line.me/"]{background:#087c3b!important;color:#fff!important;font-size:16px!important;line-height:1.6!important;min-height:48px!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-rates>table{min-width:600px!important;width:100%!important;table-layout:auto!important;margin:0!important}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-rates :is(th,td){font-size:16px!important;line-height:1.7!important;font-weight:600!important;padding:12px 14px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) .entry-content blockquote{background:#242424!important;color:#fff!important;border-color:#b99a58!important;padding:20px!important}
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) :is(.comment-list,.comment-respond) a{color:#fff!important;text-decoration:underline!important;text-underline-offset:.2em;text-decoration-color:#c7a55b!important}


html body.ta-age-gate .tgab-banner img[hidden]{display:none!important}
html body.ta-age-gate .tgab-banner .tg-banner-fallback{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:82px;width:100%;margin:0 auto;padding:14px 20px;background:linear-gradient(135deg,#111,#29251b);border:1px solid #c7a55b;border-radius:3px;color:#fff;font:700 clamp(18px,3vw,26px)/1.6 var(--tg-yomogi);text-align:center;overflow-wrap:anywhere}


/* Standard desktop sidebar blocks also use dark heading surfaces. */
html body:not(.tg-unified-shell):not(.ta-age-gate):not(:has(#tgl-page)):not(.wp-admin) #sidebar .widget :is(h2,h3,.wp-block-heading){background:#111!important;color:#fff!important;border-color:#b99a58!important;font-size:20px!important;line-height:1.65!important;padding:14px!important}

/* Readability proposal: retain the existing Yomogi font and black/white design.
 * Load after tg-yomogi-font.css. No font-family, content or pricing changes.
 */

/* Salary simulator: use the existing labeled, focusable scroll region. */
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary {
  min-width: 0;
  max-width: 100%;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(.tg-salary-shell,.tg-salary-body,.tg-salary-grid,.tg-salary-grid>div,.tg-result,.tg-rates) {
  min-width: 0;
  max-width: 100%;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(label,legend) {
  font-size: 18px!important;
  font-weight: 700!important;
  line-height: 1.7!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(label small,.tg-help,.tg-rate-note,.tg-result-block span,.tg-note,.tg-breakdown) {
  font-size: 16px!important;
  font-weight: 600!important;
  line-height: 1.8!important;
  letter-spacing: normal!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(.tg-step,.tg-salary-head small,.tg-result-title) {
  font-size: 15px!important;
  font-weight: 700!important;
  line-height: 1.7!important;
  letter-spacing: .03em!important;
  color: #f0d18d!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(input,select) {
  min-height: 48px!important;
  font-size: 18px!important;
  line-height: 1.5!important;
  font-weight: 700!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-rates {
  overflow-x: auto!important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 3px!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-salary .tg-rates > table {
  width: 100%!important;
  min-width: 600px!important;
  table-layout: auto!important;
  margin: 0!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-salary .tg-rates :is(th,td) {
  font-size: 16px!important;
  font-weight: 600!important;
  line-height: 1.7!important;
  padding: 12px 14px!important;
  white-space: nowrap!important;
  overflow-wrap: normal!important;
  word-break: normal!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-main .tg-salary .tg-rates th {
  font-weight: 700!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-rates:focus-visible {
  outline: 3px solid #f0d18d;
  outline-offset: 3px;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-breakdown {
  grid-template-columns: minmax(0,1fr) auto;
  gap: 9px 14px;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-breakdown span:nth-child(even) {
  white-space: nowrap;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-reset {
  min-height: 48px!important;
  font-size: 16px!important;
  font-weight: 700!important;
  background: #fff!important;
  color: #171717!important;
}
html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-warn {
  color: #ffe1a0!important;
  font-size: 16px!important;
  line-height: 1.8!important;
  font-weight: 700!important;
}
@media (max-width: 1000px) {
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-salary-grid {
    grid-template-columns: minmax(0,1fr)!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-result {
    position: static!important;
  }
}
@media (max-width: 600px) {
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(label,legend,input,select) {
    font-size: 16px!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary :is(label small,.tg-help,.tg-rate-note,.tg-result-block span,.tg-note,.tg-breakdown) {
    font-size: 15px!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-course-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
    gap: 14px 12px!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-field-grid {
    grid-template-columns: minmax(0,1fr)!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-salary-body {
    padding: 14px!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary fieldset {
    padding: 14px 12px!important;
  }
  html body.tg-unified-shell.tg-group-skin:not(.wp-admin) .tg-salary .tg-result {
    padding: 20px 16px!important;
  }
}

/* Standalone link page: improve the small labels and keep code monospace. */
html body:has(#tgl-page) #tgl-page {
  font-size: 18px!important;
  font-weight: 600!important;
  line-height: 1.9!important;
}
html body:has(#tgl-page) #tgl-page :is(.tgl-intro-lead,.tgl-info dd,.tgl-textlink-preview,.tgl-contact p) {
  font-size: 18px!important;
  font-weight: 600!important;
  line-height: 1.9!important;
}
html body:has(#tgl-page) #tgl-page :is(.tgl-help,.tgl-size-note,.tgl-card-links,.tgl-section-heading p,.tgl-code-head label,.tgl-related span,.tgl-related em,.tgl-copy-status,.tgl-pill,.tgl-recommend,.tgl-card-head h3 small,.tgl-crumb,.tgl-footer-nav) {
  font-size: 15px!important;
  line-height: 1.75!important;
  font-weight: 600!important;
}
html body:has(#tgl-page) #tgl-page :is(.tgl-nav a,.tgl-size-nav a,.tgl-copy,.tgl-contact a) {
  font-size: 16px!important;
  font-weight: 700!important;
  line-height: 1.6!important;
  min-height: 48px!important;
}
html body:has(#tgl-page) #tgl-page .tgl-size-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
}
html body:has(#tgl-page) #tgl-page .tgl-code {
  font-size: 15px!important;
  line-height: 1.8!important;
  min-height: 200px!important;
  font-weight: 400!important;
}
html body:has(#tgl-page) #tgl-page :is(a,button,textarea):focus-visible {
  outline: 3px solid #f0d18d!important;
  outline-offset: 3px;
}
html body:has(#tgl-page) #tgl-page .tgl-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 640px) {
  html body:has(#tgl-page) #tgl-page,
  html body:has(#tgl-page) #tgl-page :is(.tgl-intro-lead,.tgl-info dd,.tgl-textlink-preview,.tgl-contact p) {
    font-size: 16px!important;
    line-height: 1.85!important;
  }
  html body:has(#tgl-page) #tgl-page .tgl-shell {
    width: calc(100% - 24px);
  }
  html body:has(#tgl-page) #tgl-page .tgl-nav .tgl-shell {
    width: 100%;
  }
  html body:has(#tgl-page) #tgl-page .tgl-nav a {
    font-size: 14px!important;
    min-height: 54px!important;
    padding: 10px 6px!important;
  }
  html body:has(#tgl-page) #tgl-page :is(.tgl-intro,.tgl-info-section,.tgl-card-body) {
    padding-left: 16px!important;
    padding-right: 16px!important;
  }
  html body:has(#tgl-page) #tgl-page .tgl-code-head {
    align-items: stretch;
    gap: 10px;
  }
  html body:has(#tgl-page) #tgl-page :is(.tgl-code-head label,.tgl-code-head .tgl-copy) {
    width: 100%;
  }
  html body:has(#tgl-page) #tgl-page .tgl-code {
    font-size: 16px!important;
  }
  html body:has(#tgl-page) #tgl-page .tgl-card-links>div {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%;
    gap: 10px;
  }
}

/* Private chat message cards are white: prevent inherited site-wide white text. */
html body .tg-private .tg-bubble,
html body .tg-private .tg-bubble :is(p,strong,small) {
  color: #242424 !important;
}
html body .tg-private .tg-bubble p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* SWELL migration: keep the three recruitment actions usable at 320px. */
@media (max-width: 640px) {
  html body.tg-unified-shell.tg-group-skin.tg-group-home > div.fixed.bottom-0.inset-x-0 {
    box-sizing: border-box;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 6px !important;
  }
  html body.tg-unified-shell.tg-group-skin.tg-group-home > div.fixed.bottom-0.inset-x-0 > :is(a,button) {
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    padding: 10px 5px !important;
    font-size: clamp(12px, 3.4vw, 14px) !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  html body.tg-unified-shell.tg-group-skin.tg-group-home > div.fixed.bottom-0.inset-x-0 svg {
    flex-shrink: 0;
  }
}

/* Tokushima city and Utsunomiya travel guides. */
#tg-toyama-layout .tk-panel{box-sizing:border-box;min-width:0;margin:clamp(16px,3vw,30px) 0;padding:clamp(16px,3vw,30px);background:#0e1928!important;color:#f4f6fb!important;border:1px solid #526175;border-radius:12px;text-align:left;}
#tg-toyama-layout .tk-panel h2{margin:0 0 1rem;scroll-margin-top:5rem;}
#tg-toyama-layout .tk-panel :is(p,li,summary){color:#f4f6fb!important;line-height:1.85;text-shadow:none!important;font-size:1rem;}
#tg-toyama-layout .tk-panel p{margin:.45em 0;font-weight:400!important;}
#tg-toyama-layout .tk-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:12px;}
#tg-toyama-layout .tk-card{min-width:0;border:1px solid #53647a;border-inline-start:3px solid #cfaf65;border-radius:8px;background:#162438!important;padding:16px;}
#tg-toyama-layout .tk-card h3{margin:0 0 .55em;color:#fff!important;line-height:1.5;}
#tg-toyama-layout .tk-links{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin:1rem 0 0;}
#tg-toyama-layout .tk-links a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;line-height:1.5;padding:.55em 1em;border:1px solid #8295ad;border-radius:7px;background:#1c304a!important;color:#fff!important;font-weight:650;text-decoration:underline!important;text-underline-offset:.2em;text-align:center;text-shadow:none!important;}
#tg-toyama-layout .tk-links a:hover{background:#2c4b6e!important;}
#tg-toyama-layout .tk-panel :is(a,summary):focus-visible{outline:3px solid #ffe09c!important;outline-offset:3px;}
#tg-toyama-layout .tk-panel details{margin:.65em 0;padding:0 15px;background:#162438!important;border:1px solid #53647a;border-radius:7px;}
#tg-toyama-layout .tk-panel summary{min-height:46px;box-sizing:border-box;cursor:pointer;padding:.7em 0;font-weight:700;}
#tg-toyama-layout .tk-panel details p{margin:0 0 1em;}
#tg-toyama-layout .ta-seo-text:has(>.tk-panel){margin:0!important;border:0!important;padding:0!important;background:transparent!important;}
@media(max-width:700px){#tg-toyama-layout .tk-cards,#tg-toyama-layout .tk-links{display:grid;grid-template-columns:minmax(0,1fr);}#tg-toyama-layout .tk-toc{grid-template-columns:repeat(2,minmax(0,1fr));}#tg-toyama-layout .tk-toc a:last-child:nth-child(odd){grid-column:1/-1;}#tg-toyama-layout .tk-panel{padding:15px;}#tg-toyama-layout .tk-links a{padding:.55em .45em;}}
@media(max-width:340px){#tg-toyama-layout .tk-toc{grid-template-columns:minmax(0,1fr);}}

