/* ============================================================
   料金プラン（NAYOSEL_plan / NAYOSEL_plan_SP 準拠）
   ============================================================ */

.plan { padding: 108px 0 0; }
.plan__grid { margin-top: 66px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.plan-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 5px rgba(27, 53, 146, 0.1);
  padding: 0 22px 30px;
  display: flex;
  flex-direction: column;
}
.plan-card__head {
  margin: 0 -22px;
  border-radius: 20px 20px 0 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 12px 6px;
}
.plan-card__name { font-size: 25px; font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
.plan-card__range { font-size: 15px; font-weight: 700; }
.plan-card__head--starter { background: #d5e4e8; color: var(--ink); }
.plan-card__head--standard { background: #114c5a; }
.plan-card__head--pro { background: #172b36; }
.plan-card__head--ent { background: var(--orange); }
.plan-card__sub { margin-top: 22px; font-size: 15px; font-weight: 700; line-height: 1.8; min-height: 84px; }
.plan-card__list { border-top: 1px solid #ccd9dd; padding-top: 24px; list-style: none; }
.plan-card__list li {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  padding-left: 22px;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.plan-card__list li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan-card__list li.no-check { padding-left: 2px; }
.plan-card__list li.no-check::before { content: ""; }
.plan-card__price { border-top: 1px solid #ccd9dd; margin-top: 4px; padding: 20px 0 24px; text-align: center; min-height: 92px; }
.plan-card__num { font-size: 44px; font-weight: 700; letter-spacing: 0.02em; }
.plan-card__unit { font-size: 18px; font-weight: 700; }
.plan-card__tax { font-size: 14px; font-weight: 500; color: #99adb2; margin-left: 2px; }
.plan-card__quote { font-size: 25px; font-weight: 700; line-height: 72px; }
.plan-card__btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 3px rgba(27, 53, 146, 0.15);
  transition: 0.2s;
}
.plan-card__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-arrow { width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent #fff; }

/* ---------- 導入支援サービス ---------- */
.plan-ob {
  margin-top: 50px;
  display: flex;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 5px rgba(27, 53, 146, 0.1);
}
.plan-ob__card {
  flex: 0 0 290px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(160deg, #124754 0%, #1d5766 34%, #b56317 78%, #df700b 100%);
  color: #fff;
  text-align: center;
  padding: 36px 20px 34px;
  display: flex;
  flex-direction: column;
}
.plan-ob__en { font-size: 14px; font-weight: 500; letter-spacing: 0.16em; }
.plan-ob__ttl { margin-top: 8px; font-size: 25px; font-weight: 700; letter-spacing: 0.04em; }
.plan-ob__badge {
  margin: 16px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 141px;
  height: 30px;
  border-radius: 100px;
  background: #dfebe7;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.plan-ob__price { margin-top: auto; padding-top: 26px; font-size: 21px; font-weight: 700; letter-spacing: 0.04em; }
.plan-ob__price-num { font-size: 51px; letter-spacing: 0.02em; }
.plan-ob__body { flex: 1; padding: 36px 44px 30px; }
.plan-ob__intro { font-size: 15px; font-weight: 700; line-height: 2.0; }
.plan-ob__checks {
  margin-top: 22px;
  border-top: 1px solid #ccd9dd;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  list-style: none;
}
.plan-ob__checks li { position: relative; font-size: 16px; font-weight: 500; padding-left: 28px; }
.plan-ob__checks li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan-ob__note { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--gray); }
.plan__foot { margin-top: 24px; text-align: center; font-size: 14px; font-weight: 500; color: var(--gray); }

/* ---------- プラン比較 ---------- */
.cmp {
  margin-top: 100px;
  padding: 62px 0 120px;
  background: linear-gradient(180deg, #f1f5f4 0, var(--bg-card) 238px, var(--bg-card) calc(100% - 100px), #f1f5f4 100%);
}
.cmp__wrap { margin-top: 76px; overflow-x: auto; }
.cmp__table { width: 100%; border-collapse: separate; border-spacing: 2px 0; }
.cmp__table th, .cmp__table td { text-align: center; vertical-align: middle; }
.cmp__table thead th { height: 61px; color: #fff; font-size: 18px; font-weight: 700; }
.cmp__feature { background: #f1f5f4; border-radius: 20px 0 0 0; color: var(--ink) !important; }
.cmp__h--starter { background: #d5e4e8; color: var(--ink) !important; }
.cmp__h--standard { background: #114c5a; }
.cmp__h--pro { background: #172b36; }
.cmp__h--ent { background: var(--orange); border-radius: 0 20px 0 0; }
.cmp__table tbody th {
  background: #f1f5f4;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  padding: 0 22px;
  width: 362px;
  border-top: 1px solid #e2e9e7;
}
.cmp__table tbody td {
  background: #fff;
  height: 61px;
  font-size: 15px;
  font-weight: 700;
  border-top: 1px solid #eef2f1;
  width: 209px;
}
.cmp__table tbody tr:last-child th { border-radius: 0 0 0 20px; }
.cmp__table tbody tr:last-child td:last-child { border-radius: 0 0 20px 0; }
.cmp__table td .o { color: var(--orange); }
.cmp__table td .s small { display: block; font-size: 13px; font-weight: 500; line-height: 1.1; }
.mk { display: inline-block; width: 26px; height: 26px; border: 4px solid var(--orange); border-radius: 50%; vertical-align: middle; }
.mk--s { width: 18px; height: 18px; border-width: 3px; }
.cmp__table td .dash { color: #99adb2; }

/* ---------- よくあるご質問（料金） ---------- */
.plan-faq { padding: 96px 0 40px; }
.plan-faq__sub { font-size: 28px; letter-spacing: 0.1em; }
.plan-faq__list { margin-top: 60px; padding: 0; }
.plan-faq__more {
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 336px;
  height: 60px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 5px rgba(27, 53, 146, 0.15);
  transition: 0.2s;
}
.plan-faq__more:hover { opacity: 0.85; transform: translateY(-1px); }

@media (max-width: 768px) {
  .plan { padding: 64px 0 0; }
  .plan__grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; margin: 36px -20px 0; padding: 0 30px 16px; gap: 13px; }
  .plan-card { flex: 0 0 290px; scroll-snap-align: start; padding: 0 20px 26px; }
  .plan__grid::-webkit-scrollbar { height: 4px; }
  .plan__grid::-webkit-scrollbar-track { background: #dce6e4; border-radius: 2px; margin: 0 30px; }
  .plan__grid::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }
  .plan-card__sub { min-height: 0; }
  .plan-card__price { min-height: 0; }

  .plan-ob { margin-top: 40px; flex-direction: column; }
  .plan-ob__card { flex: none; border-radius: 20px 20px 0 0; }
  .plan-ob__body { padding: 24px 22px 26px; }
  .plan-ob__checks { grid-template-columns: 1fr; gap: 12px; }
  .plan-ob__checks li { font-size: 14px; }
  .plan__foot { margin-top: 36px; text-align: left; }

  .cmp { margin-top: 60px; padding: 48px 0 70px; }
  .cmp__wrap { margin-top: 36px; }
  .cmp__table { min-width: 720px; }
  .cmp__table tbody th { width: 240px; font-size: 13px; padding: 0 12px; }
  .cmp__table thead th { font-size: 14px; }
  .cmp__table tbody td { font-size: 13px; }

  .plan-faq { padding: 60px 0 20px; }
  .plan-faq__sub { font-size: 18px; display: block; margin-top: 6px; }
  .plan-faq__list { margin-top: 32px; }
  .plan-faq__more { width: 300px; }
}
