@charset "utf-8";

/* ============================================================
   アクセス（access.php）
   店舗ブロックの外枠と「行き方」モーダル。
   地図と店舗情報の横並び／縦積みは既存の
   .oz_TopSecAccess_cont / _box / _box02（style.css・sp_style.css）に任せている。
   既存の css/style.css は本番( ggggg.jp )と共用のため、このファイルに分離。
   ============================================================ */

/* ---- 店舗ブロック ------------------------------------------ */

.accessShop {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.accessShop:last-of-type {
  margin-bottom: 0;
}

/* 店舗名の見出し。既存の .oz_TopSecAccess_text01 より一段大きく扱う */
.accessShop__head {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f17066;
}

/* 「行き方」ボタン。既存の .oz_linkBtn01 は <a> 前提なので、
   <button> でも同じ見た目になるよう最低限だけ打ち消す */
.accessRouteBtn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* ---- 行き方モーダル ---------------------------------------- */
/* 女性一覧の .oz_modal（js/popup.js）とは別系統。あちらはキャスト画像スライダー用 */

.accessModal[hidden] {
  display: none;
}

.accessModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.accessModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.accessModal__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 22px 28px;
  -webkit-overflow-scrolling: touch;
}

.accessModal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 6px 10px;
}

.accessModal__close:hover {
  color: #555;
}

.accessModal__title {
  font-size: 19px;
  font-weight: bold;
  color: #333;
  margin: 0 30px 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

/* ---- 行き方の手順（モーダル内・縦に並べる） ---------------- */

.accessSteps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.accessStep {
  margin-bottom: 28px;
}

.accessStep:last-child {
  margin-bottom: 0;
}

.accessStep__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.accessStep__num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f17066;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 26px;
  text-align: center;
}

.accessStep__title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}

.accessStep__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #f7f7f7;
}

.accessStep__text {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* モーダル表示中は背面をスクロールさせない */
body.accessModalOpen {
  overflow: hidden;
}

@media (max-width: 600px) {
  .accessShop {
    margin-bottom: 44px;
  }

  .accessShop__head {
    font-size: 19px;
  }

  .accessModal {
    padding: 12px;
  }

  .accessModal__panel {
    padding: 20px 16px 24px;
  }

  .accessModal__title {
    font-size: 17px;
  }

  .accessStep {
    margin-bottom: 24px;
  }

  .accessStep__title {
    font-size: 15px;
  }

  .accessStep__text {
    font-size: 14px;
  }
}
