/* === Pattern AN === */

/* 2026-07-15: relative+top:50%は親がmin-heightだと0扱いになりカードがヘッダー下に食い込むため、flex中央寄せに変更 */
.hero-an { position: relative; min-height: 280px; background: var(--primary); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 2.2rem 1rem; }

.hero-an-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }

.hero-an-cell { background-size: cover; background-position: center; }

.hero-an-overlay { position: absolute; inset: 0; background: rgba(19,41,75,0.5); }

.hero-an-card { position: relative; z-index: 1; width: 100%; max-width: 540px; margin: 0 auto; padding: 1.8rem 2rem; background: white; border-top: 4px solid var(--accent); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.hero-an-meta { font-size: 0.7rem; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; }

.hero-an h1 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; line-height: 1.4; }

.hero-an-sub { font-size: 0.85rem; color: var(--text-light); }

@media (max-width: 768px) { .hero-an { min-height: 280px; } .hero-an-card { margin: 0 1rem; padding: 1.4rem 1.5rem; } .hero-an h1 { font-size: 1.3rem; } }



