/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #000;
    color: #fff;
    position: relative;
}

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

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

#aurora-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0.35;
    /* オーロラの強さをここで調整 */
}

/* Overlay */
.overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.4);
    /* 0.4 〜 0.6 くらいがおすすめ */
    z-index: 0;
    min-height: 100%;
}

/* Variables */
:root {
    --gradient-start: #00d8ff;
    --gradient-end: #ff7eb9;
    --white: #ffffff;
    --section-gap: 60px;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: transparent;
    padding: 20px 0;
    text-align: center;
}

header .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

section {
    padding: var(--section-gap) 0;
}

section.alt {
    background: rgba(0, 0, 0, 0.05);
}

/* Gradient Headings */
h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 16px;
    color: var(--white);
}

ul {
    list-style: none;
    margin-left: 1.2em;
    padding-left: 1.2em;
    position: relative;
}

ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    color: var(--white);
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--gradient-end), var(--gradient-start));
    color: #111;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    transition: transform .3s;
    margin-top: 30px;
}

.btn:hover {
    transform: translateY(-3px);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.75rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-top: 16px;
    color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-silhouette {
    width: 100%;
    max-width: 420px;
    /* ←ここを拡大サイズに変更 */
    height: auto;
    animation: spin 20s linear infinite;
    transform-origin: center center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Feature Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.05), rgba(255, 126, 185, 0.05));
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    /* ←追加した部分 */
    border: 1px solid var(--gradient-start);
}

.card img {
    margin-bottom: 16px;
    border-radius: 8px;
    height: 160px;
    object-fit: cover;
    margin: 0 auto 16px;
}

/* Instructor Old */
.instructor {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.instructor img {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 4px solid var(--gradient-end);
}

/* --- 追加プロフィール用スタイル (旧) --- */
.highlight li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
}

.num {
    font-weight: 700;
    color: var(--gradient-start);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 24px;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* プロフィール内タイムライン専用 */
.profile-timeline {
    margin: 12px 0 24px;
    border-left: 2px solid var(--gradient-start);
    padding-left: 16px;
}

.profile-timeline div {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: var(--white);
}

.profile-timeline div span {
    font-weight: 700;
    color: var(--gradient-start);
    margin-right: 6px;
}

.profile-timeline div::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--gradient-end);
    border-radius: 50%;
}

.message {
    font-style: italic;
    margin-top: 20px;
}

/* Alumni */
.alumni {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.alumni-item {
    text-align: center;
}

.alumni-item img {
    border-radius: 8px;
    margin-bottom: 12px;
    height: 120px;
    object-fit: cover;
}

/* Process Flow */
.process-flow svg {
    width: 100%;
    height: auto;
}

.process-flow .node-rect {
    fill: rgba(0, 216, 255, 0.1);
    stroke: #00d8ff;
    stroke-width: 2;
    rx: 10;
    ry: 10;
    filter: drop-shadow(0 0 8px rgba(0, 216, 255, 0.7));
    animation: pulse 2s infinite alternate;
}

.process-flow text {
    fill: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.process-flow path {
    stroke: #00d8ff;
    stroke-width: 2;
    fill: none;
    marker-end: url(#arrow);
}

@keyframes pulse {
    from {
        filter: drop-shadow(0 0 4px rgba(0, 216, 255, 0.7));
    }

    to {
        filter: drop-shadow(0 0 16px rgba(0, 216, 255, 0.9));
    }
}

/* Program Chart */
.program-chart svg {
    width: 100%;
    height: auto;
}

.program-chart .timeline-line {
    stroke: #00d8ff;
    stroke-width: 4;
    filter: drop-shadow(0 0 6px rgba(0, 216, 255, 0.7));
}

.program-chart .tl-node {
    fill: #ff7eb9;
    filter: drop-shadow(0 0 8px rgba(255, 126, 185, 0.8));
}

.program-chart text {
    fill: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: hanging;
}

/* Funnel Chart */
.funnel-chart svg {
    width: 100%;
    height: auto;
}

.funnel-chart .funnel-layer {
    fill: var(--gradient-start);
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(0, 216, 255, 0.7));
}

.funnel-chart text {
    fill: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    text-anchor: middle;
    dominant-baseline: middle;
}

/* -----【ここから追加】新しい講師プロフィール（リッチ版）----- */

/* Instructor Profile New Design */
.instructor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 216, 255, 0.2);
    margin-top: 40px;
}

.instructor-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.instructor-header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--gradient-end);
}

.instructor-intro {
    flex: 1;
}

.instructor-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

.instructor-intro p {
    font-size: 1rem;
    color: var(--white);
}

/* アコーディオン共通設定 */
.accordion {
    margin-top: 20px;
}

.accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-item:first-child {
    border-top: none;
}

.accordion-title {
    cursor: pointer;
    padding: 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    color: var(--white);
}

.accordion-title::after {
    content: "＋";
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

/* active時のアイコン回転だけ CSS で */
.accordion-item.active .accordion-title::after {
    transform: rotate(45deg);
}

/* コンテンツは JavaScript で高さを設定するので、
   CSS ではトランジションだけ指定 */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Inner content adjustments */
.project-lists h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

.project-lists ul {
    list-style: disc inside;
    margin-bottom: 20px;
}

.project-lists ul li {
    margin-bottom: 6px;
    color: var(--white);
}


/* 下記プログラム構成チャート */
.program-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: center;
    /* ←横並び */
    gap: 16px;
    position: relative;
}

