/* =============================================
   menespark - 全国トップ（LP版）
   public_html/assets/toppage-lp.css

   ・クラスはすべて lp- 接頭辞。既存CSSとは衝突しない
   ・style.css の :root（--gold / --text-primary など）はそのまま使い、
     このページ専用の色だけ .lp スコープで足している
   ・1rem = 10px（style.css の html { font-size: 62.5% } 前提）
   ・SPは @media (max-width: 767.98px) で上書き
   ============================================= */

.lp {
    /* --lp-bg: #0d0a0c; */
    /* --lp-panel: #171215; */
    /* --lp-panel-2: #1e1719; */
    --lp-bg: #0d0a0c;
    --lp-panel: #121416;
    --lp-panel-2: #0d0a0c;
    --lp-line: rgba(255, 255, 255, 0.2);
    --lp-gold: #c9a86c;
    --lp-gold-light: #e3cb98;
    --lp-gold-line: rgba(201, 168, 108, 0.3);
    --lp-pink: #f5308b;
    --lp-pink-light: #ff5ca6;
    /* 文字色は3段階。
       text  = 主役（見出し・店名・セラピスト名）
       dim   = 読ませたい補助情報（エリア・リード文・本文）
       muted = 読み飛ばしてよい付随情報（件数・日付・単位・ラベル） */
    --lp-text: #f2eee6;
    --lp-dim: #d5d0c6;
    --lp-muted: #a49d92;
    --lp-radius: 8px;

    background: var(--lp-bg);
    color: var(--lp-text);
}

.lp a {
    color: inherit;
    text-decoration: none;
}

.lp a:hover {
    opacity: 1;
}

.lp img {
    display: block;
    max-width: 100%;
}

.lp-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.lp-hyphen {
    display: inline-block;
    transform: scaleX(0.65);
    letter-spacing: 0;
    margin: 0 -0.12em;
}

/* =============================================
   ヒーロー
   ============================================= */
.lp-hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--lp-radius);
}

/* 背景画像（1714×918・WebP）。PCは右寄せで全面 */
.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url(/img/hero_bg.webp);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
    background-color: #241a1c;
}

/* 左からの黒グラデ。コピーの可読性はここで担保する */
.lp-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    /* background: */
        /* linear-gradient(90deg, var(--lp-bg) 8%, rgba(13, 10, 12, 0.82) 38%, rgba(13, 10, 12, 0.25) 66%, rgba(13, 10, 12, 0.55) 100%), */
        /* linear-gradient(180deg, rgba(13, 10, 12, 0.5) 0%, rgba(13, 10, 12, 0) 30%, var(--lp-bg) 100%); */
}

.lp-hero__inner {
    padding-top: 56px;
    padding-bottom: 40px;
}

.lp-hero__copy {
    max-width: 620px;
}

.lp-hero__eyebrow {
    margin: 0 0 16px;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--lp-text);
}

.lp-hero__logo {
    margin: 0 0 16px;
    font-family: 'DM Sans', 'Century Gothic', sans-serif;
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}

.lp-hero__logo .is-menes {
    color: #fff;
}

.lp-hero__logo .is-park {
    color: var(--lp-gold);
}

.lp-hero__lead {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--lp-dim);
}

/* ---- 検索ボタン2つ ---- */
.lp-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 740px;
    margin-top: 32px;
}

.lp-search__btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--lp-gold-line);
    border-radius: var(--lp-radius);
    background: rgba(20, 15, 18, 0.78);
    backdrop-filter: blur(4px);
    text-align: left;
    font-family: inherit;
    color: var(--lp-text);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.lp-search__btn:hover {
    border-color: var(--lp-gold);
    background: rgba(201, 168, 108, 0.12);
}

.lp-search__btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.lp-search__icon {
    flex-shrink: 0;
    font-size: 3rem;
    line-height: 1;
    color: var(--lp-gold);
}

.lp-search__txt {
    min-width: 0;
}

.lp-search__label {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lp-search__sub {
    display: block;
    margin-top: 3px;
    font-size: 1.2rem;
    color: var(--lp-muted);
}

.lp-geo-msg {
    max-width: 740px;
    margin: 10px 0 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--lp-gold-light);
}

.lp-geo-msg[hidden] {
    display: none;
}

/* ---- サイト説明（文章） ---- */
.lp-feats {
    margin-top: 24px;
    padding: 16px;
    background:
        linear-gradient(90deg, var(--lp-bg) 8%, rgba(13, 10, 12, 0.82) 38%, rgba(13, 10, 12, 0.25) 66%, rgba(13, 10, 12, 0.55) 100%),
        linear-gradient(180deg, rgba(13, 10, 12, 0.5) 0%, rgba(13, 10, 12, 0) 30%, var(--lp-bg) 100%);
}
.lp-feats__count {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-feats__count b {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lp-gold-light);
    margin: 0 1px;
}
.lp-feats__body {
    max-width: 76rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--lp-dim);
    color: var(--lp-muted);
}

