/* --------------------------------
    検索フォーム横向き仕様のCSS
    トップ・検索結果共通
-------------------------------- */
.orderable_hermes {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.orderable__head_hermes {
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 50px;
    font-weight: bold;
    background-color: #000080;
}

.orderable__date_hermes {
    font-size: 15px;
    font-weight: bold;
}

.search_hermes {
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 25px auto;
    padding: 0 40px;
}

.search__select_hermes {
    -webkit-appearance: none;
    /* Safari用のベンダープレフィックス */
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    width: 100%;
    display: block;
    padding: 10px;
}

.search__line_hermes {
    width: 48%;
}

.search__station_hermes {
    width: 49%;
    display: flex;
    justify-content: space-between;
}

.search__start_hermes {
    width: 49%;
}

.search__arrival_hermes {
    width: 49%;
}

.search__time_hermes {
    margin-top: 30px;
    width: 48%;
}

.search__time-wrapper_hermes {
    display: flex;
}

.search__date_hermes {
    margin-right: 10px;
    padding-left: 30px;
}

.search__hour_hermes {
    width: 50%;
}

.search__count_hermes {
    width: 49%;
    margin-top: 30px;
}

.search__count-wrapper_hermes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.search__count-block_hermes {
    width: 49%;
    display: flex;
    align-items: center;
}

.search__count-category_hermes {
    width: 50%;
    line-height: 1.2;
    align-items: center;
    margin: 0;
}

.search__count-age_hermes {
    font-size: 12px;
}

.search__count-select_hermes {
    flex: 1;
}

.search__button_hermes {
    width: 200px;
    margin: 40px auto 0;
    padding: 15px 40px;
    font-weight: bold;
    border: none;
    display: block;
}

.search__button_hermes:disabled {
    cursor: not-allowed;
}

@media (max-width:767px) {
    .orderable_hermes {
        align-items: center;
        max-width: 800px;
        display: flex;
        padding:0 16px;
    }

    .orderable__head_hermes {
        padding: 5px 10px;
        margin-right: 10px;
        border-radius: 50px;
        font-weight: bold;
    }

    .orderable__date_hermes {
        font-weight: bold;
        padding-top: 5px;
        color: #000080;
    }

    .search_hermes {
        max-width: 800px;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 16px auto;
        padding: 0 8px;
    }

    .search__select_hermes {
        border-radius: 0;
        width: 100%;
        display: block;
        padding: 8px 2px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .search__head_hermes {
        padding-bottom: 3px;
        margin: 10px 0;
    }

    .search__line_hermes {
        width: 100%;
    }

    .search__station_hermes {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .search__start_hermes {
        width: 49%;
    }

    .search__arrival_hermes {
        width: 49%;
    }

    .search__time_hermes {
        width: 100%;
        margin-top: 0;
    }

    .search__time-wrapper_hermes {
        display: flex;
    }

    .search__date_hermes {
        margin-right: 2px;
        margin-bottom: 10px;
    }

    .search__hour_hermes {
        width: 86%;
    }

    .search__count_hermes{
        width: 100%;
        margin-top: 0;
    }

    .search__count-wrapper_hermes {
        justify-content: space-between;
    }

    .search__count-block_hermes {
        display: flex;
    }

    .search__count-category_hermes {
        width: 50%;
        line-height: 1.2;
        margin: 0px;
        font-size: 14px;
    }

    .search__count-age_hermes {
        font-size: 10px;
    }

    .search__count-select_hermes {
        flex: 1;
    }

    .search__button_hermes {
        width: 200px;
        margin: 40px auto 0;
        padding: 15px 40px;
        font-weight: bold;
        border: none;
        display: block;
    }

    .search__button_hermes:disabled {
        cursor: not-allowed;
    }
}
