/* FontAwesome and Google Fonts */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1c3373;
    --secondary-color: #87B5E0;
    --accent-color: #5B94D3;
    --text-dark: #1c3373;
    --text-gray: #5A6C7D;
    --text-light: #8FA0AF;
    --bg-light: #F8FBFF;
    --bg-lighter: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-pattern: #F3F4F6;
    --gray-100: #F0F4F8;
    --gray-200: #D8E4F0;
    --gray-300: #C0D0E0;
    --gradient: linear-gradient(135deg, #5B94D3 0%, #87B5E0 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}


html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    /* Text rendering optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F8FBFF;
    z-index: -2;
}


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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    position: relative;
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -moz-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -ms-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -o-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


.btn:hover::before {
    left: 100%;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}



.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 薄い青いマーカー用アニメーションスタイル */
.marker-animation {
    background: linear-gradient(transparent 70%, rgba(39, 173, 228, 0.2) 30%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    animation: markerAnimation 1.5s ease forwards;
}

/* アクセントカラーテキスト */
.accent-text {
    color: var(--accent-color);
}

/* ノーラップ */
.nowrap {
    white-space: nowrap;
}

/* ヘッダー */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    height: 72px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 16px 0; */
    height: 100%;
    position: relative;
    gap: 20px;
}

.logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

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

.logo:hover {
    opacity: 0.8;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav .nav-menu {
    display: flex;
    list-style: none;
    background: rgba(248, 251, 255, 0.7);
    padding: 4px;
    border-radius: 100px;
    box-shadow: none;
    border: 1px solid rgba(135, 181, 224, 0.15);
    white-space: nowrap;
    position: relative;
    z-index: 999;
}

nav .nav-menu li {
    margin: 0 2px;
}

nav .nav-menu li a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 100px;
    display: block;
    white-space: nowrap;
}

nav .nav-menu li a:hover {
    background-color: rgba(91, 148, 211, 0.08);
    color: var(--accent-color);
}

nav .nav-menu li a.active,
nav .nav-menu li a:active {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
}


.header-workshop-btn {
    background: linear-gradient(135deg, #5B94D3 0%, #87B5E0 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.header-workshop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -moz-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -ms-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -o-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.header-workshop-btn:hover::before {
    left: 100%;
}


/* ヒーローセクション */
.hero {
    padding: 72px 0 100px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../images/bg.png') center center/cover no-repeat;
    background-color: #FFFFFF;
    margin-bottom: 0;
    will-change: auto;
}

/* ヒーローセクションのオーバーレイ効果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 2;
}

/* hero-graphicは削除（動画背景と干渉するため） */



.hero-container {
    position: relative;
    z-index: 4;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    will-change: auto;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    display: inline-block;
    background: #1c3373;
    color: white;
    padding: 12px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    position: relative;
}

.badge-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #5B94D3 0%, transparent 100px);
    opacity: 0.2;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: var(--accent-color);
    background: linear-gradient(transparent 60%, rgba(91, 148, 211, 0.08) 40%);
    padding: 0 4px;
    position: relative;
    font-weight: 700;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5B94D3 0%, #87B5E0 100%);
    border-radius: 2px;
}


.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.btn-hero {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -moz-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -ms-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: -o-linear-gradient(left, transparent, rgba(255, 255, 255, 0.15), transparent);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

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



/* レスポンシブ対応 - ヒーローバッジ */
@media (max-width: 768px) {
    .hero-badge {
        margin-bottom: 25px;
    }
    
    .badge-text {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .badge-text {
        font-size: 0.8rem;
        padding: 20px 30px;
    }
}

/* 課題と解決策セクション */
.problems-solutions-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* problems-solutions-section::before removed (unnecessary) */

.problems-solutions-wrapper {
    display: flex;
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
}

.problems-side, .solutions-side {
    flex: 1;
    padding: 20px;
}

.solution-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    position: relative;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid var(--accent-color);
    position: relative;
}

.arrow-right::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -40px;
    width: 10px;
    height: 60px;
    background-color: var(--accent-color);
}

.problems-title, .solutions-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    text-align: center;
}

.problems-title span, .solutions-title span {
    color: var(--accent-color);
    position: relative;
}

.problems-title span::after, .solutions-title span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(39, 173, 228, 0.2);
    z-index: -1;
}

