/* テンプレート50: メガフッター */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Work Sans', 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.9; color: #1e3a5f; background: #f8fafc; }

/* ミニマルヘッダー */
.minimal-header { background: #fff; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.2rem; font-weight: 700; color: #1e3a5f; }
.header-nav ul { list-style: none; display: flex; gap: 30px; }
.header-nav a { color: #64748b; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.header-nav a:hover { color: #1e3a5f; }

/* ヒーロー */
.hero-simple { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%); padding: 120px 40px; text-align: center; }
.hero-simple h1 { font-size: 2.8rem; color: #fff; margin-bottom: 20px; }
.hero-simple p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.main-content { padding: 80px 0; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 40px; }

.article-list { display: flex; flex-direction: column; gap: 40px; }
.article-item { display: flex; gap: 40px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08); transition: all 0.4s; }
.article-item.fade-in { opacity: 0; transform: translateX(-30px); }
.article-item.fade-in.visible { opacity: 1; transform: translateX(0); }
.article-item:hover { box-shadow: 0 10px 40px rgba(30, 58, 95, 0.15); transform: translateY(-5px); }
.article-image { width: 300px; min-height: 200px; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-body { flex: 1; padding: 35px; }
.article-body h2 { font-size: 1.4rem; color: #1e3a5f; margin-bottom: 15px; }
.article-body p { color: #64748b; }
.article-link { display: inline-block; margin-top: 20px; color: #2d5a87; text-decoration: none; font-weight: 600; }
.article-link:hover { text-decoration: underline; }

/* メガフッター */
.mega-footer { background: linear-gradient(180deg, #1e3a5f 0%, #0f1e33 100%); color: #fff; padding: 80px 40px 40px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.8; }
.footer-column h4 { font-size: 1rem; margin-bottom: 20px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-column ul { list-style: none; }
.footer-column a { color: rgba(255,255,255,0.8); text-decoration: none; display: block; padding: 8px 0; transition: all 0.3s; }
.footer-column a:hover { color: #fff; padding-left: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.hamburger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; width: 100%; height: 2px; background: #1e3a5f; transition: all 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.mobile-nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #1e3a5f; padding: 80px 30px; transition: right 0.4s; z-index: 999; }
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 15px 0; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }

.back-to-top { display: none; position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: #1e3a5f; color: #fff; border: none; border-radius: 8px; cursor: pointer; z-index: 998; }

.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.sitemap-list li::before { content: '→'; position: absolute; left: 0; color: #2d5a87; }
.sitemap-list a { color: #1e3a5f; text-decoration: none; }

/* 本文カード */
.content-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(30,58,95,0.08); padding: 48px 56px; }
.content-card h2 { font-size: 1.4rem; color: #1e3a5f; padding-bottom: 16px; border-bottom: 3px solid #2d5a87; margin-bottom: 28px; }
.content-card p { color: #475569; font-size: 0.95rem; margin-bottom: 20px; }
.content-card p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    .article-item { flex-direction: column; }
    .article-image { width: 100%; height: 200px; }
    .hero-simple h1 { font-size: 2rem; }
    .content-card { padding: 36px 32px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .content-card { padding: 28px 20px; }
    .content-card h2 { font-size: 1.2rem; }
}
