@charset "utf-8";

/* ==========================================================================
   フルリノ WEB相談会 予約フォーム（LPに置く版）
   元: furureno-booking/web/booking.css。LPの resources/css/ へコピーして使う
   LP側のスタイルとぶつからないよう、すべて .fbk の中に閉じている
   ========================================================================== */

.fbk {
  --fbk-card: #fff;
  --fbk-text: #2b2b2b;
  --fbk-muted: #777;
  --fbk-line: #e6e1da;
  --fbk-accent: #c8693a;
  --fbk-accent-weak: #fbeee6;
  --fbk-error: #b3261e;
  max-width: 560px;
  margin: 0 auto;
  color: var(--fbk-text);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  letter-spacing: normal;
}
.fbk *, .fbk *::before, .fbk *::after { box-sizing: border-box; }
.fbk button, .fbk input, .fbk textarea { font-family: inherit; }

.fbk-card {
  background: var(--fbk-card);
  border: 1px solid var(--fbk-line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.fbk-step { font-size: 13px; color: var(--fbk-accent); font-weight: 700; margin-bottom: 8px; }
.fbk-card.is-invalid { border-color: var(--fbk-error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.fbk-alert {
  display: none;
  background: #fdecea;
  color: var(--fbk-error);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.fbk-card.is-invalid .fbk-alert { display: block; }

.fbk-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fbk-opt {
  border: 1px solid var(--fbk-line);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fbk-text);
  margin: 0;
}
.fbk-opt.is-sel { border-color: var(--fbk-accent); background: var(--fbk-accent-weak); font-weight: 700; }

.fbk-field { display: block; font-size: 14px; margin-bottom: 12px; font-weight: 400; }
.fbk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.fbk input[type=text], .fbk input[type=email], .fbk input[type=tel], .fbk textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--fbk-line);
  border-radius: 8px;
  font-size: 16px; /* 16px未満だとiPhoneで入力時に画面が拡大される */
  margin-top: 8px;
  background: #fff;
  color: var(--fbk-text);
}
.fbk input.is-invalid { border-color: var(--fbk-error); }

.fbk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fbk-month { font-weight: 700; font-size: 16px; }
.fbk-cal-nav {
  width: 40px;
  height: 36px;
  border: 1px solid var(--fbk-line);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: var(--fbk-text);
  padding: 0;
}
.fbk-cal-nav:disabled { opacity: .3; cursor: default; }
.fbk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.fbk-wd { font-size: 12px; color: var(--fbk-muted); padding: 4px 0; }
.fbk-wd.is-sun { color: #c0392b; }
.fbk-wd.is-sat { color: #2c6fb7; }
.fbk-d {
  aspect-ratio: 1;
  max-height: 52px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  color: #c9c2ba;
  border: 1px solid transparent;
  background: none;
  padding: 0;
  margin: 0;
}
button.fbk-d { color: var(--fbk-text); font-weight: 700; background: var(--fbk-accent-weak); cursor: pointer; }
button.fbk-d::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--fbk-accent); margin-top: 2px; }
button.fbk-d.is-sel { background: var(--fbk-accent); color: #fff; }
button.fbk-d.is-sel::after { background: #fff; }

.fbk-slot-title { font-size: 14px; font-weight: 700; margin-top: 16px; }
.fbk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 12px; }
.fbk-note { font-size: 12px; color: var(--fbk-muted); }
.fbk-submit {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--fbk-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
.fbk-submit:disabled { background: #d9cfc6; cursor: default; }
.fbk-summary { font-size: 15px; margin: 0 0 12px; }
.fbk-err { color: var(--fbk-error); font-size: 14px; margin: 8px 0; }
.fbk-hidden { display: none !important; }
.fbk-done h3 { font-size: 18px; margin: 0 0 8px; }
.fbk a { color: var(--fbk-accent); word-break: break-all; }
