@charset "UTF-8";

/* ==========================================================================
   Variables & Reset (Modern White/Tech)
   ========================================================================== */
:root {
    --color-bg-main: #FFFFFF;
    --color-bg-sub: #F5F7FA;
    --color-text-main: #333333;
    --color-text-sub: #777777;

    --color-primary: #3AA1D0;
    --color-primary-dark: #2C3E50;
    --color-accent: #F5A623;

    --gradient-primary: linear-gradient(135deg, #3AA1D0 0%, #205E98 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 30px rgba(58, 161, 208, 0.15);

    --font-base: 'Noto Sans JP', sans-serif;
    --radius-card: 24px;
    --radius-btn: 50px;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.en-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #B0C4DE;
    /* Light Blue Grey */
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delays */
.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(58, 161, 208, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 161, 208, 0.4);
}

.btn-white {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn-lg {
    min-width: 240px;
}

.btn-xl {
    font-size: 1.2rem;
    min-width: 300px;
    padding: 1.2rem 3rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background-color: var(--color-bg-sub);
    overflow: hidden;
}

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

.hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlide 18s infinite;
}

.hero-slideshow img:nth-child(1) {
    animation-delay: 0s;
}

.hero-slideshow img:nth-child(2) {
    animation-delay: 6s;
}

.hero-slideshow img:nth-child(3) {
    animation-delay: 12s;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    3% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    36% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
    }
}

/* Overlay to ensure text readability */
.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* Light overlay - reduced opacity */
    z-index: 2;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    /* Above slideshow */
}

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

.open-badge {
    display: inline-block;
    background: #E8F4FA;
    color: var(--color-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   Problems Section (ZigZag)
   ========================================================================== */
.problems-section {
    padding: 100px 0;
    background-color: var(--color-bg-main);
}

.problems-zigzag {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* ZigZag alternating */
.problem-item:nth-child(even) {
    flex-direction: row-reverse;
}

.problem-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.problem-img-modern {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.problem-content {
    flex: 1;
}

.problem-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #E0E0E0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.problem-content h3 {
    font-size: 1.6rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.problem-content p {
    color: var(--color-text-sub);
}


/* ==========================================================================
   Services Section (Card Grid)
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-bg-sub);
}

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

.service-card-modern {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-image-area {
    width: 100%;
    height: 220px;
    background-color: #eee;
    overflow: hidden;
}

.card-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .card-image-area img {
    transform: scale(1.05);
}

.card-content-area {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 1rem;
}

.card-num {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.card-content-area h3 {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.card-content-area p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    margin-bottom: 2rem;
    flex: 1;
}

.card-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #CCC;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    background-color: var(--color-bg-main);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card-modern {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.pricing-card-modern.premium {
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.pricing-card-modern.premium::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--color-accent);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.plan-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.pricing-card-modern.premium .plan-name {
    color: var(--color-accent);
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.price-display .amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.price-display .currency,
.price-display .unit {
    font-size: 1rem;
    color: var(--color-text-sub);
    font-weight: 700;
}

.price-tax {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.pricing-features-modern {
    display: inline-block;
    text-align: left;
    margin-bottom: 3rem;
}

.pricing-features-modern li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--color-text-main);
    border-bottom: 1px dashed #eee;
}

.pricing-features-modern li span {
    color: var(--color-primary);
    margin-right: 10px;
    font-weight: bold;
}

.pricing-cta .note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #999;
}

/* ==========================================================================
   Instructor Section
   ========================================================================== */
.instructor-section {
    padding: 100px 0;
    background-color: var(--color-bg-sub);
}

.instructor-card-modern {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
}

.instructor-image img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.instructor-info .text-left {
    text-align: left;
    margin: 0;
}

.instructor-info h3 {
    font-size: 2rem;
    margin: 0.5rem 0;
    color: var(--color-primary-dark);
}

.instructor-info .role {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.faq-list-modern {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--color-bg-sub);
    border-radius: 12px;
    padding: 2rem;
    transition: background 0.3s;
}

.faq-item:hover {
    background: #F0F4F8;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--color-primary-dark);
}

.faq-question::before {
    content: 'Q.';
    color: var(--color-primary);
    width: 30px;
    font-weight: 900;
}

.faq-answer {
    padding-left: 30px;
    color: var(--color-text-sub);
    line-height: 1.7;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    padding: 80px 0 40px;
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-section .copyright {
    margin-top: 4rem;
    opacity: 0.7;
    font-size: 0.8rem;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .problem-item,
    .problem-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .instructor-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .instructor-image img {
        width: 180px;
        height: 180px;
    }

    .pricing-card-modern {
        padding: 3rem 1.5rem;
    }
}