.problems-list, .solutions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-item, .solution-item {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 25px 30px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(135, 181, 224, 0.1);
    min-height: 100px;
}

.problem-item {
    border-left: 4px solid #F59E9E;
}

.solution-item {
    border-left: 4px solid #87B5E0;
}

.problem-icon, .solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.problem-icon {
    background-color: #FFF5F5;
    border: 1px solid #FFE4E4;
}

.solution-icon {
    background-color: rgba(135, 181, 224, 0.1);
    border: 1px solid rgba(135, 181, 224, 0.2);
}

.problem-icon i {
    font-size: 1.6rem;
    color: #F59E9E;
}

.solution-icon i {
    font-size: 1.6rem;
    color: #5B94D3;
}

.problem-text, .solution-text {
    flex: 1;
}

.problem-text h3, .solution-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

.problem-text p, .solution-text p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}


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

.content-card {
    opacity: 0;
    transform: translateY(20px);
}

.content-card.animate {
    animation: fadeIn 0.6s ease forwards;
}

/* CTAセクション */
.cta {
    background: transparent;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* CTA video background - removed */
.cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    filter: none;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    will-change: auto;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.cta .container {
    position: relative;
    z-index: 3;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.btn-light {
    background: white;
    color: var(--accent-color);
    padding: 16px 32px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* 課題と解決策セクションのCTA */
.problems-solutions-cta {
    text-align: center;
    margin-top: 60px;
}

.problems-solutions-cta .btn {
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
}


/* コンテンツセクション */
.contents {
    background: url('../images/bg.png') center center/cover no-repeat;
    background-color: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

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

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

.content-card {
    padding: 32px 28px 28px 28px;
    margin: 18px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.content-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.content-body {
    padding: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.content-image {
    width: calc(100% + 56px);
    width: -webkit-calc(100% + 56px);
    width: -moz-calc(100% + 56px);
    margin: -32px -28px 0 -28px;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    -moz-border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.content-image img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    /* Fallback for older browsers */
    font-family: 'object-fit: cover;';
    display: block;
}


.content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.content-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.content-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}



.view-all-contents {
    text-align: center;
    margin-top: 40px;
}

/* 料金プランセクション */
.pricing {
    background-color: var(--bg-lighter);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 56, 118, 0.02) 0%, 
        rgba(39, 173, 228, 0.03) 50%, 
        rgba(26, 56, 118, 0.02) 100%);
    z-index: 0;
}

.pricing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(26, 56, 118, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 75% 75%, rgba(39, 173, 228, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 25% 75%, rgba(26, 56, 118, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 75% 25%, rgba(39, 173, 228, 0.05) 0%, transparent 10%);
    z-index: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius-xl);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(135, 181, 224, 0.1);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: white;
    border: 2px solid var(--accent-color);
    z-index: 1;
}

.pricing-card.featured::before {
    content: "おすすめ";
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    transform: rotate(45deg);
    font-weight: 600;
}

.pricing-type {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    display: block;
}

.pricing-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
}

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

.pricing-icon {
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 16px 20px;
}

/* 学習の流れセクション */
.flow {
    background-color: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(26, 56, 118, 0.05) 19px, rgba(26, 56, 118, 0.05) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(39, 173, 228, 0.05) 19px, rgba(39, 173, 228, 0.05) 20px);
    background-size: 20px 20px;
    z-index: 0;
}

.flow-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.flow-steps {
    position: relative;
    margin-bottom: 60px;
}

.flow-steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background: var(--gray-300);
}

.flow-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step-num {
    background: var(--accent-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 25px;
    z-index: 1;
}

.flow-step-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1;
}

