:root {
  /* ホワイトベース（#FFFの完全な白ではなく、ピンクと調和するニュアンスホワイト） */
  --bg-base: #FAF4F6;
  --bg-surface: #FDFBFC;
  --bg-elevated: #FFFDFE;

  /* アクセントカラー：淡いピンク・落ち着いたダスティピンク */
  --pink-soft: #F5E6EA;
  --pink-accent: #EBCFD6;
  --pink-border: #E5D4D8;
  --pink-muted: #C9A9B2;

  /* ボタン・強調：バーガンディ（ワインレッド） */
  --burgundy: #6E1F32;
  --burgundy-hover: #561626;
  --burgundy-light: #8C3349;
  --burgundy-tint: #F8EEF0;

  /* テキストカラー：チャコールブラウン */
  --text-main: #33282B;
  --text-sub: #6E5D61;
  --text-muted: #9B8A8E;

  /* カレンダー休日（赤丸）・特別営業日（ブルー丸枠） */
  --holiday-red: #D64C58;
  --special-blue: #386FA4;
  --special-blue-bg: #F0F6FA;

  --shadow-soft: 0 8px 28px rgba(110, 31, 50, 0.05);
  --shadow-card: 0 4px 16px rgba(110, 31, 50, 0.04);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

a {
  color: var(--burgundy);
  text-decoration: none;
}

/* トップナビバー */
.top-utility-bar {
  width: 100%;
  background: #2C2225;
  color: #F5E6EA;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.top-utility-bar > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.top-utility-bar a {
  color: #FDFBFC;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  white-space: nowrap;
  transition: background 0.2s;
}
.top-utility-bar a:hover {
  background: var(--burgundy);
}

/* サロンヘッダー */
.site-header {
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--pink-border);
  padding: 20px 16px;
  text-align: center;
}
.brand-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  display: inline-block;
  line-height: 1.1;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-sub);
  display: block;
  margin-top: 4px;
}

.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* ページ最上部：サロンからのお知らせ（未記入時は出力されない） */
.salon-announcement {
  background: var(--bg-surface);
  border: 1px solid var(--pink-accent);
  border-left: 4px solid var(--burgundy);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.announcement-badge {
  background: var(--burgundy);
  color: #FFFDFE;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  margin-top: 2px;
  flex-shrink: 0;
}
.announcement-body {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.7;
  white-space: pre-line;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* アラート・フラッシュメッセージ */
.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.alert-success {
  background: #EDF7F2;
  border: 1px solid #A3D9B8;
  color: #1E5638;
}
.alert-error {
  background: #FDF0F1;
  border: 1px solid #E5A4AA;
  color: #8C232E;
}

/* ステップバー */
.step-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  width: 100%;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--pink-border);
  font-size: 12.5px;
  color: var(--text-sub);
  min-width: 0;
}
.step-item.active {
  background: var(--pink-soft);
  border-color: var(--burgundy);
  color: var(--burgundy);
  font-weight: 700;
}
.step-num {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--pink-accent);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item.active .step-num {
  background: var(--burgundy);
  color: var(--bg-elevated);
}
.step-line {
  width: 18px;
  height: 1px;
  background: var(--pink-border);
}

/* 2カラム予約レイアウト（minmax(0, 1fr) で子要素による横幅はみ出しを完全防止） */
.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  width: 100%;
}
.reservation-grid > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 840px) {
  .reservation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

/* セクションカード */
.section-card {
  width: 100%;
  max-width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pink-soft);
  flex-wrap: wrap;
  gap: 8px;
}
.section-title {
  font-family: 'Shippori Mincho', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--burgundy);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--burgundy);
  font-weight: 500;
  white-space: nowrap;
}

/* クーポン選択 */
.coupon-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.coupon-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 0;
}
.coupon-card > div:first-child {
  min-width: 0;
  flex: 1;
}
.coupon-card:hover {
  border-color: var(--pink-muted);
  background: #FFF9FB;
}
.coupon-card.selected {
  border-color: var(--burgundy);
  background: var(--burgundy-tint);
}
.coupon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.coupon-tag.discount {
  background: var(--burgundy);
  color: #FFFDFE;
}
.coupon-tag.freebie {
  background: var(--pink-accent);
  color: var(--burgundy);
}
.coupon-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: anywhere;
}
.coupon-desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.coupon-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
  flex-shrink: 0;
}

