/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* スムーズスクロールを追加 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    /* スクロール時の背景変化用 */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
    width: 140px;
}


.logo img {
    width: 100%;
    height: auto;
}

.header-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    /* ホバーエフェクト強化 */
}

.header-cta:hover {
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: #1d4ed8;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Background images */
.fv {
    background-image: url(../image/fv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ===== COMMON SECTION STYLES ===== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 60px;
    color: #1e293b;
}

/* ===== GRID LAYOUTS ===== */
.grid-layout {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.problems-grid,
.sns-platforms,
.strengths-grid,
.testimonials,
.pricing-grid,
.flow-steps {
    @extend .grid-layout;
}

.problems-grid,
.strengths-grid,
.testimonials,
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sns-platforms {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* ===== CARD STYLES ===== */
.card-base {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* アニメーション強化 */
}

.card-base:hover {
    transform: translateY(-5px);
}

.problem-card,
.sns-card,
.testimonial-card {
    @extend .card-base;
    padding: 30px;
}

.sns-card {
    padding: 25px;
    text-align: center;
}

.sns-card:hover {
    transform: translateY(-3px);
}

.strength-card,
.pricing-card {
    @extend .card-base;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ===== PROBLEM SECTION ===== */
.problem-card h3 {
    display: none;
}

.problem-card .main-problem {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.problem-card .problem-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.problem-list li:before {
    content: "•";
    color: #ef4444;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===== SERVICE OVERVIEW ===== */
.service-overview {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.feature-item {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #3b82f6;
}

.feature-item h3 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* ===== ICONS ===== */
.sns-icon,
.strength-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.strength-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.strength-card h3 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* ===== SERVICE FLOW ===== */
.step-card {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.step-number {
    background: white;
    color: #1d4ed8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 4rem;
    color: #3b82f6;
    position: absolute;
    top: -10px;
    left: 20px;
}

.customer-type {
    color: #1d4ed8;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ===== PRICING ===== */
.pricing-card.featured {
    border: 3px solid #3b82f6;
    transform: scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin: 20px 0;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* ===== INITIAL COST CARD ===== */
.initial-cost-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #3b82f6;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.initial-cost-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.initial-cost-price {
    text-align: center;
    flex-shrink: 0;
}

.price-label {
    display: block;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 5px;
}

.price-amount {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 5px;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

.initial-cost-features {
    flex: 1;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #cbd5e1;
    font-size: 1.1rem;
    color: #1e293b;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: #ef4444;
    color: white;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.3);
}

.cta-button.secondary {
    background: white;
    color: #1d4ed8;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.cta-button.secondary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-button .cta-text {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cta-button .cta-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: normal;
}

/* ===== FOOTER ===== */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* ===== VISUAL ELEMENTS ===== */
.hero-visual {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f1f5f9" width="400" height="300"/><circle cx="200" cy="150" r="80" fill="%233b82f6" opacity="0.1"/><rect x="120" y="90" width="160" height="120" rx="15" fill="%23ffffff" stroke="%233b82f6" stroke-width="2"/><circle cx="140" cy="110" r="8" fill="%233b82f6"/><rect x="155" y="105" width="80" height="4" fill="%23e2e8f0"/><rect x="155" y="115" width="60" height="4" fill="%23e2e8f0"/><rect x="130" y="140" width="40" height="3" fill="%233b82f6"/><rect x="180" y="140" width="40" height="3" fill="%233b82f6"/><rect x="230" y="140" width="40" height="3" fill="%233b82f6"/><text x="200" y="180" text-anchor="middle" fill="%233b82f6" font-size="12" font-family="Arial">SNS Success</text></svg>') no-repeat center;
    background-size: contain;
    height: 200px;
    margin: 20px 0;
}

.section-visual {
    text-align: center;
    margin: 40px 0;
}

.visual-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.sp_br {
    display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* アニメーション用の基本クラス */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
.pc_br {
    display: block;
}

/* Tablet and below */
@media (max-width: 1280px) {
    .fv {
        background-position: center;
        background-image: url(../image/fv.jpg);
    }
}


@media (max-width: 1140px) {
    .pc_br {
        display: none;
    }

    .fv {
        background-position: center;
        background-image: url(../image/fv.jpg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .initial-cost-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .flow-steps {
        gap: 40px;
    }

    .fv {
        background-image: url(../image/fv_m.jpg);
        background-size: cover;
        background-position-y: 123px;
    }

    .sp_br {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 120px;
        min-height: 120px;
        padding: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        min-width: 250px;
    }

    .flow-arrow {
        display: none;
    }

    .sp_br {
        display: block;
    }
}