:root {
    --lp-navy: #000060;   
    --lp-yellow: #fff352; 
    --lp-red: #e60012;    
    --lp-bg: #f8f9fa;     
}

.lp-modern-container {
    background-color: var(--lp-bg);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.lp-h2-modern {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--lp-navy);
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
    padding-bottom: 12px;
}
.lp-h2-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--lp-red);
}

.btn-container-compact {
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}
.btn-modern-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--lp-navy);
    color: var(--lp-navy);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 4px 0 var(--lp-navy);
    position: relative;
    top: 0;
}
.btn-modern-compact i {
    font-size: 1.3rem;
    margin-right: 10px;
}
.btn-modern-compact.navy {
    background: var(--lp-navy);
    color: #fff;
    box-shadow: 0 4px 0 #001030;
}
.btn-modern-compact:hover {
    top: 2px;
    box-shadow: 0 2px 0 var(--lp-navy);
    background: var(--lp-yellow);
    color: var(--lp-navy);
}
.btn-modern-compact.navy:hover {
    background: #003080;
    color: #fff;
}

.step-card-container {
    padding: 10px 15px;
    max-width: 900px;
    margin: 0 auto;
}
.step-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 40px; 
    overflow: visible;   
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-card:not(:last-child)::after {
    content: "\f107"; 
    font-family: FontAwesome;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--lp-navy);
    font-size: 32px;
    line-height: 1;
    z-index: 10;
}
.step-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}
.step-badge {
    background-color: var(--lp-navy);
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    min-width: 75px;
    text-align: center;
}
.step-badge.yellow {
    background-color: var(--lp-yellow);
    color: var(--lp-navy);
}
.step-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--lp-navy);
}
.step-body {
    padding: 20px;
    line-height: 1.7;
}
.step-docs {
    background-color: #f1f3f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}
.doc-label { font-weight: bold; font-size: 0.9rem; margin-bottom: 8px; display: block; }
.step-docs ul { padding-left: 1.5em; margin: 0; }
.step-docs li { font-size: 0.95rem; margin-bottom: 4px; }
.text-red { color: var(--lp-red); font-weight: bold; }
.text-navy { color: var(--lp-navy); font-weight: bold; }

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    z-index: 1000;
}
.btn-floating {
    display: block;
    background: var(--lp-red);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(230,0,18,0.4);
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .lp-h2-modern { font-size: 1.5rem; }
    .btn-modern-compact { font-size: 1rem; }
}
/* ニーズ対応セクションの余白設定 */
.lp-needs-section {
    padding: 60px 20px;
    background: #fff; /* 背景は清潔な白で */
}

/* グリッド設定（PCは2列、スマホは1列） */
.lp-needs-grid {
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* カードの微調整 */
.lp-needs-card {
    padding: 35px 25px;
    /* 他のカードと高さを揃える */
    height: auto; 
    border: 2px solid #e2e8f0; /* 少し境界線をはっきりと */
}

.lp-needs-card:hover {
    border-color: #000060;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 96, 0.1);
}

/* タイトルの色を統一 */
.lp-needs-card .service-name {
    color: #000060;
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
}

/* 説明文の調整 */
.lp-needs-card .service-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0; /* ボタンがないので下の余白は不要 */
}
/* フリーローン（別商品）のカード */
.is-freeloan {
    background: #fafafa; /* 少しグレーにして「別枠」感を出す */
    border-color: #ddd;
}

.is-freeloan .service-name {
    color: #555 !important;
    font-size: 1.15rem !important; /* 少し小さくして主従をつける */
}

/* ボタンのスタイル */
.is-freeloan .btn-service-detail {
    background: #fff;
    color: #555 !important;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.is-freeloan:hover {
    border-color: #999; /* ホバー時の色も少し控えめに */
}

.is-freeloan:hover .btn-service-detail {
    background: #555;
    color: #fff !important;
    border-color: #555;
}