@charset "UTF-8";
/* 説明会の日時を選ぶ（slots.js）。入力を送ったあとに開く表：横に日にち・縦に時間、○＝空き／—＝埋まっている。
   色はページの色（--red・--ink）に合わせる。読み手は50代：文字と押す所は大きく */
.slm { --sl-c: var(--red, #b3080e); --sl-cd: var(--red-d, #8e050a); --sl-ink: var(--ink, #221b17); --sl-ink2: var(--ink2, #5a4e46);
  --sl-ok: var(--red-l, #fbefee); --sl-ok-h: #f5d9d7; --sl-ng: #eeeae4; --sl-ng-i: #8d837a; --sl-soft: #f6f1ea;
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(24, 16, 10, .62); color: var(--sl-ink); font-family: var(--sans, "Noto Sans JP", sans-serif); line-height: 1.7; letter-spacing: 0; }
.slm *, .slm *::before, .slm *::after { box-sizing: border-box; }
.slm p, .slm h2, .slm ul { margin: 0; }
.slm-on, .slm-on body { overflow: hidden; }
.slm .nw { display: inline-block; white-space: nowrap; }
.slm__box { outline: none; position: relative; display: flex; flex-direction: column; width: 100%; max-width: 1080px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: 18px; background: #fff; overflow: hidden; }
.slm__bar { position: absolute; top: 0; right: 0; z-index: 3; padding: 16px; }
.slm__bt { display: none; }
.slm__x { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--sl-soft); color: var(--sl-ink); cursor: pointer; padding: 0; }
.slm__x svg { width: 24px; height: 24px; }
.slm__x:hover { background: #ece4d9; }
.slm__in { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 34px 40px 30px; }
.slm__h { margin: 0 64px; text-align: center; font-size: 26px; line-height: 1.55; font-weight: 900; word-break: keep-all; overflow-wrap: anywhere; }

/* 左に説明会の案内、右に表（狭い画面は 案内→表→ご案内すること の順に縦） */
.slm__grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "cal" "topics"; row-gap: 22px; }
.slm__info { grid-area: info; }
.slm__cal { grid-area: cal; min-width: 0; }
.slm__topics { grid-area: topics; padding: 18px 20px; border-radius: 14px; background: var(--sl-soft); }
@media (min-width: 980px) {
  .slm__grid { grid-template-columns: 330px minmax(0, 1fr); grid-template-areas: "info cal" "topics cal"; grid-template-rows: auto 1fr; column-gap: 36px; align-items: start; }
}
.slm__who { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.slm__logo { display: grid; place-items: center; padding: 8px 14px; border-radius: 12px; background: var(--sl-soft); }
.slm__logo img { display: block; width: auto; height: 46px; }
.slm__kind { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; line-height: 1.4; font-weight: 900; white-space: nowrap; }
.slm__kind svg { flex: none; width: 24px; height: 24px; color: var(--sl-c); }
.slm__kind small { font-size: 15px; font-weight: 700; color: var(--sl-ink2); }
.slm__msg { margin-top: 14px; font-size: 17px; line-height: 1.85; font-weight: 500; word-break: keep-all; overflow-wrap: anywhere; }
.slm__k { font-size: 17px; font-weight: 900; }
.slm__topics ul { margin-top: 8px; padding: 0; list-style: none; }
.slm__topics li { position: relative; padding-left: 1.1em; font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
.slm__topics li + li { margin-top: 4px; }
.slm__topics li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--sl-c); }
.slm__note { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--sl-ink2); }

/* 表 */
.slc { --tw: 78px; --nw: 54px; --gap: 6px; --min: 74px; }
.slc__head, .slc__row { display: grid; grid-template-columns: var(--tw) repeat(var(--n), minmax(0, 1fr)) var(--nw); gap: var(--gap); }
.slc__head { padding-bottom: 10px; background: #fff; overflow: hidden; scrollbar-gutter: stable; }
.slc__nav { display: grid; place-items: center; height: 58px; align-self: center; border: 0; border-radius: 12px; background: var(--sl-soft); color: var(--sl-ink); cursor: pointer; padding: 0; }
.slc__nav svg { width: 26px; height: 26px; }
.slc__nav:hover:not(:disabled) { background: #ece4d9; }
.slc__nav:disabled { color: #cfc6bd; cursor: default; }
.slc__d { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; }
.slc__d b { font-size: 18px; font-weight: 900; white-space: nowrap; }
.slc__d span { font-size: 15px; font-weight: 700; color: var(--sl-ink2); white-space: nowrap; }
.slc__d.is-sat span { color: #1f5aa6; }
.slc__body { display: grid; gap: var(--gap); max-height: max(220px, min(430px, calc(100vh - 400px))); max-height: max(220px, min(430px, calc(100dvh - 400px))); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.slc__t { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.slc__t b { font-size: 17px; font-weight: 900; }
.slc__t span { font-size: 14px; font-weight: 700; color: var(--sl-ink2); }
.slc__c { display: grid; place-items: center; height: 54px; border: 0; border-radius: 10px; padding: 0; }
.slc__c.is-ok { background: var(--sl-ok); cursor: pointer; }
.slc__c.is-ok i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--sl-c); }
.slc__c.is-ok:hover { background: var(--sl-ok-h); }
.slc__c.is-ok:focus-visible, .slc__nav:focus-visible, .slm__x:focus-visible { outline: 2px solid var(--sl-c); outline-offset: 2px; }
.slc__c.is-ng { background: var(--sl-ng); }
.slc__c.is-ng i { width: 18px; height: 3px; border-radius: 2px; background: var(--sl-ng-i); }
.slm__later { display: block; margin: 16px auto 0; border: 0; background: none; padding: 10px 8px; font: inherit; font-size: 18px; line-height: 1.5; font-weight: 900; color: var(--sl-c); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; word-break: keep-all; }

/* 確認の画面 */
.slm__box.is-ok { max-width: 720px; }
.slm__ok { max-width: 560px; margin: 0 auto; padding: 10px 0 6px; text-align: center; }
.slm__when { margin-top: 22px; padding: 22px 16px 20px; border-radius: 16px; background: var(--sl-ok); display: flex; flex-direction: column; align-items: center; }
.slm__day { margin-top: 8px; font-size: 26px; line-height: 1.4; font-weight: 900; }
.slm__time { font-size: 34px; line-height: 1.3; font-weight: 900; color: var(--sl-c); }
.slm__go { display: block; width: 100%; max-width: 420px; margin: 24px auto 0; min-height: 64px; border: 0; border-radius: 999px; background: var(--sl-c); color: #fff; font: inherit; font-size: 20px; font-weight: 900; cursor: pointer; }
.slm__go:hover { background: var(--sl-cd); }
.slm__go:focus-visible, .slm__re:focus-visible, .slm__later:focus-visible { outline: 2px solid var(--sl-c); outline-offset: 2px; }
.slm__re { display: block; margin: 10px auto 0; border: 0; background: none; padding: 12px; font: inherit; font-size: 17px; font-weight: 700; color: var(--sl-ink2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* 縦に並ぶ幅（〜979px）：表だけを動かさず、窓ごと動かす（日付の行は上に貼りつく）。表の下のリンクまで1回の動きで届く */
@media (max-width: 979px) {
  .slc__head { position: sticky; top: -34px; z-index: 2; padding-top: 8px; } /* -34px＝.slm__in の上の余白 */
  .slc__body { max-height: none; overflow: visible; }
}
@media (max-width: 640px) {
  .slm { padding: 0; align-items: stretch; }
  .slm__box { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .slm__bar { position: static; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 16px; background: var(--sl-soft); }
  .slm__bt { display: block; font-size: 17px; font-weight: 900; }
  .slm__x { width: 48px; height: 48px; background: #fff; }
  .slm__in { padding: 18px 12px 28px; }
  .slm__h { margin: 0; font-size: 20px; }
  .slm__grid { margin-top: 16px; row-gap: 18px; }
  .slm__logo img { height: 38px; }
  .slm__kind { font-size: 18px; }
  .slm__msg { margin-top: 12px; }
  .slm__topics { padding: 16px; }
  .slc { --tw: 56px; --nw: 44px; --gap: 5px; --min: 56px; }
  .slc__head { position: sticky; top: -18px; z-index: 2; padding-top: 8px; } /* -18px＝.slm__in の上の余白。表の上に行が透けないように画面のいちばん上で止める */
  .slc__body { max-height: none; overflow: visible; }
  .slc__nav { height: 52px; }
  .slc__d b { font-size: 17px; }
  .slc__t b { font-size: 16px; }
  .slc__c { height: 50px; }
  .slm__day { font-size: 24px; }
  .slm__time { font-size: 30px; }
}
/* 小さいスマホ：見出しの2行目「以下から説明会の日時を選べます。」を1行に収める */
@media (max-width: 360px) { .slm__h { font-size: 18px; } }

/* 申し込みのあと：日時をまだ決めていないときに、もう一度開くボタン */
.sl-again { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; margin-top: 14px; padding: 10px 28px; border: 0; border-radius: 999px; background: var(--red, #b3080e); color: #fff; font: inherit; font-size: 18px; font-weight: 900; cursor: pointer; }
.sl-again:hover { background: var(--red-d, #8e050a); }
.done__slot b, #doneSlot b { color: var(--red, #b3080e); font-size: 1.2em; }
.done__slot .nw, #doneSlot .nw { display: inline-block; white-space: nowrap; }

/* シミュレーター型・ステップ型の申し込み欄：中身の幅で広がらないよう、画面の幅に収める */
.form { grid-template-columns: minmax(0, 1fr); }

/* ===== FC加盟LP（A・B・C案）で使う所 ===== */
/* 申し込みのあとの画面：選んだ日時と、あとから選ぶボタン */
.fm-done .fm-done__slot { margin-top: 18px; font-size: 18px; line-height: 1.8; font-weight: 700; color: var(--ink); }
.fm-done__slot b { color: var(--red, #b3080e); font-size: 1.2em; }
.fm-done__slot .nw { display: inline-block; white-space: nowrap; }
.fm-done .fm-done__again { margin-top: 4px; }
.fm-done .fm-done__demo { margin-top: 14px; font-size: 14px; line-height: 1.7; }
/* B案（黒×金）：窓も黒の地。○・リンクは金、押すボタンはページと同じ赤 */
.lp-b .slm { --sl-c: var(--gold, #f2cf63); --sl-ink: #f6eddc; --sl-ink2: #cfc1aa; --sl-ok: rgba(242, 207, 99, .13); --sl-ok-h: rgba(242, 207, 99, .24); --sl-ng: #2b231c; --sl-ng-i: #8f8170; --sl-soft: #2a211a; }
.lp-b .slm__box, .lp-b .slc__head { background: #1a140f; }
.lp-b .slm__logo { background: #fff; }
.lp-b .slm__x:hover, .lp-b .slc__nav:hover:not(:disabled) { background: #3a2e24; }
.lp-b .slc__nav:disabled { color: #5a4d40; }
.lp-b .slc__d.is-sat span { color: #9cc1ff; }
.lp-b .slm__go, .lp-b .sl-again { background: #d0121a; color: #fff; }
.lp-b .slm__go:hover, .lp-b .sl-again:hover { background: #a5060c; }
.lp-b .fm-done__slot b { color: var(--gold, #f2cf63); }
@media (max-width: 640px) { .lp-b .slm__x { background: #3a2e24; } } /* スマホの帯の上の×：白い丸だと薄い文字色の×が消える */