.lp-feats__body strong {
    color: var(--lp-pink-light);
    font-weight: 700;
}
/* 折りたたみはJSを使わずチェックボックスで切り替える。
   PCでは全文を出すのでボタンごと隠す */
.lp-feats__toggle {
    display: none;
}

.lp-feats__more {
    display: none;
}

/* =============================================
   広告バナー枠
   ============================================= */
.lp-hb__viewport {
    overflow: hidden;
}

/* 横のジェスチャーはJSに渡し、縦はページのスクロールに任せる。
   これが無いとSPでフリックがブラウザ側に取られる。
   ドラッグはセクション全体で受けるので、指定もここに置く */
.lp-hb {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    margin-top: 10px;
}

.lp-hb__track {
    display: flex;
    column-gap: 10px;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.lp-hb__track:active {
    cursor: grabbing;
}

/* バナーの実寸は 800×320（5:2）だが、中央は700pxに収めて表示する。
   余った左右に前後の1枚をのぞかせる。
   画面が狭くて700pxが入らないときは 78% まで縮める。 */
.lp-hb__slide {
    flex: 0 0 min(700px, 78%);
    overflow: hidden;
}

.lp-hb__slide img {
    pointer-events: none;
    /* 画像自身がドラッグを拾うとフリックが途切れる */
}

.lp-hb__img {
    width: 100%;
    height: auto;
    /* 読み込み前でも高さを確保してガタつかせない */
    aspect-ratio: 5 / 2;
    object-fit: cover;
    -webkit-user-drag: none;
}

/* 無限ループ用の複製。見た目・クリックとも実物と同じにする */
.lp-hb__slide.is-clone {
    /* 表示上は実物と区別しない（読み上げだけ aria-hidden で除外） */
}

.lp-hb--single .lp-hb__track {
    justify-content: center;
    cursor: default;
}

.lp-hb__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    display: none;
}

.lp-hb__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(201, 168, 108, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lp-hb__dot:hover {
    background: rgba(201, 168, 108, 0.6);
}

.lp-hb__dot.is-active {
    background: var(--lp-gold);
    transform: scale(1.25);
}

/* banner_pr（既存パーツ）の幅指定を LP の 1200px に合わせる */
.lp-prslot .prbanner-slot {
    width: 100%;
    margin: 0 auto;
}

/* =============================================
   セクション共通
   ============================================= */
.lp-sec {
    padding-top: 60px;
}
.lp-sec-last{
    margin-bottom: 60px;
}
.lp-sec__head {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.lp-sec__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}


.lp-sec__note-at {
    font-size: 1.3rem;
}

.lp-sec__more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.3rem;
    color: var(--lp-dim);
    transition: color 0.18s ease;
}

.lp-sec__more:hover {
    color: var(--lp-gold-light);
}

