/**
 * 顧問制度.com - トップページ専用CSS
 * 作成日: 2025年11月15日
 * 対象: /index.php
 * 依存: /css/variables.css（必須）
 */

/* ======================================
   ベーススタイル
   ====================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    padding-top: 0; /* sticky-topは余白不要 */
}

/* ======================================
   共通見出しスタイル
   ====================================== */
h2,
.section-title {
    text-align: center;
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    margin-bottom: 3rem;
    letter-spacing: 0.1rem;
}

/* style.cssのflexbox設定を無効化 */
.section-title {
    display: block !important;
    align-items: initial !important;
    gap: initial !important;
}

@media (max-width: 768px) {
    h2,
    .section-title {
        font-size: 1.8rem;
    }
}

/* ======================================
   メインコンテンツラッパー（スティッキーサイドバー用）
   ====================================== */
.main-content-wrapper {
    background: var(--bg-gray);
    padding: 80px 0; /* 上下に余白を追加 */
}

/* ======================================
   ヒーローセクション
   ====================================== */
.hero-section {
    background: linear-gradient(135deg, #20aee5 0%, #1a8fc7 100%);
    color: var(--text-white);
    padding: 49px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/assets/hero-bg.png);
    background-position: 98% center;
    background-size: 121%;
    background-repeat: no-repeat;
    opacity: 0.2;
    filter: blur(3px);
    z-index: 0;
    animation: heroBackgroundFadeIn 1.5s ease-out;
}

@keyframes heroBackgroundFadeIn {
    0% {
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        filter: blur(3px);
        opacity: 0.2;
    }
}

