@charset "utf-8";

/* デザイン調整用CSS */
.line-search-page .ls-search-box {
    background: #f4f6f8;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 40px;
}

.line-search-page .ls-flex-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.line-search-page .ls-col-grow {
    flex: 1;
    min-width: 200px;
}

.line-search-page .ls-col-btn {
    width: 100px;
}

.line-search-page label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.line-search-page .ls-select {
    width: 100%;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}

.line-search-page .ls-select:disabled {
    background: #eee;
    color: #999;
}

.line-search-page .ls-range-wrapper label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line-search-page .ls-range-val {
    font-size: 1.2em;
    color: #d9333f;
    font-weight: bold;
    margin: 0 5px;
}

.line-search-page .ls-range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
}

.line-search-page .ls-range-input {
    flex: 1;
    cursor: pointer;
}

.line-search-page .ls-range-min,
.ls-range-max {
    font-size: 12px;
    color: #888;
}

.line-search-page .ls-btn {
    width: 100%;
    height: 44px;
    background: #0068b7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.line-search-page .ls-btn:hover {
    background: #005090;
}

.line-search-page .ls-result-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #0068b7;
    padding-bottom: 10px;
}

.line-search-page .ls-result-header h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    color: #333;
}

.line-search-page .ls-badge {
    font-size: 14px;
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
    color: #666;
    margin-left: 10px;
}

.line-search-page .ls-station-card {
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    margin-bottom: 25px;
    background: #fff;
    overflow: hidden;
}

.line-search-page .ls-station-head {
    background: #eff3f6;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
}

.line-search-page .ls-icon {
    background: #444;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 10px;
}

.line-search-page .ls-name {
    font-weight: bold;
    font-size: 18px;
    margin-right: auto;
}

.line-search-page .ls-count {
    color: #d9333f;
    font-weight: bold;
    font-size: 14px;
}

.line-search-page .ls-postal-body {
    padding: 15px;
}

.line-search-page .ls-postal-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.line-search-page .ls-postal-grid li {
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line-search-page .ls-postal-grid a {
    color: #0068b7;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.line-search-page .ls-dist {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.line-search-page .ls-no-hit {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.line-search-page .ls-alert {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 4px;
}

.line-search-page .ls-postal-grid li.is-visited {
    background-color: #f0f8ff;
    border-color: #a0c8e5;
}

.line-search-page .ls-visited-mark {
    display: inline-block;
    background: #d9333f;
    color: #fff;
    font-size: 10px;
    padding: 5px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
    font-weight: normal;
}

@media(max-width: 600px) {

    .line-search-page .ls-col-grow,
    .line-search-page .ls-col-btn {
        width: 100%;
    }

    .line-search-page .ls-flex-row {
        flex-direction: column;
        gap: 20px;
    }
}