/* テンプレート47: スプリットスクリーン */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Josefin Sans', 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.9; color: #333; background: #fffaf5; }

/* スプリットヘッダー */
.split-header { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.header-left { width: 280px; background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%); padding: 20px 30px; }
.header-right { flex: 1; background: #fff; padding: 20px 30px; display: flex; justify-content: flex-end; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: 0.1em; }
.header-nav ul { list-style: none; display: flex; gap: 20px; }
.header-nav a { color: #ff6b35; text-decoration: none; font-weight: 600; font-size: 0.85rem; white-space: nowrap; transition: all 0.3s; }
.header-nav a:hover { color: #333; }

/* スプリットヒーロー */
.split-hero { display: flex; min-height: 100vh; padding-top: 70px; }
.hero-left { flex: 1; background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%); display: flex; align-items: center; justify-content: center; padding: 60px; }
.hero-right { flex: 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 60px; }
.hero-text h1 { font-size: 3rem; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.hero-text p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.hero-image img { max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3); }

/* メインコンテンツ */
.main-content { padding: 80px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.split-section { display: flex; gap: 60px; margin-bottom: 80px; align-items: center; }
.split-section:nth-child(even) { flex-direction: row-reverse; }
.split-section.fade-in { opacity: 0; transform: translateY(40px); transition: all 0.8s; }
.split-section.fade-in.visible { opacity: 1; transform: translateY(0); }

.split-text { flex: 1; }
.split-text h2 { font-size: 2rem; color: #ff6b35; margin-bottom: 20px; }
.split-text p { color: #666; }
.split-media { flex: 1; }
.split-media img { width: 100%; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }

.content-box { background: #fff; border-radius: 16px; padding: 50px; box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1); margin-bottom: 40px; }
.content-box h2 { font-size: 1.6rem; color: #ff6b35; margin-bottom: 20px; border-left: 4px solid #ff6b35; padding-left: 15px; }

/* フッター */
.split-footer { display: flex; }
.footer-left { flex: 1; background: #333; padding: 50px 40px; color: #fff; }
.footer-right { flex: 1; background: #ff6b35; padding: 50px 40px; }
.footer-nav a { color: rgba(255,255,255,0.8); text-decoration: none; display: block; margin-bottom: 10px; }
.footer-copy { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 20px; }

/* ハンバーガー */
.hamburger { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; width: 100%; height: 3px; background: #ff6b35; transition: all 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

.mobile-nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #ff6b35; padding: 100px 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: #ff6b35; color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 1.2rem; z-index: 998; transition: all 0.3s; }
.back-to-top:hover { transform: translateY(-5px); background: #ff8c42; }

.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: #ff6b35; font-size: 0.7rem; }
.sitemap-list a { color: #ff6b35; text-decoration: none; }

@media (max-width: 1100px) {
    .header-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
}

@media (max-width: 900px) {
    .split-header { flex-direction: column; }
    .header-left { width: 100%; padding: 15px 20px; }
    .header-right { padding: 15px 20px; }
    .split-hero { flex-direction: column; min-height: auto; }
    .hero-left, .hero-right { padding: 40px 20px; }
    .hero-text h1 { font-size: 2rem; }
    .split-section { flex-direction: column !important; gap: 30px; }
    .split-footer { flex-direction: column; }
}
