/* ============================================================================
   基本設定 - ふくサロン 高級感のある色プラン
   ============================================================================ */

:root {
  --cream: #f5f0e8;
  --beige: #e8ddd0;
  --brown: #8b7355;
  --dark-brown: #5c4a3a;
  --gold: #b8956c;
  --gold-light: #d4b896;
  --white: #ffffff;
  --text: #4a3f35;
}

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

body {
  font-family: 'Noto Sans JP', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
  min-height: 100vh;
  color: var(--text);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: var(--dark-brown);
  margin-bottom: 30px;
  font-size: 2.5em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 時間カレンダーセクション */
.time-section {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(184, 149, 108, 0.2);
}

.section-title {
  color: var(--gold);
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}


/* ============================================================================
   モーダル
   ============================================================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  margin: auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(184, 149, 108, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5em;
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}


/* スマホ対応 */
@media (max-width: 768px) {
  .member-menu-btn {
    font-size: 0.85em;
    padding: 8px 15px;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .booking-header {
    flex-direction: column;
    gap: 5px;
  }
}
