/* Scoped homepage layout; existing header, hero and other pages stay intact. */
.ae-home{--ae-pink:#d01750;--ae-ink:#202020;--ae-rule:#dedede;max-width:1160px;margin:0 auto;padding:50px 24px 72px;color:var(--ae-ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;line-height:1.7;overflow-wrap:anywhere}
.ae-home *,.ae-home *::before,.ae-home *::after{box-sizing:border-box}
.ae-home a{color:inherit;text-decoration:none;background:none}
.ae-home a:focus-visible,.ae-home button:focus-visible{outline:3px solid var(--ae-pink);outline-offset:5px}
.ae-home img{display:block;max-width:100%}
.ae-home section{margin:0;padding:0;border:0;background:none}
.ae-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 24px;margin:0 0 30px;border-bottom:1px solid #aaa}
.ae-heading-copy{display:flex;align-items:center;gap:24px;min-width:0}
.ae-home .ae-section-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:38px;font-weight:500;line-height:1.15;letter-spacing:.015em;border:0;background:none;padding:0;margin:0;color:#151515;white-space:nowrap}
.ae-home .ae-section-heading h2::before,.ae-home .ae-section-heading h2::after{display:none}
.ae-heading-copy>p{border-left:1px solid #999;padding:0 0 0 24px;margin:0;font-size:13px;line-height:1.65}
.ae-home a.ae-view-all{display:inline-flex;flex:none;gap:16px;align-items:center;justify-content:center;background:var(--ae-pink);color:#fff;font-family:Arial,sans-serif;font-weight:600;font-size:12px;letter-spacing:.06em;min-height:38px;padding:8px 18px;border:1px solid var(--ae-pink);transition:background .18s}
.ae-home a.ae-view-all:hover{background:#a80f3e}
.ae-home a.ae-view-all>span[aria-hidden]{font-size:22px;line-height:1}
.ae-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 28px}
.ae-home .ae-news-card{margin:0;padding:0;border:0;background:none;min-width:0}
.ae-news-link{display:block;height:100%}
.ae-news-image{aspect-ratio:3/2;background:#f6f5f3;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ae-news-image img{width:100%;height:100%;object-fit:contain;margin:0;transition:opacity .2s}
.ae-news-link:hover img{opacity:.86}
.ae-image-placeholder{font-family:Georgia,serif;letter-spacing:.1em;color:#6c6467}
.ae-news-copy{padding:18px 0 0}
.ae-news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;line-height:1.5;margin:0 0 10px}
.ae-news-meta time{font-family:Arial,sans-serif;letter-spacing:.02em}
.ae-news-meta>span{background:var(--ae-pink);color:#fff;font-size:10px;padding:3px 9px}
.ae-home .ae-news-card h3{font-size:18px;line-height:1.65;font-weight:650;margin:0 0 10px;padding:0;background:none;border:0;letter-spacing:0}
.ae-home .ae-news-card h3::before,.ae-home .ae-news-card h3::after{display:none}
.ae-news-excerpt{font-size:13px;line-height:1.9;color:#626262;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ae-news-card--compact .ae-news-link{display:grid;grid-template-columns:38% minmax(0,1fr);gap:16px;border-top:1px solid var(--ae-rule);padding-top:22px}
.ae-news-card--compact .ae-news-copy{padding:0}
.ae-home .ae-news-card--compact h3{font-size:15px;margin-bottom:7px}
.ae-news-card--compact .ae-news-meta{font-size:11px;gap:8px;margin-bottom:7px}
.ae-home .ae-talents,.ae-home .ae-promotion{margin-top:54px}
.ae-carousel{position:relative;padding:0 28px}
.ae-home .ae-talent-track{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0;padding:0 0 12px;list-style:none}
.ae-talent-track::-webkit-scrollbar{display:none}
.ae-home .ae-talent-card{flex:0 0 calc((100% - 72px)/4);scroll-snap-align:start;margin:0;padding:0;list-style:none;background:none;min-width:0}
.ae-home .ae-talent-card::before,.ae-home .ae-talent-card::after{display:none}
.ae-talent-card img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top;background:#f4f3f2}
.ae-talent-card p{font-size:15px;line-height:1.6;font-weight:600;text-align:center;margin:12px 0 0;letter-spacing:.04em}
.ae-talent-card a:hover img{opacity:.88}
.ae-carousel button{position:absolute;top:42%;transform:translateY(-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:32px;height:44px;padding:0;border:0;box-shadow:none;background:#fff;color:var(--ae-pink);font-family:Arial,sans-serif;font-size:35px;line-height:1;cursor:pointer}
.ae-carousel .ae-carousel-prev{left:-8px}.ae-carousel .ae-carousel-next{right:-8px}
.ae-carousel button:disabled{opacity:.25;cursor:default}
.ae-carousel-controls{display:flex;justify-content:center;gap:10px;margin:20px 0 0;font-size:12px;letter-spacing:.08em;color:#777}
.ae-carousel-controls::before{content:"";display:inline-block;width:26px;height:3px;align-self:center;background:var(--ae-pink)}
.ae-promotion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.ae-promotion-grid>.widget{margin:0!important;padding:0!important;min-width:0;float:none!important;width:auto!important}
.ae-promotion-grid figure,.ae-promotion-grid .wp-block-image{width:100%!important;max-width:none!important;margin:0!important;float:none!important}
.ae-promotion-grid figure>a{display:flex;align-items:center;justify-content:center;aspect-ratio:3/2;overflow:hidden;background:#f6f5f3}
.ae-promotion-grid figure>a img{width:100%!important;height:100%!important;object-fit:contain;margin:0!important}
.ae-promotion-grid figcaption{font-size:12px;line-height:1.8;color:#444;margin:10px 0 0;text-align:left}
.ae-promotion-grid a::after{display:none!important}
@media(min-width:768px) and (max-width:1023px){.ae-heading-copy{gap:18px}.ae-heading-copy>p{padding-left:18px}.ae-home .ae-section-heading h2{font-size:32px}.ae-home .ae-talent-card{flex-basis:calc((100% - 48px)/3)}}
@media(max-width:767px){.ae-home{padding:30px 18px 44px}.ae-section-heading{gap:12px;padding-bottom:16px;margin-bottom:20px}.ae-heading-copy{display:block}.ae-home .ae-section-heading h2{font-size:27px}.ae-heading-copy>p{font-size:10px;border:0;padding:0;margin-top:6px}.ae-home a.ae-view-all{font-size:10px;min-height:32px;padding:6px 10px;gap:9px}.ae-news-grid{grid-template-columns:1fr;gap:24px}.ae-news-copy{padding-top:13px}.ae-home .ae-news-card h3{font-size:17px}.ae-news-excerpt{font-size:12px}.ae-news-card--compact .ae-news-link{padding-top:18px;gap:12px;grid-template-columns:35% minmax(0,1fr)}.ae-home .ae-news-card--compact h3{font-size:14px}.ae-news-card--compact .ae-news-excerpt{display:none}.ae-news-meta{font-size:11px;margin-bottom:8px}.ae-news-meta>span{font-size:9px}.ae-home .ae-talents,.ae-home .ae-promotion{margin-top:38px}.ae-carousel{padding:0 6px}.ae-home .ae-talent-track{gap:14px}.ae-home .ae-talent-card{flex-basis:44%}.ae-talent-card p{font-size:13px;margin-top:9px}.ae-carousel button{width:26px;background:rgba(255,255,255,.92);font-size:29px}.ae-carousel .ae-carousel-prev{left:-14px}.ae-carousel .ae-carousel-next{right:-14px}.ae-promotion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.ae-promotion-grid figcaption{font-size:10px;margin-top:8px}.ae-carousel-controls{font-size:11px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.ae-home *{scroll-behavior:auto!important;transition:none!important}}

/* Keep promotion captions in normal flow, including mobile Safari. */
.ae-promotion-grid figure{display:block!important;height:auto!important}
.ae-promotion-grid figure>a{display:block!important;position:relative;aspect-ratio:auto!important;height:0!important;padding:66.666667% 0 0!important;width:100%;overflow:hidden}
.ae-promotion-grid figure>a img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;object-fit:contain}
.ae-promotion-grid figcaption{display:block!important;position:static!important;width:100%;height:auto!important;margin:8px 0 0!important;padding:0!important;clear:both}
