/* =========================================================
 Beauty Spa Kyoto / Mobile Responsive Source
 File: assets/css/mobile-responsive.css
 Purpose: TOP / セラピスト一覧 / 本日出勤 / 出勤表 / 料金 / ブログ / 求人 / フッター共通スマホ対応
 ========================================================= */

:root {
  --bs-bg: #050505;
  --bs-panel: #0a0907;
  --bs-gold: #d8b957;
  --bs-gold-soft: #f5d98b;
  --bs-text: #ffffff;
  --bs-muted: rgba(255,255,255,.72);
  --bs-border: rgba(217,180,95,.55);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

/* ---------- Header / Navigation ---------- */
.site-header,
.header,
.lux-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(10px);
}

.header-inner,
.site-header-inner,
.lux-header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.header-logo,
.site-logo,
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo img,
.site-logo img,
.logo img {
  max-height: 46px;
  width: auto;
  display: block;
}

.header-nav,
.site-nav,
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-nav a,
.site-nav a,
.nav a {
  color: var(--bs-text);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.header-reserve,
.reserve-button,
.btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bs-gold);
  color: #111 !important;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(217,180,95,.55);
  background: rgba(0,0,0,.35);
  color: var(--bs-gold-soft);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.mobile-nav-panel {
  display: none;
}

/* ---------- Section Common ---------- */
section,
.section {
  width: 100%;
}

.section-inner,
.container,
.inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
}

.section-title h2 {
  margin: 0;
  color: var(--bs-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: .04em;
}

.section-title span {
  color: var(--bs-gold);
  font-size: 12px;
  letter-spacing: .18em;
}

/* ---------- Hero ---------- */
.hero,
.top-hero,
.lux-hero {
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.hero-inner,
.top-hero-inner,
.lux-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 40px;
  align-items: center;
}

.hero h1,
.top-hero h1,
.lux-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p,
.top-hero p,
.lux-hero p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--bs-muted);
}

/* ---------- Cards Shared ---------- */
.card-grid,
.therapist-grid,
.schedule-grid,
.price-grid,
.blog-grid,
.recruit-grid,
.top-today-api-grid,
.therapist-list-stable-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.therapist-card,
.top-today-api-card,
.therapist-list-stable-card,
.blog-card,
.price-card,
.recruit-card {
  overflow: hidden;
  border: 1px solid var(--bs-border);
  border-radius: 12px;
  background: var(--bs-panel);
  color: var(--bs-text);
  text-decoration: none;
}

.therapist-card img,
.top-today-api-card img,
.therapist-list-stable-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.card-body,
.top-today-api-body,
.therapist-list-stable-body {
  padding: 20px 14px 18px;
  text-align: center;
}

.card-body h3,
.top-today-api-body h3,
.therapist-list-stable-body h3 {
  margin: 0 0 10px;
  color: var(--bs-gold-soft);
  font-size: 26px;
  line-height: 1.25;
}

.top-today-api-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bs-gold);
  color: #111;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  white-space: nowrap;
}

/* ---------- Schedule ---------- */
.schedule-tabs,
.date-tabs,
.tab-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 10px;
  scrollbar-width: thin;
}

.schedule-tabs button,
.date-tabs a,
.tab-scroll a,
.tab-scroll button {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--bs-border);
  background: rgba(255,255,255,.04);
  color: var(--bs-text);
  padding: 8px 14px;
  text-align: center;
  text-decoration: none;
}

.schedule-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table {
  min-width: 680px;
}

/* ---------- Price ---------- */
.price-section,
.price,
.course-section {
  overflow: hidden;
}

.price-grid {
  align-items: stretch;
}

.price-card {
  padding: 22px;
}

.price-card h3 {
  color: var(--bs-gold-soft);
  margin: 0 0 14px;
}

.price-row,
.course-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

/* ---------- Blog ---------- */
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 16px;
}

.blog-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* ---------- Recruit ---------- */
.recruit-hero,
.recruit-section {
  overflow: hidden;
}

.recruit-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 40px;
  align-items: center;
}

.recruit-panel img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* ---------- Footer ---------- */
.footer,
.site-footer {
  padding: 44px 0 28px;
}

.footer-inner,
.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a {
  color: var(--bs-muted);
  text-decoration: none;
}

/* =========================================================
 Mobile
 ========================================================= */
