* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2C3E50;
    --light-color: #F7F9FC;
    --white: #FFFFFF;
    --gray: #95A5A6;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-decor-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-decor-svg svg {
    width: 100%;
    height: 100%;
}

.hero-decor-svg circle:nth-child(1) {
    animation: hero-float-up-down 4s ease-in-out infinite;
}
.hero-decor-svg circle:nth-child(2) {
    animation: hero-float-up-down 4.5s ease-in-out infinite 0.7s;
}
.hero-decor-svg circle:nth-child(3) {
    animation: hero-float-up-down 3.8s ease-in-out infinite 1.4s;
}
.hero-decor-svg circle:nth-child(4) {
    animation: hero-float-up-down 4.2s ease-in-out infinite 2.1s;
}
.hero-decor-svg circle:nth-child(5) {
    animation: hero-float-up-down 3.5s ease-in-out infinite 2.8s;
}
.hero-decor-svg circle:nth-child(6) {
    animation: hero-float-up-down 4.8s ease-in-out infinite 3.5s;
}

@keyframes hero-float-up-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

.hero-home {
    background-image: url('../images/index_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: flex-start;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}


@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-home::after,
.hero-benefits::after,
.hero-courses::after,
.hero-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(26, 78, 150, 0.85) 0%, rgba(40, 120, 180, 0.75) 50%, rgba(20, 60, 120, 0.85) 100%); */
    z-index: 0;
}

/* Decorative Elements */
.decorative-element {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.decor-1 {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 15%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.decor-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 200, 150, 0.4), rgba(255, 150, 150, 0.3));
    border-radius: 20px;
    top: 25%;
    left: 5%;
    transform: rotate(15deg);
    animation: float 5s ease-in-out infinite reverse;
}

.decor-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    bottom: 30%;
    right: 15%;
    animation: pulse 3s ease-in-out infinite;
}

.decor-4 {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(200, 230, 255, 0.4);
    border-radius: 30px;
    bottom: 20%;
    left: 10%;
    transform: rotate(-20deg);
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        transform: translateY(-20px) rotate(25deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-home .hero-content {
    text-align: left;
    padding-left: 5rem;
}

.hero-benefits {
    background-image: url('../images/benefits_banner.jpg');
    background-size: cover;
    background-position: top;
    background-position-y: 70px;
    background-repeat: no-repeat;
}

.hero-courses {
    background-image: url('../images/index_banner.jpg');
    background-size: cover;
    background-position: top;
    background-position-y: 70px;
    background-repeat: no-repeat;
}

.hero-contact {
    background-image: url('../images/contact_banner.jpg');
    background-size: cover;
    background-position: top;
    background-position-y: 70px;
    background-repeat: no-repeat;
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 -1px -1px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-content p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    background: linear-gradient(90deg, #124A94 0%, #5E96E0 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

/* Section */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Section Decorative Elements */
.section-decor {
    position: absolute;
    pointer-events: none;
}

.decor-section-1 {
    width: 60px;
    height: 60px;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    top: -20px;
    left: 10%;
    opacity: 0.3;
    transform: rotate(25deg);
}

.decor-section-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    top: -10px;
    right: 15%;
    opacity: 0.25;
}

/* Philosophy Section */
.philosophy {
    background: var(--white);
}

.philosophy-content {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.philosophy-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--dark-color);
}

/* Target Audience */
.target-audience {
    background: var(--light-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.audience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.card-decor-svg {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    pointer-events: none;
    z-index: 0;
}

.card-decor-svg svg {
    width: 100%;
    height: 100%;
}

.card-decor-svg circle:nth-child(1) {
    animation: float-up-down 3s ease-in-out infinite;
}
.card-decor-svg circle:nth-child(2) {
    animation: float-up-down 3.5s ease-in-out infinite 0.5s;
}
.card-decor-svg circle:nth-child(3) {
    animation: float-up-down 2.8s ease-in-out infinite 1s;
}
.card-decor-svg circle:nth-child(4) {
    animation: float-up-down 3.2s ease-in-out infinite 1.5s;
}

@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.audience-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #ffb990);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.audience-card h3,
.audience-card p {
    position: relative;
    z-index: 1;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.audience-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Benefits Page */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.benefit-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Courses Page */
.course-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.95);
}

.course-card.visible {
    opacity: 1;
    transform: scale(1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.course-header {
    background: linear-gradient(135deg, var(--primary-color), #ff8585);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.course-card.premium .course-header {
    background: linear-gradient(135deg, var(--secondary-color), #6ee7de);
}

.course-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.course-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.course-price span {
    font-size: 1rem;
    font-weight: 400;
}

.course-body {
    padding: 2rem;
}

.course-body ul {
    list-style: none;
    margin-bottom: 2rem;
}

.course-body li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.course-body li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
}

.course-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-card.premium .course-btn {
    background: var(--secondary-color);
}

.course-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: var(--gray);
}

/* Schedule Table */
.schedule-section {
    margin-top: 4rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #eee;
}

.schedule-table th {
    background: linear-gradient(135deg, #f56f6f, #fd5353);
    color: var(--white);
    font-weight: 600;
}

.schedule-table td.highlight {
    background: rgba(78, 205, 196, 0.1);
    font-weight: 600;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-container > * {
    display: flex;
    flex-direction: column;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ffb990);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.contact-form .audience-grid {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .audience-card {
    padding: 1.5rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.contact-form .audience-card .icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form .audience-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form .audience-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    margin-bottom: 2rem;
}

.footer-section {
    white-space: nowrap;
}
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-info {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-home .hero-content {
        padding-left: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-home {
        justify-content: center;
    }
    
    .hero-home .hero-content {
        text-align: center;
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .course-plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}
