/* アレルギーチェッカーのスタイル */
.ac-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ac-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.ac-form {
    background: #f7f7f7;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.ac-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.ac-tag-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ac-tag-label:hover {
    background: #f0f0f0;
}

.ac-tag-label input[type="checkbox"] {
    margin-right: 5px;
}

.ac-filter-type {
    margin-bottom: 20px;
}

.ac-filter-type-label {
    margin-right: 20px;
    cursor: pointer;
}

.ac-filter-button-wrap {
    text-align: center;
}

.ac-filter-button {
    background: #e60012;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease;
}

.ac-filter-button:hover {
    background: #c00010;
}

.ac-menu-container {
    margin-top: 30px;
}

.ac-menu-category {
    margin-bottom: 40px;
}

.ac-category-title {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e60012;
    color: #333;
}

.ac-menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 -10px;
}

.ac-menu-item {
    width: calc(50% - 20px);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.ac-menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ac-menu-item-thumbnail {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ac-menu-item-content {
    padding: 15px;
}

.ac-menu-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
}

.ac-menu-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #e60012;
}

.ac-no-items {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #666;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .ac-menu-item {
        width: calc(25% - 20px);
    }
}

@media (max-width: 767px) {
    .ac-menu-item {
        width: calc(50% - 20px);
    }
    
    .ac-tags-container {
        gap: 5px;
    }
    
    .ac-tag-label {
        padding: 3px 8px;
        font-size: 14px;
    }
}
