﻿:root {
    --primary: #0f766e;
    --primary-light: #0d9488;
    --accent: #10b981;
    --accent-light: #34d399;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.8;
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

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

/* Common Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sub-title {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    display: block;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    padding: 24px;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.mobile-nav a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-cta {
    background-color: var(--primary);
    color: white !important;
    text-align: center;
    border-radius: 6px;
    margin-top: 12px;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 10% 20%, rgba(240, 253, 250, 0.5) 0%, rgba(255, 255, 255, 0.5) 90%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1s 1fr;
    gap: 48px;
    align-items: center;
}

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

.hero-tag {
    display: inline-block;
    background-color: #ccfbf1;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-sub {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-actions {
    margin-bottom: 40px;
}

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

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.trust-strip {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.trust-label {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

/* Features */
.features {
    background-color: var(--bg-card);
}

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

.feature-card {
    padding: 32px;
    border-radius: 8px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-color: #ccfbf1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(15, 118, 110, 0.1);
    position: absolute;
    top: 16px;
    right: 24px;
}

.step-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services */
.services {
    background-color: var(--bg-card);
}

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

.service-card {
    background-color: var(--bg-main);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 15px;
    color: var(--text-dark);
}

.user-info .user-location {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* About */
.about {
    background-color: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1s 1fr;
    gap: 56px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* FAQ */
.faq {
    background-color: var(--bg-main);
}

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

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Lead Form Section */
.contact-section {
    background-color: var(--bg-card);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1s;
    gap: 56px;
    background: radial-gradient(circle at top left, #f0fdfa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 56px;
    box-shadow: var(--shadow-lg);
}

.contact-info-block h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-sub-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

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

.point-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.point-icon {
    color: var(--primary-light);
    font-weight: bold;
}

.contact-form-block {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 12px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background-color: var(--bg-main);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.phone-input-wrapper {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bg-main);
}

.phone-prefix {
    padding: 12px 16px;
    background-color: #e2e8f0;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    user-select: none;
}

.phone-input-wrapper input {
    border: none !important;
    background-color: transparent !important;
    flex-grow: 1;
}

.form-help {
    font-size: 11px;
    color: var(--text-muted);
}

.consent-checkbox {
    flex-direction: row;
    align-items: flex-start;
}

.consent-checkbox input {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    gap: 10px;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-light);
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: none;
}

.form-message.success {
    color: var(--primary);
}

.form-message.error {
    color: #ef4444;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 56px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

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

.footer-contact {
    font-size: 13px;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.disclaimer-text {
    font-size: 11px;
    color: #64748b;
    margin-top: 16px;
}

.operator-name {
    font-weight: bold;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 24px;
    font-size: 12px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-dark);
    color: white;
    padding: 24px;
    box-shadow: 0 -10px 15px -3px rgba(0,0,0,0.3);
    z-index: 1001;
    display: none;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-container p {
    font-size: 13px;
    line-height: 1.6;
}

.cookie-container a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-accept-btn {
    background-color: var(--primary-light);
    color: white;
}

.cookie-decline-btn {
    background-color: #334155;
    color: #94a3b8;
}

.cookie-accept-btn:hover {
    background-color: var(--primary);
}

.cookie-decline-btn:hover {
    background-color: #475569;
}

/* Back To Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Legal Page Layout overrides */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--bg-card);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-container h1 {
    font-size: 28px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
}

.legal-container h2 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 16px;
}

.legal-container p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-container ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.legal-container li {
    margin-bottom: 8px;
}

.imprint-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.imprint-table th,
.imprint-table td {
    padding: 16px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    text-align: left;
}

.imprint-table th {
    background-color: var(--bg-main);
    font-weight: 700;
    width: 250px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-container {
        padding: 16px 24px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-title {
        font-size: 32px;
    }
    .trust-strip {
        justify-content: center;
    }
    .hero-badge {
        right: 10px;
        bottom: 10px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .steps-container {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
}
