/*
Theme Name: classy-bz-A005 child
Template: classy-a005
Version: 1.0.0
*/

/* 親テーマのスタイルをインポート */
/*@import url("../classy-a004/style.css");*/

/* 子テーマの追加スタイルをここに記述 */

/* ============================================================
   プロフィール SP レイアウト
   responsive_clean.css の @media (max-width: 767px) 内に追記
   ============================================================ */

@media screen and (max-width: 767px) {

  /* ========================================
     コンテナリセット
  ======================================== */
  .oz_profileSec01 .oz_content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .oz_profileSec01_contWrap { padding: 0 !important; }

  /* PC の2カラムを縦積みに */
  .oz_profileSec01_cont01 {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
  }

  .oz_profileSec01_cont01_box {
    display: contents !important;
  }

  /* ========================================
     表示順を order で制御
     1: メイン画像
     2: タイトル（h1）
     3: カテゴリタグ
     4: サブ画像
     5: SNS
     6: プロフィールテーブル（.oz_profileSec01_box02）
  ======================================== */

  /* ① メイン画像 */
  .oz_profileSec01_box01 {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    overflow: hidden !important;
    background: #1a1712 !important;
  }

  .oz_profileSec01_box01_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }

  /* ② タイトル（h1） */
  .oz_other_pageTitleWrap {
    order: 2 !important;
    display: block !important;
    background: #0d0b09 !important;
    padding: 16px 16px 8px !important;
    margin: 0 !important;
    border-bottom: 0.5px solid rgba(159,147,117,0.15) !important;
  }

  .oz_other_pageTitle { margin: 0 !important; }

  .oz_other_pageTitle_span {
    font-size: 22px !important;
    color: #ffffff !important;
    text-align: left !important;
    display: block !important;
    letter-spacing: 0.08em !important;
  }

  /* ③ カテゴリタグ */
  .oz_profileSec01_box02_Icon {
    order: 3 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 10px 16px 14px !important;
    background: #0d0b09 !important;
    border-bottom: 0.5px solid rgba(159,147,117,0.15) !important;
    margin: 0 !important;
  }

  .oz_profileSec01_box02_IconDetail {
    font-size: 11px !important;
    color: #d4c9a8 !important;
    border: 0.5px solid rgba(159,147,117,0.5) !important;
    padding: 3px 10px !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  /* ④ サブ画像 */
  .oz_profileSec01_ImgBox {
    order: 4 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 10px 12px !important;
    background: #0a0908 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 0.5px solid rgba(159,147,117,0.15) !important;
    box-sizing: border-box !important;
  }

  .oz_profileSec01_ImgBoxInner {
    width: 54px !important;
    height: 68px !important;
    flex-shrink: 0 !important;
    aspect-ratio: unset !important;
    margin: 0 !important;
  }

  .oz_profileSec01_ImgBoxInner.oz_current {
    border: 1.5px solid #9f9375 !important;
  }

  .oz_profileSec01_ImgBox_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* ⑤ SNS */
  .oz_profSns {
    order: 5 !important;
    display: flex !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    background: #0a0908 !important;
    margin: 0 !important;
    border-bottom: 0.5px solid rgba(159,147,117,0.15) !important;
    list-style: none !important;
  }

  /* ⑥ プロフィールテーブル */
  .oz_profileSec01_box02 {
    order: 6 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    background: #0f0d0b !important;
  }

  .oz_profileTable { margin-top: 0 !important; }

  .oz_profileTable_tr {
    display: flex !important;
    border-bottom: 0.5px solid rgba(159,147,117,0.12) !important;
  }

  .oz_profileTable_th {
    width: 40% !important;
    padding: 10px 0 !important;
    font-size: 12px !important;
    color: #9f9375 !important;
    border-bottom: none !important;
    font-weight: normal !important;
  }

  .oz_profileTable_td {
    width: 60% !important;
    padding: 10px 0 !important;
    font-size: 12px !important;
    color: #e0dbd0 !important;
    border-bottom: none !important;
  }

  .oz_profileTable_tr.col2,
  .oz_profileTable_tr.col2 .oz_profileTable_th,
  .oz_profileTable_tr.col2 .oz_profileTable_td {
    display: block !important;
    width: 100% !important;
  }

  .oz_profileTable_tr.col2 { border-bottom: none !important; }

  .oz_profileTable_tr.col2 .oz_profileTable_th {
    color: #9f9375 !important;
    padding-top: 20px !important;
    padding-bottom: 6px !important;
  }

  .oz_profileTable_tr.col2 .oz_profileTable_td {
    color: #c8c0a8 !important;
    line-height: 1.85 !important;
    padding-top: 0 !important;
  }

  /* ========================================
     スケジュール
  ======================================== */
  .oz_profileSec01_cont02 { padding: 30px 16px 40px !important; }

  .oz_profileSec01_cont02_boxInner {
    width: calc((100% - 9px) / 4) !important;
    margin-right: 3px !important;
    margin-bottom: 10px !important;
  }

  .oz_profileSec01_cont02_boxInner:nth-child(4n+4) { margin-right: 0 !important; }
  .oz_profileSec01_cont02_boxInner:nth-child(7n+7) { margin-right: 3px !important; }

  .oz_profileSec01_cont02_boxTitle01 { font-size: 15px !important; height: 27px !important; }
  .oz_profileSec01_cont02_boxTitle01 .oz_profileSec01_cont02_boxTitle01_span { font-size: 13px !important; }
  .oz_profileSec01_cont02_boxTitle02 { font-size: 15px !important; height: 45px !important; line-height: 18px !important; }
  .oz_profileSec01_cont02_boxTitle03 { font-size: 13px !important; height: 27px !important; }

  /* ========================================
     もっと見るボタン
  ======================================== */
  .oz_profBtnWrap { padding: 16px !important; text-align: center !important; }

  .oz_profBtn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: #a09577 !important;
    color: #ffffff !important;
    padding: 13px !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    border-radius: 99px !important;
    text-decoration: none !important;
    margin: 0 auto !important;
    height: auto !important;
  }

}


