/* テンプレート55: ホバーカード+フローティングナビ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk: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: 'Space Grotesk', 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.9; color: #1a1a2e; background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%); min-height: 100vh; }

/* フローティングナビ */
.floating-nav { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 50px; padding: 15px 30px; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.4s; }
.floating-nav.visible { opacity: 1; visibility: visible; }
.floating-nav ul { list-style: none; display: flex; gap: 25px; }
.floating-nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; padding: 10px 15px; border-radius: 25px; }
.floating-nav a:hover { color: #fff; background: linear-gradient(135deg, #00d4ff, #ff00d4); }

/* 通常ヘッダー */
.site-header { padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: #fff; }
.logo span { background: linear-gradient(135deg, #00d4ff, #ff00d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header-nav ul { list-style: none; display: flex; gap: 30px; }
.header-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.header-nav a:hover { color: #00d4ff; }

/* ヒーロー */
.hero-cyber { padding: 120px 40px; text-align: center; position: relative; overflow: hidden; }
.hero-cyber::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 0, 212, 0.1) 0%, transparent 50%); }
.hero-cyber h1 { font-size: 3.5rem; color: #fff; position: relative; z-index: 1; margin-bottom: 20px; }
.hero-cyber h1 span { background: linear-gradient(135deg, #00d4ff, #ff00d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-cyber p { color: rgba(255,255,255,0.7); font-size: 1.2rem; position: relative; z-index: 1; }

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

/* ホバーカード */
.hover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hover-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px 30px; text-align: center; transition: all 0.5s; position: relative; overflow: hidden; }
.hover-card.fade-in { opacity: 0; transform: translateY(30px); }
.hover-card.fade-in.visible { opacity: 1; transform: translateY(0); }
.hover-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 212, 0.2)); opacity: 0; transition: opacity 0.5s; }
.hover-card:hover::before { opacity: 1; }
.hover-card:hover { transform: translateY(-15px); border-color: rgba(0, 212, 255, 0.5); box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2); }
.card-icon { font-size: 3rem; margin-bottom: 20px; position: relative; z-index: 1; }
.hover-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 15px; position: relative; z-index: 1; }
.hover-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; position: relative; z-index: 1; }
.hover-card img { width: 100%; border-radius: 12px; margin-top: 20px; position: relative; z-index: 1; }

.content-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 50px; margin-top: 60px; }
.content-box h2 { font-size: 1.8rem; color: #fff; margin-bottom: 20px; }
.content-box h2 span { background: linear-gradient(135deg, #00d4ff, #ff00d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.content-box p { color: rgba(255,255,255,0.7); }

.site-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 50px 40px; text-align: center; color: rgba(255,255,255,0.5); margin-top: 80px; }
.footer-nav { margin-bottom: 20px; }
.footer-nav a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 15px; transition: color 0.3s; }
.footer-nav a:hover { color: #00d4ff; }

.hamburger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; width: 100%; height: 2px; background: #fff; 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: #1a1a2e; padding: 80px 30px; transition: right 0.4s; z-index: 999; border-left: 1px solid rgba(0, 212, 255, 0.3); }
.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.1); }

.back-to-top { display: none; position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: linear-gradient(135deg, #00d4ff, #ff00d4); color: #fff; border: none; border-radius: 50%; cursor: pointer; z-index: 998; }

.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.sitemap-list li::before { content: '▹'; position: absolute; left: 0; color: #00d4ff; }
.sitemap-list a { color: #00d4ff; text-decoration: none; }

@media (max-width: 900px) {
    .hover-grid { grid-template-columns: repeat(2, 1fr); }
    .header-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    .floating-nav { display: none; }
    .hero-cyber h1 { font-size: 2.2rem; }
}
@media (max-width: 600px) {
    .hover-grid { grid-template-columns: 1fr; }
}
