/* ==========================================================
   WordPress用の追加スタイル（main.css を土台に上書き・追加）
   ========================================================== */

/* 管理バーが出ているとき、固定ヘッダーの位置をずらす */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.container--narrow { width: min(780px, 100% - 40px); margin-inline: auto; }

/* メニュー（管理画面のメニュー機能で作ったとき） */
.gnav ul { list-style: none; }
.gnav .current-menu-item > a,
.gnav .current_page_item > a,
.gnav .current-menu-ancestor > a { color: var(--accent); border-color: var(--gold); }
ul.footer-nav { list-style: none; padding: 0; }

/* バナー */
.kv-slide picture { display: block; width: 100%; height: 100%; }
.sgg-admin-note { margin: 0; border-left-width: 0; border-bottom: 3px solid var(--wine); text-align: center; }

/* 店舗カードの画像 */
.shop-thumb.has-img { display: block; padding: 0; background: var(--bg-sub); }
.shop-thumb.has-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-thumb { text-align: center; padding: 0 12px; }

/* カテゴリのリンク（チップ） */
a.chip { display: inline-block; text-decoration: none; }
.result-count:empty { display: none; }

/* お知らせ */
.ev-badge { font-size: 11px; padding: 2px 10px; background: var(--bg-sub); border: 1px solid var(--gold); color: var(--accent); letter-spacing: .04em; }
.entry-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; color: var(--text-sub); }
.entry-meta time { font-family: var(--font-en); font-weight: 600; letter-spacing: .08em; font-size: 15px; }
.entry-title { font-family: var(--font-serif); font-weight: 500; font-size: 26px; letter-spacing: .08em; line-height: 1.6; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--gold); }
.event-table { margin-bottom: 32px; }