.flow-box {
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.15), rgba(255, 126, 185, 0.15));
    border: 2px solid var(--gradient-start);
    padding: 24px 32px;
    border-radius: 16px;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flow-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

.flow-box p {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

/* 矢印をボックスの右に */
.flow-arrow {
    width: 24px;
    height: 24px;
    border-right: 4px solid var(--gradient-start);
    border-bottom: 4px solid var(--gradient-start);
    transform: rotate(-45deg);
}



/* よくあるなやみ */
.problem-section {
    margin-top: 80px;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-color: var(--gradient-start);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}


.problem-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* ====== 追加スタイル (矢印とメッセージ) ====== */

/* 矢印 */
.arrow-area {
    margin: 80px auto 40px;
    text-align: center;
}

.big-arrow {
    font-size: 4rem;
    /* 矢印を超太く */
    font-weight: bold;
    color: var(--gradient-start);
}

/* プログラム内容 */
.program-content {
    padding: var(--section-gap) 0;
}

.program-content h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
}

.program-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
}

.program-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--gradient-start);
    border-radius: 8px;
    padding: 24px;
    transition: transform .3s, box-shadow .3s;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.program-desc {
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.5;
}

/* メッセージ */
.solution-message {
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.1), rgba(255, 126, 185, 0.1));
    border: 1px solid var(--gradient-start);
    border-radius: 0;
    /* ← 角丸なし（四角に） */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-message p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    letter-spacing: 1px;
    margin-top: 15px;
}

.solution-message .highlight {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 受講料・保証制度 */
.pricing-guarantee {
    padding: var(--section-gap) 0;
}

.pricing-guarantee h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 32px;
}

.pg-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.pg-item {
    text-align: center;
    width: 220px;
}

.pg-circle {
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid var(--gradient-start);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pg-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.pg-sub {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.7;
    margin-top: 4px;
}

.pg-desc {
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.8;
    margin-top: 4px;
}

.pg-note {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
    margin-top: 4px;
    line-height: 1.4;
}


/* ここから「この講座がぴったりな人」セクション */
.fit-for-you {
    padding: var(--section-gap) 0;
}

.fit-for-you h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 32px;
}

.fit-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    justify-items: center;
}

.fit-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform .3s, box-shadow .3s;
    text-align: center;
}


.fit-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.fit-item p {
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.4;
}

/* ===== Final CTA カードスタイル ===== */
/* Final CTA カードスタイル */
/* ===== Final CTA スタイル修正版 ===== */
.cta-section {
    position: relative;
    overflow: hidden;
    margin: var(--section-gap) auto;
    border-radius: 16px;
}

/* オーバーレイを暗めの黒グラデに */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.6));
    /* opacity を 1 にして完全に背景を覆う */
    opacity: 1;
}

/* コンテンツ領域 */
.cta-content {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    /* 見出しも本文も白で統一 */
}

/* ヘッドライン */
.cta-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

/* もし<p>タグがある場合の本文 */
.cta-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #fff;
    opacity: 0.9;
}

.cta-points li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    /* テキストも白 */
}

.cta-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--gradient-end);
    /* アクセントカラー */
    border-radius: 50%;
}

/* CTAボタン */
.cta-action {
    display: inline-block;
    background: linear-gradient(90deg, var(--gradient-end), var(--gradient-start));
    color: #fff;
    /* 白文字でコントラストUP */
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform .3s, box-shadow .3s, background .3s;
}

.cta-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.copyright {
    text-align: center;
}

/* 初期状態 */
.in-view-toggle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態 */
.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.plan-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.plan-card {
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.05), rgba(255, 126, 185, 0.05));
    backdrop-filter: blur(6px);
    border: 1px solid var(--gradient-start);
    border-radius: 16px;
    padding: 32px 24px;
    width: 100%;
    max-width: 320px;
    color: var(--white);
    box-shadow: 0 4px 24px rgba(0, 216, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    flex: 1 1 280px;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

.plan-card .price {
    font-size: 2rem;
    font-weight: 900;
    margin: 16px 0;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
}

.plan-features {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
    width: 100%;
}

.plan-features li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--white);
    opacity: 0.85;
    text-align: left;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--gradient-end);
    border-radius: 50%;
}

.centers {
    text-align: center;
}

/* 税抜表記を少し小さく */
.price {
    display: inline-flex;
    align-items: baseline;
}

.price .tax-excluded {
    font-size: 0.6em;
    /* 本体フォントサイズの60% */
    margin-left: 4px;
    vertical-align: baseline;
}

@media (min-width: 600px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 60px 0;
    }

    .cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .problem-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .pg-items {
        flex-direction: row;
    }

    .plan-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .plan-card {
        flex: 1 1 280px;
    }

    .program-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .alumni {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .fit-items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* ================================== */
/* Large screens (Desktop)           */
/* ================================== */
@media (min-width: 1024px) {
    .container {
        width: 90%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 28px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .rotating-silhouette {
        max-width: 420px;
    }

    .plan-card h3 {
        font-size: 1.5rem;
    }

    .plan-card .price {
        font-size: 2rem;
    }
}

/* ================================== */
/* Ultra-small devices               */
/* ================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}