/* ダイハツ／レクサス紹介ページの専用ヘッダー・フッター */
body.rg-brand-page{margin:0;padding:0;background:#fff;color:#222;font-family:Arial,"Noto Sans JP",sans-serif}
.rg-brand-page .rg-brand-header,.rg-brand-page .rg-brand-footer{box-sizing:border-box;background:#fff;color:#252525;position:relative;width:100%;margin:0;padding:0;border:0}
.rg-brand-page .rg-brand-header{border-bottom:1px solid #e2e2e2}
.rg-brand-page .rg-brand-footer{margin-top:48px;border-top:1px solid #e2e2e2}
.rg-brand-page .rg-brand-shell{box-sizing:border-box;max-width:1120px;min-height:100px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.rg-brand-page .rg-brand-logo{display:flex;align-items:center;justify-content:center;flex:0 0 230px;width:230px;height:76px;margin:0;padding:0;text-decoration:none;overflow:hidden;background:#fff}
.rg-brand-page .rg-brand-logo img{display:block;max-width:none;width:100%;height:auto;max-height:none;margin:0;padding:0;border:0}
.rg-brand-page .rg-brand-nav{display:flex;flex:0 0 auto;min-width:280px;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:36px;margin:0;padding:0}
.rg-brand-page .rg-brand-nav a{display:block;position:relative;padding:14px 0;margin:0;background:none;border:0;color:inherit;font-size:14px;font-weight:500;letter-spacing:.08em;line-height:1.5;text-decoration:none;white-space:nowrap}
.rg-brand-page .rg-brand-nav a::after{content:"";position:absolute;bottom:7px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .18s}
.rg-brand-page .rg-brand-nav a:hover::after,.rg-brand-page .rg-brand-nav a:focus-visible::after{transform:scaleX(1)}
.rg-brand-page .rg-brand-logo:focus-visible,.rg-brand-page .rg-brand-nav a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.rg-brand-page .rg{padding-top:32px}
.rg-brand-page #rg-vehicles-title,.rg-brand-page #rg-presents-title{scroll-margin-top:24px}
.rg-brand-lexus .rg-brand-header,.rg-brand-lexus .rg-brand-footer{background:#080808;color:#f5f5f5;border-color:#292929}
.rg-brand-lexus .rg-brand-logo{background:#000}
.rg-brand-lexus .rg-brand-nav a{font-weight:400;letter-spacing:.12em}
.rg-brand-page .rg-brand-footer .rg-brand-shell{min-height:120px}
@media(max-width:700px){
 .rg-brand-page .rg-brand-shell{min-height:0;padding:14px 16px;gap:6px;flex-direction:column;justify-content:center}
 .rg-brand-page .rg-brand-logo{flex:0 0 auto;width:190px;height:63px}
 .rg-brand-page .rg-brand-nav{width:100%;min-width:0;justify-content:center;gap:30px}
 .rg-brand-page .rg-brand-nav a{font-size:12px;padding:10px 0}
 .rg-brand-page .rg{padding-top:20px}
 .rg-brand-page .rg-brand-footer{margin-top:32px}
 .rg-brand-page .rg-brand-footer .rg-brand-shell{min-height:0;padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){.rg-brand-page .rg-brand-nav a::after{transition:none}}
@media print{.rg-brand-page .rg-brand-header,.rg-brand-page .rg-brand-footer{display:none}.rg-brand-page .rg{padding-top:0}}

/* ダイハツ紹介ページ：通常画面専用。印刷時の寸法には適用しない。 */
@media screen{
 .rg-brand-daihatsu .rg-daihatsu{--rg-accent:#e60012;color:#292929;padding-top:40px;padding-bottom:24px;line-height:1.7}
 .rg-brand-daihatsu .rg-daihatsu>section,.rg-brand-daihatsu .rg-daihatsu>aside{margin:0 0 64px}
 .rg-brand-daihatsu .rg-daihatsu>.rg-hero{margin-bottom:64px}
 .rg-brand-daihatsu .rg-daihatsu h2{margin:0 0 28px;padding:12px 18px;border:0;border-left:5px solid #e60012;background:#f7f7f7;color:#262626;font-size:26px;line-height:1.5;letter-spacing:.04em}
 .rg-brand-daihatsu .rg-daihatsu .rg-category-panel{margin:0}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories{gap:10px;margin:0 0 26px}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories button{min-height:44px;padding:9px 20px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:14px;font-weight:700;line-height:1.5}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories button[aria-pressed=true]{background:#e60012;border-color:#e60012;color:#fff}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories button:hover{border-color:#e60012}
 .rg-brand-daihatsu .rg-daihatsu .rg-grid{gap:18px}
 .rg-brand-daihatsu .rg-daihatsu .rg-card{border:1px solid #e0e0e0;border-radius:6px;background:#fff;overflow:hidden}
 .rg-brand-daihatsu .rg-daihatsu .rg-card-inner{padding:16px;color:#292929;gap:0}
 .rg-brand-daihatsu .rg-daihatsu .rg-card-inner:hover{background:#fff9f9}
 .rg-brand-daihatsu .rg-daihatsu .rg-card .rg-car-logos{margin-bottom:14px}
 .rg-brand-daihatsu .rg-daihatsu .rg-car-image{height:138px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;background:#fff}
 .rg-brand-daihatsu .rg-daihatsu .rg-car-image img{width:100%;height:100%;object-fit:contain}
 .rg-brand-daihatsu .rg-daihatsu .rg-car-model{margin:8px 0 14px;color:#666}
 .rg-brand-daihatsu .rg-daihatsu .rg-card-bottom{margin-top:auto;padding-top:12px;border-top:1px solid #eee;gap:8px}
 .rg-brand-daihatsu .rg-daihatsu .rg-price{color:#292929}
 .rg-brand-daihatsu .rg-daihatsu .rg-price-value{font-size:13px}
 .rg-brand-daihatsu .rg-daihatsu .rg-detail{color:#d50010;font-size:11px;white-space:nowrap}
 .rg-brand-daihatsu .rg-daihatsu .rg-banner{margin:0;padding:0;border:0;border-radius:4px;overflow:hidden;background:#fff}
 .rg-brand-daihatsu .rg-daihatsu .rg-presents .rg-banner{padding:12px;border:1px solid #e3e3e3;margin-bottom:28px}
 .rg-brand-daihatsu .rg-daihatsu .rg-presents .rg-banner:last-child{margin-bottom:0}
 .rg-brand-daihatsu .rg-daihatsu .rg-banner>a{display:block}
 .rg-brand-daihatsu .rg-daihatsu .rg-banner img{width:100%;height:auto}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-heading{margin:0 0 28px;padding:0;border:0;align-items:center;gap:20px}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-heading h2{flex:1;margin:0}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-nav a{border-color:#e2b9bc;color:#c90010;background:#fff}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-nav a:hover{background:#fff3f4}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendars{gap:24px}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar{border-color:#ddd;border-radius:6px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar caption{padding:14px 8px;background:#e60012;color:#fff;border-bottom:0;font-size:20px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar th{background:#f7f7f7;color:#555;border-color:#e8e8e8;height:38px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar td{height:48px;border-color:#e8e8e8;color:#333}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar .today{box-shadow:none;outline:0;text-decoration:underline;text-underline-offset:5px;font-weight:700}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-legend{margin:14px 0 0;padding:0;font-size:12px}
 .rg-brand-daihatsu .rg-daihatsu>.rg-stopped{padding:24px;background:#f7f7f7;border:1px solid #e4e4e4;border-radius:6px}
 .rg-brand-daihatsu .rg-daihatsu .rg-stopped h2{background:#fff;font-size:22px}
 .rg-brand-daihatsu .rg-daihatsu .rg-group .rg-banner{border:1px solid #e3e3e3;padding:12px}
 .rg-brand-daihatsu .rg-brand-nav a:hover{color:#e60012}
 .rg-brand-daihatsu .rg-brand-footer{border-top:3px solid #e60012;background:#fafafa}
}
@media screen and (max-width:700px){
 .rg-brand-daihatsu .rg-daihatsu{padding:24px 16px 0}
 .rg-brand-daihatsu .rg-daihatsu>section,.rg-brand-daihatsu .rg-daihatsu>aside,.rg-brand-daihatsu .rg-daihatsu>.rg-hero{margin-bottom:40px}
 .rg-brand-daihatsu .rg-daihatsu h2{font-size:21px;margin-bottom:20px;padding:10px 14px}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories{gap:8px;margin-bottom:20px}
 .rg-brand-daihatsu .rg-daihatsu .rg-categories button{padding:8px 12px;font-size:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-grid{gap:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-card-inner{padding:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-car-image{height:110px}
 .rg-brand-daihatsu .rg-daihatsu .rg-price-value{font-size:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-heading{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-heading h2{flex:1 0 100%}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendar-nav{margin-left:auto;font-size:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-calendars{gap:10px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar caption{font-size:16px;padding:10px 4px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar th{height:30px;font-size:10px}
 .rg-brand-daihatsu .rg-daihatsu .business-calendar td{height:36px;padding:4px 0;font-size:12px}
 .rg-brand-daihatsu .rg-daihatsu .rg-presents .rg-banner{padding:6px;margin-bottom:20px}
 .rg-brand-daihatsu .rg-daihatsu>.rg-stopped{padding:16px}
}
@media screen{
 .rg-brand-lexus .rg-lexus>.rg-stores-banner{margin:32px 0 48px}
 .rg-brand-lexus .rg-lexus .rg-stores-banner .rg-banner{margin:0;padding:0;border:1px solid #ddd;background:#fff}
 .rg-brand-lexus .rg-lexus .rg-stores-banner img{display:block;width:100%;height:auto}
}

/* レクサス紹介ページ：黒・白・グレーの通常画面専用デザイン */
@media screen{
 .rg-brand-lexus .rg-lexus{--rg-accent:#222;color:#252525;padding-top:40px;padding-bottom:24px;line-height:1.7}
 .rg-brand-lexus .rg-lexus>section,.rg-brand-lexus .rg-lexus>aside,.rg-brand-lexus .rg-lexus>.rg-hero{margin:0 0 64px}
 .rg-brand-lexus .rg-lexus h2{margin:0 0 28px;padding:0 0 18px;border:0;border-bottom:1px solid #333;color:#222;background:none;font-size:26px;font-weight:500;letter-spacing:.12em;line-height:1.5}
 .rg-brand-lexus .rg-lexus .rg-category-panel{margin:0}
 .rg-brand-lexus .rg-lexus .rg-categories{margin:0 0 28px;gap:10px}
 .rg-brand-lexus .rg-lexus .rg-categories button{min-height:44px;padding:10px 24px;border:1px solid #ccc;border-radius:0;background:#fff;color:#333;font-size:13px;line-height:1.5;letter-spacing:.06em}
 .rg-brand-lexus .rg-lexus .rg-categories button[aria-pressed=true]{background:#222;border-color:#222;color:#fff}
 .rg-brand-lexus .rg-lexus .rg-categories button:hover{border-color:#222}
 .rg-brand-lexus .rg-lexus .rg-grid{gap:24px}
 .rg-brand-lexus .rg-lexus .rg-card{border:1px solid #ddd;border-radius:0;background:#fff}
 .rg-brand-lexus .rg-lexus .rg-card-inner{padding:18px;color:#222;gap:0}
 .rg-brand-lexus .rg-lexus .rg-card-inner:hover{background:#f6f6f6}
 .rg-brand-lexus .rg-lexus .rg-card .rg-car-image{height:180px;aspect-ratio:auto;background:#fff}
 .rg-brand-lexus .rg-lexus .rg-card .rg-car-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
 .rg-brand-lexus .rg-lexus .rg-car-model{margin:10px 0 16px;color:#666;font-size:11px}
 .rg-brand-lexus .rg-lexus .rg-card-bottom{margin-top:auto;padding-top:14px;border-top:1px solid #e7e7e7;gap:8px}
 .rg-brand-lexus .rg-lexus .rg-price{color:#222}
 .rg-brand-lexus .rg-lexus .rg-price-value{font-size:13px}
 .rg-brand-lexus .rg-lexus .rg-detail{color:#555;font-size:11px}
 .rg-brand-lexus .rg-lexus .rg-presents .rg-banner{margin:0 0 32px;padding:10px;border:1px solid #ddd;border-radius:0;background:#fff}
 .rg-brand-lexus .rg-lexus .rg-presents .rg-banner:last-child{margin-bottom:0}
 .rg-brand-lexus .rg-lexus .rg-calendar-heading{margin:0 0 24px;padding:0 0 18px;border:0;border-bottom:1px solid #333;gap:20px}
 .rg-brand-lexus .rg-lexus .rg-calendar-heading h2{margin:0;padding:0;border:0}
 .rg-brand-lexus .rg-lexus .rg-calendar-nav a{color:#222;border-color:#bbb;border-radius:0;background:#fff}
 .rg-brand-lexus .rg-lexus .rg-calendar-nav a:hover{background:#eee}
 .rg-brand-lexus .rg-lexus .rg-calendar-nav span{border-radius:0}
 .rg-brand-lexus .rg-lexus .rg-calendars{gap:24px}
 .rg-brand-lexus .rg-lexus .rg-calendar{border-color:#ddd;border-radius:0}
 .rg-brand-lexus .rg-lexus .business-calendar caption{padding:14px 8px;background:#282828;color:#fff;border:0;font-size:19px;font-weight:400}
 .rg-brand-lexus .rg-lexus .business-calendar th{background:#f6f6f6;border-color:#e5e5e5;color:#666;height:38px}
 .rg-brand-lexus .rg-lexus .business-calendar td{border-color:#e5e5e5;height:48px;color:#333}
 .rg-brand-lexus .rg-lexus .business-calendar .today{box-shadow:none;text-decoration:underline;text-underline-offset:5px;font-weight:700}
 .rg-brand-lexus .rg-lexus .rg-calendar-legend{margin-top:14px;font-size:12px}
 .rg-brand-lexus .rg-lexus>.rg-stopped{padding:24px;background:#f4f4f4;border:1px solid #ddd}
 .rg-brand-lexus .rg-lexus .rg-stopped h2{font-size:22px}
 .rg-brand-lexus .rg-lexus .rg-group .rg-banner{border-color:#ddd;border-radius:0}
}
@media screen and (max-width:700px){
 .rg-brand-lexus .rg-lexus{padding:24px 16px 0}
 .rg-brand-lexus .rg-lexus>section,.rg-brand-lexus .rg-lexus>aside,.rg-brand-lexus .rg-lexus>.rg-hero{margin-bottom:40px}
 .rg-brand-lexus .rg-lexus h2{font-size:21px;padding-bottom:14px;margin-bottom:20px}
 .rg-brand-lexus .rg-lexus .rg-categories{gap:8px;margin-bottom:20px}
 .rg-brand-lexus .rg-lexus .rg-categories button{font-size:12px;padding:9px 14px}
 .rg-brand-lexus .rg-lexus .rg-grid{gap:12px}
 .rg-brand-lexus .rg-lexus .rg-card-inner{padding:10px}
 .rg-brand-lexus .rg-lexus .rg-card .rg-car-image{height:140px}
 .rg-brand-lexus .rg-lexus .rg-price-value{font-size:12px}
 .rg-brand-lexus .rg-lexus .rg-card-bottom{padding-top:10px}
 .rg-brand-lexus .rg-lexus .rg-presents .rg-banner{padding:6px;margin-bottom:24px}
 .rg-brand-lexus .rg-lexus .rg-calendar-heading{flex-wrap:wrap;gap:12px;padding-bottom:14px;margin-bottom:20px}
 .rg-brand-lexus .rg-lexus .rg-calendar-heading h2{flex:1 0 100%}
 .rg-brand-lexus .rg-lexus .rg-calendar-nav{margin-left:auto;font-size:12px}
 .rg-brand-lexus .rg-lexus .rg-calendars{gap:10px}
 .rg-brand-lexus .rg-lexus .business-calendar caption{font-size:16px;padding:10px 4px}
 .rg-brand-lexus .rg-lexus .business-calendar th{height:30px;font-size:10px}
 .rg-brand-lexus .rg-lexus .business-calendar td{height:36px;font-size:12px;padding:4px 0}
}
