/**
 * Aichi Store Manager フロントエンドスタイル
 */

.c-card__flex.-shop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 -10px;
}

.c-card__wrap.-third {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.c-card__header {
    padding: 20px;
}

.c-card__box {
    text-align: center;
    margin-bottom: 20px;
}

.c-card__title2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 15px;
    color: #333;
}

.c-card__tel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    text-decoration: none;
    font-size: 1.125rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.c-card__tel-link:hover {
    color: #0052a3;
}

.c-card__tel-link img {
    width: 20px;
    height: 20px;
}

.c-card__address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.c-card__line-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.c-card__line-link:hover {
    transform: scale(1.1);
}

.c-card__line-link img {
    width: 40px;
    height: 40px;
}

.c-card__thumbnail {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.c-card__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.c-card__wrap:hover .c-card__image {
    transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .c-card__wrap.-third {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .c-card__flex.-shop {
        margin: 0;
    }
    
    .c-card__wrap.-third {
        flex: 0 0 100%;
        margin: 0 0 20px;
    }
    
    .c-card__title2 {
        font-size: 1.25rem;
    }
    
    .c-card__tel-link {
        font-size: 1rem;
    }
}

/* アニメーション */
.scroll-on.is-fade-in {
    opacity: 1;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}