/* =========================================================
   CodeTutor LP - オンライン プログラミング家庭教師
   namespace: .ct-
   ========================================================= */

:root {
    --ct-blue: #2563EB;
    --ct-blue-dark: #1D4ED8;
    --ct-blue-deep: #1E40AF;
    --ct-blue-soft: #E8EFFE;
    --ct-blue-tint: #F4F8FF;
    --ct-yellow: #FFD24A;
    --ct-yellow-dark: #FFC120;
    --ct-green: #5C9E2E;
    --ct-purple: #6A3FB5;
    --ct-ai: #0891B2;
    --ct-ai-soft: #E0F4F9;
    --ct-ink: #0F1420;
    --ct-text: #171D27;
    --ct-text-mid: #2B313B;
    --ct-text-dim: #454C57;
    --ct-line: #E5E9F0;
    --ct-bg: #FFFFFF;
    --ct-bg-alt: #F7F9FC;
    --ct-radius: 16px;
    --ct-shadow: 0 10px 30px rgba(30, 64, 175, 0.08);
    --ct-shadow-sm: 0 4px 14px rgba(30, 64, 175, 0.07);
    --ct-maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 110%; }

body.lp-ct {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Noto Sans CJK JP", sans-serif;
    color: var(--ct-text);
    background: var(--ct-bg);
    font-size: 1rem;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.ct-container {
    width: 100%;
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    padding: 16px 30px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    line-height: 1.3;
}
.ct-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.ct-btn--primary {
    background: var(--ct-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.ct-btn--primary:hover { background: var(--ct-blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.34); }

.ct-btn--ghost {
    background: #fff;
    color: var(--ct-blue);
    border: 2px solid var(--ct-blue);
    padding: 14px 28px;
}
.ct-btn--ghost:hover { background: var(--ct-blue-tint); transform: translateY(-2px); }

.ct-btn--yellow {
    background: var(--ct-yellow);
    color: var(--ct-blue-deep);
    box-shadow: 0 10px 24px rgba(255, 193, 32, 0.40);
    font-size: 1.25rem;
    padding: 20px 44px;
}
.ct-btn--yellow:hover { background: var(--ct-yellow-dark); transform: translateY(-2px); }

.ct-btn--lg { font-size: 1.1rem; padding: 18px 40px; width: 100%; max-width: 420px; }

/* ---------- Header ---------- */
.ct-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ct-line);
}
.ct-header__inner {
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ct-header__logo { height: 54px; width: auto; }
.ct-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ct-header__nav {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ct-ink);
    white-space: nowrap;
    transition: color .18s ease;
}
.ct-header__nav:hover { color: var(--ct-blue); }
.ct-header__cta {
    font-size: 0.95rem;
    padding: 12px 24px;
}
.ct-header__cta svg { width: 18px; height: 18px; }

/* アンカー移動時に固定ヘッダーで隠れないように */
#plans, #courses, #tutors { scroll-margin-top: 86px; }
html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
.ct-hero {
    background: linear-gradient(180deg, #fff 0%, var(--ct-blue-tint) 100%);
    padding: 64px 0 72px;
    overflow: hidden;
}
.ct-hero__inner {
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.ct-hero__tag {
    display: inline-block;
    background: var(--ct-yellow);
    color: var(--ct-blue-deep);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.ct-hero__lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 0 0 14px;
}
.ct-hero__title {
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.28;
    color: var(--ct-ink);
    margin: 0 0 22px;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.ct-hero__title em { color: var(--ct-blue); font-style: normal; }
.ct-nowrap { white-space: nowrap; }
.ct-hero__sub {
    font-size: 1rem;
    color: var(--ct-text);
    margin: 0 0 30px;
    line-height: 1.9;
}
.ct-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
/* 画像ヒーロー */
.ct-hero--img .ct-hero__inner {
    display: block;
    text-align: center;
    max-width: 1200px;
}
.ct-hero__banner {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.18);
}
.ct-hero__cta-row--center { justify-content: center; margin-top: 28px; }
/* スマホ用は縦長バナーに切替（PCは横長バナー） */
.ct-hero__banner--sp { display: none; }
@media (max-width: 600px) {
    .ct-hero--img .ct-hero__banner--pc { display: none; }
    .ct-hero--img .ct-hero__banner--sp { display: block; max-width: 430px; margin: 0 auto; }
}
.ct-visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ct-hero__media { position: relative; }
.ct-hero__img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.18);
}
.ct-hero__badge {
    position: absolute;
    right: 8px;
    bottom: -28px;
    width: 124px;
    height: 124px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--ct-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid var(--ct-blue-soft);
}
.ct-hero__badge-label { font-size: 0.72rem; color: var(--ct-text-mid); font-weight: 600; }
.ct-hero__badge-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ct-blue);
    line-height: 1.1;
}
.ct-hero__badge-num span { font-size: 0.82rem; }
.ct-hero__badge-note { font-size: 0.6rem; color: var(--ct-text-dim); }

/* ---------- Sections ---------- */
.ct-section { padding: 72px 0; }
.ct-section--alt { background: var(--ct-bg-alt); }

.ct-section-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 0 0 44px;
    position: relative;
}
.ct-section-title em { color: var(--ct-blue); font-style: normal; }
.ct-section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--ct-blue);
    margin: 14px auto 0;
}

