/* =============================================
   trial.css — 無料体験申し込みページ専用スタイル
   ============================================= */

/* ── ページ全体 ── */
.trial-page {
  background: var(--bg, #F7FBFF);
}

.tf-main {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(64px, 8vw, 100px);
}

/* ── 背景装飾 ── */
.tf-bg-deco {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.tf-bg-deco--circle1 {
  top: -80px; left: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(30,136,229,.07);
}
.tf-bg-deco--circle2 {
  bottom: 10%; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(45,212,191,.06);
}
.tf-bg-deco--dots1 {
  top: 120px; right: 40px;
  width: 80px; height: 80px;
  background-image: radial-gradient(circle, rgba(30,136,229,.22) 1.8px, transparent 1.8px);
  background-size: 12px 12px;
}
.tf-bg-deco--dots2 {
  bottom: 180px; left: 30px;
  width: 64px; height: 64px;
  background-image: radial-gradient(circle, rgba(30,136,229,.18) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
}
.tf-bg-deco--stripe1 {
  top: 30%; right: 20px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(30,136,229,.12) 0px,
    rgba(30,136,229,.12) 2px,
    transparent 2px,
    transparent 9px
  );
}
.tf-bg-deco--dia1 { top: 100px; left: 60px;  font-size: 13px; color: rgba(30,136,229,.28); line-height: 1; }
.tf-bg-deco--dia2 { bottom: 15%; right: 80px; font-size: 11px; color: rgba(30,136,229,.22); line-height: 1; }
.tf-bg-deco--sp1  { top: 80px;  right: 130px; font-size: 11px; color: rgba(255,190,0,.65); line-height: 1; }
.tf-bg-deco--sp2  { bottom: 20%; left: 100px; font-size: 12px; color: rgba(30,136,229,.30); line-height: 1; }

/* ── ヒーロー（ページ上部） ── */
.tf-hero {
  position: relative;
  z-index: 1;
  padding: clamp(96px, 10vw, 136px) 0 clamp(32px, 4vw, 52px);
  text-align: center;
}
.tf-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tf-hero-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--blue-deep, #16324f);
  margin: 0;
  line-height: 1.3;
}
.tf-hero-lead {
  font-size: clamp(14px, 1.5vw, 16px);
  color: #4a6080;
  margin: 0;
  line-height: 1.8;
}

/* バッジ */
.tf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.tf-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid rgba(30,136,229,.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep, #16324f);
  box-shadow: 0 2px 8px rgba(30,100,200,.07);
}
.tf-badges li .icon {
  width: 14px; height: 14px;
  color: var(--blue, #1e88e5);
  flex-shrink: 0;
}

/* ── フォームセクション ── */
.tf-form-section {
  position: relative;
  z-index: 1;
}

/* フォームカード */
.tf-form-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(30,136,229,.1);
  box-shadow: 0 12px 48px rgba(30,100,200,.09);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  max-width: 820px;
  margin: 0 auto;
}

/* デモ通知バナー */
.tf-demo-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #7a5c00;
  margin-bottom: 32px;
}
.tf-demo-notice .icon {
  width: 16px; height: 16px;
  color: #f59e0b;
  flex-shrink: 0;
  fill: #f59e0b;
}

/* ── フォーム共通 ── */
.tf-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tf-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep, #16324f);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tf-required {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e53935;
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: .03em;
}

/* input / textarea 共通 */
.tf-input,
.tf-select,
.tf-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: #1a3a5c;
  background: #f7fbff;
  border: 1.5px solid rgba(30,136,229,.2);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.tf-input::placeholder,
.tf-textarea::placeholder {
  color: #aabccc;
}
.tf-input:focus,
.tf-select:focus,
.tf-textarea:focus {
  border-color: var(--blue, #1e88e5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
}

/* select ラッパー（矢印アイコン用） */
.tf-select-wrap {
  position: relative;
}
.tf-select-wrap .tf-select {
  padding-right: 40px;
  cursor: pointer;
}
.tf-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--blue, #1e88e5);
  pointer-events: none;
}

/* textarea */
.tf-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* 2カラム行 */
.tf-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ラジオボタン */
.tf-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tf-radio-group--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.tf-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2a4a6a;
  cursor: pointer;
  user-select: none;
}
.tf-radio input[type="radio"] {
  width: 17px; height: 17px;
  accent-color: var(--blue, #1e88e5);
  cursor: pointer;
  flex-shrink: 0;
}

/* チェックボックス（同意） */
.tf-field--consent { margin-top: 4px; }
.tf-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #2a4a6a;
  cursor: pointer;
  user-select: none;
}
.tf-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue, #1e88e5);
  cursor: pointer;
  flex-shrink: 0;
}
.tf-consent-link {
  color: var(--blue, #1e88e5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tf-consent-link:hover { opacity: .8; }

/* ── 送信ボタン ── */
.tf-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.tf-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue, #1e88e5), #4fc3f7);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  letter-spacing: .04em;
}
.tf-submit-btn .icon {
  width: 20px; height: 20px;
}
.tf-submit-btn:hover {
  transform: translateY(2px);
  filter: brightness(.97);
  box-shadow: inset 0 2px 7px rgba(22, 50, 79, .16);
}
.tf-submit-btn:active {
  transform: translateY(3px);
}

/* ── 補足エリア ── */
.tf-assurance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  margin-top: 28px;
  padding: 0 16px;
}
.tf-assurance p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}
.tf-assurance .icon {
  width: 14px; height: 14px;
  color: var(--blue, #1e88e5);
  flex-shrink: 0;
}

/* ── レスポンシブ ── */
@media (max-width: 720px) {
  .tf-row-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tf-form-card {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .tf-radio-group--inline {
    flex-direction: column;
    gap: 10px;
  }
  .tf-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px 24px;
  }
  .tf-badges li {
    font-size: 12px;
    padding: 7px 14px;
  }
}
