/* 無料体験の申込フォーム（全LP共通）。中身は /js/trial-form.js が描く。
   各ページのCSSに左右されないよう、.tf-box の中は要素ごとに指定を持つ。 */
.tf-overlay { display: none; position: fixed; inset: 0; z-index: 1000000; background: rgba(15, 27, 61, .58); align-items: center; justify-content: center; padding: 20px; }
.tf-overlay.is-open { display: flex; }
.tf-box, .tf-box * { box-sizing: border-box; }
.tf-box { position: relative; width: min(100%, 520px); max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: #fff; color: #0F1B3D; border-radius: 20px; padding: 26px 28px 26px; box-shadow: 0 24px 70px rgba(0, 0, 0, .25); font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 15px; line-height: 1.7; text-align: left; letter-spacing: 0; }
.tf-box [hidden] { display: none !important; }
.tf-box button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.tf-box button:focus-visible, .tf-box a:focus-visible, .tf-box input:focus-visible { outline: 3px solid rgba(36, 97, 232, .45); outline-offset: 2px; }
.tf-box .tf-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; color: #5A6275; font-size: 28px; line-height: 1; border-radius: 50%; }
.tf-box .tf-close:hover { background: #f1f4fa; }
.tf-box .tf-title { margin: 0 40px 4px 0; padding: 0; font-family: inherit; font-size: 22px; font-weight: 900; line-height: 1.4; color: #0F1B3D; letter-spacing: 0; text-align: left; }
.tf-box .tf-sub { margin: 0 0 10px; color: #5A6275; font-size: 14px; line-height: 1.7; }
.tf-box .tf-back { display: inline-block; margin: 0 0 2px -2px; padding: 6px 4px; color: #5A6275; font-size: 14px; font-weight: 500; }
.tf-box .tf-prog { display: flex; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; color: #8A93A8; white-space: nowrap; }
.tf-box .tf-prog li { flex: 1; margin: 0; padding: 6px 0 0; border-top: 3px solid #E2E8F4; }
.tf-box .tf-prog li.is-on { color: #2461E8; border-top-color: #2461E8; }
.tf-box .tf-q { margin: 0 0 4px; font-size: 19px; font-weight: 900; line-height: 1.45; color: #0F1B3D; outline: none; }
.tf-box .tf-help { margin: 0 0 14px; color: #5A6275; font-size: 14px; }
.tf-box .tf-sub2 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #0F1B3D; }
.tf-box .tf-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-box .tf-opt { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1.5px solid #E2E8F4; border-radius: 12px; background: #fff; color: #0F1B3D; font-size: 13px; line-height: 1.5; text-align: left; }
.tf-box .tf-opt svg { display: block; width: 100%; height: auto; margin-bottom: 8px; }
.tf-box .tf-opt b { font-size: 14.5px; }
.tf-box .tf-opt span { color: #5A6275; }
.tf-box .tf-opt:hover, .tf-box .tf-emr:hover { border-color: #2461E8; background: #f5f8ff; }
.tf-box .tf-link { display: block; width: 100%; margin-top: 4px; padding: 12px 0 2px; text-align: center; color: #1B4FCD; text-decoration: underline; font-size: 14px; font-weight: 500; }
.tf-box .tf-emrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tf-box .tf-emr { min-height: 44px; padding: 9px 12px; border: 1.5px solid #E2E8F4; border-radius: 10px; background: #fff; color: #0F1B3D; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: left; overflow-wrap: anywhere; }
.tf-box .tf-emr.is-on { border-color: #2461E8; background: #f5f8ff; }
.tf-box .tf-pan { margin: 6px 0 14px; padding: 14px 16px; border: 1px solid; border-radius: 12px; font-size: 14px; line-height: 1.75; }
.tf-box .tf-pan b { display: block; margin-bottom: 4px; font-size: 15.5px; line-height: 1.5; }
.tf-box .tf-pan p { margin: 0; }
.tf-box .tf-pan p + p { margin-top: 6px; }
.tf-box .tf-pan-ext { background: #eff4ff; border-color: #c9d8fb; color: #1e3a8a; }
.tf-box .tf-pan-ext b { color: #2461E8; }
.tf-box .tf-pan-app { background: #ecf8f7; border-color: #bfe5e2; color: #134e4a; }
.tf-box .tf-pan-app b { color: #0B7A75; }
.tf-box .tf-pan-note { background: #fff8eb; border-color: #f5ddb0; color: #6b3f00; }
.tf-box .tf-pan-note b { color: #9A5800; font-size: 15px; }
.tf-box .tf-scroll { overflow-x: auto; }
.tf-box .tf-diff { width: 100%; margin: 0 0 6px; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.tf-box .tf-diff th, .tf-box .tf-diff td { padding: 7px 6px; border: 0; border-bottom: 1px solid #E2E8F4; text-align: left; vertical-align: top; color: #0F1B3D; background: none; }
.tf-box .tf-diff thead th { color: #5A6275; font-weight: 700; border-bottom: 1.5px solid #0F1B3D; }
.tf-box .tf-diff tbody th { width: 32%; font-weight: 700; }
.tf-box .tf-btn { display: block; width: 100%; min-height: 50px; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: #2461E8; color: #fff; font-size: 16px; font-weight: 700; text-align: center; line-height: 1.4; }
.tf-box .tf-btn:hover { background: #1B4FCD; }
.tf-box .tf-btn-app { background: #0B7A75; }
.tf-box .tf-btn-app:hover { background: #09625e; }
.tf-box .tf-btn[disabled] { opacity: .6; cursor: default; }
.tf-box .tf-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f5f7fb; font-size: 14px; }
.tf-box .tf-chip b { overflow-wrap: anywhere; }
.tf-box .tf-chip span { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tf-box .tf-chip span.is-ext { background: #e0e9fe; color: #2461E8; }
.tf-box .tf-chip span.is-app { background: #d6f1ee; color: #0B7A75; }
.tf-box .tf-chip button { margin-left: auto; color: #1B4FCD; text-decoration: underline; font-size: 13px; }
.tf-box form { margin: 0; }
.tf-box .tf-label { display: block; margin: 12px 0 5px; font-size: 14px; font-weight: 700; color: #0F1B3D; }
.tf-box .tf-label em { color: #DC2626; font-style: normal; }
.tf-box .tf-input { display: block; width: 100%; height: auto; margin: 0; padding: 11px 12px; border: 1.5px solid #E2E8F4; border-radius: 10px; background: #fff; color: #0F1B3D; font-family: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; -webkit-appearance: none; appearance: none; }
.tf-box .tf-input:focus { outline: none; border-color: #2461E8; box-shadow: 0 0 0 3px rgba(36, 97, 232, .14); }
.tf-box .tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tf-box .tf-agree { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 4px; font-size: 13.5px; font-weight: 500; line-height: 1.6; color: #0F1B3D; cursor: pointer; }
.tf-box .tf-agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #2461E8; }
.tf-box .tf-agree a, .tf-box .tf-fine a { color: #1B4FCD; text-decoration: underline; }
.tf-box .tf-fine { margin: 10px 0 0; color: #5A6275; font-size: 13px; }
.tf-box .tf-error { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14.5px; }
@media (max-width: 560px) {
  .tf-overlay { padding: 0; align-items: flex-end; }
  .tf-box { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 18px 18px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .tf-box .tf-title { font-size: 19px; }
  .tf-box .tf-q { font-size: 18px; }
}
@media (max-width: 360px) {
  .tf-box .tf-opts, .tf-box .tf-emrs { grid-template-columns: 1fr; }
}