/* ---- 共通バッジ ---- */
.lp-badge-type {
    align-self: flex-start;
    padding: 1px 8px;
    border-radius: 3px;
    border: 1px solid var(--lp-gold-line);
    background: rgba(201, 168, 108, 0.12);
    color: var(--lp-gold-light);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-score {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
}

.lp-score i {
    font-size: 1.2rem;
    color: #f5a524;
}

.lp-score b {
    font-weight: 700;
}

.lp-score small {
    font-size: 1.1rem;
    color: var(--lp-muted);
}

.lp-score--point b {
    color: var(--lp-gold-light);
}

.lp-chg {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}

.lp-chg--up {
    background: rgba(22, 163, 74, 0.18);
    color: #4ade80;
}

.lp-chg--down {
    background: rgba(220, 38, 38, 0.18);
    color: #f87171;
}

/* =============================================
   横スライダー（ランキング）
   ============================================= */
.lp-rail {
    position: relative;
}

.lp-rail__track {
    display: flex;
    column-gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.lp-rail__track::-webkit-scrollbar {
    display: none;
}

.lp-rail__arrow {
    position: absolute;
    top: 110px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lp-gold-line);
    border-radius: 50%;
    background: rgba(13, 10, 12, 0.92);
    color: var(--lp-gold);
    font-size: 1.7rem;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.lp-rail__arrow:hover {
    background: var(--lp-gold);
    color: #1a1509;
}

.lp-rail__arrow--prev {
    left: -16px;
}

.lp-rail__arrow--next {
    right: -16px;
}

.lp-rail__arrow.is-disabled {
    opacity: 0;
    pointer-events: none;
}

/* ---- ランキングカード ---- */
.lp-rcard {
    flex: 0 0 auto;
    /* 4.5枚見せ。 n枚見せ = 100% / n - gap で出せる */
    width: calc(100% / 4.5 - 12px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: var(--ap-panel-v2);
    /* background: #1f1f24; */
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.lp-rcard:hover {
    border-color: var(--lp-gold);
}

.lp-rcard__thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #241d21;
}

.lp-rcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-rcard__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
/* /img/rank/1.png 〜 10.png（原寸50×50） */
.lp-rcard__badge {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* 11位以降など画像が無いときの代替 */
.lp-rcard__badge--num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--lp-gold);
    font-variant-numeric: tabular-nums;
}

.lp-rcard__badge--num small {
    font-size: 1rem;
    font-weight: 400;
}

.lp-rcard__point {
    font-size: 1.1rem;
    color: var(--lp-dim);
    font-variant-numeric: tabular-nums;
}

.lp-rcard__point b {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-gold-light);
    margin-right: 1px;
}

/* 順位の変動。何と比べた数字か分かるよう「ランクUP」まで書く。
   矢印ではなく塗りつぶしの三角（▲▼▶）で方向を出す */
.lp-rcard__chg {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* caret 系は字面の中で小さめに見えるので、少し大きめに出す。
   ベースラインではなく中央で揃えたいので line-height は 1 */
.lp-rcard__chg i {
    font-size: 1.3rem;
    line-height: 1;
}

/* 初ランクインの★だけは三角より大きく見えるので下げる */
.lp-rcard__chg--new i {
    font-size: 0.95rem;
}

.lp-rcard__chg--up {
    color: #4ade80;
}

.lp-rcard__chg--down {
    color: #f87171;
}

.lp-rcard__chg--new {
    color: #ff8ec0;
}

.lp-rcard__chg--same {
    color: var(--lp-muted);
    font-weight: 400;
}
.lp-rcard__body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.lp-rcard__name {
    width: 100%;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 業種バッジとエリアを1行に並べる。
   エリアが長いときはエリア側だけ省略させたいので、
   バッジは縮ませず、エリアに min-width: 0 を効かせる */
.lp-rcard__meta {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 6px;
    min-width: 0;
}

.lp-rcard__meta .lp-badge-type {
    flex: 0 0 auto;
}

.lp-rcard__area {
    min-width: 0;
    font-size: 1.1rem;
    color: var(--lp-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =============================================
   セラピストカード(共通パーツ)のトップページ用調整
   PCは5人ちょうど。6人目はSP用に出力してあるので隠すだけ
   ============================================= */
.lp-thlist > .ap-thcard:nth-child(6) {
    display: none;
}

@media (max-width: 767.98px) {
    .lp-thlist > .ap-thcard:nth-child(6) {
        display: flex;
    }
}

.data{
    position: absolute;
    width: 100%;
    padding: 8px 10px;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.threcard_data{
    display: flex;
    gap: 3px;
    align-items: baseline;
}

/* =============================================
   編集部ニュース
   ============================================= */
.lp-news {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

/* PCはボーダーで囲んだカード型 */
.lp-ncard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--ap-panel-v2);
    transition: border-color 0.18s ease;
}

.lp-ncard:hover {
    border-color: var(--lp-gold);
}

.lp-ncard__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #241d21;
    border: 1px solid var(--lp-line);
}

.lp-ncard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-ncard__box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lp-ncard__cat {
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(201, 168, 108, 0.18);
    border: 1px solid var(--lp-gold-line);
    color: var(--lp-gold-light);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-ncard__title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-ncard__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 15px;
    font-size: 1.1rem;
    color: var(--lp-dim);
}

.lp-ncard__shop {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-ncard__date {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* =============================================
   よく検索される地域
   ============================================= */
.lp-area__panel {
    padding: 20px;
    border: 1px solid var(--lp-gold-line);
    border-radius: var(--lp-radius);
    background: var(--lp-panel);
}

.lp-area__label {
    margin: 0 0 10px;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    color: var(--lp-gold-light);
}

.lp-area__label + .lp-area__label {
    margin-top: 24px;
}

.lp-prefs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.lp-pref {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1px solid var(--lp-gold-line);
    border-radius: 6px;
    background: rgba(201, 168, 108, 0.07);
    font-size: 1.6rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.lp-pref__count {
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--lp-gold-light);
}

.lp-pref:hover {
    background: var(--lp-gold);
    color: #1a1509;
}

.lp-pref:hover .lp-pref__count {
    color: #1a1509;
}

.lp-blocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lp-block {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--lp-text);
    font-family: inherit;
    font-size: 1.35rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.lp-block__count {
    margin-left: auto;
    font-style: normal;
    font-size: 1.1rem;
    color: var(--lp-muted);
}

.lp-block::after {
    content: "\F4FE";
    /* bootstrap-icons の plus。開いているときは45度回して × に見せる */
    font-family: "bootstrap-icons";
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--lp-gold);
    transition: transform 0.2s ease;
}

.lp-block:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold-light);
}

.lp-block[aria-expanded="true"] {
    border-color: var(--lp-gold);
    background: rgba(201, 168, 108, 0.1);
    color: var(--lp-gold-light);
}

.lp-block[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

/* 都道府県パネル。リンクは常にDOMに置き、表示だけ切り替える */
.lp-block-panel {
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--lp-gold-line);
    border-radius: 6px;
    background: rgba(201, 168, 108, 0.05);
}

.lp-block-panel.is-open {
    display: grid;
}

.lp-block-pref {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 4px;
    background: rgba(13, 10, 12, 0.5);
    font-size: 1.25rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.lp-block-pref em {
    font-style: normal;
    font-size: 1.05rem;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-block-pref:hover {
    background: var(--lp-gold);
    color: #1a1509;
}

.lp-block-pref:hover em {
    color: #1a1509;
}

.lp-area__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 13px;
    border: 1px solid var(--lp-gold-line);
    border-radius: 6px;
    font-size: 1.35rem;
    color: var(--lp-gold-light);
    transition: background 0.18s ease;
}

.lp-area__all:hover {
    background: rgba(201, 168, 108, 0.1);
}

/* =============================================
   初めての方へ
   ============================================= */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.lp-stat {
    padding: 18px 16px;
    text-align: center;
}

.lp-stat__num {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--lp-gold);
    font-variant-numeric: tabular-nums;
}

.lp-stat__num small {
    margin-left: 2px;
    font-size: 1.4rem;
}

.lp-stat__label {
    display: block;
    margin-top: 4px;
    font-size: 1.2rem;
    color: var(--lp-dim);
}

.lp-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
}

.lp-guide__item {
    min-width: 0;
    padding-left: 20px;
    border-left: 2px solid var(--lp-gold-line);
}

.lp-guide__title {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lp-guide__body {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--lp-dim);
}

.lp-guide__body strong {
    font-weight: 600;
    color: var(--lp-gold-light);
}

.lp-guide__body a {
    color: var(--lp-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =============================================
   市区町村から探す（SEOフッター）
   ============================================= */


/* ---- 地方タブ ---- */
.lp-as__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.lp-as__tab {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--lp-dim);
    padding: 9px 16px;
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--ap-panel-v2);
    font-family: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.lp-as__tab:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold-light);
}

.lp-as__tab-count {
    font-style: normal;
    font-size: 1.05rem;
    opacity: 0.7;
}

.lp-as__tab.is-active {
    background: var(--lp-gold);
    border-color: var(--lp-gold);
    color: #1a1509;
    font-weight: 600;
}

.lp-as__tab.is-active .lp-as__tab-count {
    opacity: 0.85;
}

/* ---- 県カード ----
   パネルはタブで切り替えるが、リンクは全ブロックぶんDOMに残す。
   display: none で隠すだけなのでクロールには影響しない */
.lp-as__panel {
    display: none;
}

.lp-as__panel.is-active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.lp-as__pref {
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--ap-panel-v2);
    overflow: hidden;
}

