/* index.php 専用スタイル */

/* ウェルカムセクション */
.welcome-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 40px;
}

.welcome-section h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #fff;
}

.welcome-section p {
    margin: 0;
    font-size: 1.2em;
    opacity: 0.9;
}

/* カードグリッド */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feature-card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.5em;
}

.feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.feature-card-primary {
    border-top: 4px solid #4CAF50;
}

.feature-card-secondary {
    border-top: 4px solid #2196F3;
}

/* クイックリンク */
.quick-links {
    margin-top: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.quick-links h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.quick-links li {
    margin: 0;
}

.quick-links a {
    display: block;
    padding: 10px 15px;
    background-color: white;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.quick-links a:hover {
    background-color: #4CAF50;
    color: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2em;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links ul {
        grid-template-columns: 1fr;
    }
}