/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   共通コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* レスポンシブ用の表示切替 */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    .pc-only {
        display: none;
    }
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.85rem;
    color: #fbbf24;
    margin-top: 2px;
    font-weight: 500;
}

/* ========================================
   ファーストビュー
======================================== */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 80px 20px 120px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title-sub {
    font-size: 1.8rem;
    color: #fbbf24;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 500;
}

/* CTAボタン */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 22px 50px;
    font-size: 1.2rem;
    min-width: 320px;
}

.btn-line {
    background: linear-gradient(135deg, #06c755 0%, #00b300 100%);
    color: #ffffff;
}

.btn-line:hover {
    background: linear-gradient(135deg, #05b04d 0%, #009900 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-diagnosis {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #ffffff;
}

.btn-diagnosis:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn i {
    font-size: 1.5rem;
}

.hero-note {
    font-size: 1rem;
    color: #fbbf24;
    font-weight: 500;
}

.hero-note i {
    margin-right: 5px;
}

/* Wave効果 */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ========================================
   セクション共通スタイル
======================================== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: #1e3a8a;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    border-radius: 2px;
}

.section-title-white {
    color: #ffffff;
}

.section-title-white::after {
    background: linear-gradient(90deg, #fbbf24, #ffffff);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.section-description-white {
    color: #e0e0e0;
}

.title-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* ========================================
   悩み共感セクション
======================================== */
.pain-section {
    background-color: #f8fafc;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pain-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #f97316;
}

.pain-icon {
    font-size: 3rem;
    color: #f97316;
    margin-bottom: 15px;
}

.pain-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.pain-text strong {
    color: #1e3a8a;
    font-weight: 700;
}

.pain-message {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    margin-top: 40px;
}

.pain-message-text {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.8;
}

.pain-message-text i {
    color: #fbbf24;
    margin-right: 8px;
}

.pain-message-text strong {
    color: #fbbf24;
}

/* ========================================
   解決策セクション
======================================== */
.solution-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

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

.feature-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.feature-icon {
    font-size: 4rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.feature-text strong {
    color: #f97316;
    font-weight: 700;
}

/* ========================================
   無料診断セクション
======================================== */
.diagnosis-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.diagnosis-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.diagnosis-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.diagnosis-header {
    margin-bottom: 20px;
}

.diagnosis-pulse {
    font-size: 4rem;
    color: #dc2626;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

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

.highlight-danger {
    color: #dc2626;
    font-size: 2.5rem;
    font-weight: 900;
}

.diagnosis-description {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.highlight-time {
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: 900;
}

.diagnosis-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.diagnosis-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
}

.diagnosis-benefit i {
    color: #22c55e;
    font-size: 1.3rem;
}

.diagnosis-cta {
    margin-top: 40px;
}

.btn-pulse {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(249, 115, 22, 0.6);
    }
}

.diagnosis-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.diagnosis-note i {
    color: #22c55e;
    margin-right: 5px;
}

/* ========================================
   実績・事例セクション
======================================== */
.case-section {
    background-color: #ffffff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.case-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
}

.case-avatar-it {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.case-company {
    font-size: 0.9rem;
    color: #666;
}

.case-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
}

.case-rating {
    margin-bottom: 20px;
}

.case-rating i {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-right: 3px;
}

.case-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-text strong {
    color: #1e3a8a;
    font-weight: 700;
}

.highlight-number {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 900;
}

.case-tag {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.case-tag i {
    margin-right: 5px;
}

/* ========================================
   料金セクション
======================================== */
.price-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

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

.price-main {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.2);
}

.price-amount {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.price-number {
    font-size: 3rem;
    color: #fbbf24;
    font-weight: 900;
    margin: 0 10px;
}

.price-text {
    font-size: 1.2rem;
    color: #fbbf24;
    font-weight: 700;
    margin-top: 10px;
}

.price-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

.price-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
}

.price-feature i {
    color: #22c55e;
    font-size: 1.3rem;
}

/* ========================================
   フッターCTAセクション
======================================== */
.footer-cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    text-align: center;
}

.footer-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-cta-note {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 2;
}

.footer-cta-note i {
    color: #fbbf24;
    margin-right: 8px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #0f172a;
    color: #e0e0e0;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #fbbf24;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ========================================
   固定CTAボタン（スマホ用）
======================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 0;
    z-index: 999;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
}

.fixed-cta-btn {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
}

.fixed-cta-line {
    background: linear-gradient(135deg, #06c755 0%, #00b300 100%);
}

.fixed-cta-line:hover {
    background: linear-gradient(135deg, #05b04d 0%, #009900 100%);
}

.fixed-cta-diagnosis {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.fixed-cta-diagnosis:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.fixed-cta-btn i {
    font-size: 1.5rem;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 60px 15px;
    }

    .hero {
        padding: 60px 15px 100px;
    }

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

    .hero-title-sub {
        font-size: 1.5rem;
    }

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

    .btn-large {
        min-width: 280px;
        padding: 20px 30px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .highlight-danger {
        font-size: 2rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .diagnosis-benefits {
        flex-direction: column;
        gap: 15px;
    }

    .price-features {
        flex-direction: column;
        gap: 15px;
    }

    .footer-cta-buttons {
        gap: 15px;
    }

    /* スマホでは固定CTAボタンを表示 */
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    /* PC版では固定CTAボタンを非表示 */
    .fixed-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        gap: 15px;
    }

    .btn-large {
        min-width: 260px;
        padding: 18px 25px;
        font-size: 1rem;
    }

    .btn i {
        font-size: 1.3rem;
    }
}
