/* biome-ignore-all lint/style/noDescendingSpecificity: 狭い方から書き、幅の @media で同じ部品を後から上書きする作り（部品ごとにまとめて並べる） */
/* 文字コードは配る見出し（text/css; charset=utf-8）で決まるので @charset は書かない */
/*
 * kderi.jp の公開ページの見た目（段 5-a。PC とスマホの 2 つの中身を 1 つにし、並びを幅で替える）。狭い方から書き、
 * 768px（看板・女性の列を増やす）と 1024px（今の PC の頭・ナビ）で替える。配色は旧の CDN の CSS と画像から写した。
 * 見出しの行・箱・地の模様は画像を使わず、グラデーション・線・影で描く（ユーザー 2026-12-01「タイトル部品などの画像でやっている
 * ところを CSS にして」「背景パーツも」）。画像はロゴ・店の画像・リンクバナーだけ（型紙の <img>）。
 * 上に固定する段（.bar）の高さは --bar-h（タブの頭・価格帯の見出し・コース名を、その下に止める）。
 */

/* ---- 土台（旧の CDN が読んでいた meyer reset の代わりの最小限） ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
dl,
dd,
table,
th,
td,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a.text {
  text-decoration: underline;
}
.text-ov-e {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:root {
  --bar-h: 48px;
  /* 金（文字・線）とこげ茶（地）。旧の CSS の色 */
  --gold: #d7ac78;
  --gold-light: #dfb791;
  --gold-text: #f0dcbc;
  --line: #9b7e57;
  --brown: #2c1e13;
  --dark: #211206;
  --text: #aa9077;
  /* 明朝の見出し（旧の見出しの画像の文字に近い書体） */
  --mincho: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  /* 革の地（旧の left_wrap_bg・content_1_banner_bg・gosuisen_bg1・menu_bg）: こげ茶に斜めの光の筋 */
  --leather: linear-gradient(115deg, #4a3826 0%, #2a1d12 30%, #4b3927 55%, #251a10 80%, #3d2e20 100%);
  /* 明るいサテンの地（旧の client_box_bg・price-range_client_bg）: ベージュに斜めの光の筋 */
  --satin: linear-gradient(115deg, #d5c3ab 0%, #f4ece0 25%, #d9c8b1 45%, #f5eee3 65%, #d3c1a9 100%);
  /* 銅色の地（旧の頭の bg1.jpg・女性の写真の cast_bg） */
  --copper: linear-gradient(170deg, #5c4c3c 0%, #9b876f 35%, #c2ae93 50%, #8a7560 70%, #4d3f32 100%);
}
body.has-tabs {
  --bar-h: 92px;
}

/* 最小の幅（旧のスマホの CSS と同じ 320px）。それより狭い画面は潰さずに横にスクロールする */
body {
  min-width: 320px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-family:
    "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
    Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  /* 狭い幅は旧のスマホと同じ明るいベージュの地（ユーザー 2026-12-01）。768px 以上は暗い革の色 */
  background: linear-gradient(90deg, #a8937a 0%, #cdbba2 4%, #ddd0bc 50%, #cdbba2 96%, #a8937a 100%) #cdbba2;
  overflow-wrap: anywhere;
}

/* ---- 見出しの行（「店舗新着ニュース」などの h2・店のページの h3・価格帯の「最低料金 ○円以上」・コース名） ---- */
h2.label {
  position: relative;
  background: linear-gradient(to bottom, #3a3330 0%, #1d1816 50%, #0f0c0b 100%);
  border-top: 2px solid #b8935a;
  border-bottom: 2px solid #b8935a;
  box-shadow:
    inset 0 1px 0 #5b4e44,
    0 2px 4px rgba(0, 0, 0, 0.45);
  padding: 10px 28px;
  font-family: var(--mincho);
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  color: var(--gold-text);
  text-shadow: 0 1px 0 #000;
  margin-bottom: 8px;
}
/* 左右の端の金の菱形（行の中に収める） */
h2.label::before,
h2.label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
h2.label::before {
  left: 10px;
}
h2.label::after {
  right: 10px;
}
.contents-center h3.title {
  background: linear-gradient(to bottom, #2f2721 0%, #15100d 100%);
  border-left: 4px solid var(--gold);
  border-bottom: 1px solid #b8935a;
  padding: 7px 12px;
  font-size: 16px;
  color: #caa887;
  font-weight: bold;
  margin-bottom: 6px;
}
.empty {
  padding: 20px 10px;
  text-align: center;
  color: #fff;
  background: var(--brown);
  border: 1px solid var(--line);
}

/* ---- 頭 ---- */
.site-title {
  background: #000105;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 8px;
}
.header-main {
  background: #000105;
}
.header-main .logo {
  display: none;
}
.header-panel a {
  display: block;
}
.header-panel img {
  display: block;
  width: 100%;
  max-width: 590px;
  margin: 0 auto;
}
/* 頭の文（「高級デリヘル検索サイト　高級店の約90%を網羅」「高級デリヘルの神髄がここに…」）。黒の札に金の文字 */
.header-lead {
  display: inline-block;
  background: linear-gradient(to bottom, #2b2522 0%, #0b0908 100%);
  border: 1px solid #6b5a46;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #000;
  padding: 4px 12px 6px;
  font-family: var(--mincho);
  color: var(--gold-text);
  text-shadow: 0 1px 0 #000;
  line-height: 1.3;
}
.header-lead .lead-sub,
.header-lead .lead-main {
  display: block;
}
.header-lead .lead-sub {
  font-size: 11px;
}
.header-lead .lead-main {
  font-size: 17px;
}
/* ほかのページの頭の文は 1024px 以上だけ（狭い幅でタブと本文が下がらないように） */
.header-panel .header-lead {
  display: none;
}

/* ---- ナビ（1024px 以上で頭の下に並べる。狭い幅は固定の段の「エリア」から開く） ---- */
.area-nav {
  display: none;
}
.nav-list .item .link,
.nav-list .item.disabled span {
  display: block;
  padding: 0 16px;
  height: 36px;
  line-height: 34px;
  font-size: 15px;
  color: var(--gold-light);
  background: var(--leather);
  border: 1px solid #5a4630;
  border-radius: 3px;
  margin-bottom: 3px;
}
.nav-list .item.disabled span {
  color: #8a7d72;
}
.nav-list .item .link[aria-current="page"] {
  color: #fff;
  font-weight: bold;
}

/* ---- 上に固定する段（ページの名前・タブ・狭い幅のロゴと「エリア」） ---- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000105;
  border-bottom: 1px solid var(--line);
}
.bar-main {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 6px;
}
.bar-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.bar-name {
  flex: 1;
  min-width: 0;
  color: var(--gold-light);
  font-size: 15px;
  font-weight: bold;
}
.bar-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold-light);
  padding: 4px 12px;
  white-space: nowrap;
}
.bar-menu summary::-webkit-details-marker {
  display: none;
}
.bar-menu summary::after {
  content: " ▼";
  font-size: 10px;
}
.bar-menu[open] summary::after {
  content: " ▲";
}
.bar-menu .nav-list {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  /* 画面の下の「電話する」「公式サイトへ」の段より上に出し、ブラウザの下のバーを除いた高さに収める */
  z-index: 21;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #000105;
  border-bottom: 1px solid var(--line);
  padding: 6px;
}
.bar-tabs {
  height: 44px;
  border-top: 1px solid #3f3835;
}
.tab-list {
  display: flex;
  height: 100%;
}
.tab {
  flex: 1;
  display: flex;
  /* 狭い幅で 2 行になるタブの名前は、言葉の切れ目（span）で折り返す */
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  color: var(--text);
  background: linear-gradient(to bottom, #43362d 0%, var(--dark) 100%);
  border-right: 1px solid #000105;
}
.tab span {
  flex: none;
}
.tab[aria-current="page"],
body:has(#tab-1:checked) .tab[for="tab-1"],
body:has(#tab-2:checked) .tab[for="tab-2"],
body:has(#tab-3:checked) .tab[for="tab-3"],
body:has(#tab-4:checked) .tab[for="tab-4"] {
  background: var(--gold);
  color: #000;
  font-weight: bold;
}
body:has(#tab-1:focus-visible) .tab[for="tab-1"],
body:has(#tab-2:focus-visible) .tab[for="tab-2"],
body:has(#tab-3:focus-visible) .tab[for="tab-3"],
body:has(#tab-4:focus-visible) .tab[for="tab-4"] {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

/* 金のボタン（電話する・ENTER など）と金の線のボタン（公式サイトへ・コース料金の詳細へ・退場） */
.action,
.button,
.button-course,
.enter,
.exit {
  display: block;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
}
.action.tel,
.enter {
  background: linear-gradient(to bottom, #f1d29c 0%, var(--gold) 50%, #b8935a 100%);
  border: 1px solid #f6e3bf;
  color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.action.official,
.button,
.button-course,
.exit {
  background: linear-gradient(to bottom, #4a3a2b 0%, #1d140c 100%);
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* 電話・公式サイト（狭い幅は画面の下に固定。1024px 以上は固定の段の右） */
.actions {
  position: fixed;
  left: 0;
  right: 0;
  min-width: 320px;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #000105;
  border-top: 1px solid var(--line);
}
.action {
  flex: 1;
  padding: 10px 4px;
  font-size: 15px;
}
body.has-actions {
  padding-bottom: 58px;
}

/* タブの中身（CSS だけで切り替える。ラジオボタンは見えない形で中身の頭に置く） */
.tab-input {
  display: block;
  appearance: none;
  width: 1px;
  height: 1px;
  margin: 0;
  border: 0;
  opacity: 0;
  scroll-margin-top: calc(var(--bar-h) + 6px);
}
.tab-panel {
  display: none;
}
.tab-input:checked + .tab-panel {
  display: block;
}
[id] {
  scroll-margin-top: calc(var(--bar-h) + 6px);
}

/* ---- パンくず ---- */
.breadcrumb {
  padding: 8px;
  font-size: 13px;
  color: #3e2c14;
}
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb li + li::before {
  content: " › ";
  margin: 0 4px;
}
.breadcrumb a {
  text-decoration: underline;
}

/* ---- 本文と、本文の下の看板（ご推薦優良高級店 → イチ押し高級店。ユーザー 2026-12-01「縦並びがうっとおしい」で横に並べた） ---- */
.main-wrap {
  padding: 0 5px 10px;
}
.contents-center {
  min-width: 0;
}
.banner-area {
  margin-top: 15px;
}

/* ---- エリアトップの新着 ---- */
.news-list .item.main {
  background: var(--brown);
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px;
  margin-bottom: 6px;
}
.news-list .item.main .header {
  border-bottom: 1px solid #43362d;
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.news-list .item.main .date {
  color: var(--text);
  font-size: 13px;
}
.news-list .item.main .site-name {
  float: right;
  color: var(--gold-light);
  text-decoration: underline;
}
.news-list .item.main .title {
  clear: both;
  font-size: 16px;
  font-weight: bold;
}
.news-list .item.list .row {
  display: block;
  position: relative;
  padding: 10px 34px 10px 12px;
  color: #fff;
  background: var(--leather);
  border: 1px solid #5a4630;
  margin-bottom: 3px;
}
/* 右端の矢印（丸の中の「>」） */
.news-list .item.list .row::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #f0e2c8;
  border-right: 2px solid #f0e2c8;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.news-list .item.list .row::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #3b3b3b, #0b0b0b);
  border: 1px solid #777;
  transform: translateY(-50%);
  pointer-events: none;
}
.news-list .item.list span {
  display: block;
}
.news-list .item.list .site-name {
  color: #a7a7a7;
}

/* ---- 女性（新人・おすすめ・店の女性一覧）: 銅色の縁取りと黒の名前の行 ---- */
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cast-list .cast {
  background: linear-gradient(135deg, #9a6a42 0%, #6e4426 45%, #a3744a 70%, #7a4d2c 100%);
  border: 1px solid #c79a62;
  padding: 4px;
  text-align: center;
}
.cast-list .cast .photo {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid #3b2414;
}
.cast-list .cast .photo a {
  display: block;
  height: 100%;
}
.cast-list .cast .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cast-list .cast .profile {
  background: #0d0a08;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  padding: 4px 2px;
  margin-top: 3px;
}
.cast-list .cast .profile .shop-name,
.cast-list .cast .profile .size {
  font-size: 11px;
}

/* ---- 価格帯別（「最低料金 ○円以上」は固定の段の下に止める。下の店名が透けないよう透けない色で塗る） ---- */
.price-range .band {
  position: sticky;
  top: var(--bar-h);
  z-index: 5;
  background: linear-gradient(to bottom, #4a3a2a 0%, #241a12 100%);
  border: 1px solid var(--gold);
  color: var(--gold-text);
  font-size: 16px;
  padding: 8px 12px 8px 30px;
  margin-top: 12px;
}
.price-range .band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.price-range-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}
.price-range-list .site {
  display: flex;
  flex-direction: column;
  background: var(--satin);
  border: 1px solid #a8a49c;
  padding: 5px;
  color: #000;
}
.price-range-list .site-name {
  color: #fff;
  background: linear-gradient(to bottom, #4b3a2b 0%, #20160d 100%);
  padding: 6px 8px;
  font-size: 14px;
}
.price-range-list .detail {
  padding: 5px 2px;
  color: #3d2d12;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}
.price-range-list .photo-bg {
  max-width: 194px;
  margin: 0 auto;
}
.price-range-list .course-name {
  margin-top: 6px;
  padding: 4px 6px;
  color: #3e2c14;
  background: rgba(27, 27, 27, 0.15);
  text-align: left;
}
.price-range-list .course-detail {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 6px;
}
/* コースの値段の下に置く（文字は縮まないので、箱の右下に重ねると狭い幅で値段に重なる） */
.button-course {
  margin: auto 2px 2px;
  padding: 5px 4px;
  font-size: 12px;
  white-space: normal;
}

/* ---- 店の箱（地区の一覧・お店TOP）: 明るいサテンの地と灰色の線 ---- */
.shop-list .shop-box + .shop-box {
  margin-top: 6px;
}
.shop-box {
  position: relative;
  background: var(--satin);
  border: 1px solid #a8a49c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  padding: 10px;
  color: #171717;
}
.shop-box .overlay {
  position: absolute;
  inset: 0;
}
.shop-box .shop-name {
  background: linear-gradient(to bottom, #4b3a2b 0%, #2a1d13 100%);
  border-radius: 3px;
  color: var(--gold-light);
  padding: 6px 12px;
  font-size: 15px;
  font-weight: bold;
}
.shop-main {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.shop-photo {
  flex: 0 0 40%;
  max-width: 194px;
}
/* 店の画像の縁取り（旧の PC と同じ: 194×129 の縁取りに内側 11px＝幅の 5.67%、画像 170×105）。灰色の地と線 */
.shop-photo a,
.frame {
  display: block;
}
.frame {
  background: linear-gradient(135deg, #8f8a84 0%, #5c5753 100%);
  border: 1px solid #c9c4bd;
  box-shadow: inset 0 0 0 1px #3d3936;
  border-radius: 4px;
  padding: 5.67%;
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 170 / 105;
  object-fit: cover;
}
.shop-detail-list {
  flex: 1;
  min-width: 0;
}
.shop-detail-list .item {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 24px;
}
/* 「場所」「電話」「料金」「営業時間」「公式サイト」の文字のラベル（旧のアイコンの代わり） */
.shop-detail-list .label {
  flex: none;
  min-width: 4.6em;
  text-align: center;
  font-size: 12px;
  background: #43362d;
  color: #fff;
  padding: 0 4px;
  line-height: 20px;
  border-radius: 2px;
}
.shop-detail-list .item a {
  text-decoration: underline;
  position: relative;
  z-index: 1;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 8px;
}
.category-list .item {
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 6px;
  white-space: nowrap;
  background-color: #e5d4be;
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.5),
    rgba(255, 255, 255, 1) 0 8px 5px 0 inset;
  color: #897158;
}
.category-list .item.select-1,
.category-list .item.select-true {
  background-color: var(--gold);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.5),
    rgba(240, 227, 212, 1) 0 0 12px 2px inset;
  color: #000;
}
.shop-casts {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.shop-casts .item {
  flex: 0 1 33%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
}
.shop-casts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* お店からのコメント（白っぽいベージュの吹き出し） */
.comment-box {
  margin-top: 8px;
  background: linear-gradient(to bottom, #fffdf9 0%, #f1e8db 100%);
  border: 1px solid #cbbfae;
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-shop .comment-box {
  white-space: normal;
}
.hotel-map {
  background: var(--leather);
  border: 1px solid var(--line);
  padding: 2%;
}
.hotel-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  height: auto;
}

/* ---- 店のページ ---- */
.site-banner-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.site-banner-top .banner {
  flex: 1 1 590px;
}
.site-banner-top .banner img {
  width: 100%;
}
.official-button {
  padding: 8px 24px;
  font-size: 15px;
}
.shop-section {
  margin-top: 15px;
}
.page-shop .news-list .item.main .title {
  clear: none;
}
.shop-comment {
  background: linear-gradient(to bottom, #494443 0%, #3f3a37 100%);
  color: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  line-height: 1.5;
}
.fee-section {
  margin-top: 15px;
}
.fee-table,
.stacked-table {
  width: 100%;
}
.fee-table .label,
.stacked-table .label {
  background: linear-gradient(to bottom, #43362d 0%, var(--dark) 100%);
}
.fee-table .value,
.stacked-table .value {
  background: linear-gradient(to bottom, #494443 0%, #3f3a37 100%);
  color: #fff;
}
.fee-table .label,
.fee-table .value,
.stacked-table .label,
.stacked-table .value {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-weight: normal;
}
.fee-table .label {
  width: 35%;
  white-space: nowrap;
}
.stacked-table tbody + tbody .label {
  border-top-width: 6px;
  border-top-color: transparent;
  background-clip: padding-box;
}
.course-list {
  display: grid;
  gap: 10px;
}
/* コース名は固定の段の下に止める（下の値段が透けないよう透けない色で塗る） */
.course-title {
  position: sticky;
  top: var(--bar-h);
  z-index: 5;
  background: linear-gradient(to bottom, #5a5048 0%, #2e2824 100%);
  border-left: 4px solid var(--gold);
  padding: 8px 10px;
  font-size: 15px;
  color: #fff;
}

/* ---- イチ押し高級店とご推薦優良高級店（本文の下に、幅に合わせて横に並べる）: 革の地と黒の店名の行 ---- */
.bnr-left {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
}
/* 看板（200×40）は幅いっぱいに広げ、店名の行は看板の下に置く（重ねると看板の下が隠れる。ユーザー 12-01） */
.bnr-left .item {
  width: 100%;
  text-align: center;
  background: var(--leather);
  border: 1px solid #6b5338;
  box-shadow: inset 0 0 0 1px #000;
  padding: 6px 6px 0;
}
.bnr-left .label.area {
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bnr-left .img {
  margin-top: 4px;
}
.bnr-left .img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 200 / 40;
}
.bnr-left .label.name,
.bnr-list .item .label,
.banner-s-list .shop-name,
.banner-a-list .shop-name {
  position: relative;
  background: #0d0a08;
  border-top: 1px solid #6b5338;
  color: var(--text);
  font-weight: bold;
}
.bnr-left .label.name {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 4px -6px 0;
  padding: 2px 6px 3px 24px;
  text-align: left;
  font-size: 13px;
}
/* 店名の行の左の金の菱形（旧の店名の行の画像の飾り） */
.bnr-left .label.name::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.bnr-left .label.name a {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bnr-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
}
.bnr-list .item {
  position: relative;
  width: 100%;
  max-width: 245px;
  margin: 0 auto;
  background: var(--leather);
  border: 1px solid #6b5338;
  box-shadow: inset 0 0 0 1px #000;
  padding: 8px 8px 44px;
}
.bnr-list .item .img-wrap img {
  width: 100%;
}
.bnr-list .item .label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 36px;
  line-height: 35px;
  padding: 0 8px;
  text-align: center;
}
.banner-shop-detail-right img {
  display: block;
  margin: 0 auto;
}

/* ---- 足と「ページ上部へ」 ---- */
#footer {
  background: linear-gradient(to bottom, #1a1512 0%, #000105 60%);
  border-top: 2px solid var(--line);
  margin-top: 15px;
  padding: 12px 8px 16px;
}
.footer-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-logo img {
  width: 80px;
}
.footer-body {
  flex: 1;
  min-width: 0;
}
.footer-body .comment {
  line-height: 1.6;
}
.area-list {
  margin-top: 8px;
}
.area-list .state-name {
  color: var(--gold-light);
  font-weight: bold;
  text-decoration: underline;
}
.area-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: 4px;
  font-size: 13px;
}
.area-detail-list .item.disabled {
  color: #615555;
}
.footer-bottom {
  margin-top: 12px;
  text-align: center;
}
.footer-bottom .link-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  text-decoration: underline;
}
.footer-bottom .copyright {
  margin-top: 8px;
  color: #fff;
}
/* 右下の「TOP」（上向きの三角と文字。旧の icon_top.png の代わり） */
.go-top {
  position: fixed;
  right: 6px;
  bottom: 6px;
  z-index: 15;
  opacity: 0.92;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 44px;
  height: 44px;
  background: linear-gradient(to bottom, #5a4a3e 0%, #241c17 100%);
  border: 1px solid #cfc3b3;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
}
.go-top::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #fff;
}
body.has-actions .go-top {
  bottom: 64px;
}

/* ---- リンクバナー・404 ---- */
.link-bg {
  background: var(--brown);
  border: 1px solid var(--line);
  padding: 12px;
  color: #fff;
}
.link-bg .message {
  margin: 10px 0;
}
.link-banner-list .item {
  margin-top: 15px;
}
.link-banner-list .code {
  margin-top: 8px;
  word-break: break-all;
}
.fc-orange {
  color: #ffa500;
}
.not-found {
  background: var(--brown);
  border-top: 1px solid var(--line);
  padding: 40px 10px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
}
.not-found h1 {
  font-size: 28px;
}
.not-found a {
  color: var(--text);
}

/* ---- トップと 404 の頭（銅色の地に、箱のロゴ・文字のロゴ・頭の文） ---- */
.entry-main {
  display: grid;
  grid-template-columns: 28% 1fr;
  grid-template-areas:
    "logo logo2"
    "lead lead";
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  background: var(--copper);
  border-bottom: 1px solid #000;
  padding: 10px;
}
.entry-main .logo {
  grid-area: logo;
}
.entry-main .logo img {
  display: block;
  width: 100%;
}
.entry-main .logo2 {
  grid-area: logo2;
  display: block;
  width: 100%;
  max-width: 240px;
  justify-self: center;
}
.entry-main .header-lead {
  grid-area: lead;
  justify-self: center;
  text-align: center;
}
.entrance {
  text-align: center;
  padding: 12px 10px;
  background: #000105;
}
.entrance-title {
  font-family: var(--mincho);
  font-size: 20px;
  color: var(--gold-text);
  text-shadow: 0 1px 0 #000;
  letter-spacing: 2px;
}
.entrance-note {
  margin-top: 6px;
  color: #fff;
  font-family: var(--mincho);
  line-height: 1.6;
}
.exit {
  margin: 10px auto 0;
  max-width: 420px;
  padding: 8px;
  white-space: normal;
}
.entry {
  padding: 10px 5px;
}
.banner-s-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.banner-s-list .item,
.banner-a-list .item {
  background: var(--leather);
  border: 1px solid #6b5338;
  box-shadow: inset 0 0 0 1px #000;
  padding: 6px;
}
.banner-s-list .photo,
.banner-a-list .photo {
  display: block;
}
.banner-s-list .site-banner,
.banner-a-list .site-banner {
  width: 100%;
}
.banner-s-list .shop-name,
.banner-a-list .shop-name {
  padding: 5px;
  text-align: center;
  font-size: 13px;
  margin-top: 4px;
}
.option-a {
  margin-top: 15px;
}
.contents-list {
  display: grid;
  gap: 10px;
}
/* 看板 3 つの列は、隣のトップの文の箱と同じ高さまで伸ばし、3 つを同じ高さで並べる（ユーザー 2026-12-02「高さがあっていない」） */
.banner-block {
  display: flex;
}
.banner-a-list {
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 6px;
}
.banner-a-list .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-contents,
.contents-big-list .item {
  background: var(--brown);
  border: 1px solid var(--line);
  padding: 12px;
  color: #fff;
}
.text-contents .title,
.contents-big-list .title {
  color: var(--gold-light);
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}
.contents-big-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.entrance-bottom {
  margin-top: 15px;
}
.enter {
  max-width: 420px;
  margin: 10px auto 0;
  padding: 12px;
  font-family: var(--mincho);
  font-size: 26px;
  letter-spacing: 6px;
}
.contact {
  text-align: center;
  margin-top: 15px;
  color: #3e2c14;
}

/* ================= 768px 以上（看板・女性の列を増やす） ================= */
@media (min-width: 768px) {
  /* 暗い革の地（旧の bg2.jpg） */
  body {
    background:
      linear-gradient(
        115deg,
        rgba(255, 220, 170, 0.05) 0 18%,
        transparent 18% 40%,
        rgba(255, 220, 170, 0.04) 40% 55%,
        transparent 55%
      )
      fixed,
      radial-gradient(ellipse at 50% 0%, #3b2b1e 0%, #1b130d 65%) fixed #1b130d;
  }
  .bnr-left {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .price-range-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .news-list .item.list .row {
    display: flex;
    gap: 12px;
    background: var(--dark);
    border-color: #43362d;
  }
  .news-list .item.list .date {
    flex: none;
  }
  .news-list .item.list .title {
    flex: 1;
    min-width: 0;
  }
  .news-list .item.list .site-name {
    flex: 0 1 30%;
    text-align: right;
  }
  .breadcrumb {
    color: var(--text);
  }
  /* 店の箱は旧の PC と同じく、女性の写真を右に小さく並べる */
  .shop-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name name"
      "main casts"
      "cats casts"
      "comment comment";
    column-gap: 8px;
    align-items: start;
  }
  .shop-box .shop-name {
    grid-area: name;
  }
  .shop-box .shop-main {
    grid-area: main;
  }
  .shop-box .category-list {
    grid-area: cats;
  }
  .shop-box .shop-casts {
    grid-area: casts;
  }
  .shop-box .comment-box {
    grid-area: comment;
  }
  .shop-casts .item {
    flex: 0 0 86px;
  }
  .entry-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 230px;
    padding: 20px;
  }
  .entry-main .logo img {
    width: 158px;
  }
  .entry-main .logo2 {
    width: 240px;
  }
  .entrance-title {
    font-size: 26px;
  }
  .contact {
    color: var(--text);
  }
  .contents-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .entry {
    max-width: 1100px;
    margin: 0 auto;
  }
  .banner-s-list {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-logo img {
    width: 174px;
  }
}

/* ================= 1024px 以上（旧の PC の頭・ナビ） ================= */
@media (min-width: 1024px) {
  :root,
  body.has-tabs {
    --bar-h: 52px;
  }
  .site-header {
    background: var(--copper);
  }
  .site-title {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    padding: 8px;
  }
  .header-main {
    background: none;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 60px 20px;
    min-height: 200px;
  }
  .header-main .logo {
    display: block;
  }
  /* 頭の看板を囲むパネル（旧の menu-bg.png）: 銅色の地に黒の縁と内側の明るい線 */
  .header-panel {
    flex: 0 1 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(170deg, #c2b092 0%, #8d7a62 50%, #6a5948 100%);
    border: 2px solid #1a1410;
    border-radius: 10px;
    box-shadow:
      inset 0 0 0 1px #d9c7a8,
      0 2px 6px rgba(0, 0, 0, 0.6);
    padding: 12px 20px 16px;
  }
  .header-panel .header-lead {
    display: inline-block;
  }
  .header-panel a {
    align-self: center;
  }
  .header-lead .lead-sub {
    font-size: 13px;
  }
  .header-lead .lead-main {
    font-size: 22px;
  }
  .area-nav {
    display: block;
    background: linear-gradient(to bottom, var(--brown) 0%, #000105 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .area-nav .nav-list {
    display: flex;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto;
    padding: 4px 8px;
  }
  .area-nav .nav-list .item .link,
  .area-nav .nav-list .item.disabled span {
    background: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0 14px;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
    font-weight: 900;
    font-size: 15px;
    color: var(--text);
  }
  .area-nav .nav-list .item + .item {
    border-left: 1px solid #43362d;
  }
  .area-nav .nav-list .item .link:hover,
  .area-nav .nav-list .item .link[aria-current="page"] {
    color: var(--gold-light);
    text-decoration: underline;
  }
  .bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 max(8px, calc((100% - 1160px) / 2));
  }
  .bar-main {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 40%;
    height: auto;
  }
  .bar-logo,
  .bar-menu {
    display: none;
  }
  .bar-name {
    font-size: 18px;
  }
  .bar-tabs {
    flex: 1;
    height: 40px;
    border-top: 0;
  }
  .tab {
    flex: 0 1 180px;
    font-size: 15px;
    border-radius: 4px 4px 0 0;
    margin-right: 4px;
  }
  .actions {
    position: static;
    flex: none;
    padding: 0;
    border: 0;
    background: none;
  }
  .action {
    padding: 6px 14px;
    font-size: 14px;
  }
  body.has-actions {
    padding-bottom: 0;
  }
  body.has-actions .go-top {
    bottom: 6px;
  }
  .breadcrumb {
    max-width: 1160px;
    margin: 0 auto;
  }
  /* 本文は手本と同じく 1 列（看板は本文の下） */
  .main-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 8px 15px;
  }
  h2.label {
    text-align: left;
    padding: 12px 20px 12px 34px;
    font-size: 20px;
  }
  h2.label::after {
    display: none;
  }
  #footer {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(155, 126, 87, 0.25) 0%, transparent 60%),
      linear-gradient(to bottom, #1a1512 0%, #000105 60%);
  }
  .footer-top,
  .footer-bottom {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
  }
  .footer-bottom .copyright {
    margin-top: 0;
  }
}

/* ================= 1280px 以上（本文が広いので女性を 5 列） ================= */
@media (min-width: 1280px) {
  .cast-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 高さの低い画面（スマホの横向き・低い窓）は固定しない（中身が見える高さを残す）。幅の @media の --bar-h より後に置く */
@media (max-height: 500px) {
  .bar {
    position: relative;
  }
  :root,
  body.has-tabs {
    --bar-h: 0px;
  }
}
