/* Tech Category Selection Page Styles */

/* Hero Section */
.tech-category-hero-section {
    background: #53834F;
    padding: 4rem 2rem;
    text-align: center;
}

.tech-category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tech-category-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
}

.tech-category-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.tech-category-dots .tech-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E6AE25;
    display: block;
}

/* Category Selection Section */
.tech-category-selection-section {
    background: #FBF9F4;
    padding: 4rem 2rem;
}

.tech-category-subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #42210B;
    text-align: center;
    margin: 0 0 3rem 0;
    letter-spacing: 0.05em;
}

.tech-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-category-card {
    background: white;
    border: none;
    border-radius: 31px;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 260px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}

/* アイコンがない場合（「共通」カテゴリー用） */
.tech-category-card.no-icon {
    justify-content: center;
    align-items: center;
}

.tech-category-card.no-icon .tech-category-name {
    font-size: 1.5rem;
    margin: 0;
}

.tech-category-icon {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tech-category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tech-category-name {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #231815;
    margin: 0;
    letter-spacing: 0.05em;
}

/* Advanced Search Section */
.tech-advanced-search-section {
    background: #faf8f5;
    padding: 4rem 2rem;
}

.tech-advanced-search-form {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-advanced-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-advanced-filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.tech-advanced-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #42210B;
    letter-spacing: 0.05em;
}

.tech-advanced-select-wrapper {
    position: relative;
}

.tech-advanced-select {
    width: 100%;
    padding: 1rem 4rem 1rem 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1rem;
    color: #666;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 55px;
}

.tech-advanced-select:focus {
    outline: none;
    border-color: #5a7c56;
}

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

.tech-advanced-arrow {
    display: none;
}

/* Search Button */
.tech-advanced-search-button-wrapper {
    text-align: center;
}

.tech-advanced-search-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.tech-advanced-search-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .tech-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tech-advanced-filters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tech-category-hero-section {
        padding: 3rem 1rem;
    }

    .tech-category-title {
        font-size: 1.8rem;
    }

    .tech-category-selection-section {
        padding: 3rem 1rem;
    }

    .tech-category-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .tech-category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .tech-category-card {
        padding: 1.5rem 1rem 1.5rem;
        min-height: 200px;
        gap: 1rem;
    }

    .tech-category-icon {
        max-width: 100px;
        aspect-ratio: 1 / 1;
    }

    .tech-category-name {
        font-size: 1.1rem;
    }

    .tech-category-card.no-icon {
        align-items: center;
    }

    .tech-category-card.no-icon .tech-category-name {
        font-size: 1.3rem;
        margin: 0;
    }

    .tech-advanced-search-section {
        padding: 3rem 1rem;
    }

    .tech-advanced-filters {
        gap: 1.5rem;
    }

    .tech-advanced-search-button-img {
        width: 100%;
        max-width: 300px;
    }
}

