/* ================================================
   Reset & Base Styles (既存サイトと同じスタイル)
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0f;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================================
   Typography (既存サイトと同じ)
   ================================================ */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: #b0b0b0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* ================================================
   Header (既存サイトと同じ)
   ================================================ */
.header {
    padding: 40px 0;
    background-color: transparent;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

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

.nav a {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.nav a:hover {
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

/* ================================================
   Buttons (既存サイトと同じ)
   ================================================ */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: #6b7280;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #4b5563;
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: #ffffff;
    opacity: 1;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: #9ca3af;
    border: 1px solid #6b7280;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: #6b7280;
    color: #ffffff;
    opacity: 1;
}

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

/* ================================================
   Hero Section (既存サイトと同じ)
   ================================================ */
.hero {
    padding: 100px 0 120px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.1;
    color: #ffffff;
}

.hero-description {
    font-size: 1.0625rem;
    color: #9ca3af;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================
   Free Tool Section
   ================================================ */
.free-tool {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.free-tool-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.free-tool-content h2 {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.free-tool-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: #ffffff;
}

.free-tool-content p {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 32px;
}

/* ================================================
   Services Section (白背景カードデザイン)
   ================================================ */
.services {
    padding: 120px 0;
    background-color: #ffffff;
}

.services .section-title {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.services .section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 64px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    padding: 40px 32px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
    transition: all 0.2s ease;
}

.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
}

.service-item h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

.service-item p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ================================================
   Plans Section (既存サイトと同じ)
   ================================================ */
.plans {
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
}

.plan-card.featured {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #3b82f6;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: #ffffff;
}

.plan-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.price-main span {
    font-size: 1.25rem;
    font-weight: 400;
    color: #6b7280;
}

.price-sub {
    font-size: 0.875rem;
    color: #6b7280;
}

.plan-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 24px;
}

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

.plan-features li {
    padding: 12px 0;
    font-size: 0.9375rem;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.plan-includes {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.plan-note-small {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 24px;
}

/* ================================================
   CTA Section (既存サイトと同じ)
   ================================================ */
.cta {
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 600;
    color: #ffffff;
}

.cta p {
    font-size: 1.0625rem;
    color: #9ca3af;
    margin-bottom: 40px;
}

/* ================================================
   Form Section
   ================================================ */
.form-section {
    padding: 120px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 64px;
}

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.form-header p {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.7;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

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

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

.form-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.required {
    color: #ef4444;
    font-size: 0.875rem;
    margin-left: 4px;
}

.optional {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: 4px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.form-actions {
    margin-top: 16px;
    text-align: center;
}

.success-message {
    text-align: center;
    padding: 48px;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #10b981;
    font-weight: 600;
}

.success-message p {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-info p {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

.contact-info .note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ================================================
   Service Selection (Right Sidebar)
   ================================================ */
.service-selection {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: fit-content;
}

.service-selection h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.service-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 24px;
}

.service-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkbox-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    opacity: 0.8;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.checkbox-item span {
    font-size: 0.9375rem;
    color: #e0e0e0;
}

/* ================================================
   Footer (既存サイトと同じ)
   ================================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-logo p {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: #6b7280;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #6b7280;
}

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

    .form-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-selection {
        order: -1;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .services,
    .plans,
    .cta {
        padding: 80px 0;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .plan-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

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

    .form-container {
        padding: 32px 24px;
    }

    .form-header h1 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

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

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background-color: #ffffff;
    }

    .mobile-menu.active {
        display: block;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #0a0a0f;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 24px;
        z-index: 999;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-nav a {
        padding: 12px;
        color: #b0b0b0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .plan-card {
        padding: 32px 24px;
    }

    .price-main {
        font-size: 2rem;
    }
}
