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

:root {
    --primary-color: #1a237e;
    --secondary-color: #00bcd4;
    --accent-color: #e91e63;
    --dark-bg: #1a237e;
    --light-bg: #f8f9fa;
    --cream-bg: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(26, 35, 126, 0.1);
    --shadow-hover: 0 8px 30px rgba(26, 35, 126, 0.15);
    
    /* New color palette additions */
    --gradient-primary: linear-gradient(135deg, #1a237e, #00bcd4);
    --gradient-secondary: linear-gradient(135deg, #00bcd4, #e91e63);
    --gradient-accent: linear-gradient(135deg, #1a237e, #00bcd4, #e91e63);
    --cta-primary: #1a237e;
    --cta-secondary: #4caf50;
    --gradient-cta-primary: linear-gradient(135deg, #00bcd4, #e91e63);
    --gradient-cta-secondary: linear-gradient(135deg, #4caf50, #66bb6a);
    
    /* 8px-based spacing system */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 48px;
    --space-3xl: 56px;
    --space-4xl: 64px;
    --space-5xl: 80px;
    --space-6xl: 96px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(25, 25, 112, 0.7);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(25, 25, 112, 0.8);
    box-shadow: 0 4px 20px rgba(25, 25, 112, 0.15);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
    gap: 40px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: width 0.3s;
    border-radius: 3px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-cta-primary);
    color: var(--white) !important;
    height: 48px;
    padding: 0 24px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

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

.mobile-logo {
    display: none;
}

.menu-logo {
    height: 60px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .hamburger span {
        background-color: var(--white);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: visible;
    background: var(--gradient-primary);
    z-index: 10;
}

.hero-image-pc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

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

.hero-image-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
    background: linear-gradient(135deg, #1a237e, #00bcd4);
}

.hero-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 100vh;
}


.hero-content {
    position: absolute;
    bottom: 0;
    right: 40px;
    z-index: 3;
    width: auto;
    padding: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.scroll-down {
    width: 100px;
    height: 60px;
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--white);
    font-weight: 600;
    animation: fade-in-out 3s infinite;
}

.scroll-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transform: translateX(-50%);
    animation: line-flow 2s infinite;
}

.scroll-down::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: dot-pulse 2s infinite;
}

@keyframes fade-in-out {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes line-flow {
    0% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
    100% {
        height: 40px;
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }
}

@keyframes dot-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0;
    }
}





.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-cta-custom {
    position: relative;
    background: var(--gradient-cta-primary);
    border-radius: 8px 8px 0 0 !important;
    padding: 30px 40px;
    height: auto;
    min-width: 400px;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    text-decoration: none;
}

.cta-line-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.2;
}

.cta-main-text {
    display: block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 280px;
}


.hero-cta {
    display: inline-block;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    text-align: center;
}

.hero-cta.primary {
    background: var(--gradient-cta-primary);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
    border: 2px solid #e91e63;
    position: relative;
    overflow: hidden;
}

.hero-cta.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-cta.primary:hover::before {
    left: 100%;
}

.hero-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.6);
    background: linear-gradient(135deg, #00acc1 0%, #c2185b 100%);
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-left {
    text-align: left;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-title-small {
    font-size: 24px;
    font-weight: 700;
}

/* Problems Section */
.problems {
    padding: 120px 0;
    background: #E2E9F9;
    background-image: url('img/背景/背景人型悩む.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.problems-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.problems-intro {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 600;
}

.problems-list {
    list-style: none;
    margin-bottom: 50px;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}



.problems-list li {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    padding: 15px 20px 15px 60px;
    background: #f0f9ff;
    border-radius: 50px;
    border: 2px solid #0ea5e9;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.problems-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.problems-list li:before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #0ea5e9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.problems-solution {
    font-size: 26px;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 700;
}

.problems-solution strong {
    color: var(--primary-color);
    font-weight: 900;
}

.highlight-text {
    background: transparent;
    color: var(--accent-color);
    padding: 0;
    border-radius: 0;
    font-size: 1.1em;
    font-weight: 900;
    text-shadow: none;
    box-shadow: none;
    display: inline;
    margin: 0;
    position: relative;
    overflow: visible;
    vertical-align: baseline;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.highlight-text:hover::before {
    left: 100%;
}

/* Reasons Section */
.reasons {
    padding: 120px 0;
    background: var(--white);
}

.reasons .section-title {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px 0;
}

.feature {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
}


.feature-header {
    margin-bottom: 30px;
}

.feature-label {
    position: absolute;
    top: -35px;
    left: -30px;
    transform: rotate(-7.5deg);
    z-index: 10;
}

.feature-label img {
    height: 112px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.3;
}

.feature p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 18px;
    text-align: left;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: visible;
    width: 100%;
}



.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    height: 100%;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: visible;
    transform: scale(0.5);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

/* Parallax Zoom Animation */
.parallax-zoom {
    /* スケーリングは親要素で行うため、ここでは設定しない */
}

.about-text {
    color: var(--white);
    background: transparent;
    padding: 40px;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
}

.about-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-description {
    font-size: 28px;
    line-height: 1.6;
    font-weight: 600;
    box-shadow: none;
}

.highlight-text-color {
    color: var(--white);
    font-weight: 700;
    background: var(--accent-color);
    padding: 2px 6px;
    border-radius: 4px;
}

/* School Features Section */
.school-features {
    padding: 80px 0;
    background: var(--light-bg);
}

/* Student Interview Section */
.student-interview {
    padding: 80px 0;
    background: #E6F3FF;
}

.interview-content {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
}

.interview-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 60px;
}

.interview-link:last-child {
    margin-bottom: 0;
}

.interview-link:hover {
    transform: translateY(-5px);
}

.interview-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.interview-link:hover .interview-image {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.interview-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.interview-link:hover .interview-text {
    color: var(--secondary-color);
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    padding: 0;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
    transform: scale(1);
    transform-origin: center;
    overflow: hidden;
}

.feature-item:hover {
    transform: scale(1.05) translateY(-5px);
}

.feature-icon {
    width: 100%;
    height: 150px;
    flex-shrink: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    margin: 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.feature-text {
    flex: 1;
    width: 100%;
    padding: 20px 15px;
    background: var(--primary-color);
}

.feature-text h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.3;
}

.feature-text p {
    font-size: 16px;
    color: var(--white);
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

/* Instructors Section */
.instructors {
    padding: 120px 0;
    background: var(--white);
}

.instructor-description {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1.7;
    font-weight: 700;
}

.section-description {
    max-width: 800px;
    margin: 30px auto 0;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
}

.instructor-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.instructor-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instructor-card:hover .instructor-img {
    transform: scale(1.1);
}

.instructor-info {
    padding: 20px 15px;
    text-align: center;
}

.instructor-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 800;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.instructor-bio {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

/* Contents Section */
.contents {
    padding: 0 0 80px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contents-wrapper {
    display: grid;
    gap: 80px;
    position: relative;
}

.curriculum {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 200px;
    border: 2px solid #f1f5f9;
}


.curriculum-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
    flex-shrink: 0;
}


.curriculum-content {
    flex: 1;
}

/* New Curriculum Section */
.curriculum-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

/* New Curriculum Layout */
.curriculum-new-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0;
    min-height: 600px;
    position: relative;
}

.curriculum-content-left {
    padding: 120px 60px 120px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.curriculum-content-left .section-title {
    text-align: left;
    margin-bottom: 30px;
    color: #ffffff;
}

.curriculum-content-left h3 {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 600;
}

.curriculum-content-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.curriculum-content-right .curriculum-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: none;
    background: none;
}

/* Skill Badges */
.skill-badges {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.skill-badge {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.badge-text-top {
    font-size: 12px;
    color: #000000;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
}

.badge-number {
    font-size: 64px;
    font-weight: 900;
    color: #1a3b5c;
    line-height: 1;
    margin: 10px 0;
}

.badge-text-bottom {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
    margin-top: 8px;
}

.badge-divider {
    display: none;
}

.curriculum-left h3 {
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: left;
}

.curriculum-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: left;
}

.stat-label {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-number {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-number-text {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 8px;
}

.curriculum-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.curriculum-video {
    width: 400px;
    height: 225px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    font-size: 48px;
    color: var(--primary-color);
}

.curriculum-content h3 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.curriculum-description {
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
    font-weight: 600;
}

.services .services-section {
    margin-top: 0;
}

.benefits-section {
    margin-top: 0;
}

.services-title {
    background: transparent;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
    border-radius: 0;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 25px;
    display: block;
    box-shadow: none;
    text-align: center;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-content {
    padding: 25px 20px;
    text-align: center;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.services {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.benefits {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.benefits-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: var(--white);
    padding: 40px 50px;
    text-align: center;
    position: relative;
}

.benefits-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.benefits-title {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.benefits-content {
    padding: 30px 0 0 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    background: #f1f5f9;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.benefit-text {
    flex: 1;
}

.benefit-text h4 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.tips-bonus {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 600px;
}

.tips-left {
    background: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tips-title-large {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 40px;
}

.tips-title-small {
    font-size: 24px;
    font-weight: 700;
}

.tips-main-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.tips-description {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 500;
}

.tips-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tips-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tips-stat-label {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    align-self: flex-start;
}

.tips-stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.tips-stat-value .tips-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-left: 0;
}

.tips-stat-value span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 8px;
}

.tips-right {
    padding: 40px;
    background: var(--white);
    overflow-y: auto;
    position: relative;
}


.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
}

.tips-item {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.tips-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tips-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    background: #f8fafc;
}

.tips-item:hover img {
    transform: scale(1.02);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
}

.tools-item {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.tools-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tools-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    background: #f8fafc;
}

.tools-item:hover .tools-image {
    transform: scale(1.02);
}

.instructor-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
}

.instructor-tips-item {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.instructor-tips-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instructor-tips-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    background: #f8fafc;
}

.instructor-tips-item:hover .instructor-tips-image {
    transform: scale(1.02);
}

.curriculum h3,
.benefits h3,
.tips-bonus h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 800;
}

.curriculum h4 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.curriculum ul,
.benefits-list {
    list-style: none;
    padding-left: 0;
}

.curriculum li,
.benefits-list li {
    padding: 15px 0;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--light-bg);
}

.curriculum li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

.tips-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    min-width: 150px;
}

.stat-label {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--gradient-primary);
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.3;
}

.cta-images-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    animation: scrollImages 30s linear infinite;
    height: 80%;
}

.cta-images-scroll img {
    height: 100%;
    width: auto;
    margin-right: 20px;
}

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

.cta-content-box {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.4;
}

.cta-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
}

.cta-note {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-cta-primary);
    color: var(--white);
    height: 56px;
    padding: 0 32px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.6);
}

