/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS変数定義 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6b6b;
    --dark-bg: #ffffff;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    --gradient-hero: linear-gradient(135deg, #001e3c 0%, #003366 50%, #004080 100%);
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding-top: 80px;
    font-size: 14px;
}

/* デスクトップ用フォントサイズ */
@media (min-width: 769px) {
    body {
        font-size: 16px;
    }
}

/* 基本のテキストスタイル */
p {
    font-size: 0.9rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

/* デスクトップでテキストサイズアップ */
@media (min-width: 769px) {
    p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* モバイル用の強制スタイル */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }
    
    .section-title {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }
    
    body h2,
    body .section-title,
    body h2.section-title {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo-fallback {
    font-family: 'Arial', sans-serif;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
}

.header-phone {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.header-hours {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    color: var(--text-light);
}

/* ヒーローセクション内の電話番号のリンクスタイル */
.hero a {
    color: var(--text-light) !important;
    text-decoration: none !important;
}

.hero a:visited {
    color: var(--text-light) !important;
}

.hero a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline !important;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2300d4ff;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%230099ff;stop-opacity:0.05" /></linearGradient></defs><circle cx="600" cy="400" r="300" fill="url(%23grad)" /></svg>') no-repeat center;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

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

/* 画像下部のテキスト */
.hero-bottom-text {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero-bottom-text {
        bottom: 0px;
        padding: 15px 20px;
        max-width: 100%;
        border-radius: 0;
    }
    
    .hero-bottom-text p:first-child {
        font-size: 1.2rem !important;
    }
    
    .hero-bottom-text p:last-child {
        font-size: 1.4rem !important;
    }
    
    .hero-bottom-text span {
        font-size: 0.9rem !important;
    }
}

/* CTAボタン */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-light);
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    margin: 10px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.cta-button.secondary {
    background: var(--gradient-secondary);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
}

/* セクション共通スタイル */
.section {
    padding: 70px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* セクションタイトル */
.section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    line-height: 1.4;
    padding: 0 15px;
    word-break: keep-all;
}

h2 {
    font-size: 24px !important;
}

@media (min-width: 769px) {
    .section-title {
        font-size: 2rem !important;
        line-height: 1.5;
        margin-bottom: 50px;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 問題提起セクション */
.problems {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.problem-list {
    list-style: none;
    margin-bottom: 30px;
}

.problem-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.problem-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

.problem-list li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.warning-box {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* 実績セクション */
.achievements {
    text-align: center;
    margin: 60px 0;
}

.achievement-number {
    font-size: 5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* 強みカード */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.strength-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.strength-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: rotate(45deg);
}

.strength-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.strength-card:hover::before {
    opacity: 0.05;
}

.strength-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.strength-card p {
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* 実際の返金事例 */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-study-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.case-number {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.case-content {
    text-align: center;
    margin-bottom: 15px;
}

.case-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.case-amount .label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.case-amount .amount {
    font-size: 1.8rem;
    font-weight: bold;
}

.case-amount .damage {
    color: var(--secondary-color);
}

.case-amount .refund {
    color: #4caf50;
}

.case-arrow {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 5px 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.case-rate {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
}

.case-rate.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.case-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* 調査フロー */
.flow-container {
    position: relative;
    margin: 50px 0;
}

.flow-step {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.flow-step:hover {
    transform: translateX(20px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.flow-step-number {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.flow-step-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.flow-step-content {
    flex: 1;
}

/* 料金テーブル */
.pricing-table {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

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

.pricing-row .price {
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-row .free {
    color: #4caf50;
    font-size: 1.5rem;
}

/* お客様の声 */
.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

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

.testimonial-info {
    margin-left: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.testimonial-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 10px 0;
}

/* FAQ */
.faq-item {
    background: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question {
    background: rgba(0, 102, 204, 0.05);
}

.faq-answer {
    padding: 0 30px 30px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* 会社概要 */
.company-info {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.company-info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.company-info-row:last-child {
    border-bottom: none;
}

.company-info-label {
    width: 150px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 最終CTA */
.final-cta {
    background: linear-gradient(135deg, #f5f9fc 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    border: 2px solid var(--primary-color);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.urgency-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.limited-slots {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 20px;
    display: inline-block;
    margin: 20px 0;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* アニメーション */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ - モバイル */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        font-size: 20px;
    }

    .header {
        padding: 10px 0;
    }

    .logo img {
        height: 30px;
    }

    .header-contact {
        display: none;
    }

    .section {
        padding: 30px 15px;
    }

    /* ヒーローセクション */
    .hero {
        min-height: 100vh;
        padding: 20px 15px;
    }

    .hero h1 {
        font-size: 1.4rem !important;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero .subtitle {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 0.9rem !important;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .feature-badge {
        width: 100%;
        max-width: 280px;
        text-align: center;
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    /* CTAボタン */
    .cta-button {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
        padding: 15px 25px;
        font-size: 0.95rem !important;
    }

    /* 問題提起セクション */
    .problems {
        padding: 30px 15px;
    }

    .problem-list li {
        font-size: 0.9rem !important;
        padding-left: 30px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .warning-box {
        font-size: 1rem !important;
        padding: 20px 15px;
    }

    /* 通常のテキスト */
    p {
        font-size: 0.9rem !important;
        line-height: 1.7;
    }

    /* 実績数字 */
    .achievement-number {
        font-size: 2.5rem !important;
    }

    .achievements p {
        font-size: 1rem !important;
    }

    /* 強みカード */
    .strengths-grid {
        gap: 20px;
    }

    .strength-card {
        padding: 25px 20px;
    }

    .strength-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .strength-card p {
        font-size: 0.85rem !important;
    }

    /* 返金事例 */
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-study-card {
        padding: 20px 15px;
    }

    .case-amount .amount {
        font-size: 1.2rem !important;
    }

    .case-amount .label {
        font-size: 0.8rem !important;
    }

    .case-rate {
        font-size: 0.95rem !important;
        padding: 6px 15px;
    }

    .case-description {
        font-size: 0.85rem !important;
    }

    /* 調査フロー */
    .flow-step-wrapper {
        display: block;
    }

    .flow-step {
        padding: 25px 15px;
        margin-left: 0;
        border-left: none;
    }

    .flow-step-number {
        position: static;
        transform: none;
        margin-bottom: 10px;
        display: inline-flex;
        width: 40px;
        height: 40px;
        font-size: 1.1rem !important;
    }

    .flow-step-content h3 {
        font-size: 1rem !important;
        margin-bottom: 10px;
    }

    .flow-step-content p {
        font-size: 0.85rem !important;
    }

    /* 料金テーブル */
    .pricing-table {
        padding: 25px 15px;
    }

    .pricing-row {
        font-size: 0.95rem !important;
        padding: 12px 0;
    }

    .pricing-row .price {
        font-size: 1.1rem !important;
    }

    /* お客様の声 */
    .testimonial-card {
        padding: 25px 15px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-avatar {
        margin-bottom: 15px;
    }

    .testimonial-info {
        margin-left: 0;
    }

    .testimonial-title {
        font-size: 1rem !important;
        line-height: 1.4;
        margin: 10px 0;
    }

    .testimonial-card p {
        font-size: 0.85rem !important;
    }

    /* FAQ */
    .faq-question {
        padding: 20px 15px;
        font-size: 0.95rem !important;
        padding-right: 45px;
    }

    .faq-answer {
        padding: 0 15px 20px;
        font-size: 0.85rem !important;
    }

    /* 会社概要 */
    .company-info {
        padding: 25px 15px;
    }

    .company-info-row {
        font-size: 0.9rem !important;
        flex-direction: row;
        gap: 0;
    }

    .company-info-label {
        font-size: 0.85rem !important;
        width: 100px;
    }

    /* 最終CTA */
    .final-cta {
        padding: 30px 15px;
        margin: 30px 0;
    }

    .final-cta h2 {
        font-size: 1.3rem !important;
        line-height: 1.4;
    }

    .urgency-text {
        font-size: 1rem !important;
    }

    .limited-slots {
        padding: 12px 15px;
        font-size: 0.9rem !important;
    }

    /* テキストの改行調整 */
    br.mobile-br {
        display: inline;
    }
}

/* さらに小さい画面用 */
@media (max-width: 480px) {
    body {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 1.2rem !important;
        line-height: 1.5;
    }

    .hero .subtitle {
        font-size: 0.95rem !important;
    }

    .section-title,
    h2,
    h2.section-title {
        font-size: 18px !important;
    }

    .achievement-number {
        font-size: 2rem !important;
    }

    .cta-button {
        font-size: 0.9rem !important;
        padding: 14px 20px;
    }

    p {
        font-size: 0.85rem !important;
    }

    .strength-card h3 {
        font-size: 1rem !important;
    }

    .case-amount .amount {
        font-size: 1.1rem !important;
    }
}

/* タブレット用の中間サイズ */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 70px 30px;
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 30px 0;
    margin-top: 50px;
    clear: both;
    width: 100%;
    position: static;
    order: 999;
    display: block;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

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

.footer-links span {
    color: var(--text-gray);
    display: inline-block;
}

.footer-copyright {
    text-align: center;
    width: 100%;
    display: block;
}

.footer-copyright p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 100%;
}

/* フッターのモバイル対応 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-links span {
        display: none;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* 固定フローティングCTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
    max-width: 600px;
    width: 90%;
}

.floating-cta-box {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    flex: 1;
    justify-content: center;
    min-height: 60px;
}

.floating-cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.line-cta {
    background: linear-gradient(135deg, #00B900 0%, #00A000 100%);
    color: white !important;
}

.line-cta:hover {
    background: linear-gradient(135deg, #00A000 0%, #009000 100%);
    color: white !important;
}

.phone-cta {
    background: var(--gradient-primary);
    color: white !important;
}

.phone-cta:hover {
    background: linear-gradient(135deg, #004499 0%, #003366 100%);
    color: white !important;
}

.floating-cta-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.floating-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: center;
}

.floating-cta-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.floating-cta-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 15px;
        gap: 10px;
        width: 95%;
        max-width: 400px;
    }
    
    .floating-cta-box {
        padding: 12px 15px;
        border-radius: 12px;
        min-height: 55px;
    }
    
    .floating-cta-icon {
        font-size: 1.5rem;
    }
    
    .floating-cta-title {
        font-size: 0.9rem;
    }
    
    .floating-cta-subtitle {
        font-size: 0.7rem;
    }
}

/* さらに小さい画面用 */
@media (max-width: 480px) {
    .floating-cta {
        flex-direction: column;
        gap: 8px;
        max-width: 200px;
    }
    
    .floating-cta-box {
        justify-content: center;
        width: 100%;
        min-height: 50px;
    }
    
    .floating-cta-icon {
        font-size: 1.4rem;
    }
    
    .floating-cta-title {
        font-size: 0.85rem;
    }
    
    .floating-cta-subtitle {
        font-size: 0.65rem;
    }
}