/* 車検ランキングページ用スタイル */
:root {
    --color-primary: #d7000f;
    --color-secondary: #0064b1;
    --color-bg: #f8f9fb;
    --color-border: #e2e5ea;
    --color-text: #1a1a1a;
    --color-muted: #6c7382;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.08);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --transition-base: 0.2s ease;
}

/* --- メッセージボックス（初期・該当なし） --- */
/* より大きな白背景枠・文字もやや大きく */
.initial-message, .no-results-message {
    max-width: 600px;
    margin: 48px auto 40px auto;
    padding: 48px 32px 40px 32px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    text-align: center;
    color: #222;
    font-size: 20px;
    line-height: 1.8;
}
.initial-message h3, .no-results-message h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1976d2;
    letter-spacing: 0.02em;
}
.initial-message p, .no-results-message p {
    font-size: 1.2em;
    margin: 0;
    color: #444;
}
@media screen and (max-width: 767px) {
    .initial-message, .no-results-message {
        max-width: 98vw;
        padding: 28px 4vw 24px 4vw;
        font-size: 17px;
    }
    .initial-message h3, .no-results-message h3 {
        font-size: 1.3em;
        margin-bottom: 14px;
    }
    .initial-message p, .no-results-message p {
        font-size: 1em;
    }
}

/* デザイン配下ファイルと同様のCSS変数 */
:root {
    --brand: #d7000f;
    --brand-accent: #ffb400;
    --bg: #f5f7fa;
    --panel: #ffffff;
    --border: #e1e5ea;
    --text: #222;
    --text-sub: #555;
    --radius: 5px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, .05);
    --shadow-md: 0 6px 18px -4px rgba(20, 30, 40, .18);
    --grad-gold: linear-gradient(140deg, #ffe084, #ffc343 55%, #ffb400);
    --grad-silver: linear-gradient(140deg, #f0f4f7, #d9e2ec 55%, #b5c2ce);
    --grad-bronze: linear-gradient(140deg, #ffe2c3, #ffc48c 55%, #ff9f45);
}

/* --- Sort bar / tabs (strictly from shaken.css mock) --- */

/* CV Button styles - デザイン配下のファイルをベースにした修正版 */
.cv-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 45px;
    font-family: inherit;
    text-align: center;
    font-weight: 700;
    padding: clamp(10px, 1.5vw, 14px) clamp(8px, 1.2vw, 10px);
    border-radius: 5px;
    font-size: 11px;
    text-decoration: none;
    transition: .25s, transform .22s, box-shadow .25s;
    position: relative;
    overflow: hidden;
    border: none;
}
.cv-btn:hover {
    cursor: pointer;
}

.cv-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 50%);
    mix-blend-mode: overlay;
    opacity: .4;
}