.hero-section > .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-form-wrapper {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
    font-size: var(--font-5xl);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.hero-logo {
    margin-bottom: 1.5rem;
    color: #ffffff; /* SVGロゴの色を白に */
}

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

.hero-section p {
    font-size: var(--font-xl);
    margin-bottom: 2rem;
}

/* ヒーローのタグバッジ（registep風グラスモーフィズム） */
.hero-tags {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ヒーローCTAボタン */
.hero-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn-hero {
    padding: 14px 32px;
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.btn-hero-primary:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: var(--accent-color);
    color: var(--text-white);
    border: 2px solid var(--accent-color);
}

.btn-hero-secondary:hover {
    background: #991B1B;
    border-color: #991B1B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-hero-outline:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ヒーロー簡単登録フォーム */
.hero-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-form-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.hero-form-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.hero-form-input:focus {
    outline: none;
    border-color: #20aee5;
    box-shadow: 0 0 0 3px rgba(32, 174, 229, 0.1);
}

.hero-form-submit {
    padding: 1rem;
    background: linear-gradient(135deg, #20aee5 0%, #1a8fc7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.hero-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(32, 174, 229, 0.3);
}

.hero-form-note {
    font-size: 0.7rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .hero-section::before {
        background-position: 27% 96%;
        background-size: 166%;
    }

    .hero-section > .container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-form-wrapper {
        flex: 1 1 auto;
        width: 100%;
        max-width: 500px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

/* ======================================
   POINTセクション
   ====================================== */
.points-section {
    padding: 0 0 80px 0; /* 背景色は削除、下部のみパディング */
}

.point-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--primary-color);
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.point-number {
    display: inline-block;
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: var(--text-white);
    font-size: var(--font-xs);
    font-weight: var(--font-bold);
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
}

.point-title {
    font-size: 1.35rem;
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.point-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .points-section {
        padding: 60px 0;
    }

    .point-card {
        padding: var(--spacing-lg);
        margin-bottom: 20px;
    }

    .point-title {
        font-size: 1.15rem;
    }

    .point-description {
        font-size: 0.9rem;
    }
}

/* ======================================
   料金プランセクション（registep風）
   ====================================== */
.pricing-section {
    padding: 80px 0;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 340px;
    transition: var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.recommended {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pricing-card .recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: var(--font-bold);
}

.pricing-plan-name {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: var(--font-lg);
    font-weight: var(--font-normal);
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--gray-700);
    font-size: var(--font-sm);
}

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

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 8px;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: var(--gray-400);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--gray-400);
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    font-weight: var(--font-semibold);
    transition: var(--transition-base);
}

.pricing-cta:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.pricing-card.recommended .pricing-cta {
    background: var(--primary-color);
    color: var(--text-white);
}

.pricing-card.recommended .pricing-cta:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================
   導入フローセクション
   ====================================== */
.flow-section {
    padding: 60px 0;
}

/* タブボタン */
.flow-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.flow-tab {
    padding: 12px 32px;
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.flow-tab.active {
    background: linear-gradient(135deg, #20aee5 0%, #1a8fc7 100%);
    color: white;
    border-color: transparent;
}

.flow-tab:hover:not(.active) {
    border-color: #20aee5;
    color: #20aee5;
}

/* タブコンテンツ */
.flow-tab-content {
    display: none;
}

.flow-tab-content.active {
    display: block;
}

.flow-steps {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    z-index: 2;
    position: relative;
}

.flow-step-content {
    flex: 1;
    padding-left: 2rem;
}

.flow-step-title {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.flow-step-description {
    color: var(--gray-600);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .flow-steps::before {
        left: 30px;
    }
}

/* ======================================
   お客様の声セクション
   ====================================== */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: var(--font-lg);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: var(--font-base);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--font-lg);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: var(--font-semibold);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.testimonial-company {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

/* ======================================
   特徴セクション
   ====================================== */
.features-section {
    padding: 80px 0; /* 背景色は削除、パディングのみ */
}

/* ======================================
   特徴カード
   ====================================== */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: var(--font-5xl);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ======================================
   FAQセクション（Registep風アコーディオン）
   ====================================== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/assets/faq-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.2;
    animation: faqBgFadeIn 2s ease-in-out forwards;
}

@keyframes faqBgFadeIn {
    0% {
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        filter: blur(3px);
        opacity: 0.2;
    }
}

.faq-section > .container {
    position: relative;
    z-index: 1;
}

.faq-section .section-title,
.faq-section .text-center {
    position: relative;
    z-index: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.faq-item[open] {
    border-color: var(--border-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    position: relative;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.question-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: var(--text-white);
    font-weight: var(--font-bold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    color: var(--text-color);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--gray-500);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px 68px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

.faq-answer p + p {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .question-mark {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .question-text {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 20px 20px 56px;
        font-size: 0.9rem;
    }
}

/* ======================================
   人気記事リスト
   ====================================== */
.article-list {
    padding: 80px 0; /* 背景色は削除、パディングのみ */
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 1rem;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
}

.article-card-header {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.article-card-body {
    padding: 0.25rem 1.5rem 0 1.5rem;
    flex-shrink: 0; /* 縮まない */
    flex-grow: 0;   /* 伸びない */
}

.article-card-title {
    font-size: 1rem;
    font-weight: var(--font-semibold);
    line-height: 1.5;
    margin: 0;
}

.article-card-footer {
    padding: 0.25rem 1.5rem 1rem 1.5rem; /* top: 0.5rem → 0.25rem */
    margin-top: auto; /* footerを常に下に配置 */
}

.article-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
}

.article-card-link:hover {
    text-decoration: underline;
}

.article-badge {
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: var(--font-medium);
}

/* ======================================
   CTAセクション
   ====================================== */
.cta-section {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 80px 0;
    text-align: center;
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
    font-weight: var(--font-bold);
    padding: 12px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
}

.btn-white:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

/* ======================================
   FAQセクション（registep.jp完全準拠）
   ====================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px dashed #e0e0e0;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.question-mark {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .question-text {
    color: var(--primary-color);
}

.faq-icon {
    margin-left: 16px;
    font-style: normal;
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    margin: 0;
    padding: 0;
    color: #707070;
    line-height: 1.5;
    font-size: 0.9rem;
}

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

/* ======================================
   最終CTAセクション（registep風グラデーション）
   ====================================== */
.final-cta-section {
    padding: 80px 0;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/assets/cta-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.2;
    filter: blur(3px);
    z-index: 0;
    animation: ctaBackgroundFadeIn 1.5s ease-out;
}

@keyframes ctaBackgroundFadeIn {
    0% {
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        filter: blur(3px);
        opacity: 0.2;
    }
}

.final-cta-section > .container {
    position: relative;
    z-index: 1;
}

.final-cta-card {
    max-width: 1030px;
    margin: 0 auto;
    background: var(--bg-white);
    color: var(--text-color);
    text-align: center;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.final-cta-card > * {
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.final-cta-description {
    font-size: var(--font-lg);
    margin-bottom: 2rem;
    color: #4b5563;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta-white {
    background: linear-gradient(135deg, #20aee5 0%, #1a8fc7 100%);
    color: var(--text-white);
    font-weight: var(--font-bold);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
    box-shadow: 0 4px 12px rgba(32, 174, 229, 0.3);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(32, 174, 229, 0.4);
    color: var(--text-white);
}

.btn-cta-outline {
    background: transparent;
    color: #20aee5;
    font-weight: var(--font-bold);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    border: 2px solid #20aee5;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.btn-cta-outline:hover {
    background: linear-gradient(135deg, #20aee5 0%, #1a8fc7 100%);
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .final-cta-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .final-cta-title {
        font-size: var(--font-3xl);
    }

    .final-cta-description {
        font-size: var(--font-base);
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-white,
    .btn-cta-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ======================================
   右下固定フローティングフォーム
   ====================================== */
.floating-form-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-sticky);
}

.floating-form-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 24px;
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.floating-form-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.floating-form-toggle i {
    font-size: var(--font-lg);
}

.floating-form-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.floating-form-container.active .floating-form-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.floating-form-header h3 {
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin: 0;
}

.floating-form-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: var(--font-lg);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: var(--transition-fast);
}

.floating-form-close:hover {
    color: var(--text-color);
}

.floating-form-content .form-label {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-color);
    margin-bottom: 6px;
}

.floating-form-content .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: var(--font-sm);
    transition: var(--transition-fast);
}

.floating-form-content .form-control:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.floating-form-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    width: 100%;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.floating-form-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.floating-form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
}

.floating-form-divider::before,
.floating-form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.floating-form-divider span {
    padding: 0 12px;
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.floating-form-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-size: var(--font-base);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* モバイル対応 */
@media (max-width: 768px) {
    .floating-form-container {
        bottom: 16px;
        right: 16px;
    }

    .floating-form-toggle {
        padding: 12px 20px;
        font-size: var(--font-sm);
    }

    .floating-form-toggle span {
        display: none; /* モバイルではアイコンのみ */
    }

    .floating-form-content {
        width: calc(100vw - 32px);
        right: -8px;
        max-width: 340px;
    }
}