/* ============================================================
   基本プレイ / 有料オプション
   子テーマ style.css 末尾に追記
   ============================================================ */

.oz_profileSec04,
.oz_profileSec05 {
  padding: 80px 0;
}

/* 7列グリッド（items が自動折り返し） */
.oz_playTbl {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* 1セル = ヘッダー＋ボディの縦2段 */
.oz_playTbl_cell {
  display: flex !important;
  flex-direction: column;
  text-align: center;
}

/* 上段：項目名 */
.oz_playTbl_head {
  background: rgba(159, 147, 117, 0.2);
  border: 1px solid rgba(159, 147, 117, 0.5);
  padding: 10px 6px;
  font-size: 13px;
  color: var(--text_primary);
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

/* 番号（有料オプションのみ） */
.oz_playTbl_num {
  font-family: "Castoro Titling", serif;
  font-size: 11px;
  color: var(--gold_text_lt);
}

/* 金額（有料オプションのみ） */
.oz_playTbl_price {
  font-size: 11px;
  color: var(--gold_text);
}

/* 下段：○× */
.oz_playTbl_body {
  border: 1px solid rgba(159, 147, 117, 0.3);
  border-top: none;
  padding: 12px 6px;
  font-size: 18px;
  font-weight: bold;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oz_playTbl_body.is-ok { color: var(--text_muted); }
.oz_playTbl_body.is-ng { color: var(--text_muted);   }


/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {
  .oz_playTbl {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media screen and (max-width: 750px) {
  .oz_profileSec04,
  .oz_profileSec05 {
    padding: 50px 0;
  }

  .oz_playTbl {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px;
  }

  .oz_playTbl_head {
    font-size: 12px;
    padding: 8px 4px;
    min-height: 38px;
  }

  .oz_playTbl_body {
    font-size: 16px;
    min-height: 42px;
  }
}

/* ============================================================
   基本プレイ / 有料オプション
   子テーマ style.css 末尾に追記
   ============================================================ */

.oz_profileSec04,
.oz_profileSec05 {
  padding: 80px 0;
}

/* 7列グリッド（items が自動折り返し） */
.oz_playTbl {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* 1セル = ヘッダー＋ボディの縦2段 */
.oz_playTbl_cell {
  display: flex !important;
  flex-direction: column;
  text-align: center;
}

/* 上段：項目名 */
.oz_playTbl_head {
  background: rgba(159, 147, 117, 0.2);
  border: 1px solid rgba(159, 147, 117, 0.5);
  padding: 10px 6px;
  font-size: 13px;
  color: var(--text_primary);
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

/* 番号（有料オプションのみ） */
.oz_playTbl_num {
  font-family: "Castoro Titling", serif;
  font-size: 11px;
  color: var(--gold_text_lt);
}

/* 金額（有料オプションのみ） */
.oz_playTbl_price {
  font-size: 11px;
  color: var(--gold_text);
}

/* 下段：○× */
.oz_playTbl_body {
  border: 1px solid rgba(159, 147, 117, 0.3);
  border-top: none;
  padding: 12px 6px;
  font-size: 18px;
  font-weight: bold;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oz_playTbl_body.is-ok { color: var(--text_primary); }
.oz_playTbl_body.is-ng { color: var(--text_muted);   }


/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {
  .oz_playTbl {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media screen and (max-width: 750px) {
  .oz_profileSec04,
  .oz_profileSec05 {
    padding: 50px 0;
  }

  .oz_playTbl {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px;
  }

  .oz_playTbl_head {
    font-size: 12px;
    padding: 8px 4px;
    min-height: 38px;
  }

  .oz_playTbl_body {
    font-size: 16px;
    min-height: 42px;
  }
}



/* ============================================================
   SNS アイコン（画像）
   ============================================================ */
.oz_profSns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.oz_prof a {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.2s;
}

.oz_prof a:hover { opacity: 0.7; }

.oz_profIcon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


/* ============================================================
   言語切替ボタン
   子テーマ style.css 末尾に追記
   ============================================================ */
.oz_langSwitch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.oz_langBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  color: var(--text_secondary);
  white-space: nowrap;
}

.oz_langBtn:hover {
  border-color: var(--gold_border_md);
  background: var(--gold_bg);
  color: var(--text_primary);
  opacity: 1;
}

.oz_langBtn_flag  { font-size: 13px; line-height: 1; }
.oz_langBtn_label { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; }

@media screen and (max-width: 750px) {
  .oz_langBtn       { padding: 3px 8px; }
  .oz_langBtn_label { display: none; }
  .oz_langBtn_flag  { font-size: 14px; }
}


/* ============================================================
   即姫 TODAY カードデザイン
   子テーマ style.css 末尾に追記
   ============================================================ */

/* グリッド：PC4列 → タブレット3列 → SP2列 */
.oz_sokuhimeGrid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* カード */
.oz_sokuhimeCard {
  background: rgba(26, 24, 20, 0.8);
  border: 1px solid var(--gold_border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.oz_sokuhimeCard:hover {
  border-color: var(--gold_border_md);
}

/* 画像エリア */
.oz_sokuhimeCard_img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1e1b17;
}

.oz_sokuhimeCard_img a {
  display: block;
  width: 100%;
  height: 100%;
}

.oz_sokuhimeCard_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s;
}

.oz_sokuhimeCard:hover .oz_sokuhimeCard_img img {
  transform: scale(1.03);
}

/* ステータスバッジ */
.oz_sokuhimeBadge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  line-height: 1.4;
}

.oz_sokuhimeBadge.badge--standby { background: #1D9E75; color: #ffffff; }
.oz_sokuhimeBadge.badge--online  { background: #77acfd; color: #ffffff; }
.oz_sokuhimeBadge.badge--next    { background: rgba(159, 147, 117, 0.9); color: #ffffff; }
.oz_sokuhimeBadge.badge--off     { background: rgba(50, 50, 50, 0.9); color: #666666; }

/* 次回時刻バッジ */
.oz_sokuhimeBadge--time {
  top: auto;
  left: 10px;
  bottom: 46px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(159, 147, 117, 0.4);
  color: var(--gold_text_lt);
  font-size: 11px;
  font-weight: 400;
}

/* 出勤時間＋待機時間バー */
.oz_sokuhimeCard_timebar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.78);
  border-top: 1px solid rgba(159, 147, 117, 0.25);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}

.oz_sokuhimeCard_time {
  font-size: 12px;
  color: var(--gold_text_lt);
  font-family: "Castoro Titling", serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 待機時間ピル */
.oz_sokuhimeCard_wait {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(29, 158, 117, 0.2);
  border: 1px solid rgba(29, 158, 117, 0.5);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.oz_waitDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5DCAA5;
  flex-shrink: 0;
  animation: oz_waitBlink 1.4s infinite;
}

@keyframes oz_waitBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.oz_waitLabel {
  font-size: 10px;
  color: #5DCAA5;
  letter-spacing: 0.03em;
}

/* カード下テキスト */
.oz_sokuhimeCard_body {
  padding: 10px 12px 14px;
}

.oz_sokuhimeCard_name {
  display: block;
  font-size: 14px;
  color: var(--text_primary);
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.oz_sokuhimeCard_name:hover { color: var(--gold_text_lt); }

.oz_sokuhimeCard_spec {
  font-size: 11px;
  color: var(--gold_text);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {
  .oz_sokuhimeGrid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media screen and (max-width: 750px) {
  .oz_sokuhimeGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .oz_sokuhimeCard_time  { font-size: 11px; }
  .oz_sokuhimeCard_name  { font-size: 13px; }
  .oz_sokuhimeBadge      { font-size: 10px; padding: 3px 10px; }
}

/* ============================================================
   言語切替ボタン
   ============================================================ */
.oz_langSwitch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.oz_langBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  color: var(--text_secondary);
  white-space: nowrap;
}

.oz_langBtn:hover {
  border-color: var(--gold_border_md);
  background: var(--gold_bg);
  color: var(--text_primary);
  opacity: 1;
}

.oz_langBtn_flag  { font-size: 13px; line-height: 1; }
.oz_langBtn_label { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; }

/* SP（1100px以下）：上段バーごと非表示 */
@media screen and (max-width: 1100px) {
  .oz_langSwitch { display: none; }
}

/* ============================================================
   SP メニュー内 言語切替
   ============================================================ */

/* デフォルトは非表示（PC・メニュー閉時） */
.oz_navLangBar {
  display: none;
}

/* メニューが開いた時（open クラス付与時）のみ表示 */
@media screen and (max-width: 1100px) {
  .open .oz_navLangBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
    width: calc(100% - 80px);
    max-width: 600px;
    margin: auto;
  }

  .oz_navLangBar_label {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .oz_navLangBar_en {
    font-size: 14px;
    color: var(--color_sub);
    letter-spacing: 0.1em;
    font-weight: 500;
  }

  .oz_navLangBar_ja {
    font-size: 11px;
    color: #ffffff;
    display: block;
    margin-top: 2px;
  }

  .oz_navLangBar_btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }

  .oz_navLangBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    color: #c8c0a8;
    text-decoration: none;
    border: 1px solid rgba(159, 147, 117, 0.4);
    border-radius: 2px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
  }

  .oz_navLangBtn:hover {
    border-color: rgba(159, 147, 117, 0.7);
    background: rgba(160, 149, 119, 0.1);
    opacity: 1;
  }
}