.lp-as__pref-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: rgba(201, 168, 108, 0.08);
    border-bottom: 1px solid var(--lp-line);
    transition: background 0.18s ease;
}

.lp-as__pref-head:hover {
    background: rgba(201, 168, 108, .045);
}

.lp-as__pref-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--lp-gold-light);
}

.lp-as__pref-count {
    margin-left: auto;
    font-size: 1.1rem;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-as__pref-go {
    flex: 0 0 auto;
    font-size: 1.1rem;
    color: var(--lp-gold);
}

/* ---- 市区町村チップ ---- */
.lp-as__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 15px;
}

.lp-as__city {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 5px 10px;
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--shop-bg-card);
    font-size: 1.2rem;
    color: var(--lp-dim)!important;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.lp-as__city em {
    font-style: normal;
    font-size: 1rem;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-as__city:hover {
    background: var(--lp-gold);
    border-color: var(--lp-gold);
    color: #1a1509 !important;
}

.lp-as__city:hover em {
    color: #1a1509 !important;
}


/* 「ほか◯エリア」は県トップへ飛ぶので、市区町村とは見た目を分ける */
.lp-as__city--all {
    border-style: dashed;
    color: var(--lp-gold);
}

/* =============================================
   エリア検索モーダル
   PC = 中央のダイアログ / SP = 下からせり上がるボトムシート
   ============================================= */
.lp-ms {
    position: fixed;
    inset: 0;
    z-index: 200;
    /* header(100) / drawer(99) より前面 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.lp-ms[hidden] {
    display: none;
}

.lp-ms__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lp-ms.is-open .lp-ms__overlay {
    opacity: 1;
}

.lp-ms__panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    background: var(--ap-panel-v2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lp-ms.is-open .lp-ms__panel {
    opacity: 1;
    transform: none;
}

/* SPのつまみ。PCでは出さない */
.lp-ms__handle {
    display: none;
}

.lp-ms__head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--lp-line);
}

