@charset "UTF-8";
/* =========================================================
   /campaign 体験予約フォーム（form.php）
   LPのファーストビューに合わせた赤×黒×白。押す場所は高さ44px以上
   ========================================================= */
.tf, .tf-float {
  --tf-red: #c4161c;
  --tf-red-dark: #9e0f14;
  --tf-ink: #1b1b1b;
  --tf-mute: #6b6b6b;
  --tf-line: #dedede;
  --tf-bg: #f6f4f1;
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', YuGothic, 'Yu Gothic', Meiryo, sans-serif;
}
.tf *, .tf *::before, .tf *::after { box-sizing: border-box; }
.tf { padding: 64px 16px 72px; background: var(--tf-bg); color: var(--tf-ink); scroll-margin-top: 60px; }
.tf__inner { max-width: 640px; margin: 0 auto; }
.tf-sp { display: none; }
.tf-pc { display: inline; }

/* ---------- 見出し ---------- */
.tf__offer {
  display: table; margin: 0 auto 14px; padding: 6px 14px;
  background: var(--tf-red); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center;
}
.tf__title { width: auto; max-width: none; margin: 0; padding: 0; color: var(--tf-ink); font-size: 30px; font-weight: 900; line-height: 1.35; text-align: center; letter-spacing: .02em; }
.tf__lead { margin: 10px 0 28px; font-size: 15px; line-height: 1.8; text-align: center; color: #333; }
.tf__lead b { color: var(--tf-red); }

/* ---------- エラー（サーバー側） ---------- */
.tf-alert { margin: 0 0 20px; padding: 16px 18px; border: 2px solid var(--tf-red); background: #fff; outline: none; scroll-margin-top: 90px; }
.tf-alert p { margin: 0 0 6px; color: var(--tf-red); font-weight: 700; }
.tf-alert ul { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.7; }

/* ---------- 入力欄 ---------- */
.tf-form { margin: 0; }
.tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-box { padding: 26px 24px 8px; background: #fff; border-top: 4px solid var(--tf-red); }
.tf-field { margin-bottom: 20px; scroll-margin-top: 90px; }
.tf-field label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; font-weight: 800; }
.tf-badge { display: inline-block; padding: 3px 8px; border-radius: 3px; background: #e2e0dc; color: #555; font-size: 11px; font-weight: 700; line-height: 1.3; }
.tf-badge.is-req { background: var(--tf-red); color: #fff; }
.tf-field input, .tf-field textarea {
  display: block; width: 100%; padding: 13px 14px; border: 1px solid #c9c4be; border-radius: 6px; background: #fff;
  color: var(--tf-ink); font: inherit; font-size: 16px; /* 16px未満だとiPhoneで画面が拡大されるため */ line-height: 1.5;
  -webkit-appearance: none; appearance: none;
}
.tf-field textarea { min-height: 110px; resize: vertical; }
.tf-field input:focus, .tf-field textarea:focus { border-color: var(--tf-ink); outline: 3px solid rgba(0, 0, 0, .08); }
.tf-field input[aria-invalid="true"] { border-color: var(--tf-red); background: #fff7f7; }
.tf-field ::placeholder { color: #a5a5a5; }
.tf-help { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--tf-mute); }
.tf-err { margin: 6px 0 0; color: var(--tf-red); font-size: 13px; font-weight: 700; line-height: 1.5; }
.tf-err::before { content: "！ "; }

/* 希望日時：日付の入力欄＋時間のプルダウン（Googleフォームのような簡単な形） */
.tf-note { margin: 0 0 18px; padding: 10px 12px; background: #f6f4f1; font-size: 13px; line-height: 1.7; color: #444; }
.tf-pref { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.tf-pref legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 800; }
.tf-pref__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-field .tf-pref__item { display: block; margin: 0; font-size: inherit; font-weight: 400; }
.tf-pref__cap { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--tf-mute); }
.tf-field input[type="date"], .tf-field select {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9c4be; border-radius: 6px; background-color: #fff;
  color: var(--tf-ink); font: inherit; font-size: 16px; line-height: 1.3;
}
.tf-field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.tf-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.tf-field select {
  -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1b1b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
}
.tf-field input[type="date"]:focus, .tf-field select:focus { border-color: var(--tf-ink); outline: 3px solid rgba(0, 0, 0, .08); }
.tf-field select[aria-invalid="true"] { border-color: var(--tf-red); background-color: #fff7f7; }
.tf-help--range { margin: -8px 0 22px; }

/* ---------- 送信 ---------- */
.tf-submit {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; margin: 24px 0 0; padding: 14px 20px;
  border: 0; border-radius: 6px; background: var(--tf-red); box-shadow: 0 4px 0 var(--tf-red-dark);
  color: #fff; font: inherit; font-size: 19px; font-weight: 900; letter-spacing: .04em; cursor: pointer; transition: transform .1s, box-shadow .1s, opacity .2s;
}
.tf-submit::after { content: "›"; position: absolute; right: 22px; font-size: 28px; font-weight: 400; line-height: 1; }
.tf-submit:hover { opacity: .92; }
.tf-submit:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--tf-red-dark); }
.tf-submit.is-sending { opacity: .7; cursor: wait; }
.tf-submit.is-sending::after { content: ""; }
.tf-after { margin: 14px 0 0; font-size: 13px; line-height: 1.7; text-align: center; color: #444; }
.tf-privacy { margin: 4px 0 0; font-size: 12px; text-align: center; color: var(--tf-mute); }
.tf-privacy a { color: inherit; }

.tf-tel { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid #d9d4ce; font-size: 13px; line-height: 1.6; text-align: center; color: #444; }
.tf-tel a { display: inline-block; margin-top: 4px; color: var(--tf-ink); font-size: 24px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.tf-tel span { display: block; font-size: 12px; color: var(--tf-mute); }

/* ---------- スマホ：画面下の予約ボタン ---------- */
.tf-float { display: none; }

@media (max-width: 767px) {
  .tf { padding: 44px 0 56px; }
  .tf__inner { padding: 0 12px; }
  .tf-sp { display: inline; }
  .tf-pc { display: none; }
  .tf__offer { font-size: 12px; }
  .tf__title { font-size: 23px; }
  .tf__lead { font-size: 14px; margin-bottom: 22px; }
  .tf-box { padding: 22px 14px 6px; }
  .tf-submit { font-size: 17px; min-height: 60px; }

  .tf-float {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 900;
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 12px;
    border-radius: 6px; background: var(--tf-red); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    color: #fff; font-size: 16px; font-weight: 900; line-height: 1.3; text-decoration: none;
    transform: translateY(140%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .tf-float small { font-size: 11px; font-weight: 700; opacity: .9; }
  .tf-float.is-shown { transform: none; visibility: visible; }
}

/* =========================================================
   ページごとのデザイン合わせ
   ========================================================= */

/* ---------- /campaign：LPの「水色の帯＋白い角丸カード」（VOICES・SERVICE等）に合わせる ---------- */
.tf--gym_campaign { --tf-blue: #29abe2; padding: 72px 16px 80px; background: #fff; }
.tf--gym_campaign .tf__inner { max-width: 700px; padding: 40px 14px 32px; background: var(--tf-blue); }
.tf--gym_campaign .tf__offer { margin-bottom: 18px; }
.tf--gym_campaign .tf__en {
  display: block; margin-bottom: 4px; color: #fff; font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 64px; font-weight: 200; line-height: 1; letter-spacing: .08em;
}
.tf--gym_campaign .tf__title { color: #fff; font-size: 26px; font-weight: 800; }
.tf--gym_campaign .tf__lead { color: #fff; }
.tf--gym_campaign .tf__lead b { color: #fff; border-bottom: 2px solid #fff; }
.tf--gym_campaign .tf-box { padding: 28px 24px 8px; border-top: 0; border-radius: 14px; }
.tf--gym_campaign .tf-note { border-left: 3px solid var(--tf-blue); background: #f1f9fd; }
.tf--gym_campaign .tf-submit { background: #0a0a0a; box-shadow: 0 4px 0 #000; }
.tf--gym_campaign .tf-submit:active { box-shadow: 0 1px 0 #000; }
.tf--gym_campaign .tf-after, .tf--gym_campaign .tf-privacy { color: #fff; }
.tf--gym_campaign .tf-tel { border-top-color: rgba(255, 255, 255, .6); color: #fff; }
.tf--gym_campaign .tf-tel a { color: #fff; }
.tf--gym_campaign .tf-tel span { color: rgba(255, 255, 255, .85); }

/* ---------- /fitness：黒背景・白枠・オレンジ（ページのボタン・プラン表）に合わせる ---------- */
.tf--fitness { --tf-red: #f26d00; --tf-red-dark: #c25600; color: #fff; }
.tf--fitness .tf__lead { color: #fff; }
.tf--fitness .tf__lead b { color: var(--tf-red); }
.tf--fitness .tf-box { padding: 0; border-top: 0; background: none; }
.tf--fitness .tf-note { border-left: 3px solid var(--tf-red); background: rgba(255, 255, 255, .08); color: #e8e8e8; }
.tf--fitness .tf-field label, .tf--fitness .tf-pref legend { color: #fff; }
.tf--fitness .tf-pref__cap, .tf--fitness .tf-help { color: rgba(255, 255, 255, .7); }
.tf--fitness .tf-badge { border: 1px solid rgba(255, 255, 255, .5); background: none; color: #ddd; border-radius: 0; }
.tf--fitness .tf-badge.is-req { border-color: var(--tf-red); background: var(--tf-red); color: #fff; }
.tf--fitness .tf-field input, .tf--fitness .tf-field textarea,
.tf--fitness .tf-field input[type="date"], .tf--fitness .tf-field select { border-color: #fff; border-radius: 0; }
.tf--fitness .tf-field input:focus, .tf--fitness .tf-field textarea:focus,
.tf--fitness .tf-field input[type="date"]:focus, .tf--fitness .tf-field select:focus { border-color: var(--tf-red); outline: 3px solid rgba(242, 109, 0, .45); }
.tf--fitness .tf-err { color: #ff9a4d; }
.tf--fitness .tf-alert { border-color: var(--tf-red); background: #2f2f2f; }
.tf--fitness .tf-alert p { color: #ff9a4d; }
.tf--fitness .tf-submit { border-radius: 0; box-shadow: none; font-weight: 800; letter-spacing: .06em; }
.tf--fitness .tf-submit:hover { opacity: 1; background: var(--tf-red-dark); }
.tf--fitness .tf-submit:active { transform: none; }
.tf--fitness .tf-after, .tf--fitness .tf-privacy { color: #ccc; }
.tf-float--fitness { --tf-red: #f26d00; border-radius: 0; }

@media (max-width: 767px) {
  .tf--gym_campaign { padding: 40px 0 48px; }
  .tf--gym_campaign .tf__inner { padding: 32px 12px 28px; }
  .tf--gym_campaign .tf__en { font-size: 44px; }
  .tf--gym_campaign .tf__title { font-size: 21px; }
  .tf--gym_campaign .tf-box { padding: 22px 14px 6px; border-radius: 10px; }
}