/* メニュー選択 */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
}
.cat-tab {
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  color: var(--text-sub);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s;
}
.cat-tab.active {
  background: var(--pink-soft);
  border-color: var(--burgundy);
  color: var(--burgundy);
  font-weight: 700;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.18s;
  width: 100%;
  min-width: 0;
}
.menu-item:hover {
  border-color: var(--pink-muted);
}
.menu-item.selected {
  border-color: var(--burgundy);
  background: var(--burgundy-tint);
}
.menu-info {
  min-width: 0;
  flex: 1;
}
.menu-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: anywhere;
}
.menu-meta {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.menu-price {
  flex-shrink: 0;
}
.menu-price .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}
.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--pink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 12px;
  color: transparent;
  flex-shrink: 0;
}
.selected .check-circle {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #FFFDFE;
}


/* メニュー種別バッジ（基本 / オプション） */
.menu-type-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.menu-type-badge.base {
  background: var(--pink-soft);
  color: var(--burgundy);
  border: 1px solid var(--pink-accent);
}
.menu-type-badge.option {
  background: var(--burgundy-tint);
  color: var(--burgundy);
  border: 1px dashed var(--burgundy);
}

/* 同一カテゴリ内で他の基本メニューが選択されている時の非活性化（薄くして選択不可） */
.menu-item.disabled-in-category {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  background: var(--bg-base) !important;
  border-color: var(--pink-border) !important;
  box-shadow: none !important;
}
.menu-item.disabled-in-category * {
  pointer-events: none !important;
}

/* 基本メニューが未選択の時のオプションメニュー非活性化（薄くして選択不可） */
.menu-item.option-locked {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background: var(--bg-base) !important;
  border-color: var(--pink-border) !important;
  box-shadow: none !important;
}
.menu-item.option-locked * {
  pointer-events: none !important;
}

/* スタイリスト選択 */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}
.staff-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 0;
}
.staff-card.selected {
  border-color: var(--burgundy);
  background: var(--burgundy-tint);
}
.staff-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pink-soft);
  border: 2px solid var(--pink-accent);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  color: var(--burgundy);
  font-weight: 600;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.staff-avatar img,
.staff-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}
.staff-name {
  font-size: 13.5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.staff-role {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.staff-fee {
  font-size: 11px;
  color: var(--burgundy);
  margin-top: 4px;
  font-weight: 600;
}

/* 営業・休日カレンダー兼 空き枠カレンダー */
.calendar-box {
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 20px;
  width: 100%;
  max-width: 100%;
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cal-month {
  font-family: 'Shippori Mincho', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}
.cal-nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--pink-border);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  flex-shrink: 0;
}
.cal-nav-btn:hover {
  background: var(--pink-soft);
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 12px;
  background: var(--bg-base);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-sub);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot-holiday {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--holiday-red);
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.legend-dot-special {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--special-blue);
  color: var(--special-blue);
  background: var(--special-blue-bg);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.legend-dot-selected {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  width: 100%;
}
.cal-dow {
  font-size: 11.5px;
  color: var(--text-sub);
  padding-bottom: 8px;
  font-weight: 700;
}
.cal-dow.sun { color: var(--holiday-red); }
.cal-dow.sat { color: var(--special-blue); }

.cal-day {
  padding: 7px 2px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 1px solid transparent;
  min-width: 0;
}
.cal-day:hover:not(.disabled):not(.holiday) {
  background: var(--pink-soft);
}
.cal-date-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.cal-status {
  font-size: 11px;
  line-height: 1;
  color: var(--burgundy);
  font-weight: 700;
}

/* 休日：日付背景を赤丸・白文字 */
.cal-day.holiday {
  cursor: not-allowed;
  background: #FAF2F3;
}
.cal-day.holiday .cal-date-num {
  background: var(--holiday-red);
  color: #FFFDFE;
  font-weight: 700;
}
.cal-day.holiday .cal-status {
  color: var(--holiday-red);
  font-size: 10px;
  font-weight: 500;
}

/* 特別営業日：数字にブルーの丸い枠 */
.cal-day.special .cal-date-num {
  border: 2px solid var(--special-blue);
  color: var(--special-blue);
  background: var(--special-blue-bg);
  font-weight: 700;
}
.cal-day.special .cal-status {
  color: var(--special-blue);
  font-size: 10px;
}

/* 選択中の日付：バーガンディ */
.cal-day.selected {
  background: var(--burgundy-tint);
  border-color: var(--burgundy);
}
.cal-day.selected .cal-date-num {
  background: var(--burgundy);
  color: #FFFDFE;
  border-color: var(--burgundy);
  font-weight: 700;
}

.cal-day.disabled {
  opacity: 0.35;
  cursor: default;
}

.special-notice {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--special-blue-bg);
  border-left: 3px solid var(--special-blue);
  border-radius: 6px;
  font-size: 12px;
  color: #264E73;
  overflow-wrap: anywhere;
}

