/* SELA Miura individual adjustments based on the supplied AVANT style.css */
:root{--accent:#009d40;--page-header-color:#009d40;--text:#222;}
/* Maintain exact supplied logo dimensions if a logo image is available. */
.site-logo{min-width:0;max-width:250px}
.site-logo img{display:block;max-width:240px;max-height:76px;width:auto;height:auto;object-fit:contain}
.miura-logo-text{font-size:27px;color:var(--accent);font-weight:900;letter-spacing:.02em;line-height:1.25}
/* The top banner must never crop the specified photograph. */
.hero img{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
.__main-color,.__sub-color{color:#009d40!important}
.__main-bgcolor{background-color:#009d40!important;color:#fff!important}
.__main-borderBottmcolor{border-bottom-color:#009d40!important}
.__sub-bordercolor{border-color:#009d40!important}
.legacy-content .e-title.__sub-color,.legacy-content .c-section_lead.__sub-color{color:#009d40!important}
/* Prevent the main navigation from wrapping at common desktop widths. */
.header-lower-inner{gap:12px}
.nav-links a{white-space:nowrap}
.nav-links a.active,.nav-links a[aria-current="page"]{background:#009d40!important;color:#fff!important}
.nav-links a:not(.active):not([aria-current="page"]){color:#333}
/* Shared two-column store details reused in both TOP and ABOUT. */
.miura-store-info{margin:20px 0 40px}
.miura-store-info .store-info-name{font-size:19px;font-weight:700;margin:0 0 21px;color:#222}
.miura-store-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:30px}
.miura-store-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:14px;line-height:1.75}
.miura-store-table tr{border-bottom:1px solid #e5e5e5}
.miura-store-table tr:first-child{border-top:1px solid #e5e5e5}
.miura-store-table th,.miura-store-table td{padding:11px 9px;text-align:left;vertical-align:top}
.miura-store-table th{width:29%;min-width:95px;white-space:nowrap;font-weight:700;color:#333}
.miura-store-table td{overflow-wrap:anywhere}
.miura-store-table a{color:#009d40;text-decoration:none}
.miura-store-map{height:310px;border:1px solid #e6e6e6;overflow:hidden;background:#f5f5f5}
.miura-store-map iframe{width:100%;height:100%;border:0;display:block}
.legacy-content .p-shop-info .miura-store-info{width:100%}
/* Target store's service overview cards use the original XML and master styling. */
.page-main .service-overviews .c-section_btn a.p-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 30px;border-radius:3px;text-decoration:none;color:#fff!important;background:#009d40;font-weight:700;min-width:170px}
.service-detail-page .service-detail-title{display:none}
.service-detail-page .legacy-content .c-section_head,.legacy-content .c-section_head{color:#009d40!important;border-bottom-color:#009d40!important}
/* Make FAQ intro use the supplied master card style. */
.page-main .faq-index{margin:20px 0 55px}
.page-main .faq-index .faq-category-links a{word-break:normal;overflow-wrap:anywhere}
.static-qa-answer-symbol{white-space:nowrap}
/* Header and content responsive overrides. */
@media (max-width:1000px){.site-logo{max-width:210px}.site-logo img{max-width:205px}.header-desc{max-width:310px}}
@media (max-width:800px){.miura-store-columns{grid-template-columns:1fr;gap:19px}.miura-store-map{height:280px}.site-logo{max-width:70%}.site-logo img{max-height:60px}}
@media (max-width:460px){.miura-logo-text{font-size:23px}.miura-store-info .store-info-name{font-size:17px}.miura-store-table{font-size:13px}.miura-store-table th{width:30%;min-width:88px}.miura-store-map{height:260px}.hero img{width:100%}}

/* Supplied SELA Miura official logo: original transparent PNG; preserve aspect ratio. */
.site-logo img{display:block;width:auto;height:auto;max-width:min(240px,100%);max-height:76px;object-fit:contain;object-position:left center}
.footer-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 20px}
.footer-brand img{display:block;width:auto;height:auto;max-width:min(210px,80vw);max-height:65px;object-fit:contain}
@media(max-width:800px){.site-logo img{max-width:min(205px,100%);max-height:60px}}
@media(max-width:460px){.site-logo img{max-width:min(192px,100%);max-height:58px}}

/* Nav labels must wrap instead of colliding with adjacent master navigation cards. */
@media(min-width:781px){.nav-links a{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}}


/* SELA Miura - 2026-11-16 live-site visual alignment */
/* Nav: mouseover uses brand green, not the default blue master hover. */
.nav-links a:hover,.nav-links a:not(.active):hover,.nav-links a:focus-visible{
  background:#009d40!important;border-color:#009d40!important;color:#fff!important;
}
.mobile-drop a:hover,.mobile-drop a:focus-visible{background:#009d40!important;color:#fff!important}
/* Original footer, without the logo. A wide green contact CTA and LINE CTA. */
.footer-brand{display:none!important}
.footer-sns{padding-top:44px;padding-bottom:44px}
.footer-sns a img{width:44px;height:44px;object-fit:contain}
.contact-band{background:#eee;padding:56px 20px 65px}
.contact-band .pre{font-size:clamp(17px,2vw,25px);font-weight:800;margin:0 0 11px;color:#111}
.contact-band .tel{font-size:clamp(30px,4.5vw,52px);font-weight:800;letter-spacing:.015em;color:#050505;line-height:1.25}
.contact-band .tel-label{font-size:.50em;margin-right:.35em;vertical-align:baseline}
.contact-band .tel a{color:inherit;text-decoration:none;white-space:nowrap}
.contact-band .hours{font-size:clamp(13px,1.3vw,17px);font-weight:700;margin:0 0 27px;color:#191919}
.contact-band .action-button{display:block;width:min(1060px,90%);max-width:100%;padding:12px 20px;line-height:1.55;border-radius:60px;font-size:clamp(14px,1.55vw,20px);margin:0 auto 19px;background:#009d40;color:#fff;text-align:center}
.contact-band .action-button.line{background:#00bf00;margin-bottom:0}
.contact-band .action-button:hover{opacity:.85}
/* Both store sections share store identity, but are visually distinct. */
.miura-store-info .store-info-name{font-size:clamp(17px,1.8vw,22px);color:#009d40;font-weight:800;margin:0 0 27px;line-height:1.6}
.miura-store-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}
.miura-store-table{table-layout:fixed;font-size:clamp(13px,1.1vw,16px);line-height:1.8;margin:0}
.miura-store-info .miura-store-table th,.miura-store-info .miura-store-table td{padding:13px 12px;text-align:left;vertical-align:middle;overflow-wrap:break-word}
.miura-store-info .miura-store-table th{width:27%;min-width:0;font-weight:750;white-space:normal}
.miura-store-map{height:330px;min-width:0}
/* TOP: matching the boxed table visible on the current website. */
.miura-store-info--top .miura-store-table{border-collapse:collapse}
.miura-store-info--top .miura-store-table tr{border:0}
.miura-store-info--top .miura-store-table th,.miura-store-info--top .miura-store-table td{border:1px solid #d8d8d8}
/* ABOUT: horizontal separators only; master legacy-content table border must not leak through. */
.legacy-content .miura-store-info--about .miura-store-table{margin:0;border:0}
.legacy-content .miura-store-info--about .miura-store-table tr,.miura-store-info--about .miura-store-table tr{border:0;border-bottom:1px solid #dedede}
.legacy-content .miura-store-info--about .miura-store-table th,
.legacy-content .miura-store-info--about .miura-store-table td{border:0!important;padding:16px 5px!important;background:transparent!important}
/* Greeting gallery: show exactly the original first four images; master hides all but #1. */
.legacy-content ul.miura-greeting-gallery.c-section_slide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.legacy-content ul.miura-greeting-gallery.c-section_slide>li,
.legacy-content ul.miura-greeting-gallery.c-section_slide>li:not(:first-child){display:block!important;min-width:0;margin:0;padding:0}
.legacy-content ul.miura-greeting-gallery.c-section_slide img{display:block;width:100%;height:auto;aspect-ratio:800 / 533;object-fit:cover;border-radius:5px}
/* FAQ answer: override master generic .faq-answer padding that pushed text right. */
.page-main .static-qa-q,.page-main .static-qa-a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:start}
.page-main .static-qa-q .static-qa-symbol{display:block;width:42px;text-align:center;font-size:13px;line-height:1.65;margin-top:2px}
.page-main .static-qa-a .static-qa-answer-symbol{display:block;min-width:0;width:42px;padding:0;margin:0;text-align:left;line-height:1.75}
.page-main .static-qa-a p.faq-answer{padding:0!important;margin:0!important;min-width:0;font-size:inherit;line-height:1.95;white-space:pre-line;overflow-wrap:anywhere}
/* Preserved article text: paragraphs instead of collapsed newlines. */
.static-article .article-rich{line-height:2;font-size:15px}
.static-article .article-rich>p{white-space:normal;margin:0 0 1.45em}
.static-article .article-rich .article-point-heading{color:#009d40;font-weight:800}
.static-article .article-rich>img{display:block;max-width:100%;height:auto;margin:22px auto 30px}
.static-article .article-rich>.post_row{margin:18px 0 26px}
@media(max-width:800px){
 .miura-store-columns{grid-template-columns:1fr;gap:25px}
 .miura-store-map{height:300px}
 .footer-sns{padding-top:32px;padding-bottom:32px}
 .contact-band{padding:43px 15px 50px}
 .contact-band .action-button{width:min(100%,600px)}
}
@media(max-width:520px){
 .legacy-content .c-section_col--2:has(.miura-greeting-gallery){grid-template-columns:1fr}
 .legacy-content ul.miura-greeting-gallery.c-section_slide{gap:7px}
 .miura-store-info .store-info-name{font-size:17px}
 .miura-store-info .miura-store-table th,.miura-store-info .miura-store-table td{padding:12px 7px}
 .miura-store-info .miura-store-table th{width:29%}
 .contact-band .tel{font-size:clamp(27px,8vw,36px)}
 .contact-band .action-button{font-size:14px;padding:12px 10px}
 .page-main .static-qa-q,.page-main .static-qa-a{grid-template-columns:31px minmax(0,1fr);gap:10px}
 .page-main .static-qa-q .static-qa-symbol{width:31px;font-size:11px}
 .page-main .static-qa-a .static-qa-answer-symbol{width:31px}
}


/* SELA Miura v3: align TOP store table with ABOUT and kodate nav hover. */
/* In TOP, show only the horizontal row separators, exactly like ABOUT. */
.miura-store-info--top .miura-store-table{border:0!important;margin:0!important;border-collapse:collapse!important}
.miura-store-info--top .miura-store-table tr{border:0!important;border-bottom:1px solid #dedede!important}
.miura-store-info--top .miura-store-table th,
.miura-store-info--top .miura-store-table td{border:0!important;padding:16px 5px!important;background:transparent!important}
/* Same hover as the approved SELA Kodate site: pale green, dark green text and border. */
.nav-links a:not(.active):not([aria-current="page"]):hover,
.nav-links a:not(.active):not([aria-current="page"]):focus-visible{
  background:#e9f5ec!important;color:#009D40!important;border-color:#009D40!important;
}
.mobile-drop a:not(.active):not([aria-current="page"]):hover,
.mobile-drop a:not(.active):not([aria-current="page"]):focus-visible{
  background:#e9f5ec!important;color:#009D40!important;
}
