/* =========================================================
   IUMe 無料体験授業・無料受験相談 LP（/trial/）
   styles.css のデザイントークン（--navy / --gold / --deep 等）を使用。
   このファイルは body.trial-page 配下にのみ効く。
   ========================================================= */

.trial-page { background: #fff; }
.trial-page h2 em,
.trial-page h1 em { font-style: normal; color: var(--gold); }
.trial-container { width: min(100% - 48px, 1120px); margin-inline: auto; }

/* ---------- 共通CTA ---------- */
.trial-cta {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "main arrow" "sub arrow";
  align-items: center;
  column-gap: 14px;
  min-height: 64px;
  padding: 12px 22px 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.3;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.trial-cta:hover { transform: translateY(-2px); }
.trial-cta strong { grid-area: main; font-size: 1.05rem; font-weight: 700; }
.trial-cta small { grid-area: sub; font-size: .74rem; font-weight: 500; opacity: .9; }
.trial-cta > b { grid-area: arrow; font-weight: 700; font-size: 1.1rem; }
.trial-cta-primary {
  color: #fff;
  background: linear-gradient(110deg, #efb72b, #e2a619);
  box-shadow: 0 10px 24px rgba(216, 161, 29, .3);
}
.trial-cta-primary:hover { box-shadow: 0 14px 30px rgba(216, 161, 29, .38); }
.trial-cta-line {
  grid-template-columns: auto 1fr;
  grid-template-areas: "badge main";
  min-height: 56px;
  padding: 10px 20px;
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(6, 199, 85, .22);
}
.trial-cta-line span { grid-area: badge; font-size: .72rem; font-weight: 800; background: #fff; color: #06a94b; border-radius: 6px; padding: 2px 6px; }
.trial-cta-line strong { font-size: .98rem; }
.trial-cta-outline {
  grid-template-columns: 1fr auto;
  grid-template-areas: "main arrow";
  min-height: 54px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.trial-cta-outline:hover { background: var(--blue); }

/* ---------- HERO ---------- */
.trial-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fff 58%, rgba(234, 245, 255, .85) 100%);
}
.trial-hero:after {
  content: "FREE";
  position: absolute; right: -30px; bottom: -60px;
  color: rgba(10, 45, 95, .035);
  font-family: Arial, sans-serif; font-weight: 900; line-height: 1;
  font-size: clamp(7rem, 18vw, 15rem); letter-spacing: -.06em; pointer-events: none;
}
.trial-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px; align-items: center;
  padding-block: 64px 56px;
}
.trial-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--cream); color: #8a6512;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
}
.trial-hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.32; letter-spacing: .02em;
}
.trial-hero-title span { display: block; }
.trial-hero-title em { position: relative; }
.trial-hero-title em:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .32em;
  background: var(--gold-light); z-index: -1; border-radius: 4px; opacity: .8;
}
.trial-hero-lead { font-size: 1.05rem; color: #33445c; margin-bottom: 26px; }
.trial-hero-lead strong { color: var(--deep); }

.trial-hero-facts {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.trial-hero-facts li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(6, 27, 58, .05);
}
.trial-hero-facts span { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.trial-hero-facts b { font-size: 1.05rem; color: var(--deep); font-weight: 700; }
.trial-hero-facts small { font-size: 1.05rem; color: var(--gold); font-weight: 800; }

.trial-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.trial-hero-actions .trial-cta-primary { min-width: 300px; }
.trial-hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: var(--muted); }
.trial-hero-trust li:before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 6px; }
.trial-hero-visual img { width: 100%; height: auto; }

/* ---------- 共通セクション見出し ---------- */
.trial-section .section-kicker { text-align: left; color: var(--gold); }
.trial-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-align: left; }