.time-slots-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text-main);
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  width: 100%;
}
.time-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-main);
  transition: all 0.15s;
  min-width: 0;
}
.time-btn:hover:not(.unavailable) {
  border-color: var(--burgundy);
  background: var(--pink-soft);
}
.time-btn.selected {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #FFFDFE;
  font-weight: 700;
}
.time-btn .sym {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--burgundy);
}
.time-btn.selected .sym {
  color: var(--pink-soft);
}
.time-btn.unavailable {
  background: #F4ECEE;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.time-btn.unavailable .sym {
  color: var(--text-muted);
}

/* フォームパーツ */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.req-badge {
  background: var(--burgundy);
  color: #FFFDFE;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}
.form-input, .form-select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* iOSズーム防止 */
  color: var(--text-main);
  font-family: inherit;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(110, 31, 50, 0.1);
}

/* 時間範囲入力（出勤〜退勤・休憩時間等が枠からはみ出さないレイアウト） */
.time-range-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.time-range-row .form-input {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 8px;
  font-size: 13.5px;
}
.time-range-sep {
  color: var(--text-sub);
  font-size: 12px;
  flex-shrink: 0;
}

/* スタッフシフト設定カード専用グリッド */
.staff-config-card {
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.staff-config-grid-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.staff-config-grid-bottom {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) minmax(210px, 1.3fr) minmax(150px, 1fr) 130px;
  gap: 12px;
  align-items: end;
}
@media (max-width: 820px) {
  .staff-config-grid-top,
  .staff-config-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .staff-config-grid-top,
  .staff-config-grid-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 右カラムサマリー */
.summary-card {
  width: 100%;
  max-width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--pink-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 24px;
  box-shadow: var(--shadow-soft);
}
.summary-title {
  font-family: 'Shippori Mincho', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--burgundy);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pink-border);
  margin-bottom: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  gap: 8px;
}
.summary-row .label {
  color: var(--text-sub);
  min-width: 0;
}
.summary-row .val {
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.summary-divider {
  height: 1px;
  background: var(--pink-border);
  margin: 14px 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  gap: 8px;
}
.summary-total .total-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}
.payment-notice {
  background: var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 12px;
  color: var(--text-main);
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.payment-notice strong {
  color: var(--burgundy);
}

/* ボタン */
.btn-burgundy {
  width: 100%;
  background: var(--burgundy);
  color: #FFFDFE;
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(110, 31, 50, 0.22);
  font-family: inherit;
  display: inline-block;
  text-align: center;
}
.btn-burgundy:hover:not(:disabled) {
  background: var(--burgundy-hover);
  transform: translateY(-1px);
}
.btn-burgundy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-outline {
  background: var(--bg-elevated);
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
}
.btn-outline:hover {
  background: var(--burgundy-tint);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 16px;
}

/* 管理画面ナビ＆タイムテーブル */
.admin-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-nav a, .admin-nav .disabled {
  padding: 9px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--pink-border);
  border-radius: 24px;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
}
.admin-nav .disabled {
  background: var(--bg-base);
  color: var(--text-muted);
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}
.admin-nav a.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #FFFDFE;
  font-weight: 700;
}

