.search-arrangement {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.list-container {
    flex: 1;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.list-container__title {
    background: var(--main-gradation-color);
    color: white;
    padding: 25px 30px;
    font-size: 24px;
    font-weight: 300;
    font-family: var(--font-base);
    margin: 0;
}
.list-container__none {
    padding: 20px;
}

.search_page {
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search_page p {
    color: #666;
    font-size: 14px;
}

.search_page span {
    font-weight: 300;
    font-family: var(--font-base);
    color: var(--main-color);
}

.search_page ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.search_page li {
    padding: 8px 12px;
    background: var(--main-color);
    color: white;
    font-size: 14px;
    font-weight: 300;
    font-family: var(--font-base);
}

.search_page li.focus {
    background: var(--sub-color);
}

.row-list {
    padding: 0;
}

.row-list__item {
    border-bottom: 1px solid #aad4c1;
    transition: all 0.3s ease;
}
.row-list__item:nth-child(even) {
    background: #f7f7f7;
}

.row-list__item:hover {
    background: #f8f9fa;
}

.row-list__item__body {
    padding: 30px;
}

.row-list__item__body a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.row-list__item__body__title {
    font-size: 20px;
    font-weight: 300;
    font-family: var(--font-base);
    color: var(--main-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.row-list__item:hover .row-list__item__body__title {
    color: var(--sub-color);
}

.row-list__item__body__text {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.row-list__item__body__data ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.row-list__item__body__data li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.row-list__item__body__data span {
    background: var(--main-color);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 300;
    font-family: var(--font-base);
    white-space: nowrap;
}

.row-list__item__body__data_sale span {
    background: var(--sub-color);
}

.search-container {
    width: 300px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
}

.form-table th {
    background: var(--main-gradation-color);
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 300;
    font-family: var(--font-base);
    text-align: left;
}

.form-table tr:not(:first-child) th {
    margin-top: 20px;
}

.form-table td {
    padding: 20px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.form-table input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-table input[type="text"]:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(69, 130, 55, 0.1);
}

.form-table select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-table select:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(69, 130, 55, 0.1);
}

.label1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.label1 label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.label1 label:hover {
    border-color: var(--main-color);
    background: #f8fff8;
}

.label1 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
    cursor: pointer;
}

.label1 input[type="checkbox"]:checked+label,
.label1 label:has(input[type="checkbox"]:checked) {
    border-color: var(--main-color);
    background: #f0f7ee;
    color: var(--main-color);
    font-weight: 300;
    font-family: var(--font-base);
}

.search-form-button {
    margin: 30px;
    text-align: center;
}

.search-form-button input[type="submit"] {
    background: var(--sub-gradation-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 300;
    font-family: var(--font-base);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(234, 115, 23, 0.3);
}

.search-form-button input[type="submit"]:hover {
    background: var(--sub-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 115, 23, 0.4);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .search-arrangement {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }

    .search-container {
        width: 100%;
        position: static;
    }

    .list-container__title {
        padding: 20px;
        font-size: 20px;
    }

    .row-list__item__body {
        padding: 20px;
    }

    .row-list__item__body__data ul {
        flex-direction: column;
        gap: 15px;
    }

    .search_page {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