/* 来店予約する - 青背景 */
.cv-btn-blue {
    color: #fff !important;
    border: 1px solid #002e79;
    background: #002e79 !important;
    background: -moz-linear-gradient(top, #275CB5, #002e79) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#275CB5), to(#002e79)) !important;
}

.cv-btn-blue:hover {
    color: #fff !important;
    text-decoration: none;
    background: #002e79 !important;
    background: -moz-linear-gradient(top, #002e79, #275CB5) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#002e79), to(#275CB5)) !important;
}

/* 問合せする - 赤背景 */
.action-buttons > form,
.cv-btn-secondary {
    order: 2;
    color:#fff !important;
    background: #E70314 !important;
    background: -moz-linear-gradient(top, #F06A75, #E70314) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#F06A75), to(#E70314)) !important;
}

.action-buttons > form {
    overflow: hidden;
    height: 45px;
    border-radius: 5px;
    border: 1px solid #E70314;
}

.cv-btn-secondary:hover {
    text-decoration: none;
    background: #E70314 !important;
    background: -moz-linear-gradient(top, #E70314, #F06A75) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#E70314), to(#F06A75)) !important;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.action-buttons .cv-btn {
    display: inline-flex;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .action-buttons .cv-btn {
        width: 100%;
    }

    .action-buttons .cv-btn span,
    .action-buttons .cv-btn span {
        display: block;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        gap: 10px;
    }
}

/* 検索条件の表示制御 */
.filter-panel {
    display: block;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* デザイン配下ファイルと同様の780px以下のフィルターアコーディオン */
.filter-toggle:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 9px;
    right: 7px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--brand);
    border-right: 1px solid var(--brand);
    margin-bottom: 1px;
    transform: rotate(45deg);
}
.filter-panel { display: none;animation:accordion-fade .25s ease; }
.filter-panel:not([hidden]) {
    display: block;
}
.filter-panel[hidden] { display:none !important; }
@keyframes accordion-fade { from { opacity:0; transform:translateY(-4px);} to { opacity:1; transform:translateY(0);} }
.filter-toggle {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: max-content;
    background: #fff;
    border: 1px solid #d0d5dd;
    padding: 5px 18px 5px 10px;
    border-radius: 5px;
    font-size: .68rem;
    font-weight: normal;
    letter-spacing: -0.02em;
    cursor: pointer;
    color: #222;
    position: relative;
    box-shadow: 0 2px 4px -2px rgba(0,0,0,.06);
}
.filter-panel {
    animation: accordion-fade .25s ease;
}

.filter-panel[hidden] {
    display: none !important;
}

@keyframes accordion-fade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 767px) {
    main .layout {
        grid-template-columns:1fr !important;
        padding: 0;
        margin-top: 16px;
    }
    main .layout .sidebar {
        display: flex;
        align-items: flex-end;
        gap: 14px;
        width:auto;
        min-width: 100%;
        margin: 0;
        padding: 0 16px;
    }
}

/* --- Minimal base styles to keep layout reasonable --- */
.layout{display:flex;margin-top: 10px;}
.results{flex:1}
.filter-panel{background:#fafafa;padding:12px;border-radius:5px;border:1px solid #eee;}
.shop-thumb{width:160px;height:auto;border-radius:5px;object-fit:cover}
.shop-rank{font-weight:700;color:#fff;text-align: center;background:#ef4444;padding:8px;border-radius:5px}

/* 車検ランキング専用CSS */
:root {
    --brand: #d7000f;
    --brand-accent: #ffb400;
    --bg: #f5f7fa;
    --panel: #ffffff;
    --border: #e1e5ea;
    --text: #222;
    --text-sub: #555;
    --radius: 5px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, .05);
    --shadow-md: 0 6px 18px -4px rgba(20, 30, 40, .18);
    --grad-gold: linear-gradient(140deg, #ffe084, #ffc343 55%, #ffb400);
    --grad-silver: linear-gradient(140deg, #f0f4f7, #d9e2ec 55%, #b5c2ce);
    --grad-bronze: linear-gradient(140deg, #ffe2c3, #ffc48c 55%, #ff9f45);
}

* { box-sizing: border-box; }

body {
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ逞ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.page-head { padding: 20px 16px 24px; background: #fff; text-align: center; }
.logo_area {
    margin-bottom: 20px;
}
h1,
.page-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}
h1 span,
.page-tagline span {
    flex: 0 0 auto;
    white-space: nowrap;
    display: inline;
}
h1 {
    max-width: 856px;
    margin: 0 auto 10px;
    font-size: 2rem;
    line-height: 1.2;
    color: #222;
    font-weight: normal;
    letter-spacing: 0.5px;
}
h1 b {
    font-size: 2.2rem;
    padding: 0 5px;
}
.page-tagline { max-width: 856px; font-size: .85rem; color: #555; margin: 0 auto; font-weight: normal; }
.page-tagline br {
    display: none;
}
.maker-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.vehicle-Models {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    white-space: nowrap;
    margin: 0;
}
.delete-button {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #222;
    border-radius: 25px;
    vertical-align: middle;
    text-decoration: none;
    margin-left: 5px;
}
.delete-button::before,
.delete-button::after{
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 12px;
    height: 1px;
    background: #222;
    transform: translate(-50%,-50%) rotate(45deg);
    transform-origin: 50% 50%;
    border-radius: 1px;
}
.delete-button::after{
    transform: translate(-50%,-50%) rotate(-45deg);
}

@media screen and (max-width: 767px) {
    body {
        font-family: Helvetica, "ヒラギノ角ゴ Pro W3",HiraKakuPro-W3, Osaka, "メイリオ",Meiryo, "ＭＳ Ｐゴシック",verdana, arial, sans-serif;
    }
    .page-head {
        padding: 16px;
    }
    .page-tagline {
        white-space: normal;
    }
    h1 { font-size:1.1rem; }
    h1 b {
        font-size: 1.2rem;
    }
    .page-tagline,
    .page-tagline span {
        display: block;
        text-align: left;
        white-space: normal;
    }
}

/* Main */
.layout { max-width: 888px; margin: 20px auto 60px; padding: 0 16px; display: grid; }
.sidebar .filter-panel,
.sidebar .filter-toggle { display: none; }
.sidebar { display: block; }
.sidebar h2 { margin: 0 0 10px; font-size: .9rem; letter-spacing: .5px; color: #222; }
.results { min-width: 0; }

/* Filter Form */
form.filter {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 5px;
}
form.filter label {
    min-width: 50px;
    font-size: .72rem;
    font-weight: 600;
}

form.filter select {
    padding: 8px 10px;
    font-size: .8rem;
    border: 1px solid #c8ccd2;
    border-radius: 5px;
    width: 100%;
    background: #fff;
}
form.filter button {
    width: 100%;
    background: #d7000f;
    color: #fff;
    border: none;
    padding: clamp(10px, 1.5vw, 14px) clamp(8px, 1.2vw, 10px);
    border-radius: 5px !important;
    font-weight: 700;
    cursor: pointer;
    font-size: clamp(.68rem, 1.4vw, .72rem);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: .25s, transform .22s, box-shadow .25s;
}
form.filter button:hover {
    background: #BD1E1E;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .3);
    opacity: 1;
}
form.filter button:active {
    background: #BD1E1E;
    box-shadow: 0 5px 16px -4px rgba(0, 0, 0, .28);
}
form.filter button:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 50%);
    mix-blend-mode: overlay;
    opacity: .4;
}

/* Vehicle Section */
#vehicleWeightSection {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-top: 24px;
}
#vehicleWeightSection h2 {
    font-size: .9rem;
    color: #222;
    margin: 0 0 4px;
    letter-spacing: .5px;
    font-weight: 600;
}
#vehicleWeightSection .filter { background: #fff; border: 1px solid #d9dde3; }
#vehicleWeightSection button { background: linear-gradient(135deg, var(--brand) 0%, #b8000d 100%); }

/* Sort Tabs */
/* 並び替えバー・タブ mock_raningLP 2/shaken.cssより厳密移植 */
.sort-bar {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.sort-bar .label {
    font-weight: 600;
    color: #6c7382;
}
.sort-tabs {
    display: inline-flex;
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #d7000f;
    border-radius: 5px 5px 0 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sort-tabs li {
    width: 25%;
}
.sort-tabs li:last-child {
    border-right: none;
}
.sort-tab {
    display: block;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: none;
    border-left: none;
    background: transparent;
    padding: 12px 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease, color 0.2s ease;
    color: #6c7382;
    text-decoration: none;
    text-align: center;
}
.sort-tabs li:first-child .sort-tab {
    border-radius: 5px 0 0 0;
    border-left: 1px solid #eee;
}
.sort-tabs li:last-child .sort-tab {
    border-radius: 0 5px 0 0;
}
.sort-tab.active,
.sort-tab:hover,
.sort-tab:focus {
    background: #d7000f;
    color: #fff;
    border-color: #d7000f;
    opacity: 1;
}
.sort-tabs li:first-child .sort-tab.active,
.sort-tabs li:first-child .sort-tab:hover,
.sort-tabs li:first-child .sort-tab:focus {
    border-left: 1px solid #d7000f;
}
.sort-tab br {
    display: none;
}
.sort-bar .error,
.sort-bar .note {
    color: #E60211;
    font-size: 15px;
    margin: 0;
}
.sort-bar .txt {
    margin: 0;
}
.sort-bar .txt b {
    color: #E60211;
}
.sort-bar .txt b span {
    font-size: 1.3rem;
}
.option-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
}
.information-box {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 20px;
}
.information-box p,
.information-box ul {
    line-height: 1.6;
    margin: 0 0 10px;
}
.information-box ul {
    list-style: none;
    padding: 0;
}
.information-box p:last-child,
.information-box ul:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .sort-tab br {
        display: block;
    }
    .sort-bar .error,
    .sort-bar .note {
        font-size: 12px;
    }
    .sort-tabs li {
        width: 25%;
    }
    .sort-tabs li .sort-tab {
        width: 100%;
    }
    .information-box {
        font-size: 0.8rem;
        margin: 0 16px;
        padding: 10px;
    }
}

@media screen and (max-width: 767px) {
    .logo_area img {
        width: 153px;
        height: auto;
        margin: 0 auto;
    }
    .logo_area {
        margin-bottom: 10px;
    }
    .sort-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 16px;
    }
    .sort-tabs {
        width: 100%;
        justify-content: space-between;
    }
    .sort-tab {
        flex: 1 1 auto;
        padding: 8px 5px;
        font-size: 13px;
    }
    .option-box {
        width: 100%;
        gap: 10px;
    }
    .option-box label {
        display: flex;
        align-items: center;
        font-size: 0.72rem;
    }
    .option-box .filter-toggle {
        display: block;
    }
    .toggle-caption {
        margin-right: 3px !important;
    }
}
/* Shop Card */
.list {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.list article{
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s, transform .25s;
    overflow: hidden;
    padding: 16px;
}
.list article:hover { background: #eff7ff; box-shadow: var(--shadow-md); transform: translateY(-3px); cursor: pointer; }
.list .shop-card {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) minmax(140px, 180px);
    gap: 16px;
}
.list .shop-header {
    margin-bottom: 16px;
}
.list article > .shop-header {
    display: none;
}
.list .shop-header h3 {
    margin: 0;
    padding-left: 50px;
}
.list .shop-header .address-text {
    color: #475467;
    background: url("https://img.goo-net.com/goopit/assets/img/ranking/icon_map.png") no-repeat 0 0;
    background-size: 9px 15px;
    margin-left: 50px;
    padding-left: 13px;
}
.list .shop-header .address-text:hover {
    color: #475467;
}

@media (max-width:767px){
    .list article {
        border-left: none;
        border-right: none;
        border-radius: 0;
        padding: 10px;
    }
    .list article > .shop-header {
        display: block;
    }
    .list .shop-card {
        grid-template-columns: clamp(130px, 12vw, 180px) minmax(0, 1fr);
        gap: 10px;
        padding: 0;
    }
    .list .shop-card .shop-thumb,
    .list .shop-card .shop-thumb img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width:374px){
    main .layout .sidebar,
    .sort-bar {
        padding: 0 10px;
    }
    .option-box {
        flex-flow: column;
        align-items: flex-start;
    }
    .option-box .filter-toggle {
        width: 100%;
    }
    .list .shop-card {
        grid-template-columns: clamp(90px, 12vw, 180px) minmax(0, 1fr);
    }
    .shop-main .shop-stats-line dd strong b,
    .shop-main .rating-score b,
    .shop-main .shop-stats-line a b {
        font-size: 1rem;
    }
}

/* Rank */
.shop-rank {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 57px;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    padding: 10px 0 3px;
    border-radius: 0;
    letter-spacing: .8px;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
    background: url("https://img.goo-net.com/goopit/assets/img/ranking/bg_rank-common.png") no-repeat 0 0;
    background-size: 38px 57px;
}
.rank-top-1 .shop-rank {
    background: url("https://img.goo-net.com/goopit/assets/img/ranking/bg_rank01.png") no-repeat 0 0;
    background-size: 38px 57px;
}
.rank-top-2 .shop-rank {
    background: url("https://img.goo-net.com/goopit/assets/img/ranking/bg_rank02.png") no-repeat 0 0;
    background-size: 38px 57px;
}
.rank-top-3 .shop-rank {
    background: url("https://img.goo-net.com/goopit/assets/img/ranking/bg_rank03.png") no-repeat 0 0;
    background-size: 38px 57px;
}

/* Thumbnail */
.shop-thumb-wrap {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .25);
    width: 100%;
    font-size: 12px;
    align-self: start;
}
.shop-thumb-wrap:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%);
    opacity: .6;
    pointer-events: none;
}
.shop-thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #e5e9ef;
    transition: transform .35s ease;
    will-change: transform;
}
.list article:hover .shop-thumb,
.list article:focus-within .shop-thumb {
    transform: scale(1.1);
}
.shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details */
.shop-main {
    position: relative;
    min-width: 0; /* Grid overflow防止 */
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.shop-main h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.shop-main h3 { color: #222;}
.shop-stats-line {

    gap: 16px;
    color: #555;
    align-items: center;
    justify-content: space-between;
}
.shop-stats-line dl,
.shop-stats-line dd {
    margin: 0;
}
.shop-stats-line dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 16px;
}
.shop-stats-line dl > div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.shop-stats-line dl > div:last-child {
    margin-bottom: 0;
}
.shop-stats-line dl > div:first-child a:hover {
    color: #DC0000;
}
.shop-stats-line dd {
    display: flex;
    align-items: center;
}
.shop-stats-line a {
    color: #0186E4;
    text-decoration: none;
}
.shop-stats-line a b {
    font-size: 1.3rem;
}
.shop-stats-line a .review-count {
    margin-left: 5px;
}
.shop-stats-line a:hover { text-decoration: underline; }
.shop-stats-line .weight-label {
    color: #FFF;
    font-size: 0.72rem;
    background: #DC0000;
    padding: 1px 3px;
    margin-right: 3px;
}
.shop-stats-line dd strong {
    color: #DC0000;
}
.shop-stats-line dd strong b {
    font-size: 1.32rem;
}

@media screen and (max-width: 767px) {
    .shop-stats-line {
        font-size: 0.72rem;
    }
    .shop-stats-line .weight-label {
        font-size: 0.68rem;
    }
    .shop-stats-line .shop-header {
        display: none;
    }
    .star img {
        width: 12px;
        height: 11px;
    }
}

/* カテゴリ・住所を含むブロック */
.shop-info-block {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    font-size: .55rem;
    color: #546274;
    align-items: center;
}
.shop-info-block .items {
    color: #c00000;
    font-size: 12px;
    margin: 0;
}
.shop-info-block .service-tag {
    display: inline-block;
    color: #FFF;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -0.04em;
    background: #919191;
    padding: 1px 5px;
}
.shop-info-block > ul {
    display: flex;
    gap: 8px;
    order: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Stars */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}
.star {
    display: inline-block;
}
.star img {
    vertical-align: middle;
}
.rating-score {
    letter-spacing: 0.05em;
    margin: 0 5px;
}
.rating-score b {
    font-size: 1.3rem;
}

/* Address */
.addr-inline {
    font-size: 12px;
    color: #475467;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.addr-inline:hover {
    color: #475467;
    text-decoration: underline;
}
.addr-inline .icon {
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
    flex-shrink: 0;
}
.addr-inline span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    display: block !important;
}
.no-addr {
    font-size: clamp(.52rem, 1.1vw, .55rem);
    color: #999;
    padding: 4px 0;
    display: inline-block;
}

/* Price */
.price-tag {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 1vw, 6px);
    padding: 3px 8px;
    background: #fff5f3;
    border: 1px solid #ffd5cc;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #c00000;
    letter-spacing: .5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.price-tag strong {
    font-size: 12px;
    line-height: 1;
}

/* Side Column */
.side-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
}

