/* 体験申し込みフォーム：空き枠の選択画面（js/trial-slots.js）。既存の .form_area の部品に合わせる */
.wg-ts-hidden { display: none !important; }
.wingate-ref .form_area .wg-ts { position: relative; background: #fff; border-radius: 20px; padding: 30px; margin-top: -6px; margin-bottom: 14px; box-sizing: border-box; }
.wg-ts-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wg-ts-cal__title { font-size: 18px; font-weight: 700; margin: 0; }
.wg-ts-cal__nav { width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--base-color-beige, #f3f2ec); font-size: 22px; line-height: 1; color: inherit; cursor: pointer; }
.wg-ts-cal__nav:disabled { opacity: .3; cursor: default; }
.wg-ts-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wg-ts-cal__wd { text-align: center; font-size: 12px; font-weight: 700; color: #888; padding: 4px 0; }
.wg-ts-cal__wd.-sat { color: #3a6fd8; }
.wg-ts-cal__wd.-sun { color: #e05a5a; }
.wg-ts-day { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; font-size: 14px; font-weight: 700; box-sizing: border-box; }
.wg-ts-day.-none { color: #c8c8c8; }
button.wg-ts-day { border: 2px solid transparent; background: var(--base-color-beige, #f3f2ec); color: inherit; font-family: inherit; padding: 0; cursor: pointer; }
button.wg-ts-day.-full { background: #efefef; color: #9a9a9a; }
button.wg-ts-day.is-current { border-color: var(--theme-color); background: #fff; }
.wg-ts-day__mark { font-size: 13px; line-height: 1; }
.wg-ts-day.-available .wg-ts-day__mark { color: var(--theme-color); }
.wg-ts-day.-few .wg-ts-day__mark { color: var(--base-color-orange, #f0a030); }
.wg-ts-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #666; margin: 14px 0 0; }
.wg-ts-hint, .wg-ts-note, .wg-ts-empty { font-size: 13px; line-height: 1.7; color: #666; margin: 14px 0 0; }
.wg-ts-empty { color: inherit; font-weight: 700; }
.wg-ts-day-panel { margin-top: 20px; }
.wg-ts-day-panel__title { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.wg-ts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wg-ts-slot { width: 100%; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 14px; border: 2px solid #e6e6e6; border-radius: 12px; background: #fff; font-family: inherit; font-size: 14px; color: inherit; text-align: left; cursor: pointer; box-sizing: border-box; }
.wg-ts-slot__name { flex: 1; font-weight: 700; }
.wg-ts-slot__mark { font-size: 12px; color: #666; }
.wg-ts-slot.-available .wg-ts-slot__mark { color: var(--theme-color); }
.wg-ts-slot.-few .wg-ts-slot__mark { color: var(--base-color-orange, #f0a030); }
.wg-ts-slot:disabled { background: #f5f5f5; color: #aaa; cursor: not-allowed; }
.wg-ts-slot.is-chosen { border-color: var(--theme-color); background: #fff5f8; }
.wg-ts-slot__tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--theme-color); border-radius: 999px; padding: 2px 10px; }
.wg-ts-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wg-ts-select { width: 100%; }
@media (hover: hover) {
  button.wg-ts-day:not(.-full):hover, .wg-ts-slot:not(:disabled):hover { border-color: var(--theme-color); }
}
@media screen and (max-width: 800px) {
  .wingate-ref .form_area .wg-ts { padding: 18px 10px; border-radius: 14px; }
  .wg-ts-cal__grid { gap: 3px; }
  .wg-ts-day { min-height: 46px; font-size: 13px; }
  /* 狭い幅ではクラス名を 1 行に保ち、状態と希望の印は 2 行目（名前の下）に送る */
  .wg-ts-slot__name { flex: 1 0 auto; white-space: nowrap; }
}
.wg-ts button:focus-visible { outline: 3px solid var(--theme-color); outline-offset: 2px; }
