@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

:root {
    --primary: rgba(43, 94, 161, 1);
    --primary-dark: rgba(33, 74, 131, 1);
    --primary-light: rgba(43, 94, 161, 0.1);
    --primary-border: rgba(43, 94, 161, 0.2);
    --secondary: rgba(43, 94, 161, 0.8);
    --accent: rgba(255, 174, 44, 1);
    --accent-light: rgba(255, 174, 44, 0.1);
    --accent-border: rgba(255, 174, 44, 0.3);
    --dark: #1e293b;
    --dark-text: #1e293b;
    --gray-text: #475569;
    --light-gray-text: #64748b;
    --light: #FFFBF0;
    --background: #FFFBF0;
    --card-bg: #FFFBF0;
    --section-bg: #F8FAFC;
    --white: #ffffff;
    --shadow: rgba(43, 94, 161, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, rgba(43, 94, 161, 1) 0%, rgba(43, 94, 161, 0.8) 100%);
    --gradient-2: linear-gradient(135deg, rgba(255, 174, 44, 1) 0%, rgba(255, 174, 44, 0.8) 100%);
    --gradient-accent: linear-gradient(135deg, rgba(43, 94, 161, 1) 0%, rgba(255, 174, 44, 1) 100%);
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.8;
    color: var(--dark-text);
    background: var(--background);
    overflow-x: hidden;
    font-weight: 700;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* すべてのテキスト要素を太字に */
p, span, li, td, th, label, div, a, button, input, textarea, select {
    font-weight: 700;
}

/* h1, h2, h3などは既に太字が設定されているため除外 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(43, 94, 161, 0);
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent rgba(43, 94, 161, 1);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    left: -20px;
    top: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 10px;
    border-color: transparent transparent transparent #e2e8f0;
}

.logo a {
    font-size: 1.3rem;
    font-weight: 900;
    color: #000000;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    text-transform: uppercase;
    transition: color 0.3s;
}

.logo a:hover {
    color: #000000;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-list li a::after {
    display: none;
}

.nav-list li a:hover {
    color: rgba(43, 94, 161, 1);
}

.nav-cta {
    background: #371e7e;
    color: white !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #2d1870;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 30, 126, 0.3);
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #000000;
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* モバイルフッター固定ボタン */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 15px 20px;
    box-shadow: none;
    z-index: 999;
}

