/* ========================================
   onon-demand.html page-specific CSS
======================================== */
/* ヒーロー */
.fv {
  background: linear-gradient(160deg,#1a0800 0%,#3d1500 45%,#7a2e00 100%);
  padding: 32px 24px 28px;
  position: relative;
  overflow: hidden;
  margin: -22px -20px 0;
}
.fv::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,120,0,.12);
  pointer-events: none;
}
.fv-inner { position: relative; z-index: 1; max-width: 560px; }
.fv-eyebrow {
  display: inline-block;
  background: var(--or);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.fv h3 {
  font-size: clamp(20px,3.2vw,28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.fv h3 em { font-style: normal; color: #ffa040; }
.fv-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  margin-bottom: 18px;
}
.fv-sub strong { color: #ffc270; }
.fv-s-sub {
  font-size: 9px;
  color: rgba(255,255,255,.82);
  line-height: 1;
  margin-bottom: 15px;
}
.fv-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fv-meta-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fv-meta-item.accent { background: var(--or); border-color: var(--or-l); }
.fv-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-primary {
  background: var(--or);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(200,70,0,.35);
  transition: background .2s, transform .15s;
}
.btn-primary:hover {
  background: var(--or-d);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.25); text-decoration: none; }

/* 入口カード */
.entry-section { padding-top: 20px; }
.entry-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.entry-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.entry-card {
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid transparent;
  transition: box-shadow .2s, transform .2s;
}
.entry-card:hover { box-shadow: 0 6px 18px var(--shadow); transform: translateY(-2px); }
.entry-card.main { border-color: var(--or); }
.entry-top { padding: 12px 14px 10px; }
.entry-top.corp  { background: linear-gradient(135deg,var(--or-d),var(--or-l)); }
.entry-top.indiv { background: linear-gradient(135deg,#5c7a8a,#7a9fb0); }
.entry-top.kouri { background: linear-gradient(135deg,#7a5200,#b87800); }
.entry-top-tag { font-size: 10px; font-weight: 800; color: rgba(255,255,255,.75); letter-spacing: .08em; margin-bottom: 3px; }
.entry-top h4 { font-size: 13px; font-weight: 800; color: #fff; line-height: 1.4; }
.entry-body { padding: 10px 14px 12px; background: var(--white); }
.entry-body p { font-size: 12px; color: var(--text); line-height: 1.7; margin-bottom: 8px; }
.entry-anchor {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--or-d);
  border: 1.5px solid var(--or);
  border-radius: 6px;
  padding: 5px 10px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.entry-anchor:hover { background: var(--or); color: #fff; text-decoration: none; }
.entry-anchor::after { content: " →"; }
.entry-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* 課題 */
.sec-inner { padding: 0; }
.problem-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 14px; }
.problem-card {
  background: var(--or-pale);
  border: 1px solid var(--or-tint);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.prob-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.prob-text { font-size: 13px; font-weight: 700; color: var(--brown); line-height: 1.55; }
.problem-cta {
  background: linear-gradient(135deg,var(--or-d),#7a2e00);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.problem-cta p { font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.6; }
.problem-cta p em { font-style: normal; color: #ffa040; }

/* メリット */
.merit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 8px; }
.merit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.merit-card:hover { box-shadow: 0 4px 14px var(--shadow); }
.merit-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--or-tint);
  color: var(--or-d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}
.merit-card h4 { font-size: 13px; font-weight: 800; color: var(--or-d); margin-bottom: 4px; line-height: 1.4; }
.merit-card p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.merit-translate {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--or);
  color: #fff;
  padding: 1px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

/* 活用事例 */
.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 8px; }
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  transition: box-shadow .2s;
}
.case-card:hover { box-shadow: 0 4px 14px var(--shadow); }
.case-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  color: #fff;
  margin-bottom: 8px;
}
.case-cat.kanri { background: #0369a1; }
.case-cat.eigyo { background: #1d8348; }
.case-cat.somu  { background: #7c3aed; }
.case-cat.seizo { background: #b45309; }
.case-cat.keiei { background: var(--or-d); }
.case-card blockquote {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text);
  border-left: 3px solid var(--or-l);
  padding-left: 10px;
  margin: 0 0 8px;
}
.case-who { font-size: 11px; color: var(--muted); font-weight: 600; }
.case-result {
  font-size: 12px;
  font-weight: 700;
  color: var(--or-d);
  background: var(--or-pale);
  border-radius: 4px;
  padding: 4px 10px;
  margin-top: 6px;
  display: inline-block;
}

/* 期間・料金 */
.period-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.period-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.period-head { background: var(--or); color: #fff; padding: 8px 14px; font-size: 12px; font-weight: 800; }
.period-body { background: var(--white); padding: 10px 14px; font-size: 13px; line-height: 1.7; }
.period-body strong { color: var(--or-d); font-size: 14px; }
.price-table-wrap { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-table thead tr { background: var(--or); color: #fff; }
.price-table th { padding: 10px 14px; text-align: left; font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.price-table tbody tr:nth-child(even) { background: var(--or-pale); }
.price-table tbody tr:nth-child(odd) { background: var(--white); }
.price-table td { padding: 10px 14px; vertical-align: top; border-bottom: 1px solid var(--border); }
.price-table td:nth-child(2) { font-size: 16px; font-weight: 900; color: var(--or); white-space: nowrap; }
.price-notes {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 8px;
  list-style: none;
}
.price-notes li {
  font-size: 12.5px;
  color: var(--muted);
  padding: 3px 0 3px 16px;
  position: relative;
}
.price-notes li::before { content: "※"; position: absolute; left: 0; color: var(--or); font-weight: 700; }

/* フロー */
.flow-steps { display: flex; flex-direction: column; margin-bottom: 8px; }
.flow-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.flow-row:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--or);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}
.flow-title { font-size: 13.5px; font-weight: 800; color: var(--or-d); margin-bottom: 2px; }
.flow-desc { font-size: 12px; color: var(--muted); line-height: 1.7; }
.flow-note {
  font-size: 11px;
  color: var(--or-d);
  font-weight: 700;
  background: var(--or-tint);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 4px;
}

/* FAQ */
.faq-list { list-style: none; padding: 0; margin-bottom: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 8px; }
.faq-q {
  background: var(--or-pale);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--or-d);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--or);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  margin-top: 1px;
}
.faq-a { padding: 12px 16px 12px 46px; background: var(--white); font-size: 13px; line-height: 1.8; }

/* 申込 */
.apply-section { padding: 0; }
.apply-intro {
  background: var(--or-pale);
  border: 1px solid var(--or-tint);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.8;
}
.apply-intro strong { color: var(--or-d); }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.apply-block { background: var(--light); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; }
.apply-block h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--or-d);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.dl-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 3px;
  color: #fff;
  white-space: nowrap;
}
.dl-tag.a { background: var(--or); }
.dl-tag.b { background: #7c3aed; }
.dl-list { list-style: none; padding: 0; }
.dl-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.dl-list li:last-child { border-bottom: none; }
.apply-method {
  background: linear-gradient(135deg,var(--or-d),var(--brown));
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.apply-method h4 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.apply-method p { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.8; }
.apply-method a { color: #ffc270; font-weight: 700; }
.apply-method a:hover { color: #fff; }
.doc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.doc-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12.5px;
  transition: box-shadow .2s;
}
.doc-item:hover { box-shadow: 0 2px 8px var(--shadow); }

/* 追従CTA */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.sticky-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(0,0,0,.25); text-decoration: none; }
.sticky-btn.s1 { background: var(--or); color: #fff; }
.sticky-btn.s2 { background: var(--white); color: var(--or-d); border: 1.5px solid var(--or); }
.sticky-btn.s3 { background: #1a0800; color: #ffd5b0; border: 1px solid #5c2a00; }

@media (max-width: 720px) {
  .entry-grid,
  .problem-grid,
  .merit-grid,
  .case-grid,
  .apply-grid,
  .period-banner { grid-template-columns: 1fr; }
  .sticky-cta { bottom: 12px; right: 10px; }
  .sticky-btn { font-size: 11px; padding: 8px 11px; }
  .fv { margin: -22px -20px 0; }
}


/* 料金・対象・受講期間（枠ごとに整理） */
.plan-compare {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.plan-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(100,40,0,.05);
}
.plan-panel.general { border-top: 4px solid var(--or); }
.plan-panel.iceage { border-top: 4px solid #7c3aed; }
.plan-head {
  padding: 12px 16px 10px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.plan-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.plan-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}
.plan-body { padding: 14px 16px 16px; }
.plan-price {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--or-pale);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-panel.iceage .plan-price { background: #f4efff; }
.plan-price-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.plan-price-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--or-d);
  line-height: 1.2;
}
.plan-panel.iceage .plan-price-value { color: #6d28d9; }
.plan-def {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px 10px;
  font-size: 12.5px;
  line-height: 1.75;
}
.plan-def dt {
  font-weight: 800;
  color: var(--or-d);
}
.plan-panel.iceage .plan-def dt { color: #6d28d9; }
.plan-def dd { color: var(--text); }
.plan-note-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-top: 8px;
}
.plan-note-box ul { list-style: none; padding: 0; }
.plan-note-box li {
  font-size: 12.5px;
  color: var(--muted);
  padding: 3px 0 3px 16px;
  position: relative;
}
.plan-note-box li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 700;
}
@media (max-width: 720px) {
  .plan-compare { grid-template-columns: 1fr; }
  .plan-def { grid-template-columns: 72px 1fr; }
}
