/* ============================================================
   page-staff.css — スタッフ一覧 & 詳細
   ============================================================ */

/* ============================================================
   一覧ページ
   ============================================================ */

/* ページ説明文 */
.staff-page-desc {
  font-size: 14px;
  line-height: 2;
  color: #555;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 48px;
}

/* 店舗セクション */
.staff-shop-section {
  margin-bottom: 40px;
}

/* 店舗帯（黒背景） */
.staff-shop-bar {
  background: #1a1a1a;
  padding: 12px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.staff-shop-bar-en {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #fff;
}

.staff-shop-bar-ja {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.14em;
}

/* スタッフグリッド（5列） */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
  margin-bottom: 24px;
  padding: 0 4px;
}

/* 出張スタッフエリア */
.staff-visit-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #666;
  background: #f0ede9;
  padding: 10px 16px;
  margin-bottom: 16px;
  text-align: center;
}

.staff-grid--visit {
  background: #f8f7f5;
  padding: 16px;
  border-radius: 4px;
}

/* スタッフカード */
.staff-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

/* 画像 */
.staff-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ede9;
  margin-bottom: 0;
}

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

.staff-card:hover .staff-card-img img {
  transform: scale(1.04);
}

.staff-card-img.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ccc;
}

/* テキスト */
.staff-card-body {
  padding: 8px 4px 4px;
  border-bottom: 1px solid #e8e4e0;
}

.staff-card-name {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  line-height: 1.3;
}

.staff-card-position {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #800000;
  margin-top: 3px;
}