.gantt-wrapper {
  overflow-x: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-md);
}
.gantt-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 12px;
}
.gantt-table th, .gantt-table td {
  border: 1px solid var(--pink-border);
  padding: 8px;
}
.gantt-table th {
  background: var(--pink-soft);
  color: var(--text-main);
  font-weight: 700;
  text-align: center;
}
.gantt-staff-col {
  width: 150px;
  background: var(--bg-surface);
  font-weight: 700;
}
.slot-lane {
  font-size: 10.5px;
  color: var(--text-sub);
  display: block;
  font-weight: 400;
}
.gantt-timeline-cell {
  position: relative;
  height: 52px;
  padding: 0 !important;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent calc(8.333% - 1px),
    #F3E8EB calc(8.333% - 1px),
    #F3E8EB 8.333%
  );
}
.booking-bar {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 2;
}
.booking-bar.confirmed {
  background: var(--burgundy);
  color: #FFFDFE;
}
.booking-bar.pending {
  background: #FFF3CD;
  border: 1.5px dashed #D9822B;
  color: #663C00;
}
.booking-bar.break {
  background: #EAE0E3;
  color: var(--text-sub);
  font-weight: 400;
  z-index: 1;
}
.booking-bar.timeoff {
  background: #FADBD8;
  border: 1.5px solid var(--holiday-red);
  color: #781E26;
  font-weight: 700;
  z-index: 1;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th, .data-table td {
  border-bottom: 1px solid var(--pink-border);
  padding: 11px 10px;
  text-align: left;
}
.data-table th {
  background: var(--pink-soft);
  font-weight: 700;
  font-size: 12px;
}
.status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.status-pill.pending { background: #FFF3CD; color: #7A4F01; }
.status-pill.confirmed { background: var(--burgundy-tint); color: var(--burgundy); }
.status-pill.cancelled, .status-pill.rejected { background: #F2EAEB; color: var(--text-muted); }

/* 管理画面フッター */
.admin-footer {
  width: 100%;
  max-width: 1020px;
  margin: 24px auto 0;
  padding: 18px 16px;
  border-top: 1px solid var(--pink-border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ==========================================
   スマートフォン表示向けレスポンシブ最適化
   ========================================== */
@media (max-width: 600px) {
  body {
    padding-bottom: 48px;
  }

  .top-utility-bar {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: -0.01em;
    justify-content: center;
    text-align: center;
  }

  .site-header {
    padding: 16px 12px;
  }
  .brand-logo {
    font-size: 28px;
  }
  .brand-sub {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .container {
    padding: 16px 12px;
  }

  .salon-announcement {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
  }

  /* ステップバー：スマホでは2列×2段の整ったグリッドにし、はみ出る横線を非表示 */
  .step-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
  }
  .step-line {
    display: none;
  }
  .step-item {
    width: 100%;
    padding: 7px 10px;
    font-size: 11.5px;
    justify-content: flex-start;
  }
  .step-num {
    width: 19px;
    height: 19px;
    font-size: 10.5px;
  }

  .section-card {
    padding: 16px 14px;
    margin-bottom: 16px;
    border-radius: 14px;
  }
  .section-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .section-title {
    font-size: 16px;
    gap: 8px;
  }
  .section-badge {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .cat-tab {
    padding: 5px 12px;
    font-size: 11.5px;
  }

  .menu-item {
    padding: 12px;
    gap: 8px;
  }
  .menu-info h4 {
    font-size: 13.5px;
  }
  .menu-meta {
    font-size: 11.5px;
  }
  .menu-price .price {
    font-size: 14px;
  }
  .check-circle {
    width: 20px;
    height: 20px;
    margin-left: 8px;
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .staff-card {
    padding: 12px 8px;
  }

  .calendar-box {
    padding: 12px 8px;
  }
  .cal-month {
    font-size: 16px;
  }
  .cal-legend {
    padding: 8px 10px;
    gap: 6px 12px;
    font-size: 11px;
  }
  .cal-grid {
    gap: 3px;
  }
  .cal-day {
    min-height: 50px;
    padding: 5px 1px;
    border-radius: 8px;
  }
  .cal-date-num {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .cal-status {
    font-size: 10px;
  }

  .time-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 6px;
  }
  .time-btn {
    padding: 8px 4px;
    font-size: 12px;
  }

  .summary-card {
    padding: 18px 14px;
    position: static;
  }
}