.lp-ms__title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lp-ms__title i {
    font-size: 1.4rem;
    color: var(--lp-gold);
}

.lp-ms__close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lp-gold-line);
    border-radius: 50%;
    background: transparent;
    color: var(--lp-text);
    font-size: 1.4rem;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.lp-ms__close:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold);
}

.lp-ms__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.lp-ms__label {
    margin: 0 0 10px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--lp-gold-light);
}

.lp-ms__label + * + .lp-ms__label {
    margin-top: 24px;
}

/* ---- 人気エリア（PC5列 / SP3列） ---- */
.lp-ms__majors {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.lp-ms__major {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 6px;
    border: 1px solid var(--lp-gold-line);
    border-radius: 6px;
    background: rgba(201, 168, 108, 0.08);
    font-size: 1.5rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.lp-ms__major em {
    font-style: normal;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--lp-gold-light);
}

.lp-ms__major:hover {
    background: var(--lp-gold);
    color: #1a1509;
}

.lp-ms__major:hover em {
    color: #1a1509;
}

/* ---- 地方（PCは3列。開いた地方だけ横幅いっぱいを使う） ---- */
.lp-ms__regions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.lp-ms__region.is-open {
    grid-column: 1 / -1;
}

.lp-ms__rbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--lp-text);
    font-family: inherit;
    font-size: 1.35rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lp-ms__rname {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-ms__rcount {
    margin-left: auto;
    font-style: normal;
    font-size: 1.05rem;
    color: var(--lp-muted);
}

.lp-ms__rarrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--lp-gold);
    transition: transform 0.2s ease;
}

.lp-ms__rbtn:hover {
    border-color: var(--lp-gold);
    color: var(--lp-gold-light);
}

.lp-ms__region.is-open .lp-ms__rbtn {
    border-color: var(--lp-gold);
    background: rgba(201, 168, 108, 0.1);
    color: var(--lp-gold-light);
}

.lp-ms__region.is-open .lp-ms__rarrow {
    transform: rotate(180deg);
}

.lp-ms__rpanel {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--lp-gold-line);
    border-radius: 6px;
    background: rgba(201, 168, 108, 0.05);
}

.lp-ms__region.is-open .lp-ms__rpanel {
    display: grid;
}

.lp-ms__pref {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 4px;
    background: rgba(13, 10, 12, 0.5);
    font-size: 1.25rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.lp-ms__pref em {
    font-style: normal;
    font-size: 1.05rem;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-ms__pref:hover {
    background: var(--lp-gold);
    color: #1a1509;
}

.lp-ms__pref:hover em {
    color: #1a1509;
}

.lp-ms__foot {
    flex-shrink: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--lp-line);
}

/* モーダルを開いている間は背面をスクロールさせない。
   scrollbar-gutter でスクロールバーぶんの幅を常に確保しておくと、
   overflow: hidden にした瞬間の横ズレ（カクッと動くやつ）が出ない */
html {
    scrollbar-gutter: stable;
}
/* モーダルを開いている間は背面をスクロールさせない */
html.lp-modal-open,
html.lp-modal-open body {
    overflow: hidden;
}



/* =============================================================
   モーダル内のキーワード検索

   toppage-lp.css の末尾に追記してください。

   削除してよいもの:
     .lp-ms__foot
     .lp-ms__all
     .lp-ms__all:hover
   （フッターの「市区町村から探す」を廃止したため）
   ============================================================= */

.lp-ms__search {
    margin-top: 24px;
}

/* ---- 入力欄 ---- */
.lp-ms__searchbox {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-ms__search-icon {
    position: absolute;
    left: 14px;
    font-size: 1.4rem;
    color: var(--lp-muted);
    pointer-events: none;
}

.lp-ms__input {
    width: 100%;
    color: var(--lp-text);
    font-family: inherit;
    padding: 14px 40px;
    border-radius: var(--ap-radius);
    background: var(--shop-bg-card);
    border: 1px solid var(--ap-line);
    font-size: 1.4rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.lp-ms__input::placeholder {
    color: var(--lp-muted);
    font-size: 1.3rem;
}

.lp-ms__input:focus {
    outline: none;
    border-color: var(--lp-gold);
    background: rgba(13, 10, 12, 0.85);
}

/* 検索欄のネイティブな × を消して、自前のボタンに揃える */
.lp-ms__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.lp-ms__search-clear {
    position: absolute;
    right: 10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--lp-muted);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.18s ease;
}

.lp-ms__search-clear:hover {
    color: var(--lp-text);
}

.lp-ms__search-clear[hidden] {
    display: none;
}

/* ---- 結果 ---- */
.lp-ms__results {
    margin-top: 10px;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: rgba(13, 10, 12, 0.5);
    overflow: hidden;
}

.lp-ms__results[hidden] {
    display: none;
}

.lp-ms__reslabel {
    margin: 0;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--lp-line);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: var(--lp-gold-light);
}

.lp-ms__hit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    transition: background 0.18s ease;
}