/* Reservation Box */
.reservation-box {
    flex: 0 0 auto;
    border-radius: 5px;
    font-size: clamp(.58rem, 1.2vw, .62rem);
    line-height: 1.3;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transition: .25s, transform .22s, box-shadow .25s;
}

/* CTA Button */
.cv-btn {
    flex: 0 0 auto;
    text-align: center;
    background: var(--brand-accent);
    color: #222;
    font-weight: 700;
    padding: clamp(10px, 1.5vw, 14px) clamp(8px, 1.2vw, 10px);
    border-radius: 5px;
    font-size: 11px;
    text-decoration: none;
    transition: .25s, transform .22s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.cv-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 50%);
    mix-blend-mode: overlay;
    opacity: .4;
}
.cv-btn:hover {
    background: #ffd35c;
    text-decoration: none !important;
}

/* phone Button */
.action-buttons .phone-btn {
    display: none !important;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    color: #FFF;
    text-decoration: none;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: break-word;
    padding: clamp(9px, 1.5vw, 13px) clamp(8px, 1.2vw, 10px);
    border: 1px solid #FF4407;
    background: #FD6829 !important;
    background: -moz-linear-gradient(top, #FEAD73, #FD6829) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#FEAD73), to(#FD6829)) !important;
    border-radius: 5px;
    transition: .25s, transform .22s, box-shadow .25s;
}
.action-buttons .phone-btn:hover {
    text-decoration: none;
    background: -moz-linear-gradient(top, #FD6829, #FEAD73) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#FD6829), to(#FEAD73)) !important;
}

/* More Btn */
.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #d7000f;
    font-size: 13px;
    margin: 20px auto 0;
}
.more-btn img {
    margin-right: 5px;
}
.more-btn a {
    color: #d7000f;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #d7000f;
    background: #FFF;
    padding: 10px;
    transition: .25s, transform .22s, box-shadow .25s;
}
.more-btn a:hover {
    color: #FFF;
    background: #d7000f;
}

@media screen and (max-width: 767px) {
    .more-btn {
        flex-flow: column;
        width: 100%;
    }
    .action-buttons .phone-btn {
        display: inline-flex !important;
        letter-spacing: -0.02em;
    }
    .action-buttons form {
        width: 100%;
        white-space: nowrap;
    }
}

/* neighboring */
.neighboring {
    margin-top: 20px;
}
.neighboring h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

@media screen and (max-width: 767px) {
    .neighboring h2 {
        font-size: 16px;
    }
}

/* No Results */
.no-results { padding: 60px 20px; text-align: center; color: #999; font-size: .9rem; }

@media (max-width:767px){
    .side-col {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .reservation-box,
    .cv-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }
    .action-buttons {
        flex-direction: row;
    }
}

@media screen and (max-width: 767px) {
    .side-col {
        flex-direction: column;
        gap: 10px;
    }
    .reservation-box,
    .cv-btn {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
    .shop-thumb-wrap {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .shop-main {
        order: 2;
    }
    .shop-stats-line {
        gap: 8px;
    }
    .shop-info-block {
        align-items: flex-start;
        gap: 8px;
    }
    .side-col {
        order: 3;
        width: 100%;
        gap: 10px;
    }
    .shop-rank {
        left: 10px;
    }
}
@media (max-width:374px){
    .reservation-box,
    .cv-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-flow: column;
        gap: 0;
    }
}
@media (min-width:856px) {
    .shop-card {
        grid-template-columns: 200px minmax(0, 1fr) 220px;
        gap: 24px;
    }
}

/* パンくず */
.topic_path {
    background: none;
    max-width: 856px;
    text-align: left;
    margin: 0 auto 10px;
}
.breadCrumb {
    overflow: hidden;
    width: 100%;
    height: 36px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
}
.breadCrumb ul {
    display: block;
    overflow:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    height: 38px;
    width: 100%;
    font-size: 11px;
    line-height: 32px;
    background: none;
    margin: 0;
    padding: 0;
}
.breadCrumb ul li,
.breadCrumb ul li a {background: none;}
.breadCrumb ul li a,
.breadCrumb ul li > span {
    position: relative;
    font-size: 12px;
}
.breadCrumb ul li {
    display: inline-block;
    position: relative;
    white-space:nowrap;
}
.breadCrumb ul li > * {
    border-color: #edeff0;
}
.breadCrumb ul li a {
    display: inline-block;
    color: #999;
    text-decoration:none;
    height: 35px;
    background: url(https://img.goo-net.com/goopit/assets/img/share/bg-topic_path_arrow.png) no-repeat right 10px;
    padding: 0 18px 0 0;
    margin-right: 3px;
}
.breadCrumb ul li a:hover {
    text-decoration: underline;
}
.breadCrumb ul li a:after {
    content: none;
}
.breadCrumb ul .first a {
    display: inline-block;
}
.breadCrumb li:last-child span {
    display: block;
}
.breadCrumb li.last span {
    color: #444;
    background: none;
    padding: 0 10px 0 3px;
}


@media screen and (max-width: 767px) {
    .breadCrumb ul li a,
    .breadCrumb ul li > span  {
        font-size: 10px;
    }
    .breadCrumb ul li a {
        background: url(https://img.goo-net.com/goopit/assets/mobile/img/share/bg-topic_path_arrow.png) no-repeat right 11px;
        background-size: 7px 10px;
        padding: 0 16px 0 1px;
    }
}

/* サイドカラム */
.accordion { font-size:16px; color:#222; }
.accordion a,
.accordion button { transform: var(--transition-base); }
.accordion ul{ list-style:none; margin:0; padding:0; background: #FFF; border-top: 1px solid #eee; }
.accordion > ul:first-child{ border-top: none; }
.accordion .note {
    font-size: 12px;
    background: none;
    border: none;
    margin: 10px 0 0;
}
.accordion ul li {border-bottom: 1px solid #eee;}
.accordion ul li:last-child {border-bottom: none}
.accordion .acc-item{ border-bottom:1px solid #eee; }
.accordion .acc-item:last-child{ border-bottom:none; }
.accordion .acc-panel{ padding-left:0; }
.acc-toggle{
    width:100%; text-align:left; background:#fff; border:0; padding:10px 35px 10px 10px;
    font-weight:600; cursor:pointer; position:relative;transform: var(--transition-base);
}
.acc-toggle:hover{ opacity: 0.6; }
.acc-toggle::after{
    content:"";
    position:absolute; right:14px; top:50%; width:10px; height:10px; transform:translateY(-50%);
    background:
            linear-gradient(var(--brand),var(--brand)) center/14px 2px no-repeat,
            linear-gradient(var(--brand),var(--brand)) center/2px 14px no-repeat;
    border-radius:2px;
}
.acc-toggle[aria-expanded="true"]::after{
    background:
            linear-gradient(var(--brand),var(--brand)) center/14px 2px no-repeat;
}
.acc-toggle.lv1{ display:flex; align-items: center; gap: 5px; font-size:14px; font-weight: normal; outline: none; transform: none; transition: .35s ease;}
.acc-toggle.lv1:hover{opacity: 1; background: #fefefe;}
.acc-toggle.lv2{ font-size:14px; font-weight: normal; padding-left:24px;transform: var(--transition-base); }
.acc-toggle.lv2:hover {opacity: 0.6;}
.acc-lv3 li a,
.acc-lv3 li span{ display:block; position: relative; padding:11px 30px 11px 43px; color: #222; font-size: 14px; text-decoration:none; }
.acc-lv3 li span {background: #eee;opacity: 0.4;}
.acc-lv3 li a::after,
.acc-lv3 li span::after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--brand);
    border-right: 1px solid var(--brand);
    margin-bottom: 1px;
    transform: rotate(45deg);
}
.acc-lv3 li a:hover{ text-decoration:none; }
.acc-panel{ overflow:hidden; transition:max-height .25s ease; }
.acc-panel[hidden]{ display:block; max-height:0; padding:0 0 0 0; }
/* .acc-panel:not([hidden]){ max-height:1000px; } */
.accordion .acc-item:first-child > ul {
    border-top: none;
}

@media (max-width:767px){
    .filter-panel{ display:none; }
    .filter-panel:not([hidden]){ display:block; }
    .filter-panel[hidden],
    .filter-panel:not(.is-modal-open){ display:none !important; }
    .acc-toggle:hover,
    .acc-toggle.lv2:hover{ opacity: 1; }
}

/* モーダル */
.rank-area-modal-backdrop{
    position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; z-index:9998;
}
.rank-area-modal{
    position:fixed; left:50%; top:50%; transform:translate(-50%,-50%);
    width:min(92vw,720px); max-height:80vh; overflow:auto;
    background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.2);
    padding:0; display:none; z-index:9999;
}
.rank-area-modal .modal-head{
    display:flex; align-items:center; justify-content:space-between; padding:12px 16px 8px;
    border-bottom:1px solid #eee; font-weight:700;
}
.rank-area-modal .modal-body{ padding:0 16px 16px; }
.rank-area-modal .modal-close{
    appearance:none; border:0; width:28px; height:28px; border-radius:50%;
    cursor:pointer; background:
        linear-gradient(#333,#333) center/14px 2px no-repeat,
        linear-gradient(#333,#333) center/2px 14px no-repeat;
    transform:rotate(45deg);
}

@media (max-width:767px){
    .in-modal h2{
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
        margin: 0;
        padding: 10px 0;
    }
    form.filter {
        border: none;
        padding: 0;
        margin-top: 16px;
    }
    form.filter label {
        font-size: 14px;
    }
}

/* 見た目に出さないがフォーカスは届くように */
.option-box form {
    display: flex;
    align-items: center;
    font-size: 12px;
}
.toggle-input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    outline: none;
}
.toggle-input:focus {
    outline: none;
}
.nearby-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 14px;
}
.toggle-caption {
    white-space: nowrap;
    margin-right: 8px;
}
.toggle-btn {
    min-width: 64px;
    text-align: center;
    line-height: 27px;
    padding: 0 5px;
    border: 1px solid #E1E5EA;
    background: #FFF;
    color: #333;
    cursor: pointer;
    user-select: none;
    justify-content: center;
}
.toggle-btn:hover { filter: brightness(0.98); }
.toggle-input:focus + .toggle-btn,
.toggle-input:not(:checked) + .on {
    background: #fff; color: #333; border-color: #ddd;
}
.toggle-input:not(:checked) + .on + .off {
    background: #D7020F; color: #fff; border-color: #D7020F;
}
.toggle-input:checked + .on {
    background: #D7020F; color: #fff; border-color: #D7020F;
}
.toggle-input:checked + .on + .off {
    background: #fff; color: #333; border-color: #ddd;
}