:root {
    /* Colors - Refined for professional business SaaS */
    --primary-green: #2E7D32;
    /* Secure, natural green */
    --primary-green-dark: #1B5E20;
    --primary-green-light: #4CAF50;
    --secondary-blue: #0277BD;
    --secondary-yellow: #F9A825;
    --secondary-orange: #EF6C00;
    --secondary-purple: #7B1FA2;
    --secondary-red: #C62828;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-gradient: linear-gradient(135deg, #2E7D32 0%, #0277BD 100%);

    --text-primary: #3C3C3C;
    --text-secondary: #777777;
    --text-white: #FFFFFF;

    /* Carada-style: より控えめな角丸 */
    --border-radius: 12px;
    --border-radius-large: 16px;
    --border-radius-small: 6px;

    /* Carada-style: より控えめな影 */
    --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 4px 16px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-small);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-green);
    color: #FFFFFF !important;
    /* Ensure maximum contrast */
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(88, 204, 2, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(88, 204, 2, 0.2);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--text-white);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-white {
    background: var(--bg-primary);
    color: var(--primary-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #E8F8E5 0%, #D4F1F4 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.mascot-container {
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.mascot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Guaranteed full coverage */
    object-position: center bottom;
    /* Better focus on the bird for background */
    filter: brightness(1.1) contrast(0.9);
}

/* Floating elements removed */

/* Animation removed */

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 64px;
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--bg-primary);
    border: 1px solid #E5E5E5;
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-small);
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--primary-green);
    display: flex;
    justify-content: flex-start;
}

.feature-icon svg {
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 800;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-secondary);
}

.architecture-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.arch-layer {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: var(--shadow-small);
    position: relative;
    transition: var(--transition);
    border: 1px solid #E5E5E5;
}

.arch-layer:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.arch-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.arch-icon {
    margin-bottom: 24px;
    color: var(--primary-green);
    display: flex;
    justify-content: center;
}

.arch-icon svg {
    stroke-width: 1.5;
}

.arch-layer h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.arch-layer p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.arch-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.badge {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    font-weight: 600;
}

.arch-arrow {
    font-size: 32px;
    color: var(--primary-green);
    font-weight: 800;
}

/* Pricing Section */
.pricing {
    background: var(--bg-primary);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    padding: 56px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.pricing-badge {
    background: var(--primary-green);
    color: var(--text-white);
    padding: 8px 24px;
    border-radius: var(--border-radius);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 16px;
}

.price-amount {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-green);
}

.price-period {
    font-size: 24px;
    color: var(--text-secondary);
}

.pricing-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.pricing-features li {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--bg-secondary);
}

.pricing-note {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    text-align: left;
}

.pricing-note p {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-note strong {
    color: var(--text-primary);
}

/* Coverage Area Section */
.coverage {
    background: var(--bg-secondary);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}

.coverage-map {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 56px;
    text-align: center;
    box-shadow: var(--shadow-small);
    border: 1px solid #E5E5E5;
}

.map-icon {
    margin-bottom: 32px;
    color: var(--primary-green);
    display: flex;
    justify-content: center;
}

.coverage-map h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.coverage-map p {
    color: var(--text-secondary);
    font-size: 16px;
}

.coverage-details {
    display: grid;
    gap: 24px;
}

.coverage-item {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-small);
    transition: var(--transition);
}

.coverage-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.coverage-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.coverage-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.coverage-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--bg-primary);
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-green);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle {
    font-size: 32px;
    font-weight: 300;
    color: var(--primary-green);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-info a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-small);
}

.method-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-method h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.method-note {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-small);
    border: 1px solid #E5E5E5;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.required {
    color: var(--secondary-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius-small);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.contact-form button {
    width: 100%;
    position: relative;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--border-radius-small);
    margin-bottom: 24px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-container {
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: var(--bg-secondary);
}

/* Modal Content Styles */
.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-summary {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.summary-item {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.summary-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.summary-value {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-all;
}

.modal-footer {
    display: flex;
    gap: 16px;
}

.modal-footer .btn {
    flex: 1;
}

/* Success Content Styles */
.success-content {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px -5px rgba(46, 125, 50, 0.4);
    font-size: 40px;
}

.success-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }
}

.form-message.success {
    background: #E8F8E5;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.form-message.error {
    background: #FFE8E8;
    color: var(--secondary-red);
    border: 2px solid var(--secondary-red);
    white-space: pre-line;
}

/* CTA Section */
.cta-section {
    background: var(--bg-gradient);
    color: var(--text-white);
    text-align: center;
    padding: 120px 0;
    transition: background 10s ease-in-out;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .section-title {
        font-size: 32px;
    }

    .architecture-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .coverage-content {
        grid-template-columns: 1fr;
    }

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

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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