/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fefefe;
}

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

/* Header */
.header {
    background: #fefefe;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: block;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.contact-btn {
    background: #1e3a8a;
    color: #fefefe;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.contact-btn:hover {
    background: #1e40af;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 16px;
}

.btn-primary {
    background: #1e3a8a;
    color: #fefefe;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: #fefefe;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-section .container {
    text-align: center;
}

.centered-section .hero-content,
.centered-section .method-content,
.centered-section .corporate-content,
.centered-section .resource-item {
    text-align: left;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #4b5563;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.method-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-img svg {
    width: 100%;
    height: 100%;
    display: block;
}

.resource-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.corporate-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.author-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* Features Section */
.features {
    background: #fefefe;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Learning Method Section */
.learning-method {
    background: #f8fafc;
}

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

.method-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background: #dc2626;
    color: #fefefe;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e3a8a;
}

.step p {
    color: #4b5563;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    background: #fefefe;
}

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

.course-card {
    background: #fefefe;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-image .placeholder-image {
    height: 200px;
    border-radius: 0;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.course-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-price {
    font-size: 24px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 20px;
    text-align: center;
}

.course-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.course-features span {
    background: #e5e7eb;
    color: #374151;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Resources Section */
.resources {
    background: #f8fafc;
}

.resources-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.resource-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.resource-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.resource-text p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 16px;
}

.resource-image .placeholder-image {
    height: 250px;
}

/* Corporate Section */
.corporate {
    background: #fefefe;
}

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

.corporate-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.corporate-text p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.corporate-features {
    list-style: none;
    margin-bottom: 32px;
}

.corporate-features li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.corporate-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
}

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

.testimonial-card {
    background: #fefefe;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1e3a8a;
}

.author-role {
    font-size: 14px;
    color: #6b7280;
}

/* Pricing Section */
.pricing {
    background: #fefefe;
}

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

.pricing-card {
    background: #fefefe;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #1e3a8a;
}

.pricing-card.featured {
    border-color: #dc2626;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "おすすめ";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: #fefefe;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 20px;
    color: #6b7280;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: #1e3a8a;
}

.period {
    font-size: 16px;
    color: #6b7280;
}

.price .text {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0 12px 24px;
    position: relative;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

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

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    padding: 8px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.contact-value {
    color: #4b5563;
    line-height: 1.6;
}

.contact-form-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e3a8a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: #fefefe;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-left {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .brand-name {
    color: #fefefe;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 60px;
    flex: 2;
}

.footer-section h4 {
    color: #fefefe;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fefefe;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3730a3;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        padding: 16px 0;
    }

    .brand-name {
        font-size: 20px;
    }

    .contact-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .method-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .method-text {
        order: 2;
    }

    .method-image {
        order: 1;
    }

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

    .resource-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .corporate-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .corporate-text {
        order: 2;
    }

    .corporate-image {
        order: 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    
    .footer-left {
        max-width: none;
    }

    .footer-right {
        flex-direction: column;
        gap: 30px;
    }
}