/* 本文（エディタで書いた内容） */
.entry-content { font-size: 15px; line-height: 2; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-family: var(--font-serif); font-weight: 500; font-size: 22px; letter-spacing: .08em; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-top: 2.2em; }
.entry-content h3 { font-family: var(--font-serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; margin-top: 1.8em; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content ul { list-style: disc; }
.entry-content img { height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; color: var(--text-sub); }

/* ページ送り */
.navigation.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-numbers { padding: 6px 16px; border: 1px solid var(--line); font-family: var(--font-en); font-weight: 600; letter-spacing: .06em; transition: .2s; }
a.page-numbers:hover { border-color: var(--gold); color: var(--accent); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-numbers.dots { border: 0; }

/* フォーム（Contact Form 7 の出力に main.css のフォームデザインを適用） */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-wrap p { margin-bottom: 20px; font-size: 14px; }
.form-wrap label { display: block; font-size: 14px; }
.form-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.form-wrap select,
.form-wrap textarea {
  width: 100%; margin-top: 6px; background: #fff; color: var(--text); border: 1px solid #d8cfbb;
  border-radius: var(--radius); padding: 13px 14px; font: inherit;
}
.form-wrap input:focus, .form-wrap select:focus, .form-wrap textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-wrap textarea { min-height: 140px; resize: vertical; }
.form-wrap .wpcf7-list-item { margin: 0; }
.form-wrap .wpcf7-submit, .form-wrap input[type=submit] {
  display: inline-block; padding: 14px 48px; border-radius: var(--radius); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .18em; cursor: pointer; transition: .3s;
}
.form-wrap .wpcf7-submit:hover { background: var(--accent); border-color: var(--accent); }
.form-wrap .wpcf7-not-valid-tip { color: var(--wine); font-size: 12px; }
.form-wrap .wpcf7-response-output { margin: 20px 0 0; padding: 12px 16px; border: 1px solid var(--line); font-size: 13px; }
.form-wrap .submit-wrap, .form-wrap p:has(.wpcf7-submit) { text-align: center; }

/* 求人バナー（店舗ごと・他媒体へのリンク） */
.job-card .shop-thumb { aspect-ratio: 16 / 9; }
.job-card .shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.job-card .shop-body .btn { display: block; }

/* トップの店舗カード：リンク部分と、下の小さな求人ボタン */
.shop-card .shop-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.shop-rec { display: flex; gap: 8px; padding: 0 16px 16px; }
.shop-rec a {
  flex: 1; text-align: center; font-size: 12px; letter-spacing: .08em; padding: 8px 6px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-sub);
  background: var(--bg); transition: .25s;
}
.shop-rec a:hover { border-color: var(--gold); color: var(--accent); }

/* 長めのひとこと紹介に合わせて、カードを幅広に（PCで2列・スマホで1列） */
.shop-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.shop-card .shop-body p { font-size: 13px; line-height: 1.95; text-align: left; }

/* 小さな求人ボタンの色分け：女性＝ピンク／男性＝ブルー */
.shop-rec a.rec-w { color: #b3487a; border-color: #e6a9c4; background: #fdf3f8; }
.shop-rec a.rec-w:hover { background: #b3487a; border-color: #b3487a; color: #fff; }
.shop-rec a.rec-m { color: #2f63a3; border-color: #a3bfe4; background: #f1f6fd; }
.shop-rec a.rec-m:hover { background: #2f63a3; border-color: #2f63a3; color: #fff; }

/* ==========================================================
   トップの冒頭ブロック（大きな太字のグループ名＋紹介文）
   配色は「テーマ設定」で white / black / gold / pink を切り替え
   ========================================================== */
.lead { text-align: center; padding: 56px 0 52px; background: var(--bg); color: var(--text); }
.lead-title {
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif;
  font-weight: 900; font-size: clamp(30px, 7.2vw, 72px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: 8px; word-break: keep-all; overflow-wrap: anywhere;
}
.lead-catch { font-weight: 700; font-size: clamp(18px, 3.2vw, 30px); line-height: 1.45; letter-spacing: .04em; margin-bottom: 16px; color: var(--ink); text-wrap: balance; }
.lead-sub { font-size: clamp(14px, 2.2vw, 19px); font-weight: 500; line-height: 1.6; margin-bottom: 12px; text-wrap: balance; }
.lead-strong { font-weight: 700; font-size: 15px; line-height: 1.7; margin-bottom: 6px; letter-spacing: .04em; text-wrap: balance; }
.lead-text { font-size: 13px; line-height: 1.8; max-width: 780px; margin: 0 auto 6px; color: var(--text-sub); }
.lead-notice { font-size: 13px; line-height: 1.7; max-width: 780px; margin: 10px auto 0; }
.lead-foot { font-size: 11px; opacity: .7; margin-top: 8px; }
.lead .btns { margin-top: 22px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* 女性求人＝ピンク／男性求人＝ブルー */
.lead .btn.btn--w, .lead .btn.btn--m { color: #fff; min-width: 180px; text-align: center; }
.lead .btn.btn--w { background: #d83b86; border-color: #d83b86; }
.lead .btn.btn--w:hover { background: #b3256b; border-color: #b3256b; color: #fff; }
.lead .btn.btn--m { background: #2f63a3; border-color: #2f63a3; }
.lead .btn.btn--m:hover { background: #1f4a82; border-color: #1f4a82; color: #fff; }
.lead--pink .btn.btn--w, .lead--pink .btn.btn--m { border-color: #fff; }

/* ブラック */
.lead--black { background: #111114; color: #fff; }
.lead--black .lead-title { color: #fff; }
.lead--black .lead-catch { color: #d9bd7e; }
.lead--black .lead-text { color: rgba(255,255,255,.78); }
.lead--black .btn:not(.btn--w):not(.btn--m) { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.lead--black .btn:hover { background: #fff; color: #111; }
.lead--black .btn--fill { background: #fff; border-color: #fff; color: #111; }
.lead--black .btn--fill:hover { background: #d9bd7e; border-color: #d9bd7e; color: #111; }

/* ゴールド */
.lead--gold { background: #c4a763; color: #1d1912; }
.lead--gold .lead-title, .lead--gold .lead-catch { color: #17140d; }
.lead--gold .lead-text { color: rgba(23,20,13,.82); }
.lead--gold .btn:not(.btn--w):not(.btn--m) { border-color: #17140d; color: #17140d; background: transparent; }
.lead--gold .btn:hover { background: #17140d; color: #fff; }
.lead--gold .btn--fill { background: #17140d; border-color: #17140d; color: #fff; }

/* ピンク */
.lead--pink { background: #ff0a96; color: #fff; }
.lead--pink .lead-title, .lead--pink .lead-catch, .lead--pink .lead-strong { color: #000; }
.lead--pink .lead-sub, .lead--pink .lead-notice { color: #fff; }
.lead--pink .lead-text { color: rgba(255,255,255,.95); }
.lead--pink .btn:not(.btn--w):not(.btn--m) { border-color: #fff; color: #fff; background: transparent; }
.lead--pink .btn:hover { background: #fff; color: #ff0a96; }
.lead--pink .btn--fill { background: #000; border-color: #000; color: #fff; }
.lead--pink .btn--fill:hover { background: #fff; border-color: #fff; color: #ff0a96; }

@media (max-width: 768px) { .lead { padding: 40px 0; } .lead-text, .lead-notice { text-align: left; } .lead-text br { display: none; } }

/* ---------- 求人バナー：ピンク（キャスト）／ブルー（男性スタッフ）／画像 ---------- */
.recruit-banners .r-banner.r-banner--w { background: linear-gradient(135deg, #ff8fc0, #e0408a); border-color: #e0408a; color: #fff; }
.recruit-banners .r-banner.r-banner--m { background: linear-gradient(135deg, #6aa4e6, #2f63a3); border-color: #2f63a3; color: #fff; }
.recruit-banners .r-banner--w .en, .recruit-banners .r-banner--m .en,
.recruit-banners .r-banner--w span:last-child, .recruit-banners .r-banner--m span:last-child { color: rgba(255,255,255,.92); }
.recruit-banners .r-banner--w strong, .recruit-banners .r-banner--m strong { color: #fff; }
.recruit-banners .r-banner.r-banner--img { padding: 0; overflow: hidden; background: none; }
.r-banner--img img { display: block; width: 100%; height: auto; }

/* スマホ下部の固定ボタン */
.bottom-cta a.cta-w { background: #d83b86; color: #fff; }
.bottom-cta a.cta-m { background: #2f63a3; color: #fff; }

/* ---------- キャストランキング（画像は 390×520 の縦長を縮小表示） ---------- */
.rank-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.rank-card { display: flex; flex-direction: column; width: calc((100% - 66px) / 4); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: .3s; }
.rank-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(70,52,12,.12); border-color: var(--gold); }
.rank-frame { display: block; aspect-ratio: 390 / 520; background: linear-gradient(135deg, #faf5e9, #eee1c4); }
.rank-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--accent); }
.rank-ph em { font-family: var(--font-en); font-style: italic; letter-spacing: .2em; font-size: 14px; }
.rank-body { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 16px; text-align: center; flex: 1; }
.rank-body strong { font-family: var(--font-serif); font-weight: 500; font-size: 15px; letter-spacing: .06em; line-height: 1.5; }
.rank-genre { font-size: 11px; padding: 1px 10px; border: 1px solid var(--gold); color: var(--accent); }
.rank-btn { margin-top: auto; font-size: 12px; letter-spacing: .1em; padding: 8px 14px; border: 1px solid var(--ink); border-radius: var(--radius); transition: .25s; }
.rank-card:hover .rank-btn { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .rank-card { width: calc((100% - 22px) / 2); } }
@media (max-width: 600px) {
  .rank-grid { gap: 12px; }
  .rank-card { width: calc((100% - 12px) / 2); }
  .rank-body { padding: 10px 6px 12px; }
  .rank-body strong { font-size: 13px; }
  .rank-btn { font-size: 11px; padding: 7px 8px; letter-spacing: .04em; }
}
/* スマホでも冒頭の求人ボタンは横並び */
@media (max-width: 600px) {
  .lead .btns { flex-wrap: nowrap; gap: 10px; }
  .lead .btn.btn--w, .lead .btn.btn--m { flex: 1; min-width: 0; padding-left: 8px; padding-right: 8px; letter-spacing: .08em; }
}

/* ---------- ヘッダー・フッターメニューの「女性求人」「男性求人」の文字色 ---------- */
.gnav a[href*="recruit-women"], .gnav a[href*="recruit-women"]:hover { color: #d83b86; }
.gnav a[href*="recruit-men"], .gnav a[href*="recruit-men"]:hover { color: #2f63a3; }
.gnav a[href*="recruit-women"][aria-current="page"], .gnav .current-menu-item > a[href*="recruit-women"] { border-color: #d83b86; }
.gnav a[href*="recruit-men"][aria-current="page"], .gnav .current-menu-item > a[href*="recruit-men"] { border-color: #2f63a3; }
.footer-nav a[href*="recruit-women"], .footer-nav a[href*="recruit-women"]:hover { color: #ff86bd; }
.footer-nav a[href*="recruit-men"], .footer-nav a[href*="recruit-men"]:hover { color: #86b6f2; }

/* ---------- スマホ：余白を詰める ---------- */
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .sec-title { margin-bottom: 26px; }
  .sec-title .en { font-size: 14px; }
  .sec-title h2 { font-size: 21px; }
  .sec-title::after { margin-top: 12px; }
  .r-banner { padding: 26px 20px; }
  .r-banner strong { font-size: 21px; margin: 2px 0 4px; }
  .recruit-banners { gap: 12px; }
  .about { gap: 20px; }
  .footnote { margin-top: 14px; }
  .shop-grid--wide { gap: 16px; }
  .site-footer { padding: 36px 0 24px; }
}