.mobile-footer-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #371e7e 0%, #2d1870 100%);
    color: white !important;
    text-align: center;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-footer-cta:hover {
    background: linear-gradient(135deg, #2d1870 0%, #1f1040 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 30, 126, 0.3);
}

/* アニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    padding-top: 200px;
}

.hero-main-copy {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-sub-copy {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 20px 60px;
    background: #371e7e;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 30px rgba(55, 30, 126, 0.3);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    background: #2d1870;
    box-shadow: 0 15px 40px rgba(55, 30, 126, 0.4);
}

.hero-image {
    margin-top: 60px;
    margin-bottom: 40px;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* スクール概要セクション */
.overview {
    padding: 100px 20px 120px 20px;
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    text-align: center;
    margin-bottom: 0;
    color: #ffffff;
    background: rgba(43, 94, 161, 1);
    padding: 5px 20px;
    border-radius: 10px;
    position: relative;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-gray-text);
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #371e7e 20%, rgba(55, 30, 126, 0.8) 50%, #371e7e 80%, transparent 100%);
    background-size: 200% 100%;
    animation: underlineWave 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes underlineWave {
    0% {
        background-position: -100% 0;
        transform: scaleX(0.9);
    }
    50% {
        background-position: 0% 0;
        transform: scaleX(1.05);
    }
    100% {
        background-position: 100% 0;
        transform: scaleX(0.9);
    }
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.overview-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.overview-card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.overview-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 700;
}

.overview-card p {
    color: var(--light-gray-text);
    line-height: 1.8;
    font-weight: 700;
}

.price-highlight {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 15px 0;
}

/* カリキュラムセクション */
.curriculum {
    padding: 120px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* カリキュラム背景テキストスクロール */
.bg-text-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    pointer-events: none;
    overflow: hidden;
    overflow-x: hidden;
    opacity: 0.05;
    clip-path: inset(0);
}

.bg-text-line {
    white-space: nowrap;
    font-size: 15rem;
    font-weight: 900;
    font-family: sans-serif;
    color: #000;
    display: flex;
    width: max-content;
    animation: scrollText 180s linear infinite;
    will-change: transform;
    overflow: hidden;
}

.bg-text-line span {
    padding-right: 50px;
    display: block;
}

.bg-text-line.reverse {
    animation: scrollTextReverse 180s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollTextReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes scrollTextMobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollTextReverseMobile {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.curriculum .section-title {
    background: #371e7e;
    color: #ffffff;
}

.curriculum-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    width: 100%;
}

.step-card {
    background: #ffffff;
    padding: 40px;
    padding-top: 60px;
    border-radius: 25px;
    position: relative;
    overflow: visible;
    transition: all 0.3s;
    border: 1px solid rgba(55, 30, 126, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #371e7e 0%, rgba(55, 30, 126, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow);
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 50px;
    background: linear-gradient(135deg, #371e7e 0%, rgba(55, 30, 126, 0.8) 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 30px rgba(55, 30, 126, 0.4);
    white-space: nowrap;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 20px 0 15px 0;
    color: var(--dark-text);
    font-weight: 700;
}

.step-card p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 700;
}

.step-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    background: linear-gradient(135deg, #371e7e 0%, rgba(55, 30, 126, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-details {
    list-style: none;
    margin-top: 20px;
}

.step-details li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray-text);
    line-height: 1.6;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #371e7e;
    font-weight: 700;
    font-size: 1.2rem;
}

/* スクール詳細セクション */
.details {
    padding: 120px 20px;
    background: url('../images/bg2.jpg') center/cover no-repeat;
    color: #000000;
    position: relative;
}

.details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.details .container {
    position: relative;
    z-index: 1;
}

.details .section-title {
    background: #ffffff;
    color: #371e7e;
}

.details .section-subtitle {
    color: #ffffff;
}

.details .section-subtitle::after {
    background: linear-gradient(90deg, transparent 0%, #ffffff 20%, rgba(255, 255, 255, 0.8) 50%, #ffffff 80%, transparent 100%);
}

.details .detail-card {
    color: #000000;
}

.details .detail-card h3 {
    color: #000000;
}

.details .detail-card p {
    color: #000000;
}

.details .detail-card h4 {
    color: #000000;
}

.details .detail-card span {
    color: #000000;
}

.details .section-title::after {
    display: none;
}

/* 安心して始められる環境セクション */
#environment {
    background: #ffffff;
    color: #371e7e;
}

#environment .section-title {
    background: #371e7e;
    color: #ffffff;
}

#environment .section-subtitle {
    color: #371e7e;
}

#environment .section-subtitle::after {
    background: linear-gradient(90deg, transparent 0%, #371e7e 20%, rgba(55, 30, 126, 0.8) 50%, #371e7e 80%, transparent 100%);
}

#environment h3,
#environment p {
    color: #371e7e;
}

/* 講師紹介セクション */
.instructor,
#instructor {
    background: #371e7e;
    color: #ffffff;
}

.instructor .section-title,
#instructor .section-title {
    background: #ffffff;
    color: #371e7e;
}

.instructor .section-subtitle,
#instructor .section-subtitle {
    color: #ffffff;
}

