/* ========================================
   BOROIMISE 絵画教室 — artschool.css
   メインページ (artschool.html) 固有スタイル
   ======================================== */

/* ===== 本入会ステップ ===== */
.enrollment-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 48px;
}

.enrollment-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 20px 24px;
}

.step-num {
  font-family: var(--f-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-terra-light);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 56px;
}

.enrollment-step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* ===== 料金まとめ（contact内） ===== */
.payment-info {
  max-width: 560px;
  margin: 0 auto 48px;
}

.payment-info h3 {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  text-align: center;
}

.payment-info .pricing-table {
  border-color: rgba(255, 255, 255, 0.15);
}

.payment-info .pricing-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.payment-info .pricing-table td:first-child {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.payment-info .pricing-table small {
  color: rgba(255, 255, 255, 0.5);
}

.payment-info .pricing-table strong {
  color: var(--c-terra-light);
}

/* ===== 入会フォーム見出し ===== */
.contact-form-title {
  text-align: center;
  margin-bottom: 8px;
}

/* #contact の説明文: アクセントバーとの間隔を確保 */
#contact .contact-sub {
  margin-top: 8px;
}

/* .contact-sub は common.css で margin-top: -24px（section-title直下用）のため、
   h3 直後に置く場合はリセットする */
.contact-form-title + .contact-sub {
  margin-top: 0;
}

/* ===== お問い合わせ（メールのみ） ===== */
.contact-email {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-email h3 {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.contact-email > p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.email-link {
  display: inline-block;
  font-size: 1.05rem;
  color: #FFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.email-link:hover {
  border-bottom-color: #FFF;
}

.contact-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.contact-note a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-note a:hover {
  color: #FFF;
}

/* ===== 通常クラス空き状況グリッド ===== */

#regular-slot-summary {
  max-width: 560px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 24px;
}

/* グリッド見出し */
.regular-grid-heading {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  line-height: 1.6;
}

.regular-grid-heading-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.75;
}

/* スクロールラッパー */
.regular-grid-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--f-sans, 'Noto Sans JP', sans-serif);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.regular-grid-scroll .schedule-grid {
  min-width: 0;
  gap: 2px;
}

/* 左上コーナー非表示 */
.regular-grid-corner {
  background: transparent !important;
  border: none !important;
}

/* 曜日ヘッダー */
.regular-grid-scroll .schedule-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.4em;
  padding: 3px 6px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  background: transparent;
  font-weight: 600;
}

/* 左列スティッキー */
.regular-sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #FFF;
}

/* 左列: 時間とクラス名を縦並び */
.regular-grid-scroll .schedule-time {
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  min-height: 56px;
  background: #FFF;
  border-left: none;
}

/* クラス名テキスト: クラスごとのテーマカラー */
.regular-row-child-lower .slot-class-label,
.regular-row-child-upper .slot-class-label { color: var(--c-class-jiyu); }
.regular-row-teen   .slot-class-label       { color: var(--c-class-design); }
.regular-row-family .slot-class-label       { color: var(--c-class-family); }
.regular-row-adult  .slot-class-label       { color: var(--c-class-kiso); }

/* データセル: 背景白・ボーダーなし */
.regular-grid-scroll .schedule-cell {
  background: #FFF;
  border-left: none;
}

/* データセルのテキストカラー */
.regular-data-child-lower,
.regular-data-child-upper { color: var(--c-class-jiyu); }
.regular-data-teen        { color: var(--c-class-design); }
.regular-data-family      { color: var(--c-class-family); }
.regular-data-adult       { color: var(--c-class-kiso); }

/* 空きあり: クリック可能 */
.regular-slot-avail {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

/* ホバー: 上移動をキャンセルし明度で表現 */
.regular-grid-scroll .schedule-cell:hover {
  transform: none;
  box-shadow: none;
  background: #FFF;
  filter: brightness(0.90);
}

/* 空き記号: ◎ .regular-slot-plenty / △ .regular-slot-few はクラスカラーを継承 */
.regular-slot-one { font-size: 0.75rem; font-weight: 700; }

/* 選択状態（ネイビー背景に合わせて白系） */
.regular-slot-selected {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transform: none;
}

/* 満席 */
.regular-slot-full {
  background: #FFF !important;
  color: #ccc !important;
  font-weight: 700;
  cursor: not-allowed;
  font-size: 1rem;
}

.regular-slot-full:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* 日程調整中 */
.regular-slot-empty {
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  padding: 24px 0;
}

/* ===== 選択中の枠を可視化 ===== */
.regular-selection-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.regular-selection-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.regular-selection-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  flex: 1;
  margin: 0;
}

.regular-selection-clear {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.regular-selection-clear:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFF;
}

/* ===== クラスカード 空き枠表示 ===== */
.class-slot-count {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--c-border);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* ===== 講師サマリーリスト ===== */
/* common.css のチェックマーク／ボックス背景をこのページ向けに上書き */
.instructor-summary {
  background: transparent;
  border: none;
  padding: 0;
}

.instructor-summary li {
  padding-left: 12px;
}

.instructor-summary li::before {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--c-terra);
  border-radius: 2px;
  top: 4px;
  font-weight: normal;
}

/* ===== お問い合わせセクション（フッター同色） ===== */
#inquiry.contact {
  background: #534E49;
}

#inquiry .section-title {
  color: rgba(255, 255, 255, 0.85);
}

#inquiry .section-title::after {
  background: rgba(255, 255, 255, 0.25);
}

#inquiry .contact-sub {
  color: rgba(255, 255, 255, 0.5);
}

#inquiry .contact-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-align: center;
}

#inquiry .contact-note a {
  color: rgba(255, 255, 255, 0.65);
}

#inquiry .contact-note a:hover {
  color: #FFF;
}

#inquiry .form-group label {
  color: rgba(255, 255, 255, 0.7);
}

#inquiry .form-group input,
#inquiry .form-group textarea,
#inquiry .form-group select {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

#inquiry .form-group input::placeholder,
#inquiry .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#inquiry .form-group input:focus,
#inquiry .form-group textarea:focus,
#inquiry .form-group select:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

#inquiry .btn-primary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

#inquiry .btn-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .enrollment-steps {
    gap: 12px;
  }

  .enrollment-step {
    padding: 16px 18px;
  }
}

#schedule .schedule-cell {
  background: #FAF8F5;
}

