/* Site navigation on the shared night-view header and footer. */
#tg-unified-top .tg-site-menu {
  box-sizing:border-box; width:min(100%,1120px); margin:0 auto; padding:12px clamp(12px,3vw,32px);
  background:#111; color:#fff; font-family:var(--tg-gothic,sans-serif); text-align:left;
}
.tg-site-menu .tg-menu-shortcuts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#tg-unified-top .tg-site-menu :is(a,summary) {
  display:flex;align-items:center;min-height:46px;box-sizing:border-box;padding:9px 14px;
  color:#fff;background:#232323;border:1px solid #78663f;border-radius:5px;
  font:600 16px/1.45 var(--tg-gothic,sans-serif);text-decoration:none;overflow-wrap:anywhere;
}
#tg-unified-top .tg-menu-shortcuts a {justify-content:center;text-align:center}
#tg-unified-top .tg-menu-shortcuts a.tg-menu-contact {background:#ead097;color:#211c12;border-color:#ead097}
#tg-unified-top .tg-site-menu :is(a,summary):hover {text-decoration:underline;text-underline-offset:3px}
#tg-unified-top .tg-site-menu :is(a,summary):focus-visible,
body .tg-footer-directory :is(a,summary):focus-visible {outline:3px solid #ffdc82!important;outline-offset:-3px}
#tg-unified-top .tg-menu-details {margin:8px 0 0}
#tg-unified-top .tg-menu-details summary {cursor:pointer;justify-content:space-between;background:#181818;list-style:none}
#tg-unified-top .tg-menu-details summary::-webkit-details-marker {display:none}
.tg-menu-details>summary span::after {content:"＋";color:#f1d393}
.tg-menu-details[open]>summary span::after {content:"−"}
.tg-menu-panels {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:12px 0 2px}
.tg-menu-panels p {margin:0 0 6px;color:#f1d393;font-weight:700}
#tg-unified-top .tg-menu-panels a {border:0;border-bottom:1px solid #544b3b;border-radius:0;background:transparent;font-weight:500}
body .tg-footer-directory .tg-unified-footer-links {grid-auto-rows:auto}
html body .tg-footer-directory .tg-unified-footer-links>a {
  display:flex!important;align-items:center;justify-content:flex-start;min-height:46px!important;height:auto!important;
  padding:9px 12px!important;line-height:1.5!important;font-size:15px!important;white-space:normal!important;
  overflow-wrap:anywhere;text-align:left;text-overflow:clip;
}
body .tg-footer-directory details.tg-footer-group>summary {justify-content:space-between!important;text-align:left!important;padding-inline:16px!important}
.tg-footer-directory .tg-footer-regions {border-left:2px solid #a98c50;padding-left:12px;margin:10px 0 16px}
@media (max-width:700px) {
  .tg-site-menu .tg-menu-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .tg-menu-panels {grid-template-columns:1fr;gap:12px}
  html body .tg-area-directory .tg-unified-footer-links {grid-template-columns:1fr}
}

/* Match the Miyazaki regional shell while retaining Toyama's route and FAQ content. */
body.tg-toyama-guide #tg-toyama-layout {box-sizing:border-box;width:100%!important;max-width:1600px!important;margin:0 auto 40px;padding:0 clamp(14px,3vw,40px)!important}
#tg-toyama-layout .tg-crumb {margin:16px 0;color:#fff;line-height:1.7;font-size:14px;overflow-wrap:anywhere}
#tg-toyama-layout .tg-crumb a {color:#f1d393;text-decoration:underline;text-underline-offset:3px}
#tg-toyama-layout #main_content {box-sizing:border-box;width:100%;min-width:0;max-width:none!important;background:#181818!important;border:1px solid #88703f!important;border-radius:14px!important;padding:clamp(16px,3vw,38px)!important}
#tg-toyama-layout #main_content .post_content {color:#fff!important}
#tg-toyama-layout #main_content :is(.tr-toyama-wrap,.tg-dekasegi-lp) {max-width:none!important;padding:0!important;background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}
#tg-toyama-layout #main_content :is(.tr-toyama-hero,.tr-toyama-cta-box,.tr-toyama-card,.tr-toyama-sim-box,.tr-toyama-info-box,.tg-dekasegi-lp ol,.tr-toyama-faq,.tr-toyama-faq-body,.toyama-costs,.toyama-costs dd) {background:#262626!important;border-color:#77603b!important;color:#fff!important}
#tg-toyama-layout #main_content :is(p,li,dd,td,blockquote,.tr-toyama-faq-body,.tr-toyama-sim-type,strong) {color:#fff!important;-webkit-text-fill-color:#fff!important}
#tg-toyama-layout #main_content :is(h2,h3,.tr-toyama-sim-price,.toyama-costs dt) {color:#f1d393!important;-webkit-text-fill-color:#f1d393!important}
#tg-toyama-layout #main_content :is(.tr-toyama-h2,.tg-dekasegi-lp h2,.tr-toyama-faq summary,.toyama-costs dt,.tr-toyama-table th) {background:#302a20!important;color:#f6e2b5!important;-webkit-text-fill-color:#f6e2b5!important}
#tg-toyama-layout #main_content .tr-toyama-table :is(td,tr:nth-child(even) td) {background:#222!important;border-color:#746445!important}
#tg-toyama-layout #main_content :is(a:not(.tr-toyama-btn),a.tr-toyama-btn.dark) {background:#302a20!important;color:#ffe2a3!important;-webkit-text-fill-color:#ffe2a3!important;border-color:#a98c50!important}
#tg-toyama-layout #main_content .tr-toyama-btn.gold {background:#ead097!important;color:#211c12!important;-webkit-text-fill-color:#211c12!important}
#tg-toyama-layout #main_content a:focus-visible {outline:3px solid #ffdc82;outline-offset:2px}

/* Prefecture guide uses the same high-contrast surfaces as the city guide. */
#tg-toyama-layout .tr-toyama-pref-wrap {max-width:none;color:#fff;overflow-wrap:anywhere}
#tg-toyama-layout #main_content :is(.tr-toyama-pref-hero,.tr-toyama-pref-card,.tr-toyama-pref-sim-box,.tr-toyama-pref-info-box,.tr-toyama-pref-cta-box,.tr-toyama-pref-faq,.tr-toyama-pref-faq-body) {background:#262626!important;color:#fff!important;border-color:#88703f!important}
#tg-toyama-layout #main_content :is(.tr-toyama-pref-h2,.tr-toyama-pref-table th,.tr-toyama-pref-faq summary) {background:#302a20!important;color:#f6e2b5!important;-webkit-text-fill-color:#f6e2b5!important}
#tg-toyama-layout #main_content .tr-toyama-pref-table {min-width:0!important;width:100%;table-layout:auto}
#tg-toyama-layout #main_content .tr-toyama-pref-table th {width:29%}
#tg-toyama-layout #main_content .tr-toyama-pref-table td {background:#222!important;border-color:#746445!important}
#tg-toyama-layout #main_content :is(.tr-toyama-pref-sim-type,.tr-toyama-pref-sim-price) {color:#f1d393!important;background:transparent!important;-webkit-text-fill-color:#f1d393!important}
#tg-toyama-layout #main_content .tr-toyama-pref-faq summary {cursor:pointer;min-height:46px}
#tg-toyama-layout #main_content .tr-toyama-pref-faq summary:focus-visible {outline:3px solid #ffdc82;outline-offset:2px}
#tg-toyama-layout #main_content .tr-toyama-pref-faq summary::before,#tg-toyama-layout #main_content .tr-toyama-pref-faq summary::after {color:#f1d393}
#tg-toyama-layout #main_content .tr-toyama-pref-btn.gold {background:#ead097!important;color:#211c12!important;-webkit-text-fill-color:#211c12!important}
#tg-toyama-layout .tr-toyama-pref-links a {display:inline-flex;align-items:center;min-height:44px;white-space:normal}
#tg-toyama-layout .tr-toyama-pref-card-grid,#tg-toyama-layout .tr-toyama-pref-sim-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
#tg-toyama-layout .tr-toyama-pref-h2[id] {scroll-margin-top:4rem}
@media(max-width:700px) {
  #tg-toyama-layout .tr-toyama-pref-card-grid,#tg-toyama-layout .tr-toyama-pref-sim-grid,#tg-toyama-layout .tr-toyama-pref-links {display:grid;grid-template-columns:minmax(0,1fr)}
  #tg-toyama-layout #main_content .tr-toyama-pref-table :is(th,td) {padding:9px 8px!important;line-height:1.65!important;white-space:normal!important;overflow-wrap:anywhere}
}

/* City-level access guide shares the regional shell and its black-and-gold palette. */
#tg-toyama-layout .tr-toyama-acc-wrap {max-width:none;color:#fff;overflow-wrap:anywhere}
#tg-toyama-layout #main_content :is(.tr-toyama-acc-hero,.tr-toyama-acc-card,.tr-toyama-acc-faq,.tr-toyama-acc-faq-body,.tr-toyama-acc-info-box,.tr-toyama-acc-cta-box,.city-itinerary>li) {background:#262626!important;color:#fff!important;border-color:#88703f!important}
#tg-toyama-layout #main_content .tr-toyama-acc-h2,
#tg-toyama-layout #main_content .tr-toyama-acc-faq summary,
#tg-toyama-layout #main_content .tr-toyama-acc-table th {background:#302a20!important;color:#f6e2b5!important;-webkit-text-fill-color:#f6e2b5!important}
#tg-toyama-layout #main_content .tr-toyama-acc-table td {background:#222!important;border-color:#746445!important;white-space:normal!important}
#tg-toyama-layout #main_content .tr-toyama-acc-table {min-width:0!important;table-layout:auto;width:100%}
#tg-toyama-layout .tr-toyama-acc-table th {width:29%;vertical-align:top}
#tg-toyama-layout #main_content .tr-toyama-acc-faq summary {min-height:46px;list-style:none}
#tg-toyama-layout #main_content .tr-toyama-acc-faq summary::before,
#tg-toyama-layout #main_content .tr-toyama-acc-faq summary::after {color:#f1d393}
#tg-toyama-layout #main_content .tr-toyama-acc-btn.gold {background:#ead097!important;color:#211c12!important;-webkit-text-fill-color:#211c12!important}
#tg-toyama-layout .tr-toyama-acc-links a {display:inline-flex;align-items:center;min-height:44px;white-space:normal}
#tg-toyama-layout .city-itinerary {margin:1em 0 2em;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#tg-toyama-layout .city-itinerary>li {margin:0;padding:1em;border:1px solid;border-radius:6px}
#tg-toyama-layout .city-itinerary h3 {margin:0 0 .6em}
#tg-toyama-layout .city-itinerary p {margin:0}
#tg-toyama-layout .tr-toyama-acc-h2[id] {scroll-margin-top:4rem}
@media(max-width:700px) {
  #tg-toyama-layout .tr-toyama-acc-grid,#tg-toyama-layout .city-itinerary {grid-template-columns:minmax(0,1fr)}
  #tg-toyama-layout .tr-toyama-acc-links {display:grid;grid-template-columns:minmax(0,1fr)}
  #tg-toyama-layout #main_content .tr-toyama-acc-table :is(td,th) {padding:9px 8px!important;line-height:1.65!important;overflow-wrap:anywhere}
}

/* Oyama–Utsunomiya route guide */
#tg-toyama-layout .oy-guide {
  max-width: 76rem;
  margin-inline: auto;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#tg-toyama-layout .oy-guide h2[id] {
  margin: clamp(28px, 4vw, 50px) 0 16px;
  scroll-margin-top: 5rem;
}
#tg-toyama-layout .oy-guide .oy-intro {max-width: 50em; margin: 0 0 1.1em}
#tg-toyama-layout .oy-links,
#tg-toyama-layout .oy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 12px;
  margin: 14px 0 22px;
}
#tg-toyama-layout .oy-links a,
#tg-toyama-layout .oy-guide summary {
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #968053;
  border-radius: 6px;
  line-height: 1.55;
}
#tg-toyama-layout .oy-links a {display: flex; align-items: center; text-decoration: underline; text-underline-offset: .2em}
#tg-toyama-layout .oy-card {
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #786a4d;
  border-radius: 9px;
  background: #252421;
}
#tg-toyama-layout .oy-guide .oy-card h3 {margin: 0 0 8px}
#tg-toyama-layout .oy-guide .oy-card p {margin: 0}
#tg-toyama-layout .oy-guide details {margin: 10px 0; background: #252421; border-radius: 6px}
#tg-toyama-layout #main_content .oy-guide summary {
  display: list-item; list-style: disclosure-closed inside; cursor: pointer;
  background: #302a20; color: #ffe2a3; -webkit-text-fill-color: #ffe2a3; font-weight: 700;
}
#tg-toyama-layout .oy-guide details[open] > summary {list-style-type: disclosure-open}
#tg-toyama-layout .oy-guide summary:focus-visible {outline: 3px solid #ffdc82; outline-offset: 2px}
#tg-toyama-layout .oy-guide details p {margin: 0; padding: 12px 16px}
@media (max-width: 700px) {
  #tg-toyama-layout .oy-links, #tg-toyama-layout .oy-cards {grid-template-columns: minmax(0, 1fr); gap: 8px}
}