.instructor .section-subtitle::after,
#instructor .section-subtitle::after {
    background: linear-gradient(90deg, transparent 0%, #ffffff 20%, rgba(255, 255, 255, 0.8) 50%, #ffffff 80%, transparent 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.detail-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--primary-border);
    transition: all 0.3s;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.detail-card:hover {
    background: var(--card-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.detail-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark-text);
}

.detail-card p {
    line-height: 1.8;
    color: var(--gray-text);
    font-weight: 700;
}

/* 未来を変えた卒業生セクション */
.graduates {
    padding: 120px 20px;
    background: #371e7e;
    color: #000000;
}

.graduates .section-title {
    background: #ffffff;
    color: #371e7e;
}

.graduates .section-subtitle {
    color: #000000;
}

.graduates .section-subtitle::after {
    background: linear-gradient(90deg, transparent 0%, #ffffff 20%, rgba(255, 255, 255, 0.8) 50%, #ffffff 80%, transparent 100%);
}

/* 生徒の声セクション */
.testimonials {
    padding: 120px 20px;
    background: var(--card-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-weight: 900;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-info p {
    color: var(--light-gray-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-text {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-app-image {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.testimonial-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6か月間でできるようになることセクション */
.six-months-benefits {
    padding: 100px 20px;
    background: #ffffff;
}

.six-months-benefits .section-title {
    background: #371e7e;
    color: #ffffff;
}

.benefit-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(43, 94, 161, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 94, 161, 0.2);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    text-align: center;
    filter: grayscale(0%);
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CTAセクション */
.final-cta {
    padding: 120px 20px;
    background: #2b2d30;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: starTwinkle 4s ease-in-out infinite;
    z-index: 0;
}

.star {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    animation: starFall linear infinite;
    z-index: 0;
}

@keyframes starFall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.4;
    animation: pulseText 3s ease-in-out infinite, titleGlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.final-cta-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 2;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.3s both, textFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.final-cta-button {
    display: inline-block;
    padding: 25px 80px;
    background: #371e7e;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 30px rgba(55, 30, 126, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.final-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.final-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    background: #2d1870;
    box-shadow: 0 15px 40px rgba(55, 30, 126, 0.6);
}

.final-cta-button span {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseText {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(55, 30, 126, 0.4), 0 0 0 0 rgba(55, 30, 126, 0.7);
    }
    50% {
        box-shadow: 0 10px 30px rgba(55, 30, 126, 0.4), 0 0 0 20px rgba(55, 30, 126, 0);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.3), 0 0 80px rgba(255, 255, 255, 0.2);
    }
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 契約から卒業までの流れセクション */
.flow {
    background: #ffffff;
    padding: 120px 20px;
    color: #371e7e;
}

.flow .section-title {
    background: #371e7e;
    color: #ffffff;
}

.flow .section-subtitle {
    color: #371e7e;
}

.flow .section-subtitle::after {
    background: linear-gradient(90deg, transparent 0%, #371e7e 20%, rgba(55, 30, 126, 0.8) 50%, #371e7e 80%, transparent 100%);
}

.flow-step {
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 90px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(180deg, #371e7e 0%, rgba(55, 30, 126, 0.5) 100%);
}

.flow-number {
    position: relative;
    z-index: 2;
}

/* スクロールアニメーション用 */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animated {
    opacity: 1;
}

/* レスポンシブ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body {
        padding-top: 70px;
        padding-bottom: 80px; /* フッターボタンのスペース */
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    * {
        max-width: 100%;
    }

    .pricing-wrapper,
    .benefits-grid,
    .graduates-grid,
    .environment-grid,
    .flow-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .logo a,
    .nav-list li a,
    .hero-cta,
    .pricing-btn,
    .final-cta-button {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .header {
        padding: 0;
        background: #ffffff;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-radius: 0;
        max-width: 100%;
        margin: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .logo a {
        font-size: 1rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
        width: 100%;
    }

    .mobile-footer {
        display: block;
    }

    .hero {
        min-height: 80vh;
        padding: 60px 15px !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 20px 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-image {
        margin-bottom: 20px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .overview-card,
    .detail-card,
    .testimonial-card,
    .step-card {
        padding: 25px;
    }

    .curriculum-steps,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 30px;
    }

    .stats {
        padding: 60px 20px !important;
    }

    .stats > .container > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .instructor > .container > div {
        flex-direction: column !important;
        text-align: center !important;
    }

    .instructor img {
        margin: 0 auto !important;
    }

    .graduates > .container > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .graduate-card {
        margin-top: 15px !important;
    }

    .three-apps > .container > div:first-of-type {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .three-apps .hero-cta {
        padding: 15px 40px !important;
        font-size: 1rem !important;
    }

    /* 全体的なフォントサイズを小さく */
    body {
        font-size: 0.9rem;
    }

    h1 {
        font-size: clamp(1.8rem, 6vw, 4rem) !important;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    }

    h3 {
        font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
    }

    p, span, li, a {
        font-size: 0.85rem !important;
    }

    /* セクションのpaddingを減らす */
    .six-months-benefits,
    .graduates,
    .curriculum,
    .details,
    #environment,
    .instructor,
    .flow,
    .final-cta {
        padding: 40px 15px !important;
    }

    .section-title {
        margin-bottom: 15px !important;
        font-size: clamp(1.4rem, 3.5vw, 2rem) !important;
    }

    .section-subtitle {
        margin-bottom: 30px !important;
        font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
    }

    /* カードのpaddingを減らす */
    .benefit-card {
        padding: 20px !important;
        padding-bottom: 25px !important;
    }

    .benefit-card-content {
        padding: 15px !important;
    }

    .benefit-card h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
        margin-bottom: 10px !important;
    }

    .benefit-card p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    .graduate-card {
        padding: 15px !important;
        margin-top: 10px !important;
    }

    .graduates-grid {
        gap: 15px !important;
        margin-top: 15px !important;
    }

    .graduates {
        padding: 30px 15px !important;
    }

    .graduate-card-header {
        margin-bottom: 8px !important;
    }

    .graduate-avatar-wrapper {
        top: -20px !important;
    }

    .graduate-avatar-wrapper img {
        width: 70px !important;
        height: 70px !important;
    }

    .graduate-tag {
        margin-top: 25px !important;
        margin-bottom: 3px !important;
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }

    .graduate-card h3 {
        font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
        margin-bottom: 10px !important;
    }

    .graduate-card p {
        font-size: 0.75rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
    }

    /* ヒーローセクションの調整 */
    .hero {
        padding: 40px 15px !important;
        min-height: 70vh !important;
    }

    .hero-main-copy {
        font-size: clamp(1.8rem, 6vw, 4rem) !important;
        margin-bottom: 20px !important;
    }

    .hero-sub-copy {
        font-size: clamp(0.95rem, 2vw, 1.2rem) !important;
        margin-bottom: 25px !important;
    }

    .hero-cta {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
    }

    /* 料金セクションのタイトル調整 */
    .pricing-section .section-title {
        margin-bottom: 10px !important;
        font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
    }

    .pricing-section .section-subtitle {
        margin-bottom: 25px !important;
        font-size: clamp(0.85rem, 2vw, 1rem) !important;
    }

    /* カリキュラムセクション */
    .curriculum {
        overflow: hidden !important;
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        contain: layout style paint !important;
    }

    .curriculum-container {
        padding: 0 !important;
        position: relative;
        z-index: 2;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .bg-text-scroll {
        overflow: hidden !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        clip-path: inset(0) !important;
    }

    .bg-text-line {
        font-size: 4.5rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        display: block !important;
        animation: scrollTextMobile 60s linear infinite !important;
        will-change: transform !important;
        clip-path: inset(0) !important;
        contain: layout style paint !important;
    }

    .bg-text-line.reverse {
        animation: scrollTextReverseMobile 60s linear infinite !important;
    }

    .bg-text-line span {
        padding-right: 20px !important;
        font-size: 4.5rem !important;
        display: inline-block !important;
    }

    @keyframes scrollTextMobile {
        0% { 
            transform: translateX(0);
            transform-origin: left center;
        }
        100% { 
            transform: translateX(-50%);
            transform-origin: left center;
        }
    }

    @keyframes scrollTextReverseMobile {
        0% { 
            transform: translateX(-50%);
            transform-origin: left center;
        }
        100% { 
            transform: translateX(0);
            transform-origin: left center;
        }
    }

    .step-card {
        padding: 20px !important;
    }

    /* 料金セクションは下部のメディアクエリで詳細に定義 */

    /* 環境セクション */
    .environment-card {
        padding: 20px !important;
    }

    .environment-card h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
        margin-bottom: 10px !important;
    }

    .environment-card p {
        font-size: 0.8rem !important;
    }

    /* 講師セクション */
    .instructor-wrapper {
        gap: 20px !important;
    }

    .instructor-name {
        font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
    }

    .instructor-description {
        font-size: 0.85rem !important;
    }

    /* フローセクション */
    .flow-grid {
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .flow-card {
        padding: 15px !important;
    }

    .flow-card-header {
        margin-bottom: 10px !important;
    }

    .step-title {
        font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    }

    .flow-desc {
        font-size: 0.8rem !important;
    }

    /* 最終CTA */
    .final-cta-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
        margin-bottom: 25px !important;
    }

    .final-cta-button {
        padding: 15px 30px !important;
        font-size: 0.9rem !important;
    }

    /* その他の余白調整 */
    .container {
        padding: 0 15px !important;
    }

    .benefits-grid,
    .graduates-grid,
    .environment-grid {
        gap: 25px !important;
        margin-top: 30px !important;
    }

    .benefit-icon img {
        height: 150px !important;
    }
}

/* インラインスタイルから移行したスタイル */

/* 6か月間でできるようになることセクション */
.six-months-benefits {
    background: #ffffff;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.six-months-benefits .section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    margin-bottom: 20px;
}

.six-months-benefits .section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 60px;
    color: #371e7e;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #ffffff;
    padding: 0;
    padding-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(43, 94, 161, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-icon {
    margin: 0;
    text-align: center;
}

.benefit-icon img {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    display: block;
    margin: 0;
}

.benefit-card-content {
    padding: 0 40px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #371e7e;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-card .benefit-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(43, 94, 161, 0.3) 0%, rgba(43, 94, 161, 0.1) 100%);
}

/* 卒業生セクション */
.graduates {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    padding: 120px 20px;
    color: #000000;
}

.graduates .section-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    margin-bottom: 0;
}

.graduates .section-subtitle {
    color: #ffffff;
    margin-top: 0;
}

.graduates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.graduate-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(43, 94, 161, 0.1);
}

.graduate-card-header {
    position: relative;
    margin-bottom: 10px;
}

.graduate-avatar-wrapper {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.graduate-avatar-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.graduate-tag {
    color: rgba(43, 94, 161, 1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 5px;
}

.graduate-tag.primary {
    background: rgba(255, 174, 44, 1);
    color: white;
}

.graduate-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(30, 41, 59, 1);
    margin-bottom: 20px;
    text-align: center;
}

.graduate-card p {
    color: rgba(71, 85, 105, 1);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
}

/* 講師紹介セクション */
.instructor {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    padding: 120px 20px;
    color: #ffffff;
}

.instructor-wrapper {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.instructor-avatar {
    flex: 0 0 200px;
}

.instructor-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(43, 94, 161, 1);
    box-shadow: 0 10px 30px rgba(43, 94, 161, 0.3);
}

.instructor-info {
    flex: 1;
    min-width: 300px;
}

.instructor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.instructor-info p {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.8;
}

.instructor-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.instructor-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 安心して始められる環境セクション */
#environment {
    background: #ffffff;
    padding: 100px 20px;
    color: #371e7e;
}

#environment .section-title {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    color: #ffffff;
}

#environment .section-subtitle {
    color: #371e7e;
}

#environment h3,
#environment p {
    color: #371e7e;
}

.environment-card {
    background: rgba(43, 94, 161, 0.1);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(43, 94, 161, 0.2);
}

.environment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #371e7e;
}

.environment-card p {
    color: #371e7e;
    line-height: 1.8;
    text-align: left;
}

.environment-card .note {
    color: #371e7e;
    line-height: 1.8;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.8;
    text-align: left;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    width: 100%;
}

.environment-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 料金セクション */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.pricing-card.light {
    border-top: 6px solid #9ca3af;
}

.pricing-card.standard {
    border-top: 6px solid;
    border-left: 2px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%) 1;
    max-width: 540px;
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(55, 30, 126, 0.15);
}

.pricing-card.premium {
    border-top: 6px solid #9ca3af;
}

.price-ribbon {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 6px 30px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.pricing-header {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 10px;
}

.pricing-header h3.standard-title {
    font-size: 1.6rem;
    color: #371e7e;
}

.pricing-header p {
    font-size: 0.85rem;
    color: #6b7280;
    height: 40px;
    margin-bottom: 15px;
}

.pricing-header .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #333;
}

.pricing-header .price.standard-price {
    font-size: 2.8rem;
    color: #371e7e;
}

.pricing-header .monthly-price {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-top: 5px;
    opacity: 0.8;
}

.pricing-header .monthly-price.standard-monthly {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-header .period {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-top: 5px;
}

.pricing-header .period.standard-period {
    color: #371e7e;
}

.pricing-body {
    padding: 30px;
    flex-grow: 1;
    background: #fcfcfc;
}

.pricing-body.standard-body {
    background: #fff;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✔";
    color: #22c55e;
    margin-right: 10px;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: #9ca3af;
}

.pricing-features li.disabled::before {
    content: "✕";
    color: #9ca3af;
}

.pricing-features li.feature-bold {
    font-weight: 700;
    color: #333;
}

.pricing-target {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 10px;
    border-radius: 6px;
}

.pricing-target.standard-target {
    color: #371e7e;
    background: rgba(55, 30, 126, 0.05);
}

.pricing-target span {
    display: block;
    font-weight: 700;
    margin-bottom: 3px;
}

.pricing-footer {
    padding: 30px;
    text-align: center;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-light {
    background: #9ca3af;
    color: white;
}

.btn-light:hover {
    background: #6b7280;
}

.btn-standard {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(55, 30, 126, 0.3);
}

.btn-standard:hover {
    background: linear-gradient(135deg, #1f1045 0%, #2d1870 50%, #371e7e 100%);
    transform: translateY(-2px);
}

.btn-premium {
    background: #9ca3af;
    color: white;
}

.btn-premium:hover {
    background: #6b7280;
}

@media (max-width: 1650px) {
    .pricing-wrapper {
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 1000px) {
    .pricing-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 20px;
        padding: 40px 20px;
        width: 100%;
        -ms-overflow-style: none;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .pricing-wrapper::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        min-width: 300px;
        max-width: 320px;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin-bottom: 20px;
    }

    .pricing-card.standard {
        transform: scale(1);
        max-width: 320px;
        min-width: 300px;
        z-index: 1;
        order: initial;
    }

    .pricing-wrapper::after {
        content: "";
        min-width: 20px;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .pricing-wrapper {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        overflow-x: hidden !important;
        gap: 20px !important;
        padding: 15px 10px !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pricing-card {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        padding: 20px 15px !important;
        scroll-snap-align: none !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    .pricing-card.standard {
        transform: scale(1) !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        z-index: 1 !important;
        order: initial !important;
    }

    .pricing-header {
        padding: 20px 15px !important;
    }

    .pricing-header h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .pricing-header h3.standard-title {
        font-size: 1.3rem !important;
    }

    .pricing-header p {
        display: block !important;
        font-size: 0.85rem !important;
        height: auto !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }

    .pricing-header .price {
        font-size: 1.8rem !important;
    }

    .pricing-header .price.standard-price {
        font-size: 2.2rem !important;
    }

    .pricing-header .monthly-price {
        font-size: 0.75rem !important;
        margin-top: 3px !important;
        display: block !important;
    }

    .pricing-header .period {
        font-size: 0.8rem !important;
        margin-top: 3px !important;
    }

    .pricing-body {
        padding: 15px 15px !important;
    }

    .pricing-features {
        gap: 6px !important;
    }

    .pricing-features li {
        font-size: 0.85rem !important;
        padding: 8px 0 !important;
        line-height: 1.5 !important;
    }

    .pricing-target {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        margin-top: 15px !important;
    }

    .pricing-footer {
        padding: 15px 15px !important;
    }

    .pricing-btn {
        padding: 12px 18px !important;
        font-size: 0.9rem !important;
    }

    .price-ribbon {
        padding: 5px 15px !important;
        font-size: 0.75rem !important;
        top: -14px !important;
    }

    .pricing-wrapper::after {
        display: none;
    }
}

/* ヒーローセクションの画像 */
.hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-delay-1 {
    animation-delay: 0.2s;
}

.hero-delay-2 {
    animation-delay: 0.4s;
}

.hero-delay-3 {
    animation-delay: 0.6s;
}

.logo img {
    height: 40px;
    width: auto;
}

/* 料金セクション */
.pricing-section {
    padding: 100px 20px;
    color: #ffffff;
}

.pricing-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    background: none;
}

.pricing-subtitle {
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

.pricing-note {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
}

/* フローセクション */
.flow {
    background: #ffffff;
    padding: 100px 20px;
    color: #333;
}

.flow-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-header {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    color: #fff;
    padding: 20px 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flow-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    color: #fff;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.flow-card {
    background: #fff;
    border: 2px solid;
    border-image: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%) 1;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    height: 100%;
}

.flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.flow-card-header {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    height: 70px;
}

.step-num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    line-height: 1.4;
}

.flow-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f9f9f9;
}

.flow-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
    color: #333;
    margin-bottom: 15px;
    width: 100%;
}

.flow-card-btn {
    margin-top: auto;
    display: inline-block;
    background: linear-gradient(135deg, #FF8E26 0%, #FF6B00 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    transition: all 0.3s;
    width: 100%;
}

.flow-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

.flow .section-title {
    background: linear-gradient(135deg, #2d1870 0%, #371e7e 50%, #4a2a8a 100%);
    color: white;
}

.flow .section-subtitle {
    color: #371e7e;
}

.flow-card-delay-1 { transition-delay: 0.1s; }
.flow-card-delay-2 { transition-delay: 0.2s; }
.flow-card-delay-3 { transition-delay: 0.3s; }
.flow-card-delay-4 { transition-delay: 0.4s; }
.flow-card-delay-5 { transition-delay: 0.5s; }
.flow-card-delay-6 { transition-delay: 0.6s; }
.flow-card-delay-7 { transition-delay: 0.7s; }
.flow-card-delay-8 { transition-delay: 0.8s; }

@media (max-width: 1100px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .flow-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .flow-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .flow-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: auto;
        min-height: 80px;
        width: 100%;
        margin: 0;
    }

    .flow-card-header {
        width: 60px;
        height: auto;
        flex-direction: column;
        justify-content: center;
        padding: 5px;
        flex-shrink: 0;
    }

    .step-num {
        font-size: 1.2rem;
        width: auto;
        margin-bottom: 2px;
    }

    .step-title {
        padding: 0;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 0.75rem;
        margin-top: 2px;
        padding-top: 2px;
        line-height: 1.2;
    }

    .flow-card-body {
        padding: 10px 15px;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        width: 100%;
    }

    .flow-icon {
        display: none;
    }

    .flow-desc {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.5;
    }

    .flow-card-btn {
        margin-top: 10px;
        padding: 8px 15px;
        font-size: 0.8rem;
        text-align: center;
        width: auto;
        align-self: center;
    }

    .flow-header {
        padding: 15px;
        margin-bottom: 30px;
        margin-right: 0;
        border-radius: 4px;
    }

    .flow-header::after {
        display: none;
    }
}

/* 最終CTAセクション */
.final-cta {
    padding: 80px 20px 40px;
}

.final-cta-title {
    margin-bottom: 40px;
}

.final-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 40px;
    height: auto;
    margin-bottom: 30px;
}

.cta-note {
    font-size: 0.8rem;
    font-weight: normal;
}

.cta-privacy {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-privacy span {
    opacity: 0.8;
    font-size: 0.8rem;
    color: #ffffff;
}

.footer-school-name {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    width: 100%;
}

.footer-school-name p {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    margin: 0;
}

/* カリキュラムセクション */
.curriculum {
    position: relative;
    overflow: hidden;
}

.curriculum-container {
    position: relative;
    z-index: 2;
}

.step-label {
    font-size: 0.8em;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .graduates-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
    }
}

