/* デザイントークン(web/のモックと同じ配色・書体) */
:root {
  --g900: #28443B;
  --g700: #3E6B5B;
  --g500: #5E8B78;
  --g100: #E4EDE7;
  --coral: #E8845E;
  --coral6: #D96D4B;
  --coral1: #FBE9E0;
  --ink: #2B2B28;
  --gray: #6E6A63;
  --line: #E7E1D8;
  --cream: #FAF7F2;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
}
a { color: var(--g700); }
h1, h2 { font-family: var(--serif); letter-spacing: .02em; color: var(--g900); }
h1 { font-size: 26px; }
h2 { font-size: 19px; margin: 32px 0 10px; }

/* ヘッダー・フッター */
:root { --site-header-h: 74px; }   /* 地図画面の高さ計算に使う。ヘッダーの余白を変えたらここも直す */
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.gnav { display: flex; gap: 14px; font-size: 13px; font-weight: 700; }
.gnav a { text-decoration: none; color: var(--ink); }
.gnav a:hover { color: var(--g700); }
.logo-link { text-decoration: none; }
.logo {
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--g900);
  letter-spacing: .04em;
}
/* ロゴ案A: ピラティス+スイッチが共有する「ス」だけコーラルにする */
.logo .s { color: var(--coral6); }
.logo small {
  display: block; font-family: var(--sans); font-size: 9px; font-weight: 400;
  color: var(--gray); letter-spacing: .12em;
}
.site-footer {
  border-top: 1px solid var(--line); margin-top: 56px; padding: 20px;
  font-size: 12px; color: var(--gray);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

main, .wrap { max-width: 860px; margin: 0 auto; padding: 24px 20px 40px; }

/* 一覧: 絞り込み */
.filters { font-size: 13px; color: var(--gray); margin: 0; }
/* 「エリア:」と「絞り込み:」の見出し幅をそろえ、チップの左端を縦に並べる */
.filters .lbl, .area-chips .lbl { display: inline-block; min-width: 4.9em; }
.filters a {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: 12px; margin: 2px 2px 2px 0;
}
/* 選択中の絞り込みは緑+チェック。エリア(黒・1つだけ選ぶ)と見分けられるようにする */
.filters a.on { background: var(--g700); color: #fff; border-color: var(--g700); padding-left: 9px; }
.filters a.on .ico { width: 1em; height: 1em; margin-right: 3px; stroke-width: 2.6; vertical-align: -.14em; }
.filters a.filters-reset { border: 0; background: none; color: var(--gray); text-decoration: underline; padding: 3px 4px; }

/* 一覧: 件数と並び替え。並び替えは「1つだけ選ぶ」ものなのでプルダウンにする */
.result-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.result-count { margin-right: auto; font-size: 13px; color: var(--gray); font-variant-numeric: tabular-nums; }
.sort-menu { position: relative; }
.sort-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 10px 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 12.5px; color: var(--ink);
}
.sort-menu summary::-webkit-details-marker { display: none; }
.sort-menu summary:hover, .sort-menu[open] summary { border-color: var(--g700); }
.sort-menu .sort-lbl { color: var(--gray); }
.sort-menu summary .ico-sort { color: var(--gray); }
.sort-menu summary .ico-chevron { width: 1.05em; height: 1.05em; color: var(--gray); transition: transform .15s; }
.sort-menu[open] summary .ico-chevron { transform: rotate(180deg); }
.sort-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(26,26,24,.14);
}
.sort-list a {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px;
  font-size: 13px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.sort-list a:hover { background: var(--g100); }
.sort-list a .ico { width: 1.05em; height: 1.05em; stroke-width: 2.4; visibility: hidden; color: var(--g700); }
.sort-list a.on { font-weight: 700; color: var(--g700); }
.sort-list a.on .ico { visibility: visible; }
@media (max-width: 560px) {
  .sort-list a { padding: 11px 10px; }
}

/* 一覧: 「この条件を共有」(左)と「この条件で地図を見る」(右)を1行に並べる */
.list-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 14px 0; }
.list-actions .share-link { margin: 0; flex: 1; min-width: 0; }
.list-actions .list-map { flex: none; margin-left: auto; white-space: nowrap; }
/* 左は<button>、右は<a>で既定の高さが違うので、高さを明示して揃える */
.list-actions .btn { box-sizing: border-box; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 560px) {
  /* スマホでは地図へのボタンを画面下に浮かべる(.map-fab)ので、ここのボタンは出さない */
  .list-actions .list-map { display: none; }
}

/* スマホ用: 画面下に浮かべる「地図で見る」 */
.map-fab { display: none; }
@media (max-width: 560px) {
  .map-fab {
    /* 右下に置く(親指で押しやすい位置)。iPhoneのホームバーと画面の縁は避ける */
    position: fixed; z-index: 40;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    padding: 12px 20px; border-radius: 999px;
    background: var(--g700); color: #fff; text-decoration: none;
    font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 6px 18px rgba(26,26,24,.28), 0 1px 3px rgba(26,26,24,.2);
  }
  .map-fab:active { transform: scale(.97); }
  .map-fab .ico { width: 1.25em; height: 1.25em; stroke-width: 2; }
}