/* The application guide uses the same sections on its preview and public page. */
.tg-guide-top-wide #guide-start .guide-main {
  color: #f6f5f2; background: #181818 !important;
  padding: clamp(15px, 3vw, 36px) !important;
}
.tg-guide-top-wide #guide-start .tr-guide-wrap {
  width: 100%; min-width: 0; overflow-wrap: anywhere;
}
.tg-guide-top-wide #guide-start :is(.tr-guide-hero,.tr-guide-card,.tr-guide-info-box,.tr-guide-steps > li,.tr-guide-cta-box,.guide-check,.tr-guide-faq,.guide-event-stores) {
  padding: clamp(14px, 2vw, 23px); margin-block: 12px;
  border: 1px solid #82704e !important; border-radius: 10px;
  color: #fff !important; background: #252421 !important;
}
.tg-guide-top-wide #guide-start .tr-guide-wrap :is(p,li,dd,.tr-guide-faq-body) {
  color: #f7f6f2 !important; -webkit-text-fill-color: #f7f6f2 !important;
  font: 500 clamp(16px, 1.2vw, 18px)/1.85 var(--tg-gothic, sans-serif) !important;
}
.tg-guide-top-wide #guide-start .tr-guide-wrap :is(p,dd) {max-inline-size: 65em}
.tg-guide-top-wide #guide-start .tr-guide-wrap strong {color: inherit !important; -webkit-text-fill-color: currentColor !important}
.tg-guide-top-wide #guide-start :is(.tr-guide-wrap h2,.tr-guide-wrap h3,.tr-guide-wrap h4) {
  color: #f8e4b6 !important; -webkit-text-fill-color: #f8e4b6 !important;
  background: #252421 !important; line-height: 1.5 !important; overflow-wrap: anywhere;
}
.tg-guide-top-wide #guide-start .tr-guide-wrap h2[id] {margin: clamp(24px,4vw,48px) 0 14px !important; scroll-margin-top: 4rem}
.tg-guide-top-wide #guide-start .tr-guide-wrap .tr-guide-hero-title {margin-top: 0 !important}
.tg-guide-top-wide #guide-start :is(.tr-guide-nav,.tr-guide-btn-group,.tr-guide-card-grid,.guide-check-grid) {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: 10px;
}
.tg-guide-top-wide #guide-start :is(.tr-guide-nav,.tr-guide-btn-group) a,
.tg-guide-top-wide #guide-start :is(.tg-event-more,.tg-news-more,.tg-event-filter a) {
  display: flex !important; align-items: center; min-height: 46px; padding: 10px 14px !important;
  background: #302b22 !important; border: 1px solid #ad9157 !important; border-radius: 6px;
  color: #ffe6aa !important; -webkit-text-fill-color: #ffe6aa !important;
  text-decoration: underline !important; text-underline-offset: .2em; overflow-wrap: anywhere; white-space: normal !important;
}
.tg-guide-top-wide #guide-start .tg-home-news-list a {color:#fff !important; -webkit-text-fill-color:#fff !important}
.tg-guide-top-wide #guide-start .tg-home-news-list li {background:#202020 !important}
.tg-guide-top-wide #guide-start :is(.tg-home-news-list time,.tg-news-store-badge) {background:#292722 !important;color:#ffe6aa !important;-webkit-text-fill-color:#ffe6aa !important}
.tg-guide-top-wide #guide-start .guide-check {margin: 0}
.tg-guide-top-wide #guide-start .guide-check :is(h3,dl) {margin: 0 0 .4em}
.tg-guide-top-wide #guide-start .guide-check dt {margin: 10px 0 2px; color: #ffe1a1 !important; font-weight: 700}
.tg-guide-top-wide #guide-start .guide-check dd {margin: 0}
.tg-guide-top-wide #guide-start .tr-guide-steps {padding-left: 1.5em}
.tg-guide-top-wide #guide-start .tr-guide-steps li::marker {color: #f8e4b6; font-weight: bold}
.tg-guide-top-wide #guide-start :is(.guide-event-stores,.tr-guide-faq) {padding: 0 !important}
.tg-guide-top-wide #guide-start :is(.guide-event-stores,.tr-guide-faq) > summary {
  display: list-item; list-style: disclosure-closed inside; padding: 13px 16px !important; min-height: 48px;
  color: #ffebbc !important; -webkit-text-fill-color: #ffebbc !important; background: #302b22 !important;
  cursor: pointer; border-radius: 8px; font-weight: 700;
}
.tg-guide-top-wide #guide-start details[open] > summary {list-style-type: disclosure-open}
.tg-guide-top-wide #guide-start :is(.tr-guide-faq-body,.guide-event-stores nav) {padding: 14px 16px !important; background: #252421 !important}
.tg-guide-top-wide #guide-start :is(a,summary):focus-visible {outline: 3px solid #ffda7e !important; outline-offset: 2px}
@media (max-width: 700px) {
  .tg-guide-top-wide #guide-start :is(.tr-guide-nav,.tr-guide-btn-group,.tr-guide-card-grid,.guide-check-grid) {grid-template-columns: minmax(0,1fr)}
  .tg-guide-top-wide #guide-start .tg-home-news-list li {display: grid; grid-template-columns: minmax(0,1fr); gap: 3px}
  .tg-guide-top-wide #guide-start .tg-home-news-list li a {white-space: normal; overflow-wrap: anywhere; min-height: 44px}
}


