/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #ffa630;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ffa630 100%);
    --gradient-secondary: linear-gradient(135deg, #004e89 0%, #1a759f 100%);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
}

.logo p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(0, 78, 137, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 2;
}

.hero-question {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-imagine {
    font-style: italic;
    opacity: 0.95;
}

/* CTAボタン */
.cta-button, .cta-button-large {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.cta-button-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.cta-button:hover, .cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button-large.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* セクション共通 */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 特徴セクション */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* 共感セクション */
.empathy {
    background: var(--white);
}

.empathy-problems {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.problem-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.empathy-result {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 2rem 0;
    font-style: italic;
}

.empathy-solution {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #fff8e1 100%);
    border-radius: 12px;
    text-align: center;
}

.solution-intro, .solution-detail, .solution-future {
    font-size: 1.2rem;
    margin: 1rem 0;
    line-height: 1.8;
}

.solution-future {
    font-weight: 700;
    color: var(--secondary-color);
}

.empathy-answer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.5rem;
}

/* 理由セクション */
.reasons {
    background: var(--bg-light);
}

.reason-block {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.reason-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reason-number {
    background: var(--gradient-primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.reason-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.reason-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.reason-content.has-image {
    grid-template-columns: 2fr 1fr;
}

.reason-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.reason-highlight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-weight: 600;
}

.reason-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.reason-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 受講生の声 */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-detail {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: right;
}

/* プログラムセクション */
.program {
    background: var(--bg-light);
}

.program-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.program-theory {
    margin-bottom: 3rem;
}

.theory-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.theory-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.theory-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.theory-item:hover img {
    transform: scale(1.05);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.program-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.program-item:hover {
    transform: translateY(-5px);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* 募集要項 */
.recruitment {
    background: var(--white);
}

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

.recruitment-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.recruitment-card:hover {
    transform: translateY(-5px);
}

.recruitment-card.highlight {
    background: var(--gradient-primary);
    color: var(--white);
}

.recruitment-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.recruitment-card.highlight .recruitment-icon {
    color: var(--white);
}

.recruitment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.recruitment-card.highlight h3 {
    color: var(--white);
}

.price-large {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 900;
    display: block;
    margin-bottom: 0.3rem;
}

/* レッスン詳細 */
.schedule {
    background: var(--bg-light);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.schedule-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.schedule-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.schedule-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.schedule-details p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.schedule-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.venue-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.venue-photo-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.venue-photo-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s;
}

.venue-photo-item:hover img {
    transform: scale(1.05);
}

.venue-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.map-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.map-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
}

.map-note {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    color: var(--secondary-color);
}

/* 信頼の証 */
.trust {
    background: var(--white);
}

.subsection-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.achievements-gallery {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.achievement-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.achievement-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.achievement-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.achievements-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.8;
}

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

.trust-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* 講師紹介 */
.instructor {
    background: var(--bg-light);
}

.instructor-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.instructor-photo {
    text-align: center;
}

.instructor-photo img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.instructor-photo:hover img {
    transform: scale(1.05);
}

.instructor-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.instructor-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.instructor-credentials {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.instructor-credentials h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.instructor-credentials ul {
    list-style: none;
    padding-left: 0;
}

.instructor-credentials li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.instructor-credentials li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
}

.instructor-message {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-light);
}

/* FAQ */
.faq {
    background: var(--white);
}

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

.faq-item {
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.faq-question span {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i:last-child {
    color: var(--text-light);
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

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

.faq-answer p {
    padding: 1.5rem;
    line-height: 1.8;
}

/* 最終CTA */
.final-cta {
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.final-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 2;
}

.final-cta-special {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 600px;
}

.final-cta-special p {
    font-size: 1.3rem;
    margin: 0;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* ページトップボタン */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-heading {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .testimonials-grid,
    .program-grid,
    .recruitment-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-header {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-header h3 {
        font-size: 1.3rem;
    }
    
    .instructor-profile {
        grid-template-columns: 1fr;
    }
    
    .instructor-photo img {
        width: 250px;
        height: 250px;
    }
    
    .schedule-grid,
    .venue-photos,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .theory-images,
    .program-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img,
    .theory-item img,
    .venue-photo-item img,
    .achievement-item img {
        height: 200px;
    }
}