/* Store-specific colors and source-structure corrections.
   Shared dimensions remain in the supplied avant-static.css. */
:root {
  --accent: #00823C;
  --page-header-color: #00823C;
  --store-main-background: #00823C;
  --store-sub-text: #000000;
  --store-main-border: #00823C;
  --store-sub-border: #000000;
}
.header-phone a { color: inherit; text-decoration: none; }
.header-top { min-height: 67px; height: auto; }
.header-top-inner { min-height: 67px; padding-top: 8px; padding-bottom: 8px; }
.header-desc { min-width: 0; }
.header-contact { flex-shrink: 0; }
.header-phone small { white-space: normal; }
.hero img { object-position: center 54%; }
.page-top .heading, .page-top .heading .english, .page-top .heading .japanese { color: #FFFFFF; }
.about-card .__sub-color,
.legacy-content .__sub-color,
.legacy-content .intro-from-function .c-section_lead.__sub-color,
.service-detail-page .service-detail-intro .c-section_lead.__sub-color,
.service-detail-page .legacy-content .c-section_block2 .c-section_lead2.__sub-color,
.legacy-content .shortcode-about .reason h4.__sub-color { color: var(--store-sub-text); }
.legacy-content .__main-color { color: var(--accent); }
.legacy-content .__main-borderBottmcolor { border-bottom-color: var(--store-main-border); }
.service-detail-page .legacy-content .c-section_block2 .c-section_lead2.__sub-bordercolor { border-color: var(--store-sub-border); }
.legacy-content .__main-bgcolor { background-color: var(--store-main-background); }
.contact-band .action-button.line { background-color: #00B900; color: #FFFFFF; }
.nav-links a { background: #FFFFFF; color: #000000; }
.nav-links a.active, .nav-links a[aria-current="page"], .nav-links a:not(.active):hover { background: #FFFFFF; border-color: var(--accent); color: var(--accent); }
.page-main .faq-category-links a:hover { background: #EEEEEE; border-color: var(--accent); color: var(--accent); }
.mobile-menu .mobile-drop { background: #EEEEEE; color: #000000; }
.contact-band, .service-detail-page .legacy-content .c-section_block2 { background-color: #EEEEEE; }
.access-table th, .access-table td, .access-table tr:last-child > *,
.legacy-content .about-access-grid .p-shop-info__list th, .legacy-content .about-access-grid .p-shop-info__list td,
.legacy-content .p-shop-info__list tr:last-child th, .legacy-content .p-shop-info__list tr:last-child td { border-color: #DDDDDD; }
.nav-links a:focus-visible { outline-color: var(--accent); }
.service-list .service-item:hover, .top-news-list a:hover { background: #EEEEEE; }
/* The static master hides all but the first slide; display every supplied greeting photo. */
.legacy-content .c-section_slide.about-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.legacy-content .c-section_slide.about-gallery > li { display: block; min-width: 0; }
.legacy-content .c-section_slide.about-gallery > li:first-child { grid-column: 1 / -1; }
.legacy-content .c-section_slide.about-gallery img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.legacy-content .c-section_col__item > .e-img { margin: 0 0 12px; }
.legacy-content .c-section_col__item > .e-img img { display: block; height: auto; }
.service-faq-answer p, .static-qa-a p { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.service-faq-question, .static-qa-q { overflow-wrap: anywhere; }
.access-table a, .p-shop-info__list a { text-underline-offset: 3px; }
.map iframe { min-height: 0; max-height: none; }
.news-article-content img { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.news-article-content h3 { color: var(--accent); border-bottom: 1px solid var(--accent); margin: 34px 0 18px; padding-bottom: 9px; font-size: 20px; line-height: 1.7; }
.news-article-content h4 { color: var(--accent); border-left: 3px solid var(--accent); padding-left: 13px; margin: 26px 0 12px; font-size: 18px; line-height: 1.7; }
.news-article-content .well { background: #F6F6F6; padding: 20px 24px; border-left: 3px solid var(--accent); }
.not-found-message { line-height: 2; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 28px; }
.not-found-links .top-btn { display: inline-block; }
@media (max-width:780px) {
  .service-detail-page .service-detail-intro .c-section_block.is-photo-left { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:520px) {
  .news-article-content h3 { font-size: 18px; }
  .news-article-content h4 { font-size: 16px; }
}