.lp-ms__hit:last-child {
    border-bottom: 0;
}

.lp-ms__hit:hover {
    background: rgba(201, 168, 108, 0.1);
}

.lp-ms__hit-avatar {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: #241d21;
    border: 1px solid var(--lp-gold-line);
}

.lp-ms__hit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
/* お店のサムネは横長なので、セラピストの丸アイコンとは分ける */
.lp-ms__hit-avatar--shop {
    border-radius: 6px;
}

.lp-ms__hit-avatar--shop img {
    object-position: center center;
}

.lp-ms__hit-box {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-ms__hit-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.35rem;
    font-weight: 600;
    min-width: 0;
}

/* 一致した文字だけ色を変える。入力との対応が分かる */
.lp-ms__hit-name mark {
    background: none;
    color: var(--lp-gold);
    font-weight: 700;
}

.lp-ms__hit-age {
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--lp-dim);
}

/* 検索上位OPの店に付く。広告であることを隠さない */
.lp-ms__hit-pr {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(201, 168, 108, 0.18);
    border: 1px solid var(--lp-gold-line);
    color: var(--lp-gold-light);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.lp-ms__hit-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    color: var(--lp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-ms__hit-sub em {
    flex: 0 0 auto;
    font-style: normal;
    padding: 1px 6px;
    border-radius: 3px;
    border: 1px solid var(--lp-gold-line);
    background: rgba(201, 168, 108, 0.12);
    color: var(--lp-dim);
    font-size: 1rem;
}

.lp-ms__hit-go {
    flex: 0 0 auto;
    font-size: 1.2rem;
    color: var(--lp-muted);
}

.lp-ms__loading,
.lp-ms__empty {
    margin: 0;
    padding: 18px 14px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--lp-muted);
    line-height: 1.7;
}


/* =============================================
   閲覧履歴（案B: 枠なし・区切り線だけ）
   toppage-lp.css の末尾に、このまま追記してください。
   既存のセレクタは触っていません。

   PC = 4件を1列。5件目以降はDOMに残したまま隠す
   SP = 同じ見た目のまま8件を横スライド
   ============================================= */
.lp-hist__clear {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lp-muted);
    font-family: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.18s ease;
}

.lp-hist__clear:hover {
    color: var(--lp-gold-light);
}

.lp-hist__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

/* PCは5件まで。6件目以降はSP用に出力してあるので隠すだけ */
.lp-hist__list > .lp-hist__item:nth-child(n+6) {
    display: none;
}

.lp-hist__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 14px;
    min-width: 0;
}

/* 5件目の右には線を引かない */
.lp-hist__list > .lp-hist__item:nth-child(5) {
    border-right: 0;
}
.lp-hist__item:hover .lp-hist__name {
    color: var(--lp-gold-light);
}

.lp-hist__avatar {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #241d21;
    border: 1px solid var(--lp-line);
}

.lp-hist__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 縦長の写真を正円で抜くと顎から下だけになりがちなので上寄せ */
    object-position: center 25%;
}