/* ---------- Feature cards ---------- */
.ct-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ct-feature {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--ct-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ct-feature:hover { transform: translateY(-4px); box-shadow: var(--ct-shadow); }
.ct-feature__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--ct-blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ct-feature__icon img { width: 100%; height: 100%; object-fit: cover; }
.ct-feature__title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 0 0 12px;
}
.ct-feature__text {
    font-size: 0.92rem;
    color: var(--ct-text-mid);
    margin: 0;
}

/* ---------- 講師紹介 ---------- */
.ct-tutors__lead {
    text-align: center;
    font-size: 0.95rem;
    color: var(--ct-text);
    margin: -24px 0 36px;
    line-height: 1.8;
}
.ct-tutors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ct-tutor {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 30px;
    box-shadow: var(--ct-shadow-sm);
    display: flex;
    gap: 20px;
}
.ct-tutor__icon {
    width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%;
    background: var(--ct-blue-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ct-tutor__icon img { width: 100%; height: 100%; object-fit: cover; }
.ct-tutor__icon svg { width: 38px; height: 38px; color: var(--ct-blue); }
.ct-tutor__title { font-size: 1.12rem; font-weight: 700; color: var(--ct-ink); margin: 0 0 10px; line-height: 1.4; }
.ct-tutor__text { font-size: 0.98rem; color: var(--ct-text-mid); margin: 0 0 14px; line-height: 1.85; }
.ct-tutor__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tutor__tags li {
    font-size: 0.76rem; font-weight: 700; color: var(--ct-blue);
    background: var(--ct-blue-tint); border: 1px solid var(--ct-blue-soft);
    border-radius: 999px; padding: 4px 12px;
}
@media (max-width: 920px) {
    .ct-tutors { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .ct-tutor { flex-direction: column; gap: 14px; padding: 24px 20px; }
}

/* ---------- Courses ---------- */
.ct-courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 22px;
}
/* どれかを開いている間は高さ揃えを解除（隣カードが一緒に伸びるのを防ぐ） */
.ct-courses:has(.ct-course.is-open) { align-items: start; }
.ct-course {
    display: grid;
    grid-template-columns: 104px 1fr;
    column-gap: 22px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 28px 28px;
    text-align: left;
    box-shadow: var(--ct-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.ct-course > :not(.ct-course__icon) { grid-column: 2; min-width: 0; }
.ct-course:hover { transform: translateY(-4px); box-shadow: var(--ct-shadow); }
.ct-course:focus-visible { outline: 2px solid var(--ct-blue); outline-offset: 3px; }

/* コース詳細（開閉アコーディオン） */
.ct-courses__hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ct-text-mid);
    margin: 0 0 22px;
}
.ct-course__detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
}
.ct-course.is-open .ct-course__detail { grid-template-rows: 1fr; }
.ct-course__detail-inner {
    min-height: 0;
    overflow: hidden;
    text-align: left;
}
.ct-course__dl { margin: 0; padding-top: 20px; }
.ct-course__dl > div { padding: 12px 0; border-top: 1px solid var(--ct-line); }
.ct-course__dl > div:first-child { border-top: none; padding-top: 4px; }
.ct-course__dl dt {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ct-text-mid);
    margin: 0 0 4px;
}
.ct-course__dl dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ct-ink);
}
.ct-course__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    background: var(--ct-blue);
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    cursor: pointer;
    transition: filter .18s ease;
}
.ct-course__cta:hover { filter: brightness(1.08); }
.ct-course--game .ct-course__cta { background: var(--ct-green); }
.ct-course--system .ct-course__cta { background: var(--ct-purple); }
.ct-course__toggle {
    align-self: start;
    margin-top: 4px;
    padding-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ct-blue);
}
.ct-course--game .ct-course__toggle { color: var(--ct-green); }
.ct-course--system .ct-course__toggle { color: var(--ct-purple); }
.ct-course.is-open .ct-course__toggle { color: var(--ct-text-mid); }
.ct-course__icon {
    width: 104px;
    height: 104px;
    aspect-ratio: 1 / 1;
    margin: 0;
    object-fit: contain;
    border-radius: 14px;
    grid-column: 1;
    align-self: start;
}
.ct-course__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 14px;
}
.ct-course--web .ct-course__title em { color: var(--ct-blue); }
.ct-course--game .ct-course__title em { color: var(--ct-green); }
.ct-course--system .ct-course__title em { color: var(--ct-purple); }
.ct-course__title em { font-style: normal; }

/* AI活用コース（4枚目）配色・アイコン */
.ct-course--ai .ct-course__cta { background: var(--ct-ai); }
.ct-course--ai .ct-course__toggle { color: var(--ct-ai); }
.ct-course--ai .ct-course__title em { color: var(--ct-ai); }
.ct-course__icon--ai {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ct-ai-soft), #fff);
    color: var(--ct-ai);
    border: 1px solid var(--ct-ai-soft);
}
.ct-course__icon--ai svg { width: 54%; height: 54%; stroke-width: 1.8; }
.ct-course__text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ct-text-mid);
    margin: 0 0 14px;
}
.ct-course__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.ct-course__chips span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ct-text-mid);
    background: #f3f6fb;
    border: 1px solid var(--ct-line);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}
