/* ========== リセットとベーススタイル ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* ========== ヒーローセクション（画像背景） ========== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 半透明のブルーオーバーレイ */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 1;
}

/* グリッドパターンのオーバーレイ */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    color: #fbbf24;
    padding: 0;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    border-left: 4px solid #fbbf24;
    padding-left: 15px;
}

.catch-copy {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #fbbf24;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.sp-only {
    display: none;
}

/* ========== 問題点セクション ========== */
.problem {
    padding: 80px 0;
    background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 100%);
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #1e40af;
}

.problem-intro {
    text-align: left;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 50px;
    color: #4b5563;
}

.problem-box {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.problem-box-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #1e40af;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2563eb;
}

.problem-list {
    list-style: none;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.problem-item .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.problem-text h4 {
    font-size: 20px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 8px;
}

.problem-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
}

/* ========== 解決策セクション ========== */
.solution {
    padding: 80px 0;
    background: white;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.sub-catch {
    font-size: 28px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 30px;
}

.solution-text {
    font-size: 18px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 40px;
}

/* ========== 図解スタイル ========== */
.solution-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.diagram-card {
    background: white;
    border: 3px solid #e0f2fe;
    border-radius: 15px;
    padding: 30px 25px;
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
    transition: transform 0.3s ease;
}

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

.diagram-card.highlight {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.diagram-card.highlight-success {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.diagram-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f2fe;
}

.diagram-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.formula-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.formula-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.formula-value {
    font-size: 24px;
    font-weight: bold;
    color: #1e40af;
}

.formula-value.decrease {
    color: #ef4444;
}

.formula-value.increase {
    color: #10b981;
}

.formula-operator {
    font-size: 24px;
    font-weight: bold;
    color: #64748b;
    margin: 0 5px;
}

.formula-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    padding: 10px 20px;
    border-radius: 10px;
}

.formula-result.success {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
}

.result-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.result-value {
    font-size: 28px;
    font-weight: bold;
    color: #1e40af;
}

.result-value.same {
    color: #2563eb;
}

.diagram-note {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #2563eb;
    text-align: center;
}

.diagram-note.success {
    color: #10b981;
}

.diagram-arrow {
    font-size: 36px;
    color: #2563eb;
    font-weight: bold;
}

.solution-image {
    text-align: center;
    margin-top: 40px;
}

.solution-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
}

/* ========== 3つの秘訣セクション ========== */
.secrets {
    padding: 80px 0;
    background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 100%);
}

.secrets-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 50px auto 0;
}

.secret-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #2563eb;
}

.secret-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.secret-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.secret-card h4 {
    font-size: 22px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 15px;
}

.secret-card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
}

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

.testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.08);
    border-left: 4px solid #2563eb;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
}

.testimonial-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #2563eb;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.testimonial-name {
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 5px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

/* ========== オファーセクション ========== */
.offer {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
}

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

.offer .section-title {
    color: white;
}

.offer-text {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
}

.urgency-box {
    background: rgba(239, 68, 68, 0.9);
    border: 3px solid white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.urgency-box h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.urgency-box p {
    font-size: 18px;
}

/* ========== フォームセクション ========== */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    color: #1e40af;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* ========== フッター ========== */
.footer {
    background: #1e293b;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .catch-copy {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-cta {
        font-size: 18px;
        padding: 15px 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .problem-box {
        padding: 30px 20px;
    }

    .problem-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .problem-item .number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .secrets-cards {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    /* 図解のレスポンシブ対応 */
    .solution-diagram {
        flex-direction: column;
        gap: 15px;
    }

    .diagram-arrow {
        transform: rotate(90deg);
        font-size: 30px;
    }

    .diagram-card {
        width: 100%;
        min-width: auto;
    }

    .formula-value {
        font-size: 20px;
    }

    .result-value {
        font-size: 24px;
    }
}
