/* ===================================================================
   店舗一覧・詳細ページ専用スタイル
   （styles.css の共通スタイルをベースに拡張）
   =================================================================== */

/* ヘッダー・フッターは styles.css の共通スタイルを使用（TOPページと統一） */

/* 現在ページを示すナビゲーションハイライト */
.nav-list .nav-current {
  color: var(--color-primary, #00c853);
  font-weight: 700;
}
.nav-list .nav-current::after {
  width: 100% !important;
}

/* ---------- 店舗一覧ヒーロー ---------- */
.shops-hero {
  background:
    linear-gradient(rgba(15, 15, 15, 0.72), rgba(15, 15, 15, 0.85)),
    url('images/shops/shinjuku.jpg') center/cover no-repeat;
  color: #fff;
  /* ヘッダーの高さ分の余白を確保 */
  padding: 140px 24px 80px;
  text-align: center;
}

.shops-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.shops-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

.shops-hero p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
}

/* ---------- 募集中フィルタ ---------- */
.shops-filter {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.shops-filter__counts {
  color: #333;
  font-size: 0.95rem;
}
.shops-filter__count-main strong {
  color: #00a844;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 4px;
}
.shops-filter__count-total {
  color: #888;
  font-size: 0.85rem;
  margin-left: 6px;
}
.shops-filter__toggle {
  display: inline-flex;
  background: #f0f0f0;
  border-radius: 100px;
  padding: 4px;
  gap: 0;
}
.shops-filter__btn {
  padding: 9px 20px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.shops-filter__btn:hover {
  color: #333;
}
.shops-filter__btn--active {
  background: #fff;
  color: #00a844;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.shops-filter__btn--active:hover {
  color: #00a844;
}

/* 募集休止カードのスタイル */
.shop-card {
  position: relative;
}
.shop-card__status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(80, 80, 80, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: 0.05em;
}
.shop-card[data-recruiting="false"] .shop-card__image {
  filter: grayscale(0.7);
  opacity: 0.7;
}
.shop-card[data-recruiting="false"] .shop-card__name,
.shop-card[data-recruiting="false"] .shop-card__access {
  color: #888;
}
.job-tag--closed {
  background: #ddd;
  color: #888;
  text-decoration: line-through;
}

/* フィルタモード: 募集中のみ */
.shops-list[data-filter-mode="recruiting"] .shop-card[data-recruiting="false"] {
  display: none;
}
.shops-list[data-filter-mode="recruiting"] .brand-section[data-has-recruiting="false"] {
  display: none;
}
.shops-list[data-filter-mode="recruiting"] .non-store-card[data-recruiting="false"] {
  display: none;
}
.shops-list[data-filter-mode="recruiting"] .non-store-section[data-has-recruiting="false"] {
  display: none;
}

/* ---------- 店舗外ポジション（EC事業部・本部） ---------- */
.non-store-section {
  padding: 80px 24px;
  background: #f5f7fa;
  border-top: 4px solid #1565c0;
}
.non-store-section .brand-section__header {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: center;
}
.non-store-section .brand-section__title {
  color: #1565c0;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 0 0 10px;
}
.non-store-section .brand-section__tagline {
  color: #666;
  font-size: 0.95rem;
}
.non-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.non-store-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 6px solid var(--dept-color, #1565c0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.non-store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.non-store-card[data-dept="ec"] { --dept-color: #1565c0; }
.non-store-card[data-dept="honbu"] { --dept-color: #6d4c41; }
.non-store-card[data-recruiting="false"] {
  opacity: 0.65;
  filter: grayscale(0.3);
}
.non-store-card__dept {
  display: inline-block;
  background: var(--dept-color, #1565c0);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  width: fit-content;
}
.non-store-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.4;
}
.non-store-card__meta {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 0.88rem;
}
.non-store-card__meta dt {
  color: #888;
  font-weight: 600;
  font-size: 0.8rem;
  padding-top: 2px;
}
.non-store-card__meta dd {
  margin: 0;
  color: #333;
  line-height: 1.6;
}
.non-store-card__desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .non-store-section { padding: 60px 20px; }
  .non-store-grid { grid-template-columns: 1fr; gap: 16px; }
  .non-store-card { padding: 22px 20px; }
}

/* ---------- 業態別セクション ---------- */
.brand-section {
  padding: 80px 24px;
  border-top: 4px solid var(--brand-color, #00c853);
}

.brand-section:nth-child(even) {
  background: #f8f8f8;
}

.brand-section__header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}

.brand-section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--brand-color, #00c853);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.brand-section__tagline {
  font-size: 1.05rem;
  color: #555;
  margin: 0;
}

/* ---------- 店舗カードグリッド ---------- */
.shop-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.shop-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #333 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.shop-card__brand {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-color, #00c853);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.shop-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card__name {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #111;
}

.shop-card__access {
  font-size: 0.88rem;
  color: #666;
  margin: 0 0 16px;
  flex: 1;
}

.shop-card__jobs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.job-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.job-tag--fulltime {
  background: #e8f5e9;
  color: #2e7d32;
}

.job-tag--parttime {
  background: #fff3e0;
  color: #e65100;
}

.job-tag--contract {
  background: #e3f2fd;
  color: #1565c0;
}

.shop-card__more {
  font-size: 0.9rem;
  color: var(--brand-color, #00c853);
  font-weight: 600;
}

/* ---------- 店舗詳細ページ ---------- */
.shop-hero {
  background: linear-gradient(135deg, var(--color-bg-dark, #0f0f0f) 0%, #222 100%);
  color: #fff;
  /* ヘッダーの高さ分の余白を確保 */
  padding: 140px 24px 80px;
  text-align: center;
  border-bottom: 6px solid var(--brand-color, #00c853);
}

.shop-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.shop-brand-badge {
  display: inline-block;
  background: var(--brand-color, #00c853);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.shop-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.shop-tagline {
  font-size: 1.1rem;
  color: #aaa;
  margin: 0;
}
.shop-hero--photo .shop-tagline {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.shop-hero--photo .shop-title {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.shop-info {
  padding: 80px 24px;
  background: #fafafa;
}

.shop-info__inner {
  max-width: 900px;
  margin: 0 auto;
}

.shop-info h2 {
  font-size: 1.8rem;
  margin: 0 0 24px;
  color: #111;
  border-left: 4px solid var(--brand-color, #00c853);
  padding-left: 16px;
}

.shop-info h2:not(:first-child) {
  margin-top: 56px;
}

.shop-description {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 32px;
}

.shop-meta dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 24px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shop-meta dt {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
  padding-top: 4px;
}

.shop-meta dd {
  margin: 0;
  color: #111;
}

.shop-appeal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.shop-appeal li {
  background: #fff;
  padding: 16px 20px 16px 44px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.shop-appeal li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-color, #00c853);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ---------- 募集職種 ---------- */
.shop-jobs {
  padding: 80px 24px;
  background: #fff;
}

.shop-jobs__inner {
  max-width: 900px;
  margin: 0 auto;
}

.shop-jobs h2 {
  font-size: 1.8rem;
  margin: 0 0 40px;
  color: #111;
  text-align: center;
}

.job-cards {
  display: grid;
  gap: 24px;
}

.job-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 32px;
  border-left: 6px solid #00c853;
}

.job-card--parttime {
  border-left-color: #ff9800;
}

.job-card--contract {
  border-left-color: #2196f3;
}

.job-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.job-type-badge {
  background: #111;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.job-position {
  margin: 0;
  font-size: 1.4rem;
  color: #111;
}

.job-details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.job-details dt {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
  padding-top: 4px;
}

.job-details dd {
  margin: 0;
  color: #111;
}

.job-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.job-list li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.job-entry-btn {
  display: inline-block;
  background: #00c853;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  transition: background 0.2s;
}

.job-entry-btn:hover {
  background: #00a844;
}

/* 募集休止 */
.job-card--closed {
  opacity: 0.6;
}

.job-entry-btn--closed {
  display: inline-block;
  background: #999;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  cursor: not-allowed;
  font-size: 0.9rem;
}

/* ---------- 応募CTAセクション ---------- */
.shop-entry {
  padding: 80px 24px;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
}

.shop-entry__inner {
  max-width: 700px;
  margin: 0 auto;
}

.shop-entry h2 {
  font-size: 2rem;
  margin: 0 0 16px;
}

.shop-entry p {
  font-size: 1.05rem;
  color: #ccc;
  margin: 0 0 32px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: #7FCC30;
  color: #0f0f0f;
  text-decoration: none;
  font-weight: 700;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(127, 204, 48, 0.4);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* フッターは styles.css の共通スタイルを使用 */

/* ---------- 正社員ガイダンス（一覧ヒーロー内） ---------- */
.shops-hero__notice {
  max-width: 680px;
  margin: 36px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: left;
}
.shops-hero__notice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.shops-hero__notice-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 0 12px;
}
.shops-hero__notice-text strong {
  color: #fff;
}
.shops-hero__notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.shops-hero__notice-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.shops-hero__notice-link--grad {
  background: #1565c0;
  color: #fff;
}
.shops-hero__notice-link--grad:hover {
  background: #1976d2;
  transform: translateY(-1px);
}
.shops-hero__notice-link--career {
  background: #00a844;
  color: #fff;
}
.shops-hero__notice-link--career:hover {
  background: #00c853;
  transform: translateY(-1px);
}

/* ---------- 正社員ガイダンス（店舗詳細） ---------- */
.fulltime-notice {
  margin-top: 32px;
  padding: 24px 28px;
  background: #f5f9ff;
  border: 1px solid #d9e6f7;
  border-left: 4px solid #1565c0;
  border-radius: 12px;
}
.fulltime-notice__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1565c0;
  margin: 0 0 8px;
}
.fulltime-notice__text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.8;
  margin: 0 0 16px;
}
.fulltime-notice__text strong {
  color: #1565c0;
}
.fulltime-notice__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fulltime-notice__link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.fulltime-notice__link--grad {
  background: #1565c0;
  color: #fff;
}
.fulltime-notice__link--grad:hover {
  background: #1976d2;
  transform: translateY(-1px);
}
.fulltime-notice__link--career {
  background: #00a844;
  color: #fff;
}
.fulltime-notice__link--career:hover {
  background: #00c853;
  transform: translateY(-1px);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .shop-meta dl,
  .job-details {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .shop-meta dt,
  .job-details dt {
    padding-top: 12px;
    font-size: 0.8rem;
  }
  .job-card {
    padding: 24px 20px;
  }
  .fulltime-notice {
    padding: 20px 18px;
  }
  .fulltime-notice__link,
  .shops-hero__notice-link {
    flex: 1 1 100%;
    text-align: center;
  }
}