.ct-course--web .ct-course__chips span { color: var(--ct-blue); }
.ct-course--game .ct-course__chips span { color: var(--ct-green); }
.ct-course--system .ct-course__chips span { color: var(--ct-purple); }
.ct-course--ai .ct-course__chips span { color: var(--ct-ai); }
.ct-course__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ct-ink);
    border: 1px solid var(--ct-line);
    border-radius: 999px;
    padding: 10px 26px;
    transition: background .18s ease, border-color .18s ease;
}
.ct-course__link:hover { background: var(--ct-blue-tint); border-color: var(--ct-blue); color: var(--ct-blue); }

/* ---------- Pricing ---------- */
.ct-plans__lead {
    text-align: center;
    font-size: 0.95rem;
    color: var(--ct-text);
    margin: -24px 0 36px;
    line-height: 1.8;
}

/* ---------- 料金比較テーブル ---------- */
.ct-ptable-hint {
    display: none;
    text-align: center;
    font-size: 0.8rem;
    color: var(--ct-text-mid);
    margin: 0 0 10px;
}
.ct-ptable-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 18px;
    border-radius: var(--ct-radius);
}
.ct-ptable {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
    border-radius: var(--ct-radius);
    overflow: hidden;
}
.ct-ptable th,
.ct-ptable td {
    padding: 16px 14px;
    text-align: center;
    border-bottom: 1px solid #CFD8E8;
    font-size: 0.95rem;
    vertical-align: middle;
}
.ct-ptable tbody tr:last-child th,
.ct-ptable tbody tr:last-child td { border-bottom: none; }

/* 見出し（プラン名） */
.ct-ptable__corner { background: #fff; border-bottom: none !important; }
.ct-ptable__plan {
    background: var(--ct-blue-soft);
    border-bottom: 2px solid #BFD0F2;
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--ct-blue-deep);
    line-height: 1.3;
}
.ct-ptable__plan span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ct-text-mid);
    margin-top: 5px;
}
.ct-ptable__plan--featured {
    background: var(--ct-blue);
    color: #fff;
}
.ct-ptable__plan--featured span { color: rgba(255,255,255,.85); }
.ct-ptable__pop {
    display: inline-block !important;
    margin: 0 0 6px !important;
    padding: 2px 12px;
    background: #FFD43B;
    color: #5C3A00 !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    border-radius: 999px;
}

/* 行ラベル（左端・スクロール時も固定） */
.ct-ptable tbody th {
    text-align: left;
    background: #EDF1F8;
    border-right: 2px solid #CFD8E8;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ct-ink);
    white-space: nowrap;
    position: sticky;
    left: 0;
    z-index: 1;
}

/* 注目列のハイライト（スタンダード） */
.ct-ptable th.ct-ptable__plan--featured,
.ct-ptable td.is-featured {
    border-left: 2px solid var(--ct-blue);
    border-right: 2px solid var(--ct-blue);
}
.ct-ptable td.is-featured { background: var(--ct-blue-soft); }
.ct-ptable tbody tr:last-child td.is-featured { border-bottom: 2px solid var(--ct-blue); }

/* 通常価格（取り消し線） */
.ct-ptable__regular td { color: var(--ct-text-dim); font-size: 0.9rem; }
.ct-ptable__regular del { text-decoration-color: #C0392B; }

/* 価格行（永続20%OFF） */
.ct-ptable__price th { color: #E03131; }
.ct-ptable__price td { font-size: 1.3rem; }
.ct-ptable__price strong { font-weight: 800; color: var(--ct-blue-deep); }
.ct-ptable__price td.is-featured strong { color: var(--ct-blue-deep); }

/* CTAボタン */
.ct-ptable__cta td { padding-top: 18px; padding-bottom: 20px; }
.ct-ptable__btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ct-blue);
    background: #fff;
    border: 1.5px solid var(--ct-blue);
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}
.ct-ptable__btn:hover { background: var(--ct-blue); color: #fff; }
.ct-ptable__btn--featured { background: var(--ct-blue); color: #fff; }
.ct-ptable__btn--featured:hover { filter: brightness(1.08); }
@media (max-width: 680px) {
    .ct-ptable-hint { display: block; }
}

.ct-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.ct-plan {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 34px 28px;
    box-shadow: var(--ct-shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}
.ct-plan--featured {
    border: 2px solid var(--ct-blue);
    box-shadow: var(--ct-shadow);
    padding-top: 0;
    overflow: hidden;
}
.ct-plan__ribbon {
    background: var(--ct-blue);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    margin: 0 -28px 28px;
}
.ct-plan__name {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 0 0 4px;
}
.ct-plan__target {
    align-self: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ct-blue);
    background: var(--ct-blue-soft);
    border-radius: 999px;
    padding: 5px 14px;
    margin: 4px 0 16px;
}
.ct-plan__freq-box {
    text-align: center;
    background: var(--ct-bg-alt);
    border: 1px solid var(--ct-line);
    border-radius: 10px;
    padding: 9px;
    margin: 0 0 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ct-ink);
}
.ct-plan__freq-box span { display: block; font-size: 0.74rem; font-weight: 500; color: var(--ct-text-mid); margin-top: 2px; }
.ct-plan__price-label { text-align: center; font-size: 0.76rem; font-weight: 700; color: var(--ct-text-mid); margin: 0 0 2px; }
.ct-plan__price {
    text-align: center;
    margin: 0 0 4px;
    color: var(--ct-blue);
    font-weight: 800;
}
.ct-plan__price-num { font-size: 2.3rem; line-height: 1; }
.ct-plan__price-unit { font-size: 0.95rem; color: var(--ct-text-mid); font-weight: 700; }
.ct-plan__tax {
    text-align: center;
    font-size: 0.78rem;
    color: var(--ct-text-dim);
    margin: 0 0 10px;
}
.ct-plan__per {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ct-text-mid);
    margin: 0 0 20px;
    padding-top: 10px;
    border-top: 1px dashed var(--ct-line);
}
.ct-plan__per strong { color: var(--ct-blue); font-size: 1.05rem; }
.ct-plan__list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}
.ct-plan__list li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 0.9rem;
    color: var(--ct-text);
    border-bottom: 1px dashed var(--ct-line);
}
.ct-plan__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 13px;
    width: 16px;
    height: 9px;
    border-left: 2.5px solid var(--ct-blue);
    border-bottom: 2.5px solid var(--ct-blue);
    transform: rotate(-45deg);
}
.ct-plan__btn {
    margin-top: auto;
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    padding: 14px;
    border: 1.5px solid var(--ct-blue);
    color: var(--ct-blue);
    background: #fff;
    transition: background .18s ease, color .18s ease;
    cursor: pointer;
}
.ct-plan__btn:hover { background: var(--ct-blue-tint); }
.ct-plan--featured .ct-plan__btn {
    background: var(--ct-blue);
    color: #fff;
}
.ct-plan--featured .ct-plan__btn:hover { background: var(--ct-blue-dark); }
.ct-plans__note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--ct-text-mid);
    margin: 32px 0 0;
}