/* ---------- WHAT YOU GET ---------- */
.trial-get { background: #fff; }
.trial-get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 12px; }
.trial-card {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.trial-card-num { display: inline-block; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; color: var(--gold); letter-spacing: .1em; margin-bottom: 12px; }
.trial-card h3 { font-size: 1.15rem; margin: 0 0 12px; }
.trial-card p { margin: 0; color: #33445c; font-size: .95rem; }

/* ---------- WHY FREE ---------- */
.trial-why { background: var(--blue); }
.trial-why-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.trial-why-copy p { color: #33445c; }
.trial-why-copy strong { color: var(--deep); }
.trial-promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trial-promises li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 22px 22px; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(6, 27, 58, .06);
}
.trial-promise-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff;
}
.trial-promise-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.trial-promises h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.trial-promises p { margin: 0; font-size: .92rem; color: #33445c; }

/* ---------- FLOW ---------- */
.trial-steps { list-style: none; padding: 0; margin: 20px 0 0; position: relative; display: grid; gap: 0; }
.trial-steps:before { content: ""; position: absolute; left: 60px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.trial-steps li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; }
.trial-step-num {
  position: relative; z-index: 1; justify-self: start;
  padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .1em; height: fit-content;
}
.trial-steps h3 { font-size: 1.2rem; margin: 2px 0 8px; }
.trial-steps p { margin: 0 0 10px; color: #33445c; }
.trial-step-tag { display: inline-block; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--navy); background: var(--blue); padding: 4px 10px; border-radius: 6px; }

/* ---------- PRICE ---------- */
.trial-price { background: var(--cream); }
.trial-price-band {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px;
  margin-top: 10px;
}
.trial-price-col { background: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.trial-price-col > span { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--navy); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.trial-price-free > span { background: var(--gold); }
.trial-price-col dl { margin: 0; display: grid; gap: 14px; }
.trial-price-col dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.trial-price-col dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.trial-price-col dt { font-weight: 600; color: #33445c; font-size: .95rem; }
.trial-price-col dd { margin: 0; color: var(--deep); font-weight: 700; white-space: nowrap; }
.trial-price-col dd strong { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 2rem; letter-spacing: -.02em; margin-right: 2px; }
.trial-price-free dd strong { color: var(--gold); }
.trial-price-col dd small { font-size: .8rem; margin-right: 4px; color: var(--muted); font-weight: 600; }
.trial-price-arrow { align-self: center; font-size: 2rem; color: var(--gold); font-weight: 800; }
.trial-price-note { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }
.trial-price-note a { color: var(--navy); }

/* ---------- VOICE ---------- */
.trial-voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.trial-voice-grid blockquote {
  margin: 0; padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(6, 27, 58, .05);
}
.trial-voice-grid h3 { font-size: 1.02rem; margin: 0 0 4px; }
.trial-voice-grid cite { display: block; font-style: normal; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.trial-voice-grid p { margin: 0; font-size: .92rem; color: #33445c; }
.trial-voice-more { margin: 22px 0 0; }
.trial-voice-more a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* ---------- FAQ ---------- */
.trial-faq { background: #fff; }
.trial-faq-list { max-width: 860px; margin: 10px 0 0; }

/* ---------- APPLY ---------- */
.trial-apply { background: var(--blue); scroll-margin-top: 96px; }
.trial-apply-lead { margin: -8px 0 28px; color: #33445c; }
.trial-apply-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: 26px; align-items: start; }
.trial-form, .trial-form-done {
  background: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow);
}
.trial-form-row { margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.trial-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trial-form label, .trial-form legend { display: block; font-weight: 700; font-size: .9rem; color: var(--deep); margin-bottom: 8px; }
.trial-form label b { display: inline-block; margin-left: 6px; font-size: .68rem; font-weight: 700; color: #fff; background: #d9534f; padding: 1px 6px; border-radius: 4px; vertical-align: middle; }
.trial-form input[type="text"], .trial-form input[type="email"], .trial-form select, .trial-form textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.trial-form input:focus, .trial-form select:focus, .trial-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 45, 95, .12); }
.trial-form textarea { resize: vertical; min-height: 110px; }
.trial-form-row small { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.trial-form-checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trial-form-checks label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-weight: 600; font-size: .9rem; color: #33445c;
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
}
.trial-form-checks label:has(:checked) { border-color: var(--navy); background: var(--blue); color: var(--navy); }
.trial-form-checks input { margin: 0; accent-color: var(--navy); }
.trial-form-consent label { font-weight: 500; font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.trial-form-consent input { accent-color: var(--navy); }
.trial-form-consent a { color: var(--navy); }
.trial-form-submit { width: 100%; margin-top: 6px; }
.trial-form-error { margin: 12px 0 0; color: #b42318; font-size: .88rem; font-weight: 600; }

.trial-form-done { text-align: center; }
.trial-done-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--gold); color: #fff; }
.trial-done-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.trial-form-done h3 { font-size: 1.4rem; margin-bottom: 10px; }
.trial-form-done p { color: #33445c; margin-bottom: 20px; }

.trial-apply-side { display: grid; gap: 18px; }
.trial-side-card { background: #fff; border-radius: 20px; padding: 26px 24px; box-shadow: 0 10px 28px rgba(6, 27, 58, .06); }
.trial-side-kicker { margin: 0 0 6px; font-size: .76rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.trial-side-card h3 { font-size: 1.15rem; margin: 0 0 10px; }
.trial-side-card p { font-size: .9rem; color: #33445c; margin-bottom: 16px; }
.trial-side-card .trial-cta { width: 100%; }
.trial-side-qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.trial-side-qr img { width: 84px; height: 84px; border-radius: 8px; }
.trial-side-qr small { font-size: .76rem; color: var(--muted); }
.trial-side-consult { border: 1.5px solid var(--line); box-shadow: none; }

/* ---------- TERMS ---------- */
.trial-terms { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); }
.trial-terms h2 { font-size: 1.25rem; margin-bottom: 18px; }
.trial-terms-list { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.trial-terms-list div { display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); }
.trial-terms-list div:last-child { border-bottom: 0; }
.trial-terms-list dt { background: #f6f8fb; padding: 12px 16px; font-weight: 700; font-size: .88rem; color: var(--deep); }
.trial-terms-list dd { margin: 0; padding: 12px 16px; font-size: .9rem; color: #33445c; }

/* ---------- FINAL ---------- */
.trial-final .section-kicker { color: var(--gold-light); text-align: left; }
.trial-final .trial-hero-actions { margin-top: 22px; }
.trial-final .final-cta-title span { display: block; }

/* ---------- STICKY (mobile) ---------- */
.trial-sticky { background: linear-gradient(110deg, #efb72b, #e2a619); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .trial-hero-inner { grid-template-columns: 1fr; padding-block: 40px 36px; }
  .trial-hero-visual { order: -1; max-width: 520px; margin-inline: auto; }
  .trial-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-get-grid, .trial-voice-grid { grid-template-columns: 1fr; }
  .trial-why-inner { grid-template-columns: 1fr; gap: 30px; }
  .trial-apply-grid { grid-template-columns: 1fr; }
  .trial-price-band { grid-template-columns: 1fr; }
  .trial-price-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 640px) {
  .trial-container { width: calc(100% - 32px); }
  .trial-hero-title { font-size: 2.15rem; }
  .trial-hero-actions .trial-cta-primary { min-width: 0; width: 100%; }
  .trial-hero-actions .trial-cta-line { width: 100%; }
  .trial-steps:before { left: 16px; }
  .trial-steps li { grid-template-columns: 1fr; gap: 10px; padding-left: 0; }
  .trial-step-num { margin-left: 0; }
  .trial-form, .trial-form-done { padding: 24px 18px; }
  .trial-form-row-2 { grid-template-columns: 1fr; }
  .trial-terms-list div { grid-template-columns: 1fr; }
  .trial-terms-list dt { padding-bottom: 4px; }
  .trial-terms-list dd { padding-top: 4px; }
  .trial-price-col { padding: 22px 18px; }
  .trial-price-col dd strong { font-size: 1.6rem; }
}
