/* Individual store overrides: Dream NET Chain | common avant-static.css unchanged */
:root { --accent:#806EAA; --page-header-color:#806EAA; }
.line-button {background:#00B900 !important;color:#FFFFFF !important;border-color:#00B900 !important;}
.line-button:hover,.line-button:focus-visible {background:#00A300 !important;color:#FFFFFF !important;}
.header-contact .line-button { font-size:13px; border-radius:4px; }
.header-top .header-desc {max-width:760px; line-height:1.6; font-size:12px;}
.header-contact { flex-shrink:0; }
.header-contact .stamp {display:flex;align-items:center;}
.contact-band .tel {font-size:22px;line-height:1.5;}
.contact-band .hours {font-size:13px;}
.contact-band .line-button {display:inline-block;margin:10px 7px 8px;}
.contact-band .shop-link-button {display:inline-block;margin:10px 7px 8px;}
.nav-links a:not(.active):hover {background:#F1EEF7;border-color:#806EAA;color:#806EAA;}
/* The master provides inline SVG nav icons: use those without bundling a font binary. */
.nav-links > a::before{content:none !important;display:none !important;}
.nav-links > a > svg{display:block !important;}
.page-main .faq-category-links a:hover {background:#F1EEF7;border-color:#806EAA;color:#806EAA;}
.legacy-content .__main-color {color:#806EAA;}
.legacy-content .__main-bgcolor {background-color:#806EAA;}
.legacy-content .__main-borderBottmcolor {border-bottom-color:#806EAA;}
.legacy-content .__sub-color {color:#806EAA;}
.legacy-content .__sub-bordercolor {border-color:#000;}
/* About: preserve master's greeting gallery structure with a native horizontal-scrolling display. */
.legacy-content .c-section_slide.site-greeting-gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:8px;overscroll-behavior-x:contain;}
.legacy-content .c-section_slide.site-greeting-gallery>li{display:block!important;flex:0 0 100%;min-width:0;scroll-snap-align:start;}
.legacy-content .c-section_slide.site-greeting-gallery img{width:100%;object-fit:cover;}
.store-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.store-card{min-width:0;border:1px solid #DDD;background:#FFF;padding:18px 20px;}
.store-card h3{color:#806EAA;margin:0 0 10px;font-size:17px;line-height:1.5;}
.store-card table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.65;table-layout:fixed;}
.store-card th,.store-card td{padding:8px 6px;border-bottom:1px solid #E5E5E5;text-align:left;vertical-align:top;word-break:normal;overflow-wrap:anywhere;}
.store-card th{width:98px;white-space:nowrap;font-weight:700;}
.store-card p.store-external-links{margin:12px 0 0;display:flex;gap:8px;flex-wrap:wrap;}
.store-card p.store-external-links a{display:inline-block;border:1px solid #806EAA;color:#806EAA;padding:4px 10px;font-size:12px;text-decoration:none;}
.master-about-store-list .store-card table{font-size:13px;}
.master-about-store-list .store-card th{width:88px;}
.service-overviews .c-section_head, .legacy-content .c-section_head {border-color:#806EAA;}
.service-detail-page .legacy-content .c-section_head {border-bottom-color:#806EAA;}
.about-grid .about-card img {width:100%;}
.not-found-page .legacy-content .c-section_head{word-break:keep-all;}
@media(max-width:780px){.header-contact .stamp{display:none}.store-grid{grid-template-columns:minmax(0,1fr);gap:13px}.store-card{padding:15px 14px}.contact-band .tel{font-size:18px}.contact-band .line-button,.contact-band .shop-link-button{display:block;max-width:310px;margin:10px auto}.header-top .header-desc{max-width:none}.store-card th{width:84px}.site-logo img{max-width:220px;max-height:65px}}

/* 2026-11-05 requested revisions: keep the shared AVANT master CSS untouched. */
/* All four desktop navigation buttons have the same width and height.
   Use a four-column grid so label length cannot change the button width. */
@media (min-width:781px) {
  .nav-links {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:480px;
    flex:0 1 480px;
    min-width:0;
    gap:clamp(5px,.8vw,12px);
  }
  .nav-links > a {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:112px;
    height:112px;
    flex:none;
    gap:6px;
    padding:10px 5px;
    font-size:12px;
    line-height:1.35;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .nav-links a[href="/about/"] .about-nav-label {
    display:block;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
/* FAQ: always show the full question mark, including its filled round dot. */
.nav-links a[href="/faq/"] > svg {overflow:visible; stroke-width:1.8;}
/* Show the upper portion of the existing entrance photo, including the full
   "でんきやさんでリフォーム" lettering, instead of vertically cropping it. */
.hero picture {display:block;}
.hero picture img {object-position:center top;}
/* Supplied multi-store Google My Maps embeds (TOP / ABOUT). */
.dream-net-map {width:100%; min-width:0; margin:0;}
.dream-net-map iframe {display:block;width:100%;height:600px;border:0;}
.legacy-content .dream-net-map {margin-top:32px;}
/* Keep the only footer CTA centered at every breakpoint. */
.contact-band > .action-button.line-button {display:block; width:min(510px,100%); margin:13px auto 0; text-align:center;}
@media(max-width:780px) {
  .contact-band > .action-button.line-button {display:block;margin:13px auto 0;}
  .legacy-content .dream-net-map {margin-top:24px;}
}