.staff-card-sub {
  display: block;
  font-size: 10px;
  color: #888;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.staff-card-shop {
  display: block;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ============================================================
   詳細ページ
   ============================================================ */
.staff-detail-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.staff-detail-profile {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e8e4e0;
}

.staff-detail-left {
  flex: 0 0 260px;
}

.staff-detail-img {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
}

.staff-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.staff-rsv-btn {
  display: block;
  text-align: center;
  background: #800000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.staff-rsv-btn:hover { opacity: 0.8; }

.staff-detail-right {
  flex: 1;
  min-width: 0;
}

.staff-detail-position {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #800000;
  margin-bottom: 6px;
}

.staff-detail-name {
  font-family: var(--font-serif-jp);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.staff-detail-name-en {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: #aaa;
  margin-bottom: 20px;
}

.staff-detail-appeal-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e4e0;
}

.staff-detail-appeal-text {
  font-size: 13px;
  line-height: 2;
  color: #555;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.staff-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.staff-detail-table tr {
  border-bottom: 1px solid #e8e4e0;
}

.staff-detail-table th {
  width: 100px;
  padding: 10px 8px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.04em;
  vertical-align: top;
  white-space: nowrap;
  background: #faf9f7;
}

.staff-detail-table td {
  padding: 10px 12px;
  color: #333;
  letter-spacing: 0.04em;
  line-height: 1.7;
  vertical-align: top;
}

.staff-detail-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e8e4e0;
}

.staff-detail-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.staff-detail-section-en {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #1a1a1a;
}

.staff-detail-section-ja {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.1em;
}

.staff-cal-legend {
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
}

.staff-cal-wrap {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.staff-sns-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.staff-sns-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.staff-sns-btn:hover { opacity: 0.8; }

.staff-sns-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.staff-sns-btn--blog { background: #1a1a1a; color: #fff; }
.staff-sns-btn--twitter { background: #000; color: #fff; }

.staff-instagram-widget { margin-top: 16px; }

.staff-hair-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.staff-hair-card {
  display: block;
  text-decoration: none;
}

.staff-hair-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ede9;
  border-radius: 4px;
  margin-bottom: 6px;
}

.staff-hair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.staff-hair-card:hover .staff-hair-img img { transform: scale(1.04); }

.staff-hair-title {
  font-size: 12px;
  color: #444;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
}

.staff-hair-more { text-align: right; }

.staff-hair-more a {
  font-size: 13px;
  color: #800000;
  text-decoration: none;
}

.staff-hair-more a:hover { text-decoration: underline; }

.staff-detail-back {
  text-align: center;
  margin-top: 40px;
}

.staff-detail-back a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #1a1a1a;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.2s;
}

.staff-detail-back a:hover { background: #800000; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .staff-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }

  .staff-detail-profile { flex-direction: column; gap: 24px; }
  .staff-detail-left { flex: none; width: 100%; max-width: 280px; margin: 0 auto; }
  .staff-hair-grid { grid-template-columns: repeat(3, 1fr); }
  .staff-cal-wrap { flex-direction: column; }
}

@media (max-width: 480px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-hair-grid { grid-template-columns: repeat(2, 1fr); }

  .staff-detail-table th,
  .staff-detail-table td { display: block; width: 100%; }
}

/* ============================================================
   スタッフ詳細（sd- プレフィックス）
   ============================================================ */

.sd-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ---- プロフィール ---- */
.sd-profile {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e4e0;
}

.sd-left {
  flex: 0 0 240px;
}

.sd-photo {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.sd-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.sd-rsv-btn {
  display: block;
  text-align: center;
  background: #800000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sd-rsv-btn:hover { opacity: 0.8; }

.sd-right {
  flex: 1;
  min-width: 0;
}

.sd-position {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #800000;
  margin-bottom: 4px;
}

.sd-name {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.sd-name-en {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: #aaa;
  margin-bottom: 16px;
}

.sd-appeal-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.sd-appeal-text {
  font-size: 13px;
  line-height: 2;
  color: #555;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* プロフィールテーブル */
.sd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sd-table tr { border-bottom: 1px solid #e8e4e0; }
.sd-table tr:first-child { border-top: 1px solid #e8e4e0; }

.sd-table th {
  padding: 10px 10px;
  font-weight: 700;
  color: #666;
  background: #faf9f7;
  vertical-align: top;
  white-space: nowrap;
  width: 110px;
  letter-spacing: 0.04em;
}

.sd-table td {
  padding: 10px 12px;
  color: #333;
  letter-spacing: 0.04em;
  line-height: 1.7;
  vertical-align: top;
}

/* ---- スケジュール + SNS ---- */
.sd-schedule-sns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e4e0;
  align-items: start;
}

.sd-section-bar {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: #1a1a1a;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.sd-cal-legend {
  font-size: 12px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 12px;
}

.sd-cal-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sd-cal-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border: 1px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
}

.sd-cal-btn--active {
  background: #800000;
  border-color: #800000;
  color: #fff;
}

.sd-sns-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.sd-sns-btn {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #fff;
}

.sd-sns-btn:hover { opacity: 0.8; }

.sd-sns-btn--ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.sd-sns-btn--blog { background: #1a1a1a; }
.sd-sns-btn--tw   { background: #000; }

.sd-instagram-widget { margin-bottom: 16px; }

/* ---- ヘアスタイル ---- */
.sd-hair {
  margin-bottom: 48px;
}

.sd-hair-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}

.sd-hair-card { display: block; text-decoration: none; }

.sd-hair-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ede9;
  margin-bottom: 6px;
}

.sd-hair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.sd-hair-card:hover .sd-hair-img img { transform: scale(1.04); }

.sd-hair-title {
  font-size: 12px;
  color: #444;
  text-align: center;
  line-height: 1.5;
}

.sd-hair-more { text-align: right; }
.sd-hair-more a { font-size: 13px; color: #800000; text-decoration: none; }
.sd-hair-more a:hover { text-decoration: underline; }

/* ---- 戻るボタン ---- */
.sd-back { text-align: center; margin-top: 32px; }
.sd-back a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #1a1a1a;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.2s;
}
.sd-back a:hover { background: #800000; }

/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
  .sd-profile { flex-direction: column; gap: 24px; }
  .sd-left { flex: none; max-width: 240px; margin: 0 auto; }
  .sd-schedule-sns { grid-template-columns: 1fr; }
  .sd-hair-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .sd-table th, .sd-table td { display: block; width: 100%; }
  .sd-hair-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   カレンダー（render_staff_calendar出力用）
   ============================================================ */
.cal-wrap {
  display: block;
  margin-bottom: 0;
}

.cal-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-align: center;
  background: #1a1a1a;
  padding: 8px 0;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
  border: 1px solid #e0ddd9;
  border-top: none;
}

.cal-table thead { background: #f5f4f2; }

.cal-table th {
  text-align: center;
  padding: 6px 2px;
  font-weight: 600;
  font-size: 12px;
  border-right: 1px solid #e8e4de;
  color: #555;
}

.cal-table th:first-child { color: #cc0000; }
.cal-table th:last-child  { color: #0044cc; }

.cal-table td {
  text-align: center;
  padding: 4px 2px;
  color: #333;
  font-size: 13px;
  border-right: 1px solid #f0ede9;
  border-bottom: 1px solid #f0ede9;
  line-height: 1;
  height: 40px;
}

.cal-table .cal-sun { color: #cc0000; }
.cal-table .cal-sat { color: #0044cc; }

.cal-table .cal-holiday span,
.cal-table .cal-change span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cal-table .cal-holiday span { background: #800000; color: #fff; }
.cal-table .cal-change span  { background: #f0a000; color: #fff; }

/* 今月・来月ボタン */
.sd-cal-btns {
  display: flex;
}

.sd-cal-tab {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #aaa;
  background: #f5f4f2;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border-right: 1px solid #e0ddd9;
}

.sd-cal-tab:last-child { border-right: none; }
.sd-cal-tab.sd-cal-tab--active { background: #1a1a1a; color: #fff; }
.sd-cal-tab:hover:not(.sd-cal-tab--active) { background: #e0ddd9; color: #333; }

.sd-sns-btn--fb { background: #1877f2; }

/* ビューティーコーディネーター：スケジュールなしの場合SNSを全幅に */
.sd-schedule-sns--no-cal {
  grid-template-columns: 1fr;
}

/* SNSなしの場合スケジュールを全幅に */
.sd-schedule:only-child {
  grid-column: 1 / -1;
}
