/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-item {
        flex-direction: column;
        gap: 1rem;
    }

    .search-item-image {
        width: 100%;
        height: 200px;
    }

    .slider-wrapper {
        height: 250px;
    }

    .image-slider {
        height: 300px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-card {
        position: static;
    }

    .item {
        flex-direction: column;
    }

    .item-image {
        width: 100%;
        height: 200px;
    }

    .item-content {
        width: 100%;
    }

    .pagination-links {
        gap: 0.5rem;
    }

    .pagination-links a,
    .pagination-links strong {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }

    .item h2 {
        font-size: 1.3rem;
        /* モバイルでは少し小さく */
    }

    .tags {
        margin-bottom: 0.75rem;
    }

    .tag-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sort-controls span {
        font-size: 0.85rem;
    }

    .sort-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .terms-intro h1 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .terms-table {
        font-size: 0.8rem;
    }

    .terms-table th,
    .terms-table td {
        padding: 0.75rem 0.5rem;
    }

    .item-name {
        font-size: 0.85rem;
    }

    .item-desc {
        font-size: 0.75rem;
    }

    .value-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .notes-content {
        gap: 1rem;
    }

    .note-item {
        padding: 1rem;
    }
        .detail-header {
        padding: 1.5rem;
    }
    
    .detail-header h1 {
        font-size: 1.8rem;
    }
    
    .detail-section {
        padding: 1.5rem;
    }
    
    .detail-section h2 {
        font-size: 1.2rem;
    }
    
    .detail-image {
        min-height: 200px;
        max-height: 300px;
    }
    
    .item-grid {
        grid-template-columns: 1fr;
    }
    
    .price-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .download-button,
    .purchase-button {
        width: 100%;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .terms-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}