/* ---------- Highlights band ---------- */
.ct-highlights {
    background: var(--ct-blue-tint);
    border-top: 1px solid var(--ct-line);
    border-bottom: 1px solid var(--ct-line);
}
.ct-highlights__inner {
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ct-highlight {
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--ct-shadow-sm);
}
.ct-highlight__icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
    background: var(--ct-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.ct-highlight__icon svg { width: 22px; height: 22px; }
.ct-highlight__body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ct-highlight__label { font-size: 0.8rem; font-weight: 700; color: var(--ct-text-mid); }
.ct-highlight__value { font-size: 1.15rem; font-weight: 800; color: var(--ct-ink); }
.ct-highlight__value em { font-style: normal; color: var(--ct-blue); font-size: 1.55em; line-height: 1; }

/* ---------- 授業時間の自由設計 ---------- */
.ct-flex {
    background: linear-gradient(180deg, var(--ct-blue-tint) 0%, #fff 100%);
    border: 1.5px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 38px;
    box-shadow: var(--ct-shadow-sm);
}
.ct-flex__badge {
    display: inline-block; background: var(--ct-blue); color: #fff;
    font-weight: 700; font-size: 0.8rem; padding: 5px 16px; border-radius: 999px; margin-bottom: 16px;
}
.ct-flex__title { font-size: 1.45rem; font-weight: 700; color: var(--ct-ink); margin: 0 0 12px; line-height: 1.45; }
.ct-flex__title em { color: var(--ct-blue); font-style: normal; }
.ct-flex__lead { font-size: 0.95rem; color: var(--ct-text); margin: 0 0 28px; line-height: 1.9; }
.ct-flex__lead strong { color: var(--ct-blue); }
.ct-flex__examples { display: grid; gap: 20px; }
.ct-flex__row-label { font-size: 0.9rem; font-weight: 700; color: var(--ct-ink); margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; }
.ct-flex__row-label span { font-weight: 500; color: var(--ct-text-mid); font-size: 0.82rem; }
.ct-flex__bar { display: flex; gap: 5px; height: 50px; }
.ct-flex__seg {
    border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; min-width: 0; box-shadow: var(--ct-shadow-sm);
}
.ct-flex__seg--a { background: var(--ct-blue); }
.ct-flex__seg--b { background: #5B8DEF; }
.ct-flex__notes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.ct-flex__notes li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--ct-text); }
.ct-flex__notes li::before {
    content: ""; position: absolute; left: 2px; top: 7px; width: 15px; height: 8px;
    border-left: 2.5px solid var(--ct-blue); border-bottom: 2.5px solid var(--ct-blue); transform: rotate(-45deg);
}
.ct-flex__notes li strong { color: var(--ct-blue); }

@media (max-width: 920px) {
    .ct-highlights__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ct-highlights__inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ct-highlight { padding: 12px; gap: 9px; }
    .ct-highlight__value { font-size: 1.02rem; }
    .ct-flex { padding: 24px 18px; }
    .ct-flex__title { font-size: 1.2rem; }
    .ct-flex__bar { height: 44px; }
    .ct-flex__seg { font-size: 0.72rem; }
}

/* ---------- 受講イメージ ---------- */
.ct-lessons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ct-lesson {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    overflow: hidden;
    box-shadow: var(--ct-shadow-sm);
}
.ct-lesson__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ct-lesson__body { padding: 22px 24px; }
.ct-lesson__tag {
    display: inline-block; background: var(--ct-blue-soft); color: var(--ct-blue);
    font-weight: 700; font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.ct-lesson__title { font-size: 1.12rem; font-weight: 700; color: var(--ct-ink); margin: 0 0 8px; }
.ct-lesson__text { font-size: 0.9rem; color: var(--ct-text-mid); margin: 0; line-height: 1.85; }
@media (max-width: 760px) {
    .ct-lessons { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------- お客様の声 ---------- */
.ct-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ct-voice {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    padding: 28px 26px;
    box-shadow: var(--ct-shadow-sm);
    display: flex;
    flex-direction: column;
}
.ct-voice__stars { color: #FFB400; font-size: 1.05rem; letter-spacing: 3px; margin: 0 0 12px; }
.ct-voice__text { font-size: 0.92rem; color: var(--ct-text); line-height: 1.95; margin: 0 0 20px; flex: 1; }
.ct-voice__person { display: flex; align-items: center; gap: 12px; }
.ct-voice__avatar {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    background: var(--ct-blue-soft); color: var(--ct-blue);
    font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
.ct-voice__name { font-weight: 700; font-size: 0.9rem; color: var(--ct-ink); }
.ct-voice__attr { font-size: 0.78rem; color: var(--ct-text-mid); }
@media (max-width: 920px) {
    .ct-voices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ---------- CTA band ---------- */
.ct-cta {
    background: linear-gradient(135deg, var(--ct-blue) 0%, var(--ct-blue-deep) 100%);
    padding: 56px 0;
    overflow: hidden;
}
.ct-cta__inner {
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}
.ct-cta__char { width: 120px; height: auto; align-self: end; }
.ct-cta__body { text-align: center; }
.ct-cta__heading {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.5;
    text-wrap: balance;
}
.ct-cta__note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    margin: 18px 0 0;
}

/* ---------- Form ---------- */
.ct-form-section { padding: 72px 0; background: var(--ct-bg-alt); }
.ct-form {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
    padding: 36px;
}
.ct-plan-select { margin-bottom: 26px; }
.ct-plan-select__title { font-weight: 700; color: var(--ct-ink); margin: 0 0 12px; font-size: 0.95rem; }
.ct-plan-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ct-plan-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1.5px solid var(--ct-line);
    border-radius: 12px;
    padding: 12px 8px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.ct-plan-option input { display: none; }
.ct-plan-option.is-selected { border-color: var(--ct-blue); background: var(--ct-blue-tint); }
.ct-plan-option__label { font-weight: 700; font-size: 0.92rem; color: var(--ct-ink); }
.ct-plan-option__sub { font-size: 0.72rem; color: var(--ct-text-mid); margin-top: 2px; }

.ct-form__group { margin-bottom: 18px; }
.ct-form__label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ct-ink);
    margin-bottom: 6px;
}
.ct-form__required {
    background: var(--ct-blue);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.ct-form__opt { color: var(--ct-text-dim); font-size: 0.7rem; margin-left: 8px; font-weight: 400; }
.ct-form__input, .ct-form__textarea, .ct-form__select {
    width: 100%;
    border: 1.5px solid var(--ct-line);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ct-ink);
    background: #fff;
    transition: border-color .15s ease;
}
.ct-form__input:focus, .ct-form__textarea:focus, .ct-form__select:focus {
    outline: none;
    border-color: var(--ct-blue);
}
.ct-form__submit-wrap { text-align: center; margin-top: 26px; }
.ct-form__micro { font-size: 0.78rem; color: var(--ct-text-mid); margin: 12px 0 0; }
.ct-form__message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    display: none;
}
.ct-form__message.success {
    display: block;
    background: #ECFDF3;
    color: #027A48;
    border: 1px solid #A6F4C5;
}
.ct-form__message.error {
    display: block;
    background: #FEF3F2;
    color: #B42318;
    border: 1px solid #FECDCA;
}

/* ---------- Trial date picker ---------- */
.ct-wishlist { display: grid; gap: 8px; margin-bottom: 14px; }
.ct-wish {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid var(--ct-line); border-radius: 10px;
    padding: 10px 12px; background: #fff; cursor: pointer;
}
.ct-wish:hover { border-color: var(--ct-blue); }

/* CTA押下・行クリック時の視覚フィードバック（押しても無反応に見える問題の対策） */
@keyframes ctFlash {
    0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    25%  { box-shadow: 0 0 0 4px rgba(37, 99, 235, .45); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.ct-flash { animation: ctFlash 1.1s ease-out 1; border-radius: 12px; }
.ct-wish.is-active { border-color: var(--ct-blue); background: var(--ct-blue-tint); }
.ct-wish.is-filled { border-color: var(--ct-blue); }
.ct-wish__no {
    font-size: 0.74rem; font-weight: 700; color: #fff;
    background: var(--ct-text-dim); border-radius: 6px; padding: 3px 9px; white-space: nowrap;
}
.ct-wish.is-active .ct-wish__no { background: var(--ct-blue-dark); }
.ct-wish.is-filled .ct-wish__no { background: var(--ct-blue); }
.ct-wish__val { flex: 1; font-size: 0.9rem; color: var(--ct-text-dim); font-weight: 400; }
.ct-wish.is-filled .ct-wish__val { color: var(--ct-ink); font-weight: 600; }
.ct-wish__clear {
    border: none; background: none; color: var(--ct-text-dim);
    font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 2px 6px; display: none;
}
.ct-wish.is-filled .ct-wish__clear { display: block; }
.ct-wish__clear:hover { color: var(--ct-blue); }

.ct-cal { border: 1.5px solid var(--ct-line); border-radius: 12px; padding: 14px; background: #fff; }
.ct-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ct-cal__month { font-weight: 700; color: var(--ct-ink); font-size: 1rem; }
.ct-cal__nav {
    width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--ct-line);
    background: #fff; color: var(--ct-blue); font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.ct-cal__nav:hover:not(:disabled) { background: var(--ct-blue-tint); }
.ct-cal__nav:disabled { color: var(--ct-line); cursor: default; }
.ct-cal__weekdays, .ct-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.ct-cal__weekdays { margin-bottom: 6px; }
.ct-cal__weekdays span { text-align: center; font-size: 0.74rem; color: var(--ct-text-mid); padding: 4px 0; }
.ct-cal__grid { gap: 4px; }
.ct-cal__day {
    aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 0.9rem; color: var(--ct-text); cursor: pointer;
    border: 1.5px solid transparent; background: var(--ct-bg-alt);
    transition: background .12s ease, border-color .12s ease;
}
.ct-cal__day:hover:not(.is-disabled):not(.is-empty):not(.is-selected) { border-color: var(--ct-blue); }
.ct-cal__day.is-empty { background: transparent; cursor: default; }
.ct-cal__day.is-disabled { color: var(--ct-text-dim); background: transparent; cursor: default; opacity: .45; }
.ct-cal__day.is-selected { background: var(--ct-blue); color: #fff; font-weight: 700; }
.ct-cal__day.is-today { border-color: var(--ct-blue); }
.ct-cal__day--sun:not(.is-disabled):not(.is-selected) { color: #E5484D; }
.ct-cal__day--sat:not(.is-disabled):not(.is-selected) { color: var(--ct-blue); }

.ct-times { margin-top: 14px; }
.ct-times__head { font-size: 0.9rem; font-weight: 700; color: var(--ct-ink); margin: 0 0 10px; }
.ct-times__head span { color: var(--ct-blue); }
.ct-times__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ct-time {
    border: 1.5px solid var(--ct-line); border-radius: 8px; padding: 10px 4px;
    text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--ct-ink);
    background: #fff; cursor: pointer; transition: background .12s ease, border-color .12s ease;
}
.ct-time:hover { border-color: var(--ct-blue); background: var(--ct-blue-tint); }
.ct-cal-hint { font-size: 0.8rem; color: var(--ct-text-mid); margin: 10px 0 0; }
@media (max-width: 560px) {
    .ct-times__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Footer ---------- */
.ct-footer {
    background: var(--ct-ink);
    color: #C9D2E0;
    padding: 44px 0 24px;
}
.ct-footer__inner {
    max-width: var(--ct-maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.ct-footer__logo { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.ct-footer__name { font-weight: 700; color: #fff; font-size: 1rem; display: block; }
.ct-footer__sub { font-size: 0.75rem; color: #8B97A8; display: block; letter-spacing: 0.08em; }
.ct-footer__desc { font-size: 0.8rem; color: #A6B0C0; margin: 6px 0 0; }
.ct-footer__link { color: #8FB4FF; font-size: 0.82rem; }
.ct-footer__copy {
    text-align: center;
    font-size: 0.72rem;
    color: #6B7689;
    margin: 0;
}

/* ---------- Floating CTA ---------- */
.ct-floating-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.ct-floating {
    background: var(--ct-blue);
    color: #fff;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.40);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .18s ease, background .18s ease;
}
.ct-floating:hover { background: var(--ct-blue-dark); transform: translateY(-2px); }
.ct-floating svg { width: 20px; height: 20px; }
.ct-floating--line { background: #06C755; box-shadow: 0 10px 26px rgba(6, 199, 85, 0.40); }
.ct-floating--line:hover { background: #05b14c; }

/* フォーム内：LINE申込ブロック */
.ct-line-alt {
    margin: 28px auto 0;
    max-width: 560px;
    text-align: center;
    padding: 24px 22px;
    border: 1px solid #cdeede;
    background: #f3fbf6;
    border-radius: 14px;
}
.ct-line-alt__head { font-weight: 800; font-size: 1.1rem; color: #06864a; margin: 0 0 6px; }
.ct-line-alt__lead { font-size: .92rem; line-height: 1.8; color: #44505c; margin: 0 0 14px; }
.ct-line-alt img { transition: transform .18s ease; }
.ct-line-alt a:hover img { transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.ct-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.ct-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .ct-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .ct-hero__media { order: -1; max-width: 480px; margin: 0 auto; }
    .ct-hero__title { font-size: 2.3rem; }
    .ct-features, .ct-plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .ct-courses { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
    .ct-cta__inner { grid-template-columns: 1fr; }
    .ct-cta__char { display: none; }
}

@media (max-width: 560px) {
    .ct-hero { padding: 40px 0 56px; }
    .ct-hero__title { font-size: 1.95rem; }
    .ct-hero__lead { font-size: 1.05rem; }
    .ct-hero__cta-row { flex-direction: column; }
    .ct-hero__cta-row .ct-btn { width: 100%; }
    .ct-section { padding: 52px 0; }
    .ct-section-title { font-size: 1.5rem; }
    .ct-header__cta { padding: 10px 16px; font-size: 0.85rem; }
    .ct-header__logo { height: 44px; }
    .ct-header__actions { gap: 12px; }
    .ct-header__nav { font-size: 0.85rem; }
    .ct-btn--yellow { font-size: 1.05rem; padding: 16px 28px; width: 100%; }
    .ct-cta__heading { font-size: 1.25rem; }
    .ct-form { padding: 24px 18px; }
    .ct-plan-options { grid-template-columns: 1fr; }
    .ct-courses { grid-template-columns: 1fr; max-width: 520px; }
    .ct-course { grid-template-columns: 76px 1fr; column-gap: 14px; padding: 22px 18px; }
    .ct-course__icon { width: 76px; height: 76px; }
    .ct-course__title { font-size: 1.15rem; }
    .ct-footer__inner { flex-direction: column; text-align: center; }
    .ct-floating { padding: 12px 18px; font-size: 0.9rem; }
}

/* ===== 期間限定キャンペーン ===== */
.ct-campaign {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #FF5A5F 0%, #E03131 100%);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow: 0 8px 22px rgba(224, 49, 49, 0.32);
}
.ct-campaign__tag {
    flex: none;
    padding: 3px 10px;
    background: var(--ct-yellow);
    color: var(--ct-blue-deep);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ct-campaign em { font-style: normal; font-size: 1.18rem; color: var(--ct-yellow); }

/* 料金カード内の割引表示 */
.ct-plan__campaign {
    text-align: center;
    margin: 8px 0 0;
    padding: 10px 12px;
    background: #FFF1F1;
    border: 1px dashed #F08080;
    border-radius: 12px;
}
.ct-plan__campaign-label {
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 4px;
    background: #E03131;
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}
.ct-plan__campaign-price { font-size: 0.92rem; color: var(--ct-text); font-weight: 700; }
.ct-plan__campaign-was { color: var(--ct-text-dim); text-decoration: line-through; font-weight: 600; }
.ct-plan__campaign-now { color: #E03131; font-weight: 800; }
.ct-plan__campaign-now strong { font-size: 1.45rem; }

@media (max-width: 560px) {
    .ct-campaign { font-size: 0.9rem; flex-wrap: wrap; justify-content: center; padding: 12px 16px; }
}

/* ===== 申込フォーム：2ステップ化 ===== */
.ct-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 30px;
}
.ct-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ct-text-dim);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color .25s ease;
}
.ct-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ct-line);
    color: #fff;
    font-size: 0.9rem;
    transition: background .25s ease;
}
.ct-steps__item.is-active { color: var(--ct-blue); }
.ct-steps__item.is-active .ct-steps__num { background: var(--ct-blue); }
.ct-steps__line {
    position: relative;
    flex: 0 1 90px;
    height: 3px;
    border-radius: 3px;
    background: var(--ct-line);
    overflow: hidden;
}
.ct-steps__line-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--ct-blue);
    transition: width .3s ease;
}
.ct-step { display: none; }
.ct-step.is-active { display: block; animation: ctStepIn .28s ease; }
@keyframes ctStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.ct-step__nav { margin-top: 28px; }
.ct-step__next { display: flex; width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
.ct-step__nav--split {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.ct-step__nav--split .ct-step__back { flex: 0 0 auto; }
.ct-step__nav--split #submitBtn { flex: 1; }
.ct-form__micro--center { text-align: center; }
@media (max-width: 560px) {
    .ct-steps__label { display: none; }
    .ct-steps__line { flex-basis: 56px; }
}

/* ===== 法務ページ（特定商取引法など） ===== */
.ct-page-hero {
    text-align: center;
    padding: 124px 24px 36px;
    background: var(--ct-bg-alt);
    border-bottom: 1px solid var(--ct-line);
}
.ct-page-hero__en { display: block; color: var(--ct-blue); font-weight: 800; letter-spacing: .14em; font-size: .8rem; }
.ct-page-hero__title { font-size: 1.8rem; margin: 8px 0 0; color: var(--ct-ink); }
.ct-legal { padding: 48px 0 84px; }
.ct-legal__intro { color: var(--ct-text-mid); font-size: .95rem; margin: 0 0 28px; }
.ct-legal__table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.ct-legal__table th,
.ct-legal__table td { text-align: left; vertical-align: top; padding: 16px; border: 1px solid var(--ct-line); line-height: 1.85; }
.ct-legal__table th { width: 32%; background: var(--ct-bg-alt); font-weight: 700; color: var(--ct-ink); }
.ct-legal__price { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: .88rem; }
.ct-legal__price th,
.ct-legal__price td { border: 1px solid var(--ct-line); padding: 8px 10px; text-align: center; }
.ct-legal__price th { background: var(--ct-blue-soft); color: var(--ct-ink); }
.ct-legal__price del { color: var(--ct-text-dim); }
.ct-legal .ct-note { display: block; margin-top: 6px; font-size: .82rem; color: var(--ct-text-mid); }
.ct-legal__back { margin-top: 32px; text-align: center; }
.ct-legal__back a { color: var(--ct-blue); font-weight: 700; }
.ct-footer__links { text-align: center; margin: 0 0 12px; font-size: .82rem; }
.ct-footer__links a { color: #8FB4FF; }
.ct-footer__links .sep { margin: 0 10px; color: #6B7689; }
@media (max-width: 560px) {
    .ct-legal__table th { width: 100%; }
    .ct-legal__table th,
    .ct-legal__table td { display: block; }
    .ct-legal__table tr { display: block; }
    .ct-page-hero__title { font-size: 1.45rem; }
}

/* ===== 入会・決済ページ ===== */
.ct-enroll { padding: 40px 0 84px; }
.ct-enroll__lead { text-align: center; color: var(--ct-text-mid); margin: 0 auto 34px; max-width: 580px; }
.ct-field { margin-bottom: 28px; }
.ct-field__label { display: block; font-weight: 700; color: var(--ct-ink); margin-bottom: 12px; }
.ct-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ct-choice {
    position: relative;
    display: block;
    cursor: pointer;
    border: 2px solid var(--ct-line);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color .15s ease, background .15s ease;
}
.ct-choice:hover { border-color: var(--ct-blue-soft); }
.ct-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ct-choice.is-selected { border-color: var(--ct-blue); background: var(--ct-blue-tint); }
.ct-choice__name { font-weight: 700; color: var(--ct-ink); }
.ct-choice__sub { display: block; font-size: 0.85rem; color: var(--ct-text-mid); margin-top: 4px; }
.ct-summary { background: var(--ct-bg-alt); border: 1px solid var(--ct-line); border-radius: 12px; padding: 6px 22px; margin-bottom: 24px; }
.ct-summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ct-line); }
.ct-summary__row:last-child { border-bottom: none; }
.ct-summary__key { color: var(--ct-text-mid); font-size: 0.92rem; }
.ct-summary__val { font-weight: 700; color: var(--ct-ink); text-align: right; }
.ct-summary__val--total { font-size: 1.35rem; color: var(--ct-blue); }
.ct-agree { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--ct-line); border-radius: 12px; padding: 16px 18px; }
.ct-agree input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ct-blue); }
.ct-agree label { font-size: 0.92rem; line-height: 1.7; color: var(--ct-text); }
.ct-agree a { color: var(--ct-blue); text-decoration: underline; }
.ct-btn:disabled { opacity: .45; cursor: not-allowed; }
.ct-pay-note { text-align: center; font-size: 0.82rem; color: var(--ct-text-mid); margin-top: 16px; }
.ct-pay-brand { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 560px) {
    .ct-choice-grid { grid-template-columns: 1fr; }
}

/* ===== 利用規約ページ ===== */
.ct-terms__art { margin: 0 0 30px; }
.ct-terms__art h2 {
    font-size: 1.08rem;
    color: var(--ct-ink);
    border-left: 4px solid var(--ct-blue);
    padding-left: 10px;
    margin: 0 0 12px;
}
.ct-terms__art p { color: var(--ct-text); font-size: 0.93rem; line-height: 1.9; margin: 0 0 8px; }
.ct-terms__art ol,
.ct-terms__art ul { margin: 0; padding-left: 1.4em; }
.ct-terms__art li { color: var(--ct-text); font-size: 0.93rem; line-height: 1.9; }
.ct-terms__note { background: var(--ct-bg-alt); border-radius: 12px; padding: 16px 18px; font-size: 0.85rem; color: var(--ct-text-mid); margin-bottom: 28px; }

/* ===== 完了ページ：次のステップ ===== */
.ct-flow {
    text-align: left;
    margin: 0 0 8px;
    padding: 8px 22px;
    list-style: none;
    background: var(--ct-bg-alt);
    border: 1px solid var(--ct-line);
    border-radius: 12px;
}
.ct-flow li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--ct-line);
}
.ct-flow li:last-child { border-bottom: none; }
.ct-flow__num {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ct-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ct-flow__text { line-height: 1.7; color: var(--ct-text); padding-top: 3px; text-wrap: pretty; word-break: normal; overflow-wrap: anywhere; }

/* ===== 講師プロフィール（顔写真付き） ===== */
.ct-mentors__sub {
    text-align: center;
    font-weight: 700;
    color: var(--ct-ink);
    font-size: 1.15rem;
    margin: 48px 0 6px;
}
.ct-mentors__note { text-align: center; color: var(--ct-text-mid); font-size: 0.88rem; margin: 0 0 26px; }
.ct-mentors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 680px; margin: 0 auto; }
.ct-mentor {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    padding: 26px 24px;
    text-align: center;
    box-shadow: var(--ct-shadow-sm);
}
.ct-mentor__photo {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--ct-bg-alt);
    border: 3px solid var(--ct-blue-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-text-dim);
}
.ct-mentor__photo img { width: 100%; height: 100%; object-fit: cover; }
.ct-mentor__name { font-weight: 700; font-size: 1.1rem; color: var(--ct-ink); margin: 0 0 4px; }
.ct-mentor__role { font-size: 0.85rem; color: var(--ct-blue); font-weight: 700; margin: 0 0 12px; }
.ct-mentor__tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ct-mentor__tags li { background: var(--ct-blue-soft); color: var(--ct-blue-deep); font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.ct-mentor__comment { font-size: 0.95rem; color: var(--ct-text-mid); line-height: 1.78; margin: 0; text-align: left; }
@media (max-width: 760px) {
    .ct-mentors { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
.ct-mentors__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 26px auto 0;
    max-width: 620px;
    color: var(--ct-text-mid);
    font-size: 0.9rem;
    line-height: 1.7;
}
.ct-mentors__more strong { color: var(--ct-ink); }
.ct-mentors__avatars { display: inline-flex; flex: none; }
.ct-mentors__avatars > span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ct-blue-soft);
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-blue);
    margin-left: -12px;
    box-shadow: 0 2px 5px rgba(30, 64, 175, .12);
}
.ct-mentors__avatars > span:first-child { margin-left: 0; }
.ct-mentors__avatars .more { background: var(--ct-blue); color: #fff; font-size: 0.85rem; font-weight: 800; }
