/* list_pdf.css */

.boxActivityRoudouSentence table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border: none;
}

/* Hide table headers */
.boxActivityRoudouSentence thead {
    display: none;
}

/* Make each row a card */
.boxActivityRoudouSentence tr {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boxActivityRoudouSentence tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make each cell a block */
.boxActivityRoudouSentence td {
    display: block;
    border: none;
    padding: 8px 0;
    position: relative;
    padding-left: 100px;
    /* Space for the label */
    min-height: 1.5em;
    font-size: 15px;
    line-height: 1.6;
}

/* Label style using data-label attribute */
.boxActivityRoudouSentence td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 90px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
}

/* Title specific styling */
.boxActivityRoudouSentence td[data-label="タイトル"] {
    font-size: 17px;
    font-weight: bold;
    padding-top: 10px;
}

.boxActivityRoudouSentence td[data-label="タイトル"] a {
    text-decoration: none;
    /* Inherit color */
    background: url(../../../../images/common/icon_common_pdf.png) no-repeat left 0;
    padding: 0 0 0 30px;
    line-height: 25px;
    display: inline-block;
    margin: 5px 0;
    font-weight: normal;
}

.boxActivityRoudouSentence td[data-label="タイトル"] a:hover {
    opacity: 0.8;
    /* Subtle effect without hardcoded color */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .boxActivityRoudouSentence td {
        padding-left: 0;
        padding-top: 25px;
    }

    .boxActivityRoudouSentence td::before {
        position: static;
        display: block;
        margin-bottom: 5px;
    }
}

/* Search Section Styling */
.search_section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.search_section form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search_section input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.search_section input[type="text"]:focus {
    border-color: currentColor;
}

.search_section button {
    padding: 12px 30px;
    color: white;
    background-color: #0074BE;
    /* Keeping this for functional visibility unless told otherwise, but removing the underline/link ones */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.search_section button:hover {
    opacity: 0.9;
}

.search_section button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .search_section form {
        flex-direction: column;
    }

    .search_section button {
        width: 100%;
    }
}

.search_note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    text-align: center;
}

/* Category Filter Buttons */
.filter_category {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter_btn {
    padding: 8px 18px;
    background-color: #f0f0f0;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter_btn:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    transform: translateY(-1px);
}

.filter_btn.active {
    background-color: #f08300;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .filter_category {
        gap: 8px;
    }

    .filter_btn {
        font-size: 13px;
        padding: 6px 14px;
    }
}