.lp-hist__box {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-hist__name {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.lp-hist__age {
    margin-left: 2px;
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--lp-dim);
}

.lp-hist__spec {
    font-size: 1.2rem;
    color: var(--lp-muted);
    color: var(--lp-dim);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lp-hist__shop {
    font-size: 1.1rem;
    color: var(--lp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* =============================================
   SP
   ============================================= */
@media (max-width: 767.98px) {

    .lp-inner {
        padding: 0 12px;
    }

    /* ---- ヒーロー ---- */
    .lp-hero {
        border-radius: 0;
    }

    .lp-hero__bg {
        background-position: 62% top;
        background-size: 160% auto;
    }

    .lp-hero__scrim {
        background: linear-gradient(180deg, rgba(13, 10, 12, 0.72) 0%, rgba(13, 10, 12, 0.28) 22%, rgba(13, 10, 12, 0.72) 52%, var(--lp-bg) 78%);
    }

    .lp-hero__inner {
        padding-top: 32px;
        padding-bottom: 10px;
    }

    .lp-hero__eyebrow {
        margin-bottom: 12px;
        font-size: 1.4rem;
    }

    .lp-hero__logo {
        margin-bottom: 12px;
        font-size: 3.8rem;
    }

    .lp-hero__lead {
        font-size: 1.3rem;
    }

    /* 背景写真を見せるために検索ボタンを下げる。実画像を入れて要調整 */
    .lp-search {
        gap: 10px;
    }
    .lp-hb {
        margin: 0;
    }
    .lp-search__btn {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 18px 10px;
        text-align: center;
    }

    .lp-search__icon {
        font-size: 3.4rem;
    }

    .lp-search__label {
        font-size: 1.5rem;
    }

    .lp-search__sub {
        font-size: 1.1rem;
    }

    .lp-feats {
        margin-top: 10px;
        padding: 12px;
    }

    .lp-feats__head {
        font-size: 1.35rem;
    }

    .lp-feats__count {
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .lp-feats__count b {
        font-size: 1.2rem;
    }

    .lp-feats__body {
        max-width: none;
        font-size: 1.2rem;
        line-height: 1.9;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 開いた状態。input が body より前にあるので兄弟セレクタで効く */
    .lp-feats__toggle:checked ~ .lp-feats__body {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .lp-feats__more {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 6px;
        font-size: 1.15rem;
        color: var(--lp-gold-light);
        cursor: pointer;
    }

    .lp-feats__more i {
        font-size: 1rem;
    }
    /* 閉じているときは「続きを見る」だけ、開いたら「閉じる」だけ出す */
    .lp-feats__more-close {
        display: none;
    }

    .lp-feats__toggle:checked ~ .lp-feats__more .lp-feats__more-open {
        display: none;
    }

    .lp-feats__toggle:checked ~ .lp-feats__more .lp-feats__more-close {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .lp-ms__search {
        margin-bottom: 18px;
    }

    .lp-ms__hit {
        padding: 10px 12px;
    }

    .lp-ms__hit-name {
        font-size: 1.3rem;
    }

    /* 結果が伸びてもモーダルの中で収まるようにする。
       .lp-ms__body 側がスクロールするので高さは制限しない */
    .lp-ms__results {
        margin-top: 8px;
    }

    /* ---- バナー（SPは1枚ずつ。ループとフリックはPCと同じ） ---- */
    .lp-hb__track {
        column-gap: 10px;
    }

    .lp-hb__slide {
        flex: 0 0 100%;
    }

    /* ---- セクション ---- */
    .lp-sec {
        padding-top: 25px;
    }

    .lp-sec__title {
        font-size: 1.7rem;
    }

    /* ---- ランキング（SPは横スライドをやめて縦積みの1ブロック） ----
       カードで1店舗ずつ区切らず、編集部ニュースと同じ行レイアウトにする。
       枠と背景を外し、区切り線だけで並べる */

    /* ---- ② ランキングカード ---- */
    .lp-rcard__point {
        font-size: 1.05rem;
    }
    .lp-sec__note-at{
        font-size: 1.1rem;
    }
    .lp-rcard__point b {
        font-size: 1.35rem;
    }

    .lp-rcard__chg {
        font-size: 1.05rem;
    }

    .lp-rcard__chg i {
        font-size: 1.35rem;
    }

    /* ---- ③ 閲覧履歴の店名 ---- */
    .lp-hist__shop {
        font-size: 1rem;
    }
    .lp-rail__arrow {
        display: none;
    }

    .lp-rail__track {
        flex-direction: column;
        column-gap: 0;
        overflow-x: visible;
        scroll-snap-type: none;
        margin: 0;
        padding: 0;
    }

    .lp-rcard {
        width: 100%;
        flex-direction: row;
        gap: 12px;
        padding: 12px 0;
        border: 0;
        border-bottom: 1px solid var(--lp-line);
        border-radius: 0;
        background: none;
    }

    /* SPは5位まで。6位以降はDOMには残すが表示しない
       （lazy 画像なので隠したぶんは読み込まれない） */
    .lp-rail__track > .lp-rcard:nth-child(n+6) {
        display: none;
    }

    .lp-rcard:first-child {
        padding-top: 0;
    }

    .lp-rail__track > .lp-rcard:nth-child(5) {
        border-bottom: 0;
    }

    .lp-rcard:hover {
        border-color: var(--lp-line);
    }

    .lp-rcard__thumb {
        flex: 0 0 100px;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
        overflow: hidden;
    }

    .lp-rcard__body {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
        gap: 4px;
        justify-content: center;
    }

    .lp-rcard__head {
        width: 100%;
        gap: 6px;
    }

    .lp-rcard__badge {
        width: 30px;
        height: 30px;
    }

    .lp-rcard__badge--num {
        font-size: 1.4rem;
    }

    .lp-rcard__name {
        font-size: 1.35rem;
    }

    .lp-rcard__area {
        font-size: 1.15rem;
    }

    /* ---- セラピストは2列×3行＝6人（PCで隠した6人目を戻す） ---- */


    /* ---- ニュースは左サムネの行 ---- */
    .lp-news {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lp-ncard {
        flex-direction: row;
        gap: 12px;
        padding: 12px 0;
        border: 0;
        border-bottom: 1px solid var(--lp-line);
        border-radius: 0;
        background: none;
    }

    .lp-ncard:first-child {
        padding-top: 0;
    }

    .lp-ncard:last-child {
        border-bottom: 0;
    }

    .lp-ncard__thumb {
        flex: 0 0 96px;
        aspect-ratio: 1 / 1;
    }

    /* ---- エリア ---- */
    .lp-area__panel {
        padding: 14px;
    }

    .lp-prefs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .lp-pref {
        padding: 12px 6px;
        font-size: 1.4rem;
    }

    .lp-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .lp-block {
        padding: 10px 11px;
        font-size: 1.25rem;
    }

    .lp-block-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }

    /* ---- 初めての方へ ---- */
    .lp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lp-stat {
        padding: 14px 10px;
    }

    .lp-stat__num {
        font-size: 2.4rem;
    }

    .lp-guide {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lp-as__tabs {
        gap: 5px;
        margin-bottom: 12px;
    }

    .lp-as__tab {
        padding: 8px 12px;
        font-size: 1.15rem;
    }

    /* SPは1列。県カードが縦に積まれる */
    .lp-as__panel.is-active {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lp-as__pref-head {
        padding: 10px 12px;
    }

    .lp-as__pref-name {
        font-size: 1.35rem;
    }

    .lp-as__cities {
        padding: 8px 10px;
        gap: 4px;
    }

    .lp-as__city {
        font-size: 1.1rem;
        padding: 5px 9px;
    }

    /* ---- エリア検索モーダル（SPは下からせり上がる） ---- */
    .lp-ms {
        align-items: flex-end;
        padding: 0;
    }

    .lp-ms__panel {
        max-width: none;
        max-height: 88vh;
        border-radius: 16px 16px 0 0;
        border-bottom: 0;
        transform: translateY(100%);
        transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
    }

    .lp-ms.is-open .lp-ms__panel {
        transform: translateY(0);
    }

    .lp-ms__handle {
        display: block;
        width: 40px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
    }

    .lp-ms__head {
        padding: 12px 16px;
    }

    .lp-ms__title {
        font-size: 1.5rem;
    }

    .lp-ms__body {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    /* 人気エリアは3列（東京・神奈川・大阪 / 愛知・福岡） */
    .lp-ms__majors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .lp-ms__major {
        padding: 12px 4px;
        font-size: 1.4rem;
    }

    /* 地方は縦積みのアコーディオン */
    .lp-ms__regions {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lp-ms__rpanel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }

    .lp-ms__foot {
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    }
    /* SPは2件見せ。3件目はアイコンの左端が少し覗くだけにしてある */
    .lp-hist__list {
        display: flex;
        column-gap: 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin: 0 -12px;
        padding: 0 12px 4px;
    }

    .lp-hist__list::-webkit-scrollbar {
        display: none;
    }

    .lp-hist__list > .lp-hist__item:nth-child(n+6) {
        display: flex;
    }

    .lp-hist__item {
        flex: 0 0 auto;
        /* 幅と margin を足して1件ぶん。2件で96%を使い、
           残った4%（390px幅で約15px）に3件目のアイコンが覗く */
        width: calc(48% - 10px);
        gap: 5px;
        padding-right: 8px;
        scroll-snap-align: start;
    }

    /* PC用に5件目で切っていた線を戻し、最後の1件だけ線を消す */
    .lp-hist__list > .lp-hist__item:nth-child(5) {
        border-right: 1px solid var(--lp-line);
    }

    .lp-hist__list > .lp-hist__item:last-child {
        border-right: 0;
        margin-right: 0;
    }

    .lp-hist__avatar {
        width: 70px;
        height: 70px;
    }

    .lp-hist__name {
        font-size: 1.25rem;
    }

    /* スリーサイズは1行固定。
       アイコンを大きくしたぶん残り幅が90px前後しかないので、
       字間を詰めて数字を等幅にしないと入りきらない */
    .lp-hist__spec {
        font-size: 0.9rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lp-hist__shop {
        font-size: 1rem;
    }

}

/* 動きが苦手なユーザー向け */
@media (prefers-reduced-motion: reduce) {

    .lp-hb__track,
    .lp-rcard,
    .lp-tcard,
    .lp-ncard,
    .lp-search__btn {
        transition: none;
    }
}
