/* 基本スタイル */

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container-padding: 20px;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary.disabled {
    background-color: #e5e7eb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-text i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -2rem auto 3rem;
    color: var(--text-light);
    font-size: 1.2rem;
}


/* ヘッダー */

header {
    background-color: var(--background-white);
    box-shadow: none;
    border-bottom: 1px solid transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: padding 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ヒーローセクション */

.hero {
    padding: 9rem 0 6rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    margin-top: 0;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 0;
    text-align: left;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* 特徴セクション */

.features {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.feature-category {
    margin-bottom: 4rem;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.feature-category h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

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

.feature-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}


/* 活用事例セクション */

.examples {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.example-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.example-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.example-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 0.5rem;
}

.example-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
}


/* ご利用の流れ */

.how-it-works {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.4);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
}


/* お客様の声 */

.testimonials {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* CTA セクション */

.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

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


/* フッター */

footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
}

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


/* ページヘッダー */

.page-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}


/* 料金プラン */

.pricing {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.home-pricing {
    background-color: var(--background-light);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-toggle span {
    font-size: 1.1rem;
    font-weight: 500;
}

.discount {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 1rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: var(--background-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
}

.pricing-card.popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.2);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-header p {
    color: var(--text-light);
}

.yearly-price {
    display: none;
}

.pricing-card.yearly .monthly-price {
    display: none;
}

.pricing-card.yearly .yearly-price {
    display: block;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn-primary,
.pricing-cta .btn-secondary {
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 1.05rem;
}

.pricing-more {
    text-align: center;
    margin-top: 2rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}


/* 収益シミュレーション */

.pricing-simulation {
    padding: 4rem 0;
    background-color: var(--background-white);
}

.simulation-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.simulation-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.simulation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.simulation-item {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.simulation-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.simulation-item h4 i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 20px;
    /* アイコン幅固定 */
    text-align: center;
}

.simulation-item p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.simulation-item p span {
    font-weight: 600;
    color: var(--text-color);
    margin-left: 0.5rem;
}

.simulation-summary {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.simulation-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.simulation-summary h4 i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.simulation-summary p {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.simulation-summary p span {
    font-weight: 600;
}

.simulation-summary .profit {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.simulation-summary .summary-note {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1.5rem;
}

.simulation-summary .summary-note strong {
    color: var(--text-color);
}


/* FAQ */

.faq {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.faq-item {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
}


/* アニメーション */

.feature-card,
.step,
.example-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate,
.step.animate,
.example-card.animate {
    opacity: 1;
    transform: translateY(0);
}


/* スクロール時のヘッダー変更 */

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e5e7eb;
}

header.scrolled .container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}


/* レスポンシブデザイン */

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 0;
    }
    .cta-buttons {
        justify-content: center;
    }
    .hero-image {
        max-width: 450px;
        margin-bottom: 2rem;
    }
    .pricing-card.popular {
        transform: scale(1);
        box-shadow: var(--shadow);
    }
    .pricing-card.popular:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
     :root {
        --container-padding: 15px;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: var(--background-white);
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 999;
        padding-top: 1rem;
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
    nav ul li {
        margin: 1rem 0;
    }
    header .container {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        height: 64px;
    }
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .section-title::after {
        width: 60px;
        height: 3px;
        margin-top: 10px;
    }
    .section-description {
        font-size: 1rem;
        margin: -1rem auto 2rem;
    }
    .feature-category h3 {
        font-size: 1.5rem;
    }
    .features-grid,
    .examples-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul {
        padding-left: 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .pricing-toggle {
        flex-direction: column;
        gap: 1rem;
    }
    .switch {
        margin: 1rem 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .example-card img {
        height: 180px;
    }
}


/* FAQページ スタイル */

.faq-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    text-align: center;
    margin-top: 64px;
    /* ヘッダーの高さ分 */
}

.faq-hero h1 {
    font-size: 2.8rem;
    color: var(--text-color);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.faq-section .container {
    max-width: 800px;
}

.faq-item {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    /* 少し小さく */
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f3f4f6;
    /* ホバー時の背景色 */
}

.faq-question span {
    flex-grow: 1;
    margin-right: 1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    /* 初期パディング左右のみ */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--text-light);
    line-height: 1.7;
}


/* .open クラスが付与されたときのスタイル (JSでmax-heightが設定される) */

.faq-item.open .faq-answer {
    padding: 0 1.5rem 1.5rem;
    /* 開いたときに下のパディングを追加 */
}

.faq-answer p {
    margin-bottom: 1rem;
    /* 段落間のマージン */
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    font-weight: 600;
}


/* レスポンシブ調整 */

@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 0 2rem;
        margin-top: 64px;
    }
    .faq-hero h1 {
        font-size: 2rem;
    }
    .faq-section {
        padding: 3rem 0;
    }
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }
    .faq-answer {
        padding: 0 1.2rem;
    }
    .faq-item.open .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }
}

/* 収益シミュレーション */

.comparison {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: var(--background-white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-white);
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.comparison-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid #e5e7eb;
}

.feature-column {
    text-align: left !important;
    font-weight: 600;
    width: 25%;
    min-width: 150px;
}

.coachify-column {
    background-color: var(--primary-color) !important;
    color: white !important;
    position: relative;
    width: 20%;
}

.competitor-column {
    width: 18.33%;
}

.service-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.recommended-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-name {
    text-align: left !important;
    font-weight: 500;
    background-color: #f8fafc;
}

.coachify-cell {
    background-color: rgba(79, 70, 229, 0.05) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

.coachify-cell i.fa-check {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.competitor-cell {
    color: var(--text-light);
}

.competitor-cell i.fa-check {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.competitor-cell i.fa-times {
    color: #ef4444;
    font-size: 1.2rem;
}

.comparison-summary {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.summary-card {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    text-align: center;
}

.summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.summary-card h3 i {
    color: #fbbf24;
}

.summary-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.summary-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
}

.summary-card ul li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .comparison {
        padding: 3rem 0;
    }
    
    .comparison-table-wrapper {
        margin: 0 -15px 2rem;
        border-radius: 0;
    }
    
    .comparison-table {
        font-size: 0.9rem;
        min-width: 700px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-column {
        min-width: 120px;
        font-size: 0.85rem;
    }
    
    .coachify-column,
    .competitor-column {
        font-size: 0.85rem;
    }
    
    .service-header {
        gap: 0.25rem;
    }
    
    .recommended-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .summary-card {
        margin: 0 -15px;
        border-radius: 0;
        padding: 2rem 1.5rem;
    }
    
    .summary-card h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .summary-card ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .comparison-table {
        min-width: 600px;
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .feature-column {
        min-width: 100px;
        font-size: 0.8rem;
    }
    
    .recommended-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
    
    .summary-card h3 {
        font-size: 1.2rem;
    }
}