/*
Theme Name: Second Impact
Description: モダンなブロックテーマ - 高性能でカスタマイズ可能なWordPressテーマ
Version: 1.0.0
Author: Your Name
*/

/* ==========================================================================
   ベーススタイル
   ========================================================================== */

body {
    font-family: var(--wp--preset--font-family--system-font);
    line-height: 1.6;
    color: var(--wp--preset--color--contrast);
    background: var(--wp--preset--color--base);
}

/* ==========================================================================
   カスタムボタンスタイル - Modern Style
   ========================================================================== */
.wp-block-button.is-style-modern-style {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border: 2px solid #4f46e5;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wp-block-button.is-style-modern-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.wp-block-button.is-style-modern-style:hover::before {
    left: 100%;
}

.wp-block-button.is-style-modern-style .wp-block-button__link {
    color: white !important;
    background: none !important;
    border: none !important;
    padding: 1rem 2rem;
}

/* ==========================================================================
   カスタムグループスタイル - Highlighted Container
   ========================================================================== */
.wp-block-group.is-style-highlighted-container {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #6366f1;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.wp-block-group.is-style-highlighted-container::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   ヘッダースタイル
   ========================================================================== */
.wp-site-blocks header {
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
    border-bottom: 3px solid #ff6b35;
}

.wp-block-site-title a {
    color: #6366f1 !important;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wp-block-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-navigation .wp-block-navigation-item a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
    color: #6366f1;
}

/* ==========================================================================
   フッタースタイル
   ========================================================================== */
.wp-site-blocks footer {
    background: #1a1a1a;
    border-top: 3px solid #6366f1;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .wp-block-group.is-style-nerv-container {
        padding: 1rem;
    }
    
    .wp-block-button.is-style-eva-unit .wp-block-button__link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   アニメーション
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-post-title {
    animation: fadeInUp 0.6s ease-out;
}