.flow-step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.flow-step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.flow .cta {
    background: #1c3373;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.flow .cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.flow .cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* お問い合わせセクション */
.contact {
    background-color: var(--bg-lighter);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    align-items: center;
}

@media (max-width: 768px) {
    .contact::before, 
    .contact::after {
        display: none;
    }
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
}

.contact-info-center {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-center h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info-center p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-info-center .contact-item {
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-email-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.5;
}



/* 3つの特徴セクション */
.three-features {
    background: url('../images/bg.png') center center/cover no-repeat;
    background-color: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.three-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.three-features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(26, 56, 118, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(39, 173, 228, 0.03) 0%, transparent 40%);
    z-index: 0;
}

.three-features-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.three-feature {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(135, 181, 224, 0.1);
    transition: all 0.3s ease;
}

.three-feature:hover {
    box-shadow: var(--shadow-md);
}

.three-feature:last-child {
    margin-bottom: 0;
}

.three-feature-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: #87B5E0;
    opacity: 0.2;
    z-index: 1;
}

.three-feature-content {
    padding: 50px 40px;
    position: relative;
    z-index: 1;
}

.three-feature-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.three-feature-content p {
    color: var(--text-gray);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}



/* ワークショップセクション */
.workshop {
    background: url('../images/bg.png') center center/cover no-repeat;
    background-color: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.workshop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.workshop-container {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.workshop-content {
    flex: 1;
}

.workshop-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.workshop-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.workshop-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workshop-feature {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.workshop-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.workshop-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.workshop-feature-text p {
    color: var(--text-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.workshop-calendar {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.workshop-calendar h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
}

.upcoming-workshops {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
    overflow-y: auto;
    max-height: 500px;
    padding-right: 10px;
}

.workshop-item {
    background-color: rgba(39, 173, 228, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.workshop-item:hover {
    box-shadow: var(--shadow-md);
}

.workshop-desc {
    color: var(--text-gray);
    /* margin-bottom: 15px; */
    font-size: 0.95rem;
    line-height: 1.5;
}

.workshop-title {
    font-weight: 700;
    font-size: 1.2rem;
    /* margin-bottom: 10px; */
    color: var(--text-dark);
}

.workshop-date {
    font-weight: 600;
    color: var(--accent-color);
    /* margin-bottom: 8px; */
    font-size: 1rem;
}

/* 画像付きワークショップアイテムのスタイル */
.workshop-image-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.workshop-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: auto;
    display: block;
}

.workshop-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* スクロールバーのスタイリング */
.upcoming-workshops::-webkit-scrollbar {
    width: 6px;
}

.upcoming-workshops::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.upcoming-workshops::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.upcoming-workshops::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-workshop {
    width: 100%;
    text-align: center;
}

/* 監修者紹介セクション */
.supervisor {
    background-color: var(--bg-lighter);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.supervisor-hero {
    background-color: #1c3373;
    position: relative;
    margin-top: -60px;
    padding: 100px 0 80px;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.section-separator {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    width: 100%;
    z-index: 11;
}

.section-separator svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.supervisor::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(26, 56, 118, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(39, 173, 228, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.supervisor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 98%, rgba(26, 56, 118, 0.1) 99%, transparent 100%),
        linear-gradient(-45deg, transparent 98%, rgba(39, 173, 228, 0.1) 99%, transparent 100%);
    background-size: 30px 30px;
    z-index: 0;
}

.supervisor-container {
    display: flex;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.supervisor-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
}

.supervisor-container-hero {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.supervisor-section-title-inside {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 30px 40px 20px;
    margin: 0;
    background: white;
}

.supervisor-main-content {
    display: flex;
    align-items: flex-end;
    flex: 1;
    /* padding-bottom: 40px; */
}

.supervisor-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    overflow: hidden;
}

.supervisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.supervisor-video {
    flex: 0 0 auto;
    width: 560px;
    display: flex;
    align-items: center;
}

.supervisor-video iframe {
    width: 100%;
    height: 315px;
    border: none;
}

.supervisor-content {
    flex: 1;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.supervisor-label {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.supervisor-name h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 700;
}

.supervisor-en {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.supervisor-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.supervisor-description p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.supervisor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.supervisor-skills span {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.supervisor-social {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.supervisor-social .social-link {
    color: white;
}

.supervisor-quote {
    padding: 15px 0;
    border-top: 1px solid var(--gray-200);
    font-style: italic;
    color: var(--text-gray);
}

.supervisor-quote p {
    font-size: 1.1rem;
}

/* よくある質問セクション */
.faq {
    background-color: var(--bg-lighter);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, transparent 30%, rgba(26, 56, 118, 0.02) 50%, transparent 70%),
        linear-gradient(240deg, transparent 30%, rgba(39, 173, 228, 0.02) 50%, transparent 70%);
    z-index: 0;
}

.faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(135deg, rgba(26, 56, 118, 0.01) 25%, transparent 25%),
        linear-gradient(-135deg, rgba(39, 173, 228, 0.01) 25%, transparent 25%);
    background-size: 40px 40px;
    z-index: 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(135, 181, 224, 0.1);
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* フッター */
footer {
    background: #1c3373;
    color: white;
    padding: 150px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-separator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    width: 100%;
    z-index: 1;
}

.footer-separator svg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}


.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.footer-about {
    padding-right: 30px;
}

.footer-logo {
    margin-bottom: 25px;
    display: inline-block;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.youtube {
    background-color: #FF0000;
}

.social-link.x-twitter {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link.x-twitter i,
.social-link.x-twitter svg {
    display: none !important;
}

.social-link.x-twitter::after {
    content: 'X';
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.tiktok {
    background-color: #000000;
    overflow: hidden;
    position: relative;
}

.social-link.tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #25F4EE, #FE2C55, #000000);
    opacity: 0.3;
}


.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

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

.copyright a:hover {
    text-decoration: underline;
}


/* Cross-browser mobile touch optimization */
@media (hover: none) and (pointer: coarse) {
    .btn, .header-workshop-btn, .btn-hero {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .btn:hover, .header-workshop-btn:hover, .btn-hero:hover {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }
}

/* IE11 specific fixes */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .btn, .header-workshop-btn, .btn-hero {
        background: #5B94D3;
    }
    
    .pricing-card {
        display: -ms-flexbox;
        -ms-flex-direction: column;
    }
    
    .contents-grid, .pricing-grid {
        display: -ms-grid;
    }
    
    .hero, .problems-solutions-wrapper, .footer-content {
        display: -ms-flexbox;
    }
}

/* Enhanced scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* レスポンシブデザイン */


@media (max-width: 992px) {
    .hero {
        padding: 130px 0 0;
        min-height: 75vh;
    }
    
    .supervisor-hero {
        margin-top: -50px;
        padding: 80px 0 70px;
    }
    
    .section-separator {
        top: -50px;
        height: 50px;
    }

    .hero-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid, .contents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .problems {
        text-align: left;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .three-feature {
        flex-direction: column;
    }
    
    .three-feature-image {
        height: 250px;
        order: -1;
    }
    
    .supervisor-container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .supervisor-image {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 350px;
    }
    
    .supervisor-image img {
        object-position: center 15%;
    }
    
    .flow .cta {
        padding: 30px 20px;
    }
    
    /* hero-graphic removed (unnecessary) */
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* PC版ではモバイル用バッジを非表示 */
.mobile-header-badge {
    display: none;
}

/* デスクトップでナビゲーションメニューを表示 */
@media (min-width: 769px) {
    /* ヒーローセクションのロゴをPC版で非表示 */
    .hero-container .logo {
        display: none;
    }
    
    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .nav-menu {
        display: flex !important;
        list-style: none;
        background: rgba(248, 251, 255, 0.7);
        padding: 4px;
        border-radius: 100px;
        box-shadow: none;
        border: 1px solid rgba(135, 181, 224, 0.15);
        white-space: nowrap;
        position: static;
        z-index: 999;
        height: auto;
        width: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 0;
        overflow-y: visible;
    }
    
    .nav-menu li {
        margin: 0 2px;
        opacity: 1;
        transform: none;
        animation: none;
        width: auto;
        max-width: none;
        text-align: left;
    }
    
    .nav-menu li a {
        display: block;
        padding: 10px 24px;
        font-size: 0.9rem;
        font-weight: 500;
        background: transparent;
        border-radius: 100px;
        margin: 0;
        box-shadow: none;
        border: none;
        transition: all 0.3s ease;
        color: var(--text-gray);
        white-space: nowrap;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(91, 148, 211, 0.08);
        color: var(--accent-color);
        transform: none;
        box-shadow: none;
    }
    
    .nav-menu li a.active,
    .nav-menu li a:active {
        background-color: var(--accent-color);
        color: white;
        font-weight: 600;
    }
    
    .header-workshop-btn {
        display: inline-block;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* モバイル版 - メニューなし、バッジのみ */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        height: 60px;
        gap: 0;
    }
    
    .mobile-header-badge {
        display: flex;
        width: 100vw;
        background: #1c3373;
        text-align: center;
        height: 60px;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-header-badge .badge-text {
        display: inline-block;
        color: white;
        padding: 0 30px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.05em;
    }
    
    
    .header-container .logo {
        display: none;
    }
    
    nav {
        display: none;
    }
    
    .header-workshop-btn {
        display: none;
    }
    
    /* ヒーローセクションのバッジをスマホで非表示 */
    .hero-badge {
        display: none;
    }
    
    /* ヒーローセクションの高さを固定してカクカク防止 */
    .hero {
        min-height: 600px;
        height: auto;
        padding: 80px 0 40px;
    }
    
    .supervisor-hero {
        margin-top: -40px;
        padding: 70px 0 60px;
    }
    
    .section-separator {
        top: -40px;
        height: 40px;
    }
    
    section {
        padding: 70px 0;
        position: relative;
        z-index: 1;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: 80vh;
    }
    
    /* スマホ版でも背景画像を表示 */
    .hero {
        background: url('../images/bg.png') center center/cover no-repeat;
        background-color: #FFFFFF;
    }
    
    /* 白いフィルターオーバーレイ */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.85);
        z-index: 2;
    }
    
    /* hero-graphic removed (unnecessary) */
    
    /* CTA動画設定 */
    .cta-video {
        opacity: 1;
        filter: none;
        transform: none;
        -webkit-transform: none;
    }
    
    .cta-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .problems-solutions-section {
        padding: 60px 0;
    }
    
    .problems-solutions-wrapper {
        flex-direction: column;
    }
    
    .solution-divider {
        width: 100%;
        height: 50px;
        margin: 10px 0;
        transform: rotate(90deg);
    }
    
    /* すべてのセクション内のコンテナに高いZ-indexを確保 */
    .container {
        position: relative;
        z-index: 2;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 90%;
    }

    
    /* コンテンツ調整 */
    .three-feature-content {
        padding: 30px 20px;
    }
    
    .hero-image {
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-graphic {
        height: 300px;
        width: calc(100% - 30px);
        max-width: 450px;
    }
    
    .problems {
        margin-top: 20px;
    }
    
    body::before, body::after {
        opacity: 0.3;
    }
    
    .hero {
        overflow: hidden;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .btn {
        display: inline-block;
        width: auto;
    }
    
    .view-all-courses {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    /* 特定のコンテンツカードを非表示 */
    .content-card.mobile-hide {
        display: none !important;
    }
    
    /* ワークショップボタン中央寄せ */
    .btn-workshop {
        display: block;
        margin: 0 auto;
        max-width: 80%;
        text-align: center;
    }
    
    /* hero-graphic removed (unnecessary) */
    
    /* 小さいスマホでも背景画像を表示 */
    .hero {
        background: url('../images/bg.png') center center/cover no-repeat !important;
        background-color: #FFFFFF !important;
    }
    
    /* 白いフィルターオーバーレイ */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.85) !important;
        z-index: 2;
    }
    
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }

    /* ヘッダー調整 - 小さなスマホでもバッジのみ */
    .header-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        height: 50px;
        gap: 0;
    }
    
    .mobile-header-badge {
        height: 50px;
    }
    
    .mobile-header-badge .badge-text {
        padding: 0 20px;
        font-size: 0.75rem;
        position: static;
    }
    
    .header-container .logo {
        display: none;
    }
    
    nav {
        display: none;
    }
    
    
    /* ヒーローセクション調整 */
    .hero {
        padding: 70px 0 30px;
        min-height: 500px;
        height: auto;
    }
    
    .problems-solutions-section {
        padding: 60px 0;
    }
    
    .problems-solutions-wrapper {
        flex-direction: column;
    }
    
    .solution-divider {
        width: 100%;
        height: 50px;
        margin: 10px 0;
        transform: rotate(90deg);
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-height: 450px;
        justify-content: center;
        position: relative;
    }
    
    .hero::before,
    .hero-bg-flipped {
        background-size: cover;
    }
    
    /* 固定CTA */
    .fixed-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-fixed {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        margin-top: 30px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .problems-title, .solutions-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .problems-side, .solutions-side {
        padding: 15px;
    }
    
    .problem-item, .solution-item {
        padding: 20px 15px;
        min-height: 80px;
    }
    
    .problem-icon, .solution-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .problem-icon i, .solution-icon i {
        font-size: 1.4rem;
    }
    
    h3, .problem-text h3, .solution-text h3 {
        font-size: 1rem !important;
        margin-bottom: 8px;
    }
    
    .problem-text p, .solution-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 15px;
    }
    
    /* CTA調整 */
    .cta {
        padding: 40px 0;
    }
    
    .cta-video {
        opacity: 1;
        filter: none;
        -webkit-filter: none;
    }
    
    .cta-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .cta h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* コース調整 */
    .courses-grid {
        gap: 20px;
    }
    
    .course-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-content {
        padding: 15px;
    }
    
    .course-card h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        hyphens: auto;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .course-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
        hyphens: auto;
        overflow-wrap: break-word;
    }
    
    .course-details {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .btn-course {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* 3つの特徴調整 */
    .three-feature {
        margin-bottom: 25px;
        overflow: hidden;
        border-radius: 12px;
        background-color: white;
        box-shadow: var(--shadow-md);
    }
    
    .three-feature-content {
        padding: 25px 20px;
        width: 100%;
    }
    
    .three-feature-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        position: relative;
        padding-left: 40px;
        line-height: 1.4;
        hyphens: auto;
        overflow-wrap: break-word;
    }
    
    .three-feature-content h3::before {
        content: attr(data-number);
        position: absolute;
        left: 0;
        top: 0;
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--accent-color);
        opacity: 0.3;
    }
    
    .three-feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .three-feature-image {
        display: none;
    }
    
    .three-feature-image img {
        display: none;
    }
    
    .three-feature-number {
        display: none;
    }
    
    /* 料金プラン調整 */
    .pricing-card {
        padding: 25px 15px;
    }
    
    .pricing-type {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .pricing-price {
        font-size: 2.2rem;
    }
    
    .pricing-features li {
        padding: 8px 0;
        font-size: 0.9rem;
        display: flex;
        align-items: flex-start;
    }
    
    .pricing-icon {
        flex-shrink: 0;
        margin-right: 8px;
        display: inline-block;
        margin-top: 2px;
    }
    
    .pricing-features li span:not(.pricing-icon) {
        display: inline;
        flex: 1;
    }
    
    /* 学習フロー調整 */
    .flow-steps::before {
        left: 12px;
    }
    
    .flow-step {
        margin-bottom: 30px;
    }
    
    .flow-step-num {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        margin-right: 20px;
    }
    
    .flow-step-content {
        padding: 20px 15px;
    }
    
    .flow-step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .flow-step-content p {
        font-size: 0.9rem;
    }
    
    .flow .cta {
        padding: 25px 15px;
    }
    
    .flow .cta h2 {
        font-size: 1.5rem;
    }
    
    .flow .cta p {
        font-size: 0.9rem;
    }
    
    /* ワークショップ調整 */
    .workshop-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .workshop-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    /* スマホでワークショップの3つのボックスを非表示 */
    .workshop-features {
        display: none;
    }
    
    .workshop-calendar {
        padding: 20px 15px;
    }
    
    .workshop-calendar h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .calendar-header {
        padding: 10px;
        font-size: 1rem;
    }
    
    .calendar-weekdays {
        padding: 8px 0;
        font-size: 0.8rem;
    }
    
    .calendar-days div {
        height: 35px;
        font-size: 0.8rem;
    }
    
    /* 監修者調整 */
    .supervisor-container {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        width: 100%;
    }
    
    .supervisor-container-hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .supervisor-image {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 250px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px 12px 0 0;
    }
    
    .supervisor-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center 15%;
    }
    
    .supervisor-section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .supervisor-section-title-inside {
        font-size: 1.5rem;
        padding: 20px 20px 15px;
    }
    
    .supervisor-main-content {
        flex-direction: column;
    }
    
    .supervisor-video {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
        box-shadow: none;
    }
    
    .supervisor-video iframe {
        width: 100%;
        height: 100%;
    }
    
    .supervisor-content {
        padding: 25px 20px;
        width: 100%;
        background-color: white;
        border-radius: 0 0 12px 12px;
    }
    
    .supervisor-name {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .supervisor-label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .supervisor-name h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .supervisor-en {
        font-size: 0.8rem;
    }
    
    .supervisor-title {
        font-size: 1rem;
        margin-bottom: 15px;
        color: var(--accent-color);
        text-align: center;
    }
    
    .supervisor-description {
        margin-bottom: 20px;
    }
    
    .supervisor-description p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .supervisor-skills {
        gap: 8px;
        margin: 20px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .supervisor-skills span {
        padding: 4px 10px;
        font-size: 0.75rem;
        margin: 2px;
    }
    
    .supervisor-social {
        gap: 15px;
        margin: 20px 0;
        display: flex;
        justify-content: center;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .supervisor-quote {
        padding: 12px 0;
    }
    
    .supervisor-quote p {
        font-size: 0.9rem;
    }
    
    /* FAQ調整 */
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.5;
        hyphens: auto;
        overflow-wrap: break-word;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        overflow-wrap: break-word;
    }
    
    /* お問い合わせ調整 */
    .contact {
        padding: 10px 0px 100px 0px;
    }
    
    .contact-form {
        padding: 20px 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .contact-item {
        margin-bottom: 12px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    
    .contact-email-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-address {
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    
    .contact-address div {
        line-height: 1.4;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    /* フッター調整 */
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
    .footer-logo img {
        height: 30px;
    }
    
    .footer-about p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        overflow-wrap: break-word;
        word-break: break-word;
        display: inline-block;
    }
    
    .copyright {
        padding-top: 20px;
        font-size: 0.8rem;
    }
    
    /* ボタン調整 */
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .btn-light {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .feature-card, .course-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        line-height: 1.4;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        overflow-wrap: break-word;
    }
    
    .feature-icon i {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-link.x-twitter::after {
        font-size: 1rem;
    }
}

/* iOS/iPhone専用の動画修正 */
@supports (-webkit-touch-callout: none) {
    .hero {
        position: relative;
        background: #FFFFFF;
    }
    
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        opacity: 0.25 !important;
        -webkit-filter: none !important;
        filter: none !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .hero-overlay {
        z-index: 2 !important;
        background: rgba(255, 255, 255, 0.8) !important;
    }
    
    .hero-container {
        z-index: 3 !important;
    }
}

/* iPhone X以降のノッチ対応 */
@supports (padding: max(0px)) {
    .hero {
        padding-top: max(72px, env(safe-area-inset-top));
    }
}

/* iOS対応のCTA動画設定 */
@supports (-webkit-touch-callout: none) {
    .cta-video {
        opacity: 1 !important;
        -webkit-filter: none !important;
        filter: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        object-fit: cover !important;
    }
}

/* ワークショップ読み込み状態 */
.loading-message, .error-message {
    text-align: center;
    padding: 20px;
    color: var(--text-gray);
    font-style: italic;
}

.error-message {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Coming soon オーバーレイ */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Coming soon オーバーレイを非表示にするためのクラス（準備が完了した時に使用） */
.content-card .coming-soon-overlay.hidden {
    display: none;
}

/* デスクトップのみ表示 */
@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
}

/* 料金プラン注記 */
.pricing-note {
    text-align: center;
    margin-top: 30px;
}

.pricing-note p {
    color: #e74c3c;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Additional cross-browser fixes and polyfills */

/* Object-fit polyfill for IE11 and older browsers */
.supervisor-image img,
.content-image img {
    position: relative;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    /* IE11 fallback */
    font-family: 'object-fit: cover;';
}

/* Webkit appearance fixes */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-300);
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    background-color: white;
    -webkit-transition: border-color 0.3s ease;
    -moz-transition: border-color 0.3s ease;
    -ms-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    -webkit-box-shadow: 0 0 0 3px rgba(91, 148, 211, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(91, 148, 211, 0.1);
    box-shadow: 0 0 0 3px rgba(91, 148, 211, 0.1);
}

/* Button focus states for accessibility */
.btn:focus,
.header-workshop-btn:focus,
.btn-hero:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-gray: #333333;
        --accent-color: #0066cc;
        --primary-color: #000066;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        -webkit-animation-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
        -moz-transition-duration: 0.01ms !important;
        -ms-transition-duration: 0.01ms !important;
        -o-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
    
    .header-workshop-btn,
    .btn,
    .btn-hero {
        border: 1px solid black !important;
    }
    
    .hero,
    .problems-solutions-section,
    .contents,
    .pricing,
    .flow,
    .three-features,
    .workshop,
    .supervisor,
    .faq,
    .contact {
        -webkit-break-inside: avoid;
        break-inside: avoid;
    }
}

/* Legacy browser support */
.ie11-flexbox-fix {
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    -ms-flex-direction: column;
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .btn,
    .header-workshop-btn,
    .btn-hero {
        background: #5B94D3;
    }
}

