/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background-color: #FFFFFF;
    padding: 16px 0;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-svg {
    flex-shrink: 0;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #4338CA;
    text-decoration: none;
}

.brand-name a {
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4338CA 0%, #EC93A7 100%);
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: white;
    color: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

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

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

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

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

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 60px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
}

.about-item {
    background: white;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.15);
}

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

.about-item h3 {
    font-size: 26px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 20px;
}

.about-item p {
    font-size: 18px;
    color: #4A5568;
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 48px 40px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.15);
}

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

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 18px;
    color: #4A5568;
    line-height: 1.7;
}

/* Products Section */
.products {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

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

.product-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border-color: #4338CA;
    box-shadow: 0 8px 25px -5px rgba(67, 56, 202, 0.15);
    transform: scale(1.05);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.product-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #EC93A7;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(236, 147, 167, 0.4);
}

.product-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 16px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: #4338CA;
    margin-bottom: 32px;
}

.price span {
    font-size: 18px;
    font-weight: 400;
    color: #6B7280;
}

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

.product-features li {
    padding: 10px 0;
    font-size: 18px;
    color: #4A5568;
    position: relative;
    padding-left: 32px;
    line-height: 1.6;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: #10B981;
    font-weight: 700;
    font-size: 20px;
}

.product-button {
    background-color: #4338CA;
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

.product-button:hover {
    background-color: #3730A3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.4);
}

/* Features Section */
.features {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.features-grid {
    display: grid;
    gap: 80px;
}

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

.feature-item:nth-child(even) .feature-content {
    order: 2;
}

.feature-item:nth-child(even) .feature-image {
    order: 1;
}

.feature-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 20px;
    color: #4A5568;
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

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

.benefit-item {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border-left: 6px solid #EC93A7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-number {
    font-size: 42px;
    font-weight: 700;
    color: #EC93A7;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 16px;
}

.benefit-item p {
    font-size: 18px;
    color: #4A5568;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

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

.testimonial-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-size: 18px;
    color: #4A5568;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    color: #2D3748;
    font-size: 16px;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 28px 36px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #F8FAFC;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: #4338CA;
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 36px 28px 36px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    font-size: 18px;
    color: #4A5568;
    line-height: 1.7;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #4338CA 0%, #EC93A7 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 16px;
    opacity: 0.9;
}

.phone-number {
    font-size: 20px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.contact-note {
    font-size: 14px !important;
    opacity: 0.7 !important;
}

.contact-form-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-button:hover {
    background-color: white;
    color: #4338CA;
}

/* Footer */
.footer {
    background-color: #2D3748;
    color: white;
    padding: 60px 0 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #EC93A7;
}

.footer-brand p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #EC93A7;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #CBD5E0;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 16px;
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #6B7280;
    transition: color 0.2s ease;
}

.close:hover {
    color: #2D3748;
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 24px;
}

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

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

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4338CA;
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.form-submit {
    background-color: #4338CA;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.form-submit:hover {
    background-color: #3730A3;
}

/* Utility classes */
.icon {
    flex-shrink: 0;
}

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

    section {
        padding: 60px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-img {
        height: 300px;
    }

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

    .section-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 40px;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-item:nth-child(even) .feature-content,
    .feature-item:nth-child(even) .feature-image {
        order: unset;
    }

    .feature-img {
        height: 200px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 32px;
    }

    .faq-question {
        padding: 24px 28px;
    }

    .faq-answer {
        padding: 0 28px 24px 28px;
    }

    body {
        font-size: 17px;
    }

    .about-item,
    .service-card,
    .product-card,
    .benefit-item,
    .testimonial-card {
        padding: 32px 24px;
    }

    .about-item h3,
    .service-card h3 {
        font-size: 22px;
    }

    .about-item p,
    .service-card p,
    .benefit-item p,
    .testimonial-text {
        font-size: 16px;
    }

    .product-header h3 {
        font-size: 24px;
    }

    .price {
        font-size: 30px;
    }

    .product-features li {
        font-size: 16px;
    }
}