/************************************************************
* StepAI｜講座と設定サポートつきで、LINE集客を30日で仕組みに。（インフォカート販売ページ）
************************************************************/
:root {
  --navy: #1f3a5f;
  --navy-dark: #152a45;
  --green: #06c755;
  --green-dark: #04a347;
  --accent: #f5b400;
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #2a2f36;
  --muted: #5f6b78;
  --line: #dfe4ea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

#wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.inner {
  padding: 0 20px;
}

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--navy);
  text-align: center;
  font-weight: 900;
}

h2 .sub {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  font-weight: 700;
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.5;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

.center {
  text-align: center;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.br-sp {
  display: none;
}

/* ===== ファーストビュー ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 48px 0 52px;
  border-bottom: none;
  text-align: center;
}

.hero .target {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.hero .catch {
  margin: 0 0 18px;
  font-size: 1.9rem;
  line-height: 1.45;
  font-weight: 900;
}

.hero .catch em {
  font-style: normal;
  color: var(--accent);
}

.hero .title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero .subtitle {
  margin: 4px 0 26px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-points {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 560px;
  text-align: left;
}

.hero-points li {
  margin-bottom: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-points b {
  color: var(--accent);
  margin-right: 6px;
}

.hero .teacher {
  margin: 0 0 18px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero .price {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero .price strong {
  font-size: 1.35rem;
  color: var(--accent);
}

.hero .installment {
  margin: 0 0 30px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.hero .link-sub {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-size: 0.9rem;
}

/* ===== 申込ボタン（揺れる） ===== */
.cta-btn {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 20px;
  background: linear-gradient(180deg, #13d468 0%, var(--green-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 6px 0 #038a3c, 0 10px 18px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  animation: ctaPulse 2s ease-in-out infinite;
  will-change: transform;
  transition: filter 0.2s;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  filter: brightness(1.08);
}

.cta-btn small {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn {
    animation: none;
  }
}

.cta-box {
  padding: 8px 0 0;
  text-align: center;
}

/* ===== 悩み ===== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  margin-bottom: 10px;
  background: var(--bg);
  border-radius: 8px;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid var(--green-dark);
  border-radius: 4px;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 11px;
  margin-top: -8px;
  border-right: 3px solid var(--green-dark);
  border-bottom: 3px solid var(--green-dark);
  transform: rotate(45deg);
}

/* ===== 理由・3つ ===== */
.reason {
  margin-bottom: 16px;
  padding: 18px 18px 6px;
  border-left: 4px solid var(--navy);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}

.reason h3 {
  margin-top: 0;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.trio > div {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.trio .label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-dark);
  text-align: center;
}

.trio .what {
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.55;
}

.trio p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== 表 ===== */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.6;
}

th,
td {
  padding: 10px 10px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

tbody th {
  background: var(--bg);
  font-weight: 700;
  white-space: nowrap;
}

td.ours,
th.ours {
  background: #ecfbf2;
}

thead th.ours {
  background: var(--green-dark);
}

/* ===== 比較 ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cmp {
  min-width: 0;
  padding: 16px 14px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.cmp.ours {
  border: 2px solid var(--green-dark);
  background: #ecfbf2;
}

.cmp-name {
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
}

.cmp.ours .cmp-name {
  color: var(--green-dark);
}

.cmp dl {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cmp dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.cmp dd {
  margin: 0 0 10px;
}

/* ===== 章 ===== */
.part {
  margin: 28px 0 12px;
  padding: 6px 12px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
}

.chapter {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chapter h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--navy);
}

.chapter p {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.chapter .work {
  margin: 0;
  font-size: 0.88rem;
  color: var(--green-dark);
  font-weight: 700;
}

/* ===== 講師 ===== */
.profile {
  padding: 22px 20px;
  background: var(--bg);
  border-radius: 10px;
}

.profile .name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
}

.profile .role {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.message {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff;
  border-left: 4px solid var(--green-dark);
  border-radius: 0 8px 8px 0;
}

/* ===== プラン ===== */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.plan {
  min-width: 0;
  padding: 20px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.plan.premium {
  border-color: var(--navy);
}

.plan .plan-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
}

.plan .for {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan .plan-price {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
}

.plan .plan-price small {
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq dt {
  position: relative;
  margin: 18px 0 6px;
  padding-left: 34px;
  font-weight: 700;
  line-height: 1.6;
}

.faq dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 24px;
  text-align: center;
}

.faq dd {
  margin: 0 0 8px;
  padding: 0 0 14px 34px;
  border-bottom: 1px solid var(--line);
}

/* ===== 流れ ===== */
.flow {
  list-style: none;
  counter-reset: flow;
  padding: 0;
}

.flow li {
  position: relative;
  counter-increment: flow;
  margin-bottom: 12px;
  padding: 14px 14px 14px 56px;
  background: var(--bg);
  border-radius: 8px;
  line-height: 1.6;
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 14px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
}

/* ===== お申し込み ===== */
.apply {
  background: #fbfcfd;
}

.apply-plan {
  margin: 0 0 30px;
  padding: 22px 18px 32px;
  border: 2px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.apply-plan.premium {
  border-color: var(--navy);
}

.apply-plan h3 {
  margin: 0 0 4px;
}

.apply-plan .plan-price {
  margin: 0 0 22px;
  font-size: 1.8rem;
  font-weight: 900;
}

.apply-plan .plan-price small {
  font-size: 0.85rem;
}

.payment-images {
  margin: 0 0 16px;
  text-align: center;
}

.payment-images img {
  max-width: 100%;
  height: auto;
}

.disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== フッター ===== */
footer {
  padding: 26px 20px;
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: #fff;
}

footer p {
  margin: 8px 0 0;
}

/* ===== 特商法 ===== */
.page-head {
  padding: 32px 20px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.page-head h1 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

.page-head p {
  margin: 0 0 4px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.legal {
  padding: 32px 20px 40px;
}

.legal th {
  width: 32%;
  white-space: normal;
}

.back {
  display: inline-block;
  margin-top: 24px;
  color: var(--navy);
}

/* ===== スマホ ===== */
@media (max-width: 600px) {
  section {
    padding: 44px 0;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero .catch {
    font-size: 1.55rem;
  }

  .hero .title {
    font-size: 1.15rem;
    line-height: 1.6;
  }

  .trio {
    grid-template-columns: 1fr;
  }

  .plans,
  .compare {
    grid-template-columns: 1fr;
  }

  .br-sp {
    display: inline;
  }

  table.stack thead {
    display: none;
  }

  table.stack tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-top: none;
  }

  table.stack tr:first-child {
    border-top: 1px solid var(--line);
  }

  table.stack th {
    grid-column: 1 / -1;
    border: none;
    white-space: normal;
  }

  table.stack td {
    border: none;
  }

  table.stack td + td {
    border-left: 1px solid var(--line);
  }

  table.stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-dark);
  }

  .legal th,
  .legal td {
    display: block;
    width: 100%;
  }

  .legal td {
    border-top: none;
  }
}

@media (max-width: 360px) {
  .inner {
    padding: 0 14px;
  }

  .hero .catch {
    font-size: 1.4rem;
  }

  .cta-btn {
    font-size: 1.05rem;
    padding: 16px 12px;
  }
}

/* 1プランのとき（2026-10-13） */
.plans.single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
