/* 一宮愛電館 : supplied master extension, group-store layout only */
:root{--accent:#0638c2;--page-header-color:#0638c2}
.header-desc{font-size:12px;line-height:1.55;max-width:850px}
.header-contact{white-space:nowrap}.header-contact .top-btn{white-space:nowrap}
.site-logo img{display:block;width:300px;max-width:100%;max-height:96px;object-fit:contain;object-position:left center}
.hero img{height:auto;min-height:0;max-height:none;object-fit:contain;object-position:center;background:#fff}
.nav-links a.active{background:var(--accent)}
#access .group-map,.about-group-map{max-width:1000px;margin:12px auto 32px}
.group-map iframe,.about-group-map iframe{display:block;width:100%;height:430px;max-width:100%;border:0;border-radius:3px}
.shop-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:30px 0 34px;scroll-margin-top:30px}
.shop-card{border:1px solid #e1e5ec;border-radius:4px;overflow:hidden;background:#fff;min-width:0}
.shop-card .shop-photo{display:block;width:100%;height:165px;object-fit:cover;object-position:center}
.shop-card-details{padding:16px 16px 18px}
.shop-card h3{color:#111;font-size:16px;margin:0 0 10px;line-height:1.55;font-weight:700}
.shop-card .p-shop-info__list{border-collapse:collapse;width:100%;font-size:13px;line-height:1.65}
.shop-card .p-shop-info__list th,.shop-card .p-shop-info__list td{padding:6px 4px;border-top:1px solid #e1e5ec;text-align:left;vertical-align:top}
.shop-card .p-shop-info__list th{width:90px;white-space:nowrap}
.shop-card .p-shop-info__list tr:last-child th,.shop-card .p-shop-info__list tr:last-child td{border-bottom:1px solid #e1e5ec}
.shop-card .p-shop-info__list a{color:var(--accent);text-decoration:underline}
.shop-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}
.shop-actions .top-btn{display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1.4;min-height:31px;text-align:center;padding:6px 12px;text-decoration:none;border-radius:3px}
.secondary-btn{background:#fff!important;color:var(--accent)!important;border:1px solid var(--accent)}
.legacy-content .aidenkan-greeting-photos{display:flex;gap:12px;align-items:stretch}
.legacy-content .aidenkan-greeting-photos>li,.legacy-content .aidenkan-greeting-photos>li:not(:first-child){display:block;flex:1;min-width:0}
.legacy-content .aidenkan-greeting-photos img{width:100%;height:100%;max-height:290px;object-fit:cover}
.legacy-content .c-section_col--2{align-items:start}
.legacy-content .c-section_block2 .shortcode-about .reason-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.legacy-content .c-section_block2 .reason img{max-width:100%;height:auto;aspect-ratio:1.7;object-fit:cover}
.legacy-content .c-section_lead{white-space:pre-line}
.legacy-content .c-section_btn .top-btn,.service-detail-button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;text-decoration:none;font-size:14px;font-weight:700;border-radius:4px;padding:9px 22px;min-height:40px}
.legacy-content .l-service-flow figure:last-child::after{content:none!important}
.legacy-content .l-service-flow figure:last-child::before{content:none!important}
.service-detail-page .service-detail-intro .intro-from-function .c-section_block.is-photo-left{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:30px;align-items:start}
.service-detail-page .service-detail-intro .intro-from-function .c-section_block img{width:100%;height:auto;display:block}
.service-detail-page .legacy-content #priceTable table{width:100%}
.service-detail-page .legacy-content .p-page-inner>.c-section{margin-bottom:53px}
.news-article-content img{display:block;max-width:100%;height:auto;margin:16px auto;object-fit:contain}
.news-article-content h3,.news-article-content h4{color:var(--accent);margin:32px 0 12px;line-height:1.65;font-size:19px}
.news-article-content h4{font-size:17px}
.news-article-content .article-paragraph{white-space:pre-line;margin:12px 0 20px}
.news-article-content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.news-article-content a{color:var(--accent);text-decoration:underline}
.not-found-content{max-width:900px;margin:65px auto 90px;text-align:center;line-height:2}
.not-found-content h2{color:var(--accent);font-size:26px;line-height:1.5}
.not-found-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;margin:32px auto}
.not-found-actions .top-btn{min-width:210px;display:inline-flex;justify-content:center}
@media(max-width:1200px){.shop-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:990px){.header-desc{font-size:11px}.site-logo img{width:240px;max-height:84px}.shop-card-grid{gap:18px}}
@media(max-width:760px){.header-top{height:auto;min-height:62px}.header-top-inner{gap:12px;padding:8px 0}.header-desc{font-size:10px;line-height:1.5}.header-contact .top-btn{font-size:11px;padding:6px 11px}.shop-card-grid{grid-template-columns:1fr;gap:22px}.shop-card .shop-photo{height:220px}.group-map iframe,.about-group-map iframe{height:330px}.site-logo img{width:190px;max-height:68px}.legacy-content .c-section_block2 .shortcode-about .reason-list{grid-template-columns:1fr}.service-detail-page .service-detail-intro .intro-from-function .c-section_block.is-photo-left{grid-template-columns:1fr}.legacy-content .aidenkan-greeting-photos img{max-height:240px}.not-found-content{margin:45px auto 65px}.not-found-content h2{font-size:21px}}
@media(max-width:390px){.header-contact .top-btn{font-size:10px;padding:6px 8px}.header-desc{font-size:10px}.legacy-content .aidenkan-greeting-photos{display:block}.legacy-content .aidenkan-greeting-photos>li{margin-bottom:10px}}

.legacy-content .aidenkan-group-access{margin:26px auto 34px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.legacy-content .aidenkan-group-access .p-shop-info__list th{width:56%;font-size:13px}
.legacy-content .aidenkan-group-access .p-shop-info__map iframe{height:360px;max-height:none}
@media(max-width:760px){.legacy-content .aidenkan-group-access{grid-template-columns:1fr}.legacy-content .aidenkan-group-access .p-shop-info__map iframe{height:320px}}


/* update 2026-11-18 */
.service-action-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.service-action-buttons .secondary-btn{background:#fff!important;color:var(--accent)!important;border:1px solid var(--accent)}
.aidenkan-greeting-copy .c-section_text{padding-left:0;text-indent:0;margin-top:0}
.service-overviews .c-section_lead,.service-detail-intro .c-section_lead{color:var(--accent)!important;font-weight:700;line-height:1.7}
.service-overviews .c-section_head{color:var(--accent)!important}
.faq-index>h2{margin-bottom:18px}
.faq-index .faq-category-links{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.faq-index .faq-category-links li{margin:0}.faq-index .faq-category-links a{display:flex;align-items:center;justify-content:center;min-height:84px;padding:16px 18px;text-align:center;border:1px solid #d8d8d8;background:#f7f7f7;color:#111;font-weight:700;line-height:1.5;text-decoration:none}
.faq-index .faq-category-links a:hover{background:#f0f4ff;border-color:#b6c9f8}
.footer-links-current{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;padding-top:0}.footer-board,.footer-policy{text-align:center;font-size:13px;margin:12px 0 0}.footer-policy a{color:#111;text-decoration:none}.copyright{margin-top:10px;text-align:center;line-height:1.8}.footer-links-current a{color:#111;text-decoration:none;font-weight:700}.footer-links-current a:hover,.footer-policy a:hover{color:var(--accent)}
.service-detail-page .service-detail-intro .intro-from-function figure{margin:0}.service-detail-page .service-detail-intro .intro-from-function .c-section_block>div{min-width:0}
@media(max-width:900px){.faq-index .faq-category-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.service-action-buttons{flex-direction:column;align-items:center}.service-action-buttons .top-btn{width:min(320px,100%)}.faq-index .faq-category-links{grid-template-columns:1fr}.footer-links-current{gap:14px 22px}.footer-board,.footer-policy,.copyright{font-size:12px}}


/* update 2026-11-18 second pass */
.shop-list-vertical{margin:28px auto 0;display:grid;gap:56px;max-width:1120px}
.shop-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,44%);gap:34px;align-items:start}
.shop-detail__info{min-width:0}
.shop-detail__title{margin:0 0 18px;padding:0 0 10px;border-bottom:2px solid #a9bdf0;color:var(--accent);font-size:24px;line-height:1.5;font-weight:700}
.shop-detail .p-shop-info__list{width:100%;border-collapse:collapse;font-size:15px;line-height:1.8}
.shop-detail .p-shop-info__list th,.shop-detail .p-shop-info__list td{padding:13px 6px;border-top:1px solid #ddd;text-align:left;vertical-align:top;word-break:break-word}
.shop-detail .p-shop-info__list tr:first-child th,.shop-detail .p-shop-info__list tr:first-child td{border-top:0}
.shop-detail .p-shop-info__list th{width:92px;white-space:nowrap;font-weight:700}
.shop-detail .p-shop-info__list td{font-weight:700}
.shop-detail .p-shop-info__list .shop-address,.shop-detail .p-shop-info__list .shop-url{font-weight:600}
.shop-detail .p-shop-info__list .shop-url a{color:#111;text-decoration:none;word-break:break-all}
.shop-detail .p-shop-info__map iframe{display:block;width:100%;height:318px;border:0;background:#f4f4f4}
.shop-detail__photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
.shop-detail__photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f6f6f6}
.contact-band .action-button{margin-top:18px}
@media(max-width:900px){.shop-detail{grid-template-columns:1fr;gap:24px}.shop-detail .p-shop-info__map iframe{height:300px}}
@media(max-width:760px){.shop-list-vertical{gap:38px}.shop-detail__title{font-size:21px;margin-bottom:14px}.shop-detail .p-shop-info__list{font-size:14px}.shop-detail .p-shop-info__list th{width:78px}.shop-detail__photos{gap:8px}}

/* TOP 店舗紹介: 支給の横長画像を1店舗1枚でそのまま表示 */
#access .shop-detail__photos--single{display:block;margin-top:12px}
#access .shop-detail__photos--single img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
