/* ================================================
   Variables
   ================================================ */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* ================================================
   Header
   ================================================ */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

.cta-button-small {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-small:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: currentColor;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: currentColor;
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

.mobile-menu-close:active {
    transform: scale(0.95);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
}

.mobile-menu nav a {
    padding: 16px 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
}

.mobile-menu nav a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================================
   Breadcrumb
   ================================================ */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.breadcrumb-item a {
    color: var(--primary-color);
    transition: opacity 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-gray);
}

.breadcrumb-item[aria-current="page"] {
    color: var(--text-dark);
    font-weight: 500;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background-color: #d97706;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-button-large {
    font-size: 1.25rem;
    padding: 20px 50px;
}



/* ================================================
   Target Section
   ================================================ */
.target {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.target-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.target-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.target-solution {
    text-align: center;
    margin-top: 40px;
}

.solution-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ================================================
   About Section
   ================================================ */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image {
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: scale(1.05);
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.point {
    position: relative;
    padding-left: 80px;
}

.point-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.point-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.point-text {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ================================================
   Stats Section
   ================================================ */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ================================================
   Testimonials Section
   ================================================ */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.testimonial-item {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.testimonial-rating {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* ================================================
   Instructor Section
   ================================================ */
.instructor {
    padding: 80px 0;
}

.instructor-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.instructor-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.instructor-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.instructor-reading {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-left: 8px;
}

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

.instructor-credentials {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.instructor-message {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

/* ================================================
   Schedule Section
   ================================================ */
.schedule {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.schedule-loading {
    text-align: center;
    padding: 60px 0;
}

.loader {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.schedule-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
    position: relative;
}

.schedule-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background-color: #f0f7ff;
    border-left-color: var(--accent-color);
}

.schedule-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.schedule-location {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.schedule-capacity {
    font-size: 1rem;
    color: var(--text-gray);
}

.schedule-apply-hint {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 16px;
    text-align: right;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.schedule-item:hover .schedule-apply-hint {
    opacity: 1;
}

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

.detail-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* ================================================
   FAQ Section
   ================================================ */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.8;
    padding-left: 32px;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary-dark);
}

/* ================================================
   Apply Section
   ================================================ */
.apply {
    padding: 80px 0;
    text-align: center;
}

.apply-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* ================================================
   Footer
   ================================================ */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ================================================
   Back to Top Button
   ================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px);
}

/* ================================================
   Fade In Animation
   ================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .instructor-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
