/* top-styles.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.main-content {
    flex: 1;
    padding: 0 20px 40px;
}

.tools-section {
    background: white;
    margin-bottom: 40px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tools-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2d3748;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.tool-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.tool-card.coming-soon {
    opacity: 0.7;
    background: #f1f3f4;
}

.tool-card.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2d3748;
    font-weight: 600;
}

.tool-card p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tool-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tool-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-link:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateX(2px);
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tool-link:hover .arrow {
    transform: translateX(4px);
}

.coming-soon-badge {
    background: #ffd700;
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 16px;
}

.footer {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer p {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header {
        padding: 40px 20px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .tools-section {
        padding: 24px;
        margin-bottom: 24px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .tools-section {
        padding: 20px;
    }

    .tool-card {
        padding: 20px;
    }
}