/* スタジオカード */
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin: 12px 0;
}
.scard h3 { margin: 0; font-size: 16px; }
.scard h3 a { color: var(--ink); text-decoration: none; }
.scard h3 a:hover { color: var(--g700); }
.scard .meta { font-size: 12.5px; color: var(--gray); margin: 2px 0 8px; }
.scard .meta b { color: var(--ink); }
.type {
  display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 8px;
  border-radius: 4px; background: var(--g100); color: var(--g900); margin-right: 4px;
}
.type.off { background: transparent; border: 1px solid var(--line); color: #B7B1A6; font-weight: 400; }
/* 料金は左、ボタン2つは右にまとめる。以前は3つを均等に配っていたので、
   料金の文字数によって「比較に追加」の位置がカードごとにずれていた */
.scard .foot { display: flex; justify-content: flex-end; align-items: center; margin-top: 10px; }
/* 料金の注記が長いときは料金の側で折り返す(ボタン2つが別々の行に割れないようにする) */
.scard .foot .price { flex: 1 1 0; min-width: 8em; }
.scard .foot .btn { flex: none; }
/* 「比較に追加」と「比較から外す」で幅が変わっても、左端がずれないようにする */
.scard .foot .compare-button { min-width: 118px; text-align: center; }
.price { font-size: 13px; color: var(--gray); }
.price b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* アイコン(app/helpers/icon_helper.rb)。自作の線画で、色は文字色に従う */
.ico {
  width: 1.2em; height: 1.2em; vertical-align: -.22em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.ls-btn .ico { width: 19px; height: 19px; stroke-width: 2; vertical-align: middle; }
.ls-clear .ico { width: 1em; height: 1em; vertical-align: -.14em; }
.btn.tel .ico { width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.btn {
  display: inline-block; padding: 8px 18px; border-radius: 999px; font-size: 13px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: var(--sans);
}
.btn-cta { background: var(--coral6); color: #fff; }
.btn-cta:hover { background: var(--coral); }
.btn-secondary { background: #fff; border: 1.5px solid var(--g700); color: var(--g700); }

/* 詳細 */
.d-meta { color: var(--gray); font-size: 13.5px; }
.d-meta b { color: var(--g700); }
table.detail { border-collapse: collapse; width: 100%; background: #fff; }
table.detail th, table.detail td { border: 1px solid var(--line); padding: 9px 13px; font-size: 13.5px; text-align: left; }
table.detail th { background: #F6F3EC; font-weight: 500; color: var(--gray); width: 34%; }
table.detail td b { font-variant-numeric: tabular-nums; }
.foot-note { font-size: 12px; color: var(--gray); margin-top: 24px; }

/* フォーム */
form label { display: block; font-size: 13px; font-weight: 700; margin-top: 14px; }
input[type=text], input[type=email], textarea, select {
  width: 100%; max-width: 480px; padding: 9px 12px; margin-top: 4px;
  border: 1px solid var(--line); border-radius: 8px; font-family: var(--sans); font-size: 14px;
  background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--g500); }
.errors { color: #B4502E; background: var(--coral1); padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.notice { background: var(--g100); color: var(--g900); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }


/* ── モック移植: ヒーロー ── */
.hero { text-align: center; padding: 34px 20px 6px; }
.hero h1 { font-size: 30px; line-height: 1.6; margin: 0 0 6px; }
.hero .sub { color: var(--gray); font-size: 13.5px; margin: 0; }
/* エリアページの見出し。キャッチコピーではなくエリア名と件数・料金の要約を出す */
.hero-area { text-align: left; max-width: 760px; margin: 0 auto; padding: 22px 16px 4px; }
.hero-area h1 { font-family: var(--serif); font-size: 24px; line-height: 1.5; margin: 0 0 8px; }
.hero-area .crumb { margin-bottom: 10px; }
.area-intro { font-size: 13.5px; line-height: 1.8; color: var(--ink); margin: 0 0 8px; }
.area-intro b { color: var(--g700); }
.area-stations, .station-chips { font-size: 12px; margin: 0 0 6px; }
.area-stations .lbl { color: var(--gray); margin-right: 4px; }
.area-stations a, .station-chips a {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: 12px; margin: 2px 2px 2px 0;
}
.d-meta .station-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── モック移植: ツールバー(スクロール追従) ── */
.al-toolbar {
  position: sticky; top: 0; background: var(--cream); z-index: 10;
  padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}

/* ── モック移植: サムネイル付きカード ── */
.scard { display: flex; gap: 16px; padding: 14px; }
/* 有料の広告枠であることの表示。景品表示法のステマ規制で、
   対価を得た優遇表示には広告と分かる明示が要る。無料の掲載許可には出さない */
.pr-badge {
  display: inline-block; vertical-align: middle; margin-right: 6px;
  padding: 1px 6px; border-radius: 4px;
  background: var(--g100, #EDEAE3); color: var(--g700, #3E6B5B);
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
}

/* 店の見た目(studios/_visual.html.erb)。入れ物の大きさは使う側のクラスが決め、
   中身の敷き方だけをここで決める。
     as-photo … 写真。切り抜いて敷き詰める
     as-logo  … ロゴ。切り抜くと文字が欠けるので全体を収めて余白を残す
     .fill    … 背景ごと画像になっているロゴ。これだけは敷き詰めてよい */
.as-photo { display: block; background: #EFEAE1 center/cover no-repeat; }

/* 画面には出さず、読み上げと検索エンジンにだけ伝える見出し(地図ページのh1など) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.as-logo { display: flex; align-items: center; justify-content: center; background-color: #fff; padding: 12px; overflow: hidden; }
.as-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.as-logo.dark { background-color: #3A3632; }
.as-logo.fill { padding: 0; }
.as-logo.fill img { width: 100%; height: 100%; object-fit: cover; }

.scard .thumb-link { flex: none; display: block; line-height: 0; }
.scard .thumb {
  width: 132px; height: 100px; border-radius: 8px; border: 1px solid var(--line);
}
.scard .body { flex: 1; min-width: 0; }
@media (max-width: 560px) {
  .scard { gap: 12px; }
  .scard .thumb { width: 96px; height: 84px; }
}

/* ── モック移植: 詳細ページ ── */
.crumb { font-size: 12px; color: var(--gray); margin: 0 0 14px; }
.crumb a { color: var(--gray); }
.d-head { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.d-head h1 { margin: 0 0 4px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.map-embed { width: 100%; height: 260px; border: 0; border-radius: 8px; margin-top: 8px; }
.near-title { margin-top: 40px; }

/* ── エリア一覧ページ ── */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.area-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; text-decoration: none; color: var(--ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  transition: border-color .15s, transform .15s;
}
.area-card:hover { border-color: var(--g500); transform: translateY(-1px); }
.area-card .an { font-weight: 700; font-size: 15px; }
.area-card .ac { font-size: 12px; color: var(--gray); font-variant-numeric: tabular-nums; }

.station-list { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 12px; }
.station-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.station-row:last-child { border-bottom: 0; }
.station-row .rank {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--g100); color: var(--g900);
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.station-row .sn { flex: 1; }
.station-row .sc { color: var(--gray); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* 詳細ページのギャラリー(1枚大 + 2枚小) */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; margin-top: 16px; }
.gallery .ph { height: 130px; border-radius: 8px; }
.gallery .ph.main { height: 130px; grid-row: span 1; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .ph.main { grid-column: span 2; height: 150px; } }

/* ── チーム内共有: 決めたいこと一覧(/team/decisions) ── */
.dec-wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 70px; }
.dec-wrap .eyebrow { font-size: 11.5px; letter-spacing: .16em; color: var(--g700); font-weight: 700; margin: 0 0 8px; }
.dec-wrap h1 { font-size: 28px; margin: 0 0 8px; }
.dec-wrap .lede { font-size: 13.5px; color: var(--gray); margin: 0; line-height: 1.9; }

.dec-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 24px 0 0; }
.dec-stats .stat { background: #fff; padding: 13px 15px; }
.dec-stats b { display: block; font-size: 21px; font-family: var(--serif); font-variant-numeric: tabular-nums; color: var(--g900); }
.dec-stats span { font-size: 11px; color: var(--gray); }
@media (max-width: 560px) { .dec-stats { grid-template-columns: repeat(2, 1fr); } }

.dec-h2 { font-size: 17px; margin: 40px 0 6px; }
.dec-sub { font-size: 12.5px; color: var(--gray); margin: 0 0 14px; }

.dec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 14px; margin-bottom: 12px; }
.dec.hot { border-left: 3px solid var(--coral6); }
.dec .dh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.dec .no { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--g100); color: var(--g900); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dec.hot .no { background: var(--coral1); color: #9a4a28; }
.dec h3 { font-size: 15.5px; margin: 0; font-weight: 700; }
.dec .who { margin-left: auto; font-size: 10.5px; background: var(--g100); color: var(--g700); font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.dec .bg { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.95; }
.dec .bg b { color: var(--ink); }
.dec .opts { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dec .opts li { font-size: 12.5px; background: #F8F6F1; padding: 7px 12px; border-radius: 6px; line-height: 1.8; }
.dec .opts b { color: var(--g900); }
.dec .link { font-size: 12px; margin: 10px 0 0; }

.done { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; }
.done li { font-size: 13px; color: var(--gray); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; }
.done li::before { content: "✓"; color: var(--g700); font-weight: 700; margin-right: 8px; }
.done b { color: var(--ink); }

.dec-foot { font-size: 11.5px; color: var(--gray); margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); }

.pref-name { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--gray); margin: 22px 0 6px; }

/* ══ モバイル最適化(560px以下)。デスクトップの見た目は変えない ══ */

/* ヘッダー: ラベルの出し分け。既定は長いラベル */
.gnav .short { display: none; }

/* エリアチップの折りたたみ(details/summaryで組みJSは使わない) */
.area-chips { margin: 0 0 4px; }
.area-chips summary { list-style: none; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; cursor: default; }
.area-chips summary::-webkit-details-marker { display: none; }
.area-chips .lbl { font-size: 13px; color: var(--gray); }
.area-chips .chips-head, .area-chips .chips-rest { display: contents; }
.area-chips a {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: 12px; margin: 2px 2px 2px 0;
}
.area-chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.area-chips .more-areas {
  display: none; font-size: 12px; font-weight: 700; color: var(--g700);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-top: 6px;
  width: 100%; text-align: center; cursor: pointer;
}
.area-chips[open] .more-areas { display: none; }

/* 料金プラン: 種類ごとにまとめ、プラン名→金額の縦並びにする */
.plan-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.plan-group .pg-head {
  background: #F6F3EC; padding: 9px 16px; font-size: 12px; font-weight: 700;
  color: var(--gray); display: flex; justify-content: space-between;
}
.plan { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.plan .pl { font-size: 13.5px; }
.plan .pn { display: block; font-size: 11.5px; color: var(--gray); }
.plan .py { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-more { border-top: 1px solid var(--line); }
.plan-more summary { padding: 10px 16px; font-size: 12.5px; font-weight: 700; color: var(--g700); cursor: pointer; }
.plan-more .plan:first-of-type { border-top: 1px solid var(--line); }

/* 下部固定CTA(モバイルのみ表示) */
.sticky-cta { display: none; }

@media (max-width: 560px) {
  /* ── ヘッダーを1行に収める ── */
  .site-header { padding: 10px 14px; }
  :root { --site-header-h: 62px; }
  .logo { font-size: 15px; white-space: nowrap; }
  .logo small { font-size: 8px; letter-spacing: .08em; }
  .gnav { gap: 6px; }
  .gnav .full { display: none; }
  .gnav .short { display: inline; }
  /* 3つともアイコン付きにしたので、横に並べると375px幅からはみ出す。
     アイコンを上、文字を下に積んで幅を詰める(高さは以前と同じ41pxに収める) */
  .gnav a {
    border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px 3px; min-width: 50px;
    font-size: 10.5px; line-height: 1.25; white-space: nowrap; color: var(--g700); text-align: center;
  }
  .gnav a .ico { display: block; width: 17px; height: 17px; margin: 0 auto 2px; }

  /* ── エリアチップは選択中+上位6件だけ。残りは開閉 ── */
  .area-chips:not([open]) .chips-rest { display: none; }
  .area-chips .more-areas { display: block; }
  .area-chips[open] summary .more-areas { display: block; }
  .area-chips[open] .more-areas::after { content: "を閉じる"; }
  .area-chips a { padding: 7px 13px; font-size: 12.5px; }  /* タップ領域を広げる */

  .hero { padding: 22px 20px 4px; }
  .hero h1 { font-size: 23px; }

  /* ── 詳細: 見出しを詰め、CTAは下部固定に ── */
  .d-head { padding: 18px 16px; }
  .d-head h1 { font-size: 20px; }
  .cta-row { display: none; }        /* 上部のCTAは固定バーに集約 */
  main { padding-bottom: 84px; }     /* 固定バーぶんの余白 */

  .sticky-cta {
    display: flex; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    backdrop-filter: blur(6px);
  }
  .sticky-cta .btn-cta { flex: 1; text-align: center; padding: 13px; font-size: 14px; }
  .sticky-cta .tel { padding: 13px 16px; font-size: 16px; line-height: 1; }

  /* カード: 料金とボタンが窮屈なので縦に積む */
  .scard { padding: 12px; gap: 12px; }
  .scard .thumb { width: 92px; height: 82px; }
  .scard h3 { font-size: 15px; }
  .scard .foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .scard .foot .price { flex: none; }
  .scard .foot .btn { text-align: center; white-space: nowrap; padding: 10px 16px; }
  .scard .price b { font-size: 17px; }

  /* 料金・基本情報テーブルの余白を詰める */
  table.detail th { width: 38%; padding: 8px 10px; font-size: 12.5px; }
  table.detail td { padding: 8px 10px; font-size: 13px; }
  .plan { padding: 10px 13px; }
  .plan-group .pg-head { padding: 8px 13px; }

  /* 入力欄はiOSの自動ズームを避けるため16px以上にする */
  input[type=text], input[type=email], textarea, select { font-size: 16px; }
}

/* 一覧の「もっと見る」(30件ずつ追加) */
.more-wrap { text-align: center; padding: 20px 0 6px; }
.more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--g700); color: var(--g700);
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 13px 34px; border-radius: 999px;
}
.more-btn:hover { background: var(--g100); }
.more-btn .rest { font-weight: 400; font-size: 12px; }
.more-note { font-size: 11.5px; color: var(--gray); margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.more-note b { color: var(--ink); }
.list-end { text-align: center; padding: 20px 0; font-size: 12.5px; color: var(--gray); }
.list-end .line { display: block; border-top: 1px solid var(--line); margin-bottom: 14px; }

@media (max-width: 560px) {
  .more-btn { width: 100%; justify-content: center; padding: 15px; box-sizing: border-box; }
}

/* 一覧のキーワード検索 */
.list-search { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ls-input { flex: 1; max-width: 420px; font-family: inherit; font-size: 16px; /* 16px未満はiOSがズームする */
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.ls-input:focus { outline: 2px solid var(--g500); outline-offset: 1px; }
.ls-btn { border: 0; background: var(--g700); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; cursor: pointer; flex: none; }
.ls-clear { font-size: 12px; color: var(--gray); white-space: nowrap; }
.list-empty { padding: 28px 0; }
.list-empty .hint { font-size: 12.5px; color: var(--gray); line-height: 1.9; }

/* 駅ページ */
.station-page { max-width: 760px; margin: 0 auto; padding: 22px 16px 40px; }
.station-page .bc { font-size: 11px; color: var(--gray); margin-bottom: 12px; }
.station-page .bc a { color: var(--gray); }
.station-page h1 { font-family: var(--serif); font-size: 22px; color: var(--g900); margin: 0; }
.station-sub { font-size: 12px; color: var(--gray); margin: 4px 0 12px; }

/* 地域だけの数字(市区町村ページ・駅ページ)。一覧の前に置く小さな箱 */
.area-stats { margin: 12px 0 10px; padding: 12px 14px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.area-stats h2 { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--g900); margin: 0 0 8px; }
.area-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; margin: 0; }
.area-stats-grid div { min-width: 0; }
.area-stats-grid dt { font-size: 11px; color: var(--gray); margin: 0 0 1px; }
.area-stats-grid dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.area-stats-grid dd b { font-size: 15px; color: var(--g700); font-weight: 700; }
.area-stats-grid dd b.none { color: var(--gray); font-weight: 400; }
.area-stats-grid dd small { font-size: 10.5px; color: var(--gray); margin-left: 2px; }
.area-stats-grid dd .sub { display: block; font-size: 11px; color: var(--gray); }
.area-stats-note { font-size: 11px; color: var(--gray); line-height: 1.8; margin: 8px 0 0; }
@media (max-width: 560px) { .area-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.station-note { font-size: 11.5px; color: var(--gray); line-height: 1.9; margin-top: 18px; }
.station-nearby { font-size: 12.5px; margin-top: 10px; }
.station-nearby a { margin-right: 10px; font-weight: 700; }
/* エリア一覧の駅ランキング(リンク化) */
a.station-row { text-decoration: none; color: inherit; }

/* 検索結果の回復導線 */
.map-empty{position:absolute;top:35%;left:50%;transform:translateX(-50%);width:min(90%,420px);padding:20px;background:white;border-radius:16px;z-index:5;box-shadow:0 4px 20px #0002}
.map-empty[hidden]{display:none}
.map-empty a{display:block;margin-top:12px}
.discovery-summary{margin:20px 0;padding:16px;background:var(--g50,#edf2ed);border-radius:12px}
.discovery-summary p{display:inline-block;margin:12px 18px 0 0}

.comparison-table-wrap{overflow-x:auto;margin:24px 0}
.comparison-table{border-collapse:collapse;width:100%;min-width:600px;table-layout:fixed}
.comparison-table th,.comparison-table td{padding:16px;border:1px solid #d9dfd9;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.comparison-table th{background:#edf2ed}
.comparison-table th:first-child{width:100px}
.comparison-table caption{text-align:left;padding:12px}
.comparison-table p{margin:0 0 12px}
.comparison-status:empty{display:none}
.comparison-status{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 20px;border-radius:12px;background:#28443b;color:white;z-index:1000;box-shadow:0 4px 16px #0003}
.scard .foot{flex-wrap:wrap;gap:8px}
.compare-button[aria-pressed="true"]{background:#d9e8dc}
@media(max-width:600px){.gnav{gap:8px}.compare-button{font-size:12px;padding:8px 12px}}

.mpin .ph{overflow:hidden}

.mcard .btn{white-space:nowrap}

.map-screen.map-failed .map-canvas::after{content:"地図の読み込みが遅れています。一覧から引き続き探せます。";padding:32px;text-align:center}
/* 共有URLはコピー拒否時にも手動で選択できる。 */
.share-link { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:14px 0; font-size:12px; }
.share-link details { max-width:100%; }
.share-link summary { cursor:pointer; }
.share-link label, .share-link small { display:block; margin-top:6px; }
.share-link input { display:block; width:min(420px, 70vw); max-width:100%; padding:8px; border:1px solid #b7b1a6; border-radius:6px; font:inherit; }

/* ── スマホ: 一覧を見られる範囲を広げる(2026-10-02) ──
   検索・エリア・絞り込み・並び替えをまとめて画面上部に貼り付けていたため、
   スクロール中も画面の半分以上(812pxのうち429px)を道具が占めていた。
   - 貼り付けるのは「件数と並び替え」の1行だけにする
   - エリアと絞り込みは折り返さず、それぞれ横スクロールの1行にする */
@media (max-width: 560px) {
  /* 箱を消して中身を main の直下に並べる。こうすると並び替えの行だけを貼り付けられる */
  .al-toolbar { display: contents; }
  .list-search { margin: 4px 0 10px; }
  .ls-input { max-width: none; }

  .area-chips:not([open]) summary, .filters {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 6px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 2px 20px;   /* 画面の端まで流して、続きがあると分かるようにする */
  }
  .area-chips:not([open]) summary::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
  .area-chips { margin: 0 0 6px; }
  .area-chips a, .filters a, .filters .lbl, .area-chips .lbl { flex: none; white-space: nowrap; margin: 0; }
  .filters .lbl, .area-chips .lbl { min-width: 0; margin-right: 2px; }
  .filters a { padding: 7px 13px; font-size: 12.5px; }      /* タップ領域をエリアと同じに */
  .filters a.on { padding-left: 10px; }
  /* 選択中の絞り込みは先頭に寄せる(横スクロールの外に隠れないように) */
  .filters .lbl { order: -2; }
  .filters a.on, .filters a.filters-reset { order: -1; }
  /* 「エリアをすべて見る」は行の最後のチップにする。開いたときは従来どおり下に全幅で出す */
  .area-chips:not([open]) .more-areas {
    display: inline-block; flex: none; width: auto; margin: 0; padding: 7px 13px;
    border-radius: 999px; font-size: 12.5px; white-space: nowrap;
  }

  .result-bar {
    position: sticky; top: 0; z-index: 10; background: var(--cream);
    margin: 8px -20px 0; padding: 8px 20px; border-bottom: 1px solid var(--line);
  }

  /* カード: 料金の下に、ボタン2つを横に並べる(縦に積むとカード1枚が50pxほど高くなる) */
  .scard .foot { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .scard .foot .price { flex: 1 1 100%; }
  .scard .foot .btn { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: 12.5px; }
  .scard .foot .compare-button { min-width: 0; }

  .list-actions { margin: 12px 0; }
}

/* 体験レッスンの申込 */
.trial-link { margin: 12px 0 0; font-size: 13px; }
.trial-link a { font-weight: 700; color: var(--g700); }
.trial-link span { display: block; color: var(--gray); font-size: 12px; margin-top: 2px; }
.trial-form { max-width: 640px; }
.trial-form .lede { font-size: 14px; color: var(--ink); }
.trial-studio { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin: 10px 0 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.trial-form input[type=text], .trial-form input[type=email], .trial-form input[type=tel], .trial-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.trial-form input[type=tel] { font-family: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid #b7b1a6; border-radius: 8px; background: #fff; }
.trial-form .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.trial-form .consent input { margin-top: 3px; }
.form-errors { color: #B4502E; background: #FBE9E0; border-radius: 8px; padding: 8px 14px; font-size: 13px; }
.form-errors ul { margin: 0; padding-left: 18px; }


/* ══ コラム(記事コーナー)と「掲載データについて」 ══ */
.column-page { max-width: 760px; }
.column-page article h1 { font-size: 24px; line-height: 1.45; text-wrap: balance; }
.column-page .lede { font-size: 15px; }
.column-draft { margin: 0; padding: 10px 20px; background: #FBE9E0; color: #9a4a28; font-size: 13px; text-align: center; }
.column-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.column-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.column-list a { font-weight: 700; font-size: 16px; color: var(--ink); }
.column-list p { margin: 6px 0 0; font-size: 13.5px; color: var(--gray); }
.column-kind { display: inline-block; font-size: 11px; font-weight: 700; color: var(--g700); background: var(--g100); border-radius: 4px; padding: 1px 8px; margin-right: 8px; }
.column-summary { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--g700); border-radius: 10px; padding: 14px 18px; margin: 18px 0 24px; }
.column-summary-title { margin: 0 0 6px; font-weight: 700; color: var(--g700); }
.column-summary ul { margin: 0; padding-left: 20px; }
.column-summary li { margin: 4px 0; }
.column-table-wrap { overflow-x: auto; }
.column-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.column-table th, .column-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: right; white-space: nowrap; }
.column-table th:first-child { text-align: left; }
.column-table thead th { background: var(--g50, #edf2ed); font-size: 13px; }
.column-table small { display: block; font-size: 11px; color: var(--gray); font-weight: 400; }
.column-table tr.total th, .column-table tr.total td { background: #F6F3EC; font-weight: 700; }
.column-note { font-size: 12.5px; color: var(--gray); }
.column-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.column-method li, .column-steps li { margin: 6px 0; }

/* コラム「料金相場」の見やすさ重視版(pilates-price-guide)。大きな数字のカード・横棒・料金の幅の帯・手順・Q&A */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px; }
.pg-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g700); border-radius: 10px; padding: 12px 14px 10px; }
.pg-card p { margin: 0; }
.pg-who { font-size: 11px; color: var(--g700); font-weight: 700; }
.pg-label { font-size: 13.5px; font-weight: 700; margin-top: 2px; }
.pg-value { margin-top: 4px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pg-value b { font-family: var(--serif); font-size: 30px; color: var(--g900); }
.pg-value b.none { color: var(--gray); font-weight: 400; }
.pg-value span { font-size: 13px; margin-left: 2px; }
.pg-count { font-size: 11px; color: var(--gray); margin-top: 2px; }
.pg-hint { font-size: 12px; color: var(--ink); margin-top: 6px; line-height: 1.6; border-top: 1px dashed var(--line); padding-top: 6px; }
.pg-bars { display: grid; gap: 10px; margin: 12px 0 6px; }
.pg-bar { display: grid; grid-template-columns: 7.5em 1fr 6em; align-items: center; gap: 10px; font-size: 13.5px; }
.pg-bar-label small, .pg-bar-value small { display: block; font-size: 10.5px; color: var(--gray); font-weight: 400; }
.pg-bar-track { position: relative; height: 18px; background: var(--g100); border-radius: 9px; overflow: hidden; }
.pg-bar-track i { display: block; height: 100%; background: var(--g700); border-radius: 9px; }
.pg-bar-track em, .pg-range-track em { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: var(--gray); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-bar-value { text-align: right; font-variant-numeric: tabular-nums; }
.pg-ranges { display: grid; gap: 14px; margin: 12px 0 6px; }
.pg-range { display: grid; grid-template-columns: 7.5em 1fr; grid-template-areas: "label track" "label nums"; gap: 2px 10px; align-items: center; font-size: 13.5px; }
.pg-range-label { grid-area: label; font-weight: 700; }
.pg-range-track { grid-area: track; position: relative; height: 16px; background: var(--g100); border-radius: 8px; }
.pg-range-track i { position: absolute; top: 0; height: 100%; background: var(--g500); border-radius: 8px; }
.pg-range-track u { position: absolute; top: 50%; width: 14px; height: 14px; margin-left: -7px; transform: translateY(-50%); background: #fff; border: 3px solid var(--g900); border-radius: 50%; text-decoration: none; }
.pg-range-nums { grid-area: nums; font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pg-range-nums small { color: var(--gray); }
.pg-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pg-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pg-step-no { width: 30px; height: 30px; border-radius: 50%; background: var(--g700); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.pg-steps b { font-size: 14.5px; }
.pg-steps p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; }
.pg-faq { display: grid; gap: 8px; margin-top: 12px; }
.pg-faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.pg-faq summary { cursor: pointer; padding: 11px 0; font-weight: 700; font-size: 14px; list-style: none; position: relative; padding-right: 24px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; right: 2px; top: 9px; color: var(--g700); font-size: 18px; }
.pg-faq details[open] summary::after { content: "−"; }
.pg-faq p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; }
@media (max-width: 560px) {
  .pg-cards { grid-template-columns: 1fr; }
  .pg-card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who value" "label value" "count value" "hint hint"; column-gap: 12px; }
  .pg-who { grid-area: who; } .pg-label { grid-area: label; } .pg-count { grid-area: count; } .pg-hint { grid-area: hint; }
  .pg-value { grid-area: value; align-self: center; }
  .pg-bar { grid-template-columns: 6em 1fr 5.5em; }
  .pg-range { grid-template-columns: 6em 1fr; }
}

/* コラム「グラフで見る料金」(pilates-price-charts)。SVGはサーバー側で描く(ChartHelper)。色は数字の意味で固定 */
figure.chart { margin: 14px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 8px; }
figure.chart svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
figure.chart figcaption { font-size: 12.5px; color: var(--gray); line-height: 1.7; margin-top: 6px; }
figure.chart figcaption b { color: var(--ink); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink); margin: 0 0 6px; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
details.chart-data { margin-top: 6px; font-size: 12.5px; }
details.chart-data summary { cursor: pointer; color: var(--g700); }
details.chart-data table { margin-top: 6px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
details.chart-data th, details.chart-data td { border: 1px solid var(--line); padding: 4px 10px; text-align: right; white-space: nowrap; }
details.chart-data th:first-child, details.chart-data td:first-child { text-align: left; }

/* スタジオ向けの掲載ガイド(/for-studios)。営業で送る1枚。印刷してPDFにもする */
.guide-page .lede { font-size: 15.5px; }
.guide-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0 22px; }
.guide-box h2 { margin-top: 0; }
.guide-cols { columns: 2; column-gap: 24px; padding-left: 20px; margin: 8px 0; }
.guide-cols li { break-inside: avoid; margin: 3px 0; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 6px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g700); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.guide-card b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.guide-card p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink); }
.guide-flow { padding-left: 22px; margin: 10px 0; }
.guide-flow li { margin: 6px 0; }
.guide-contact { text-align: center; background: var(--g100); border-radius: 12px; padding: 18px 16px; margin-top: 24px; }
.guide-contact h2 { margin-top: 0; }
@media (max-width: 640px) { .guide-cards { grid-template-columns: 1fr 1fr; } .guide-cols { columns: 1; } }
@media (max-width: 420px) { .guide-cards { grid-template-columns: 1fr; } }
@media print {
  .site-header, .site-footer, .crumb, .guide-contact .btn, .sticky-cta { display: none !important; }
  .guide-page { max-width: none; padding: 0; }
  .guide-card, .guide-box, .pg-steps li, .pg-faq details { break-inside: avoid; border-color: #bbb; }
  .pg-faq details { display: block; }
  .pg-faq details > * { display: block; }   /* 印刷では質問と答えを全部出す */
  .pg-faq summary::after { content: ""; }
  a { color: inherit; text-decoration: none; }
}
/* 掲載ガイドの画面イメージと写真・ロゴの例 */
.guide-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 8px; }
.guide-shots figure { margin: 0; min-width: 0; }
.guide-shots img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.guide-shots figcaption, .guide-photos figcaption { font-size: 12px; color: var(--gray); line-height: 1.6; margin-top: 6px; }
.guide-shots figcaption b, .guide-photos figcaption b { color: var(--ink); }
.guide-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 12px; }
.guide-photos figure { margin: 0; min-width: 0; }
.guide-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.guide-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-specs > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.guide-specs b { display: block; margin-bottom: 4px; }
.guide-specs ul { padding-left: 18px; font-size: 13px; }
.guide-logo-demo { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; }
.guide-logo-demo .lg { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--g700); background: var(--g900); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }   /* 例のロゴが白抜きなので濃い背景 */
.guide-logo-demo .lg img { width: 80%; height: 80%; object-fit: contain; }
.guide-logo-demo small { font-size: 11.5px; color: var(--gray); }
@media (max-width: 720px) { .guide-shots { grid-template-columns: 1fr 1fr; } .guide-specs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .guide-photos { grid-template-columns: 1fr; } .guide-photos img { aspect-ratio: 16 / 9; } }

/* チェーン・区×形式のページと、そこへのリンク(2026-10-23。Flipper seo_pages) */
.seo-preview-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: #9a4a28; background: #FBE9E0; border-radius: 4px; padding: 1px 7px; margin: 0 0 4px; }
.seo-links { margin: 6px 0 8px; }
.home-seo-links { max-width: 860px; margin: 0 auto; padding: 4px 20px 0; }
.brand-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.brand-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.brand-list a b { font-size: 15px; }
.brand-list a span { font-size: 12.5px; color: var(--gray); white-space: nowrap; }
.brand-areas { font-size: 12px; margin: 4px 0 10px; }
.brand-areas .lbl { color: var(--gray); margin-right: 4px; }
.brand-areas a { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; margin: 2px 2px 2px 0; }
.brand-city { margin-top: 22px; }
.brand-city h2 { font-size: 17px; margin: 0 0 8px; }
.brand-city h2 small { font-size: 12px; color: var(--gray); font-weight: 400; margin-left: 6px; }
.brand-city-more { font-size: 12.5px; margin: 4px 0 0; }
.brand-link { margin: 18px 0 0; font-size: 13.5px; font-weight: 700; }

/* 店舗からの掲載情報の申請フォーム(/for-studios/apply) */
.submission-form fieldset { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px 10px; margin: 16px 0; min-width: 0; }
.submission-form legend { font-weight: 700; padding: 0 6px; color: var(--g900); }
.submission-form .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.submission-form label { display: block; font-size: 13px; color: var(--ink); min-width: 0; }
.submission-form .full { grid-column: 1 / -1; }
.submission-form input[type=text], .submission-form input[type=url], .submission-form input[type=email], .submission-form input[type=tel],
.submission-form input[type=number], .submission-form select, .submission-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px 11px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.submission-form input[type=file] { display: block; margin-top: 6px; font-size: 13px; max-width: 100%; }
.submission-form .flabel { font-size: 13px; margin: 12px 0 4px; }
.submission-form .checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 6px; }
.submission-form .checks label, .submission-form .consents label { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; }
.submission-form .consents label { margin: 6px 0; line-height: 1.6; }
.submission-form .req { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--coral6); border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 1px; }
.submission-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border: 1px solid var(--coral); background: var(--coral1); border-radius: 10px; padding: 10px 14px; color: #9a4a28; }
.form-errors ul { margin: 4px 0 0; padding-left: 18px; }
@media (max-width: 560px) { .submission-form .fgrid { grid-template-columns: 1fr; } }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.choose-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.choose-card h2 { font-size: 16px; margin: 0 0 6px; }
.choose-card p { font-size: 13.5px; }
.choose-search { display: flex; gap: 8px; margin: 10px 0; }
.choose-search input { flex: 1; min-width: 0; padding: 9px 11px; font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 8px; }
.choose-results { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.choose-results li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.choose-results li span { min-width: 0; }
.choose-results small { display: block; color: var(--gray); font-size: 12px; }
.choose-results .btn { white-space: nowrap; flex: none; padding: 7px 14px; font-size: 13px; }
@media (max-width: 720px) { .choose-grid { grid-template-columns: 1fr; } .choose-results li { flex-direction: column; align-items: stretch; } }
/* 有料プランの案内(掲載ガイド・申請フォーム) */
.paid-cards { grid-template-columns: repeat(2, 1fr); }
.paid-cards ul { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; }
.paid-price { margin-top: 8px !important; font-weight: 700; color: var(--g700) !important; }
.submission-form .paid-option { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; font-size: 14px; line-height: 1.6; }
.submission-form .paid-option small { display: block; color: var(--gray); font-size: 12px; }
@media (max-width: 560px) { .paid-cards { grid-template-columns: 1fr; } }
.submission-page .verify-note { display: inline-block; margin-top: 6px; font-size: 13px; color: #9a4a28; }
/* 掲載ガイドの申請ボタン(冒頭と最後) */
.guide-apply { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; background: var(--coral1); border: 1px solid #f1c7b3; border-radius: 14px; padding: 16px 18px; margin: 16px 0 22px; }
.guide-apply-text { flex: 1 1 260px; min-width: 0; }
.guide-apply-text b { display: block; font-size: 16px; color: var(--ink); }
.guide-apply-text span { font-size: 13px; color: var(--ink); line-height: 1.7; }
.guide-apply-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; padding: 13px 26px; box-shadow: 0 2px 8px rgba(217, 109, 75, .25); }
.guide-apply-btn .ico { width: 16px; height: 16px; transform: rotate(-90deg); }
.guide-contact .guide-apply-btn { margin-bottom: 6px; }
.guide-contact-other { font-size: 13px; }
@media (max-width: 560px) { .guide-apply-btn { width: 100%; justify-content: center; } }
@media print { .guide-apply { display: none; } }