@media (max-width: 900px) {
  .header-inner,
  .site-header-inner,
  .lux-header-inner {
    width: min(100% - 24px, 1180px);
    min-height: 60px;
  }

  .header-logo img,
  .site-logo img,
  .logo img {
    max-height: 38px;
  }

  .header-nav,
  .site-nav,
  .nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-panel {
    position: fixed;
    inset: 60px 12px auto 12px;
    z-index: 1000;
    display: none;
    padding: 14px;
    border: 1px solid var(--bs-border);
    border-radius: 14px;
    background: rgba(5,5,5,.96);
    box-shadow: 0 18px 40px rgba(0,0,0,.55);
  }

  body.mobile-nav-open .mobile-nav-panel {
    display: grid;
    gap: 8px;
  }

  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--bs-text);
    text-decoration: none;
    background: rgba(255,255,255,.04);
    font-weight: 800;
    letter-spacing: .04em;
  }

  .mobile-nav-panel a.is-reserve {
    background: var(--bs-gold);
    color: #111;
    justify-content: center;
  }

  .hero,
  .top-hero,
  .lux-hero {
    min-height: auto;
    padding: 46px 0 30px;
  }

  .hero-inner,
  .top-hero-inner,
  .lux-hero-inner,
  .recruit-hero-inner {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero h1,
  .top-hero h1,
  .lux-hero h1 {
    font-size: 34px;
  }

  .hero p,
  .top-hero p,
  .lux-hero p {
    font-size: 14px;
    line-height: 1.8;
  }

  .section-inner,
  .container,
  .inner {
    width: min(100% - 24px, 1180px);
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title span {
    font-size: 11px;
  }

  .card-grid,
  .therapist-grid,
  .schedule-grid,
  .price-grid,
  .blog-grid,
  .recruit-grid,
  .top-today-api-grid,
  .therapist-list-stable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .therapist-card img,
  .top-today-api-card img,
  .therapist-list-stable-card img {
    height: 210px !important;
  }

  .card-body,
  .top-today-api-body,
  .therapist-list-stable-body {
    padding: 13px 8px !important;
  }

  .card-body h3,
  .top-today-api-body h3,
  .therapist-list-stable-body h3 {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }

  .top-today-api-spec,
  .therapist-list-stable-spec {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .top-today-api-time {
    font-size: 12px !important;
  }

  .top-today-api-badge {
    left: 9px !important;
    top: 9px !important;
    padding: 6px 9px !important;
    font-size: 11px !important;
  }

  .price-card {
    padding: 16px;
  }

  .price-row,
  .course-row {
    font-size: 13px;
  }

  .blog-card img {
    height: 170px;
  }

  .footer-inner,
  .site-footer-inner {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .card-grid,
  .therapist-grid,
  .schedule-grid,
  .price-grid,
  .blog-grid,
  .recruit-grid,
  .top-today-api-grid,
  .therapist-list-stable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .therapist-card img,
  .top-today-api-card img,
  .therapist-list-stable-card img {
    height: 190px !important;
  }

  .header-reserve,
  .reserve-button,
  .btn-reserve {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* =========================================================
 Simple Mobile Hamburger / No Loop
 ========================================================= */
#bs-simple-menu-btn{
  position:fixed!important;top:12px!important;right:12px!important;z-index:999999!important;
  display:none!important;width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;
  border:1px solid rgba(216,185,87,.75)!important;border-radius:12px!important;background:rgba(6,6,6,.94)!important;
  color:#f5d98b!important;font-size:24px!important;font-weight:900!important;line-height:1!important;
  box-shadow:0 8px 22px rgba(0,0,0,.38)!important;appearance:none!important;-webkit-appearance:none!important;
}
#bs-simple-menu-panel{
  position:fixed!important;top:64px!important;left:12px!important;right:12px!important;z-index:999998!important;
  display:none!important;padding:14px!important;border:1px solid rgba(216,185,87,.65)!important;border-radius:16px!important;
  background:rgba(6,6,6,.97)!important;box-shadow:0 18px 42px rgba(0,0,0,.56)!important;
}
#bs-simple-menu-panel a{
  display:flex!important;align-items:center!important;min-height:46px!important;padding:10px 13px!important;margin:0 0 8px!important;
  border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;text-decoration:none!important;
  font-size:14px!important;font-weight:850!important;letter-spacing:.04em!important;
}
#bs-simple-menu-panel a:last-child{margin-bottom:0!important;}
#bs-simple-menu-panel a.reserve{justify-content:center!important;background:#d8b957!important;color:#111!important;font-weight:950!important;}
body.bs-simple-menu-open #bs-simple-menu-panel{display:block!important;}
@media(max-width:900px){
  #bs-simple-menu-btn{display:flex!important;}
  #bs-mobile-menu-toggle,#bs-mobile-nav-panel,.mobile-menu-toggle:not(#bs-simple-menu-btn){display:none!important;}
}
@media(min-width:901px){
  #bs-simple-menu-btn,#bs-simple-menu-panel{display:none!important;}
  body.bs-simple-menu-open #bs-simple-menu-panel{display:none!important;}
}

/* =========================================================
 Hide Original Header Navigation On Mobile
 Keep only #bs-simple-menu-btn and #bs-simple-menu-panel
 ========================================================= */
@media(max-width:900px){
  body:not(.bs-simple-menu-open) #bs-simple-menu-panel{
    display:none!important;
  }

  header nav:not(#bs-simple-menu-panel),
  .site-header nav:not(#bs-simple-menu-panel),
  .header nav:not(#bs-simple-menu-panel),
  .lux-header nav:not(#bs-simple-menu-panel),
  .global-nav,
  .gnav,
  .main-nav,
  .desktop-nav,
  .nav-links,
  .nav-menu,
  .header-nav,
  .site-nav,
  .header-menu,
  .menu-list,
  .pc-nav{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }

  .header-reserve,
  .site-header .reserve-button,
  .site-header .btn-reserve,
  .header .reserve-button,
  .header .btn-reserve,
  header .reserve-button,
  header .btn-reserve,
  header a[href*="reserve"]:not(#bs-simple-menu-panel a),
  header a[href*="booking"]:not(#bs-simple-menu-panel a),
  .site-header a[href*="reserve"]:not(#bs-simple-menu-panel a),
  .header a[href*="reserve"]:not(#bs-simple-menu-panel a){
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }

  #bs-simple-menu-panel{
    display:none!important;
  }

  body.bs-simple-menu-open #bs-simple-menu-panel{
    display:block!important;
    visibility:visible!important;
    height:auto!important;
    max-height:calc(100vh - 82px)!important;
    overflow:auto!important;
    pointer-events:auto!important;
  }

  #bs-simple-menu-panel a,
  body.bs-simple-menu-open #bs-simple-menu-panel a{
    display:flex!important;
    visibility:visible!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    pointer-events:auto!important;
  }
}
