/* ========================================
   農業機械メーカー アーカイブページ
======================================== */

/* Hero Section */
.agri-maker-hero-section {
    background-color: #53834F;
    padding: 40px 20px 60px;
}

.agri-maker-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb */
.agri-maker-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #ffffff;
    text-align: left;
}

.agri-maker-breadcrumb .breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
}

.agri-maker-breadcrumb .breadcrumb-link:hover {
    text-decoration: underline;
}

.agri-maker-breadcrumb .breadcrumb-separator {
    margin: 0 8px;
    color: #ffffff;
}

.agri-maker-breadcrumb .breadcrumb-current {
    color: #ffffff;
}

/* Title */
.agri-maker-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
    font-family: 'Zen Maru Gothic', 'Zen Maru Gothic', sans-serif;
}

/* Dots */
.agri-maker-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.agri-dot {
    width: 12px;
    height: 12px;
    background-color: #E6AE25;
    border-radius: 50%;
}

/* Search Section */
.agri-maker-search-section {
    background-color: #FBF9F4;
    padding: 40px 20px;
}

.agri-maker-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.filter-select {
    width: 100%;
    padding: 0.8rem 3.5rem 0.8rem 1rem;
    border: 2px solid #5a7c56;
    border-radius: 8px;
    background: white;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #42210b;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: none;
}

.filter-select:hover {
    border-color: #4a6846;
    box-shadow: 0 2px 8px rgba(90, 124, 86, 0.2);
}

.filter-select:focus {
    outline: none;
    border-color: #5a7c56;
    box-shadow: 0 0 0 3px rgba(90, 124, 86, 0.1);
}

.filter-group::after {
    content: '▼';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 49px;
    background: #5a7c56;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 0 8px 8px 0;
    pointer-events: none;
    font-size: 14px;
}

.search-button-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button-green {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button-green:hover {
    transform: scale(1.05);
    box-shadow: none !important;
}

.search-button-img {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}

/* Results Section */
.agri-maker-results-section {
    background-color: #FBF9F4;
    padding: 40px 20px 80px;
}

/* Maker Cards Grid */
.maker-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.maker-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.maker-card {
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.maker-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Header */
.maker-card-header {
    padding: 16px 0;
    text-align: center;
    background-color: #ffffff;
}

.maker-card-badge {
    display: inline-block;
    background-color: transparent;
    color: #333333;
    padding: 0;
    border-radius: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Zen Maru Gothic', 'Zen Maru Gothic', sans-serif;
}

/* Image */
.maker-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.maker-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maker-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a7c8c 0%, #2d5a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.maker-placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.placeholder-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    z-index: 1;
    position: relative;
}

/* Content */
.maker-card-content {
    padding: 18px 16px 16px;
}

.maker-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.6;
    text-align: center;
}

/* Tags */
.maker-card-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.maker-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #DDDDDD;
    display: inline-block;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .maker-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .agri-maker-title {
        font-size: 28px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-select {
        padding: 0.75rem 3.5rem 0.75rem 1rem;
        font-size: 14px;
        border: 2px solid #5a7c56;
        border-radius: 8px;
    }
    
    .filter-group::after {
        width: 50px;
        height: 46px;
        background: #5a7c56;
        line-height: 45px;
        border-radius: 0 8px 8px 0;
        font-size: 12px;
    }
    
    .maker-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-button-container {
        text-align: center;
    }
    
    .search-button-green {
        width: 100%;
        padding: 0 !important;
    }
    
    .search-button-img {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .agri-maker-title {
        font-size: 24px;
    }
    
    .maker-card-buttons {
        flex-direction: column;
    }
    
    .maker-button {
        width: 100%;
    }
}