.cta-button-icon {
    font-size: 24px;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--light-bg);
}

.pricing-content {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-list {
    list-style: none;
    margin-bottom: 50px;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 8px solid var(--primary-color);
}

.pricing-list li {
    padding: 20px 0;
    border-bottom: 2px solid var(--light-bg);
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 600;
}

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

.pricing-list li strong {
    color: var(--primary-color);
    font-weight: 800;
}

/* 価格表示のスタイル */
.price-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0 !important;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: baseline;
    line-height: 1;
    background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-yen {
    font-size: 32px;
    font-weight: 700;
    margin-left: 5px;
}

.price-tax {
    font-size: 18px;
    font-weight: 600;
    color: #555555;
    margin-left: 15px;
    -webkit-text-fill-color: #555555;
    background: none;
}

/* 価格以外のリストアイテムのスタイル調整 */
.pricing-list li:not(.price-item) {
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

.pricing-list li:not(.price-item):before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

.pricing-list li:not(.price-item):hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.pricing-cta {
    text-align: center;
}

.cta-button.large {
    font-size: 20px;
    padding: 25px 60px;
    font-weight: 800;
}

/* CTAセクション モバイル対応 */
@media (max-width: 768px) {
    .cta-background {
        display: none;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.faq-question {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-question::before {
    content: 'Q';
    background: var(--white);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::before {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 25px 30px;
    position: relative;
    max-height: none;
    overflow: visible;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 500px;
}

.faq-answer::before {
    content: 'A';
    position: absolute;
    left: 30px;
    top: 25px;
    background: #3182ce;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.faq-answer p {
    margin-left: 40px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
}

.faq-highlight {
    background: #fef5e7;
    border: 2px solid #f6e05e;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-weight: 600;
    color: #744210;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature.animate-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.feature-item.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.instructor-card.animate-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.service-item.animate-in {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.benefit-item.animate-in {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* 初期状態で非表示 */
.feature,
.feature-item,
.instructor-card,
.service-item,
.benefit-item {
    opacity: 0;
    transform: translateY(30px);
}

/* 遅延読み込み用スタイル */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Feature Image Boxes */
.feature-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Service Content Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 5px solid #e67e22;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-header {
    background: #e67e22;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: #fdf2e9;
    border: 2px solid #e67e22;
}

.service-card h4 {
    color: #e67e22;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .problems-list::before,
    .problems-list::after {
        display: none;
    }
    
    .problems-list {
        margin-left: 0;
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .curriculum {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .curriculum-left {
        padding: 30px;
    }
    
    .curriculum-image {
        width: 150px;
        height: 180px;
        font-size: 36px;
    }
    
    .curriculum-title {
        font-size: 20px;
        padding: 12px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-image {
        height: 150px;
        font-size: 40px;
    }
    
    .tips-bonus {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .tips-left {
        padding: 40px 30px;
    }
    
    .tips-main-title {
        font-size: 24px;
    }
    
    .tips-right {
        padding: 30px;
    }
    
    .tips-grid {
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 0 20px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .tips-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .tips-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    .tips-grid::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }
    
    .tips-item {
        flex: 0 0 280px;
        aspect-ratio: 16/9;
        min-width: 280px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-header {
        padding: 30px 40px;
    }
    
    .benefits-title {
        font-size: 24px;
    }
    
    .benefits-content {
        padding: 40px 30px;
    }
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-main {
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Desktop/Mobile Text Display */
.desktop-text {
    display: block;
}

.mobile-text {
    display: none;
}

/* Compressed Text */
.compressed-text {
    letter-spacing: -0.05em;
    word-spacing: -0.1em;
}

/* Highlight Text Styles */
.highlight-text-secondary {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1em;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.highlight-marker {
    background: linear-gradient(transparent 40%, #ffeb3b 40%, #ffeb3b 80%, transparent 80%);
    font-weight: 700;
    padding: 0 2px;
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
}

.menu-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }
    
    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }
    
    /* Ensure all sections are 100% width */
    .hero, .problems, .reasons, .about, .school-features, 
    .student-interview, .instructors, .contents, .cta-section, 
    .pricing, .faq, .footer {
        width: 100%;
        overflow-x: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav-container {
        height: 60px;
        gap: 20px;
    }
    
    .nav-menu {
        position: fixed !important;
        right: -80% !important;
        top: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 80%;
        max-width: 300px;
        height: 100vh;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 40px 20px;
        z-index: 998;
        gap: 0;
        overflow-y: auto;
        justify-content: flex-start;
        display: flex;
    }

    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-menu li {
        padding: 15px 0;
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 0;
        color: var(--text-dark) !important;
        display: block;
    }
    
    .nav-menu .cta-button-large {
        margin: 10px 20px;
        width: calc(100% - 40px);
        min-width: auto;
        max-width: 300px;
        justify-content: center;
        color: var(--white) !important;
        padding: 12px 20px;
        font-size: 14px;
        height: auto;
        line-height: 1.3;
    }

    .mobile-logo {
        display: block;
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        right: 20px !important;
        top: 20px !important;
        z-index: 9999 !important;
        background: rgba(0, 0, 0, 0.3);
        padding: 10px;
        border-radius: 8px;
        backdrop-filter: blur(5px);
        margin: 0;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

    .hero-image-pc {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
    }
    
    .hero-image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    
    /* Small phones (360px - 375px) like Galaxy S21, iPhone SE */
    @media (max-width: 375px) {
        .hero {
            height: 100vh;
            min-height: 600px;
        }
        
        .hero-image-mobile {
            background: linear-gradient(135deg, #1a237e, #00bcd4);
        }
        
        .hero-image-mobile img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transform: scale(0.85);
        }
    }
    
    /* Medium phones (376px - 414px) like iPhone 12/13 */
    @media (min-width: 376px) and (max-width: 414px) {
        .hero {
            height: 100vh;
            min-height: 700px;
        }
        
        .hero-image-mobile {
            background: linear-gradient(135deg, #1a237e, #00bcd4);
        }
        
        .hero-image-mobile img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transform: scale(0.8);
        }
    }
    
    /* Large phones (415px - 450px) like iPhone 14 Pro Max */
    @media (min-width: 415px) and (max-width: 450px) {
        .hero {
            height: 100vh;
            min-height: 800px;
        }
        
        .hero-image-mobile {
            background: linear-gradient(135deg, #1a237e, #00bcd4);
        }
        
        .hero-image-mobile img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transform: scale(0.75);
        }
    }
    
    /* Tablets and larger devices */
    @media (min-width: 451px) and (max-width: 768px) {
        .hero-image-mobile img {
            object-fit: contain;
            transform: scale(0.9);
        }
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-cta-custom {
        background: var(--gradient-cta-primary);
        border-radius: 50px;
        padding: 15px 25px;
        min-width: auto;
        width: 100%;
        max-width: 350px;
        flex-direction: row;
        gap: 0;
        min-height: auto;
    }
    
    .cta-line-text {
        display: none;
    }
    
    .cta-main-text {
        background: transparent;
        color: var(--white);
        padding: 0;
        border-radius: 0;
        font-size: 16px;
        box-shadow: none;
    }

    .features,
    .instructor-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tips-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
        justify-items: center;
    }
    
    .tips-stat {
        text-align: center;
    }
    
    .tips-stat-label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .tips-stat-value {
        font-size: 24px;
        line-height: 1.2;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .tips-stat-value .tips-number {
        font-size: 24px;
        margin-left: 0;
    }
    
    .tips-stat-value span {
        font-size: 14px;
        display: block;
        margin-left: 0;
    }
    
    /* メニューオープン時の背景固定 */
    body.menu-open {
        overflow: hidden;
    }
    
    /* モバイルでのアニメーション調整 */
    .animate-in {
        animation-duration: 0.4s;
    }
    
    /* モバイルでのFAQ調整 */
    .faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    
    .curriculum-new-layout {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    
    .curriculum-content-left {
        padding: 60px 20px;
    }
    
    .curriculum-content-left .section-title {
        text-align: center;
    }
    
    .curriculum-content-right {
        position: relative;
        margin-top: 15px;
        order: 1;
        text-align: center;
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .curriculum-content-right .curriculum-image {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
        display: block;
        transform: scale(1.2);
    }
    
    .skill-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-badge {
        min-width: 250px;
    }
    
    /* ヘッダーロゴサイズ調整 */
    .logo-link {
        display: none;
    }
    
    .logo {
        height: 40px;
    }
    
    /* ヘッダーの高さ調整 */
    .header {
        position: absolute;
        background: transparent;
        box-shadow: none;
        height: 0;
        z-index: 1000;
    }
    
    .nav-container {
        justify-content: flex-end;
        background: transparent;
        height: 0;
    }
    
    /* ヒーローセクション調整 */
    .hero {
        padding-top: 0;
        align-items: flex-end;
        height: 100vh;
    }
    
    .hero-content {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    
    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: -70px;
    }
    
    .scroll-down {
        width: 80px;
        height: 50px;
    }
    
    .scroll-text {
        font-size: 10px;
        letter-spacing: 2px;
        color: var(--primary-color);
    }
    
    .scroll-down::after {
        height: 30px;
    }
    
    
    .section-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .section-title-small {
        font-size: 18px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .tips-title-large {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .tips-title-small {
        font-size: 18px;
    }
    
    /* こんな悩みありませんか？セクション */
    .problems {
        padding: 40px 0 60px;
        background-image: none;
        margin-top: 0 !important;
    }
    
    /* こんな悩みありませんか？タイトルの上に20pxマージン追加 */
    .problems .section-header {
        margin-top: 20px;
    }
    
    .problems-list {
        margin: 0 10px 30px 10px;
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .problems-list li {
        font-size: 14px;
        padding: 12px 15px 12px 45px;
        margin-bottom: 10px;
        border-radius: 30px;
    }
    
    .problems-list li:before {
        left: 12px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .desktop-text {
        display: none;
    }
    
    .mobile-text {
        display: block;
    }
    
    .problems-intro {
        font-size: 16px;
        margin-bottom: 40px;
        line-height: 1.6;
    }
    
    .problems-solution {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .highlight-text-secondary {
        font-size: 1.0em;
    }
    
    .highlight-text {
        font-size: 1.1em;
    }
    
    .section-description p {
        text-align: left;
    }
    
    .problems-solution strong {
        display: inline-block;
        margin-top: 10px;
    }
    
    /* 3つの理由セクション */
    .reasons {
        padding: 60px 0;
    }
    
    .feature-image {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .feature-label {
        position: absolute;
        top: -25px;
        left: -20px;
    }
    
    .feature-label img {
        height: 80px;
        width: auto;
    }
    
    /* ヨーフスクールとはセクション */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-description {
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        padding: 0 20px;
    }
    
    .about-text {
        padding: 0;
    }
    
    /* こんな悩みありませんか？ タイトル調整 */
    .problems .section-title {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
    }
    
    /* 他のスクールとはワケが違うセクション */
    .school-features {
        padding: 50px 0;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    /* Student Interview Section Mobile */
    .student-interview {
        padding: 50px 0;
    }
    
    .interview-content {
        margin: 40px auto 0;
    }
    
    .interview-image {
        max-width: 100%;
    }
    
    .interview-text {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 0;
        gap: 0;
        transform: scale(1);
    }
    
    .feature-item:hover {
        transform: scale(1.02) translateY(-3px);
    }
    
    .feature-icon {
        width: 100%;
        height: 120px;
    }
    
    .feature-icon img {
        width: 100%;
        height: 100%;
    }
    
    .feature-text {
        padding: 15px 12px;
    }
    
    .feature-text h4 {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    /* 講師セクション */
    .instructors {
        padding: 60px 0;
    }
    
    
    .instructor-description {
        font-size: 16px;
        line-height: 1.6;
        margin: 20px auto 40px;
        padding: 0 20px;
    }
    
    /* カリキュラムセクション */
    .contents {
        padding: 0 0 40px 0;
    }
    
    .curriculum {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        min-height: auto;
    }
    
    .curriculum-image {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .curriculum-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .curriculum-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .curriculum-new-layout {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .curriculum-content-left {
        padding: 40px 20px;
        text-align: center;
        order: 2;
    }
    
    .curriculum-content-left .section-title {
        text-align: center;
        margin-bottom: 20px;
        font-size: 36px;
        line-height: 1.2;
    }
    
    .curriculum-content-left h3 {
        font-size: 16px;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .skill-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 30px;
        justify-items: center;
    }
    
    .skill-badge {
        min-width: 120px;
        padding: 12px 15px;
        width: 100%;
        max-width: 150px;
    }
    
    .badge-number {
        font-size: 40px;
    }
    
    .badge-text-top {
        font-size: 12px;
    }
    
    .badge-text-bottom {
        font-size: 14px;
    }
    
    /* サービスセクション */
    .services {
        padding: 30px 20px;
    }
    
    .services-grid {
        gap: 15px;
    }
    
    .service-item {
        border-radius: 12px;
    }
    
    .service-image {
        height: 140px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }
    
    /* 入会特典セクション */
    .benefits {
        padding: 30px 20px;
    }
    
    .benefits-header {
        padding: 30px 20px;
    }
    
    .benefits-title {
        font-size: 28px;
        padding: 12px 20px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .benefits-grid {
        gap: 15px;
    }
    
    .benefit-item {
        padding: 20px 15px;
        gap: 15px;
        border-radius: 12px;
        align-items: center;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .benefit-text h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .benefit-text p {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }
    
    /* オリジナルツールの画像とテキスト間余白を狭く */
    .tools-section .content-spacing {
        gap: 15px;
    }
    
    /* Tipsセクションの画像とテキスト間余白を狭く */
    .tips-section .content-spacing {
        gap: 15px;
    }
    
    /* Tips・ツールセクション */
    .tips-bonus {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .tips-left {
        padding: 30px 20px;
    }
    
    .tips-title-large {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .tips-main-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .tips-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .tips-stat-label {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .tips-stat-value {
        font-size: 28px;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .tips-stat-value .tips-number {
        font-size: 28px;
        margin-left: 0;
    }
    
    .tips-stat-value span {
        font-size: 14px;
        display: block;
        margin-left: 0;
    }
    
    .tips-right {
        padding: 20px;
    }
    
    
    /* CTAセクション */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content-box {
        padding: 40px 20px;
        margin: 0 15px;
        border-radius: 15px;
    }
    
    .cta-title {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .cta-description {
        font-size: 14px;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .cta-button-large {
        height: 48px;
        padding: 0 24px;
        font-size: 16px;
    }
    
    .cta-button-icon {
        font-size: 20px;
    }
    
    /* FAQセクション */
    .faq {
        padding: 60px 0;
    }
    
    .faq-item {
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
        gap: 10px;
    }
    
    .faq-question::before {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 20px;
    }
    
    .faq-answer::before {
        left: 20px;
        top: 20px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .faq-answer p {
        margin-left: 35px;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .features {
        gap: 30px;
    }
    
    .feature {
        padding: 40px 25px 30px;
        position: relative;
    }
    
    .feature h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .feature p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    
    .tips-grid,
    .tools-grid,
    .instructor-tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .benefit-item {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .cta-content-box {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-description {
        font-size: 14px;
    }
    
    .cta-button-large {
        height: 48px;
        padding: 0 24px;
        font-size: 16px;
    }
    
    .pricing-list {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .pricing-list li {
        font-size: 14px;
        padding: 15px 0;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 0 !important;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .price-yen {
        font-size: 24px;
    }
    
    .price-tax {
        font-size: 14px;
        margin-left: 10px;
    }
    
    .pricing-list li:not(.price-item) {
        padding-left: 25px;
        font-size: 14px;
    }
    
    .pricing-list li:not(.price-item):before {
        font-size: 16px;
    }
    
    .faq-list {
        margin: 0 10px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 13px;
        margin-left: 25px;
    }
}