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

:root {
    /* SOMPOカラー */
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #ff9800;
    --accent-color: #4caf50;
    
    /* グレースケール */
    --text-primary: #212121;
    --text-secondary: #757575;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    
    /* シャドウ */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

/* ============================================
   ヘッダー
============================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-header nav {
    display: flex;
    gap: 30px;
}

.site-header nav a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.site-header nav a:hover {
    color: var(--primary-color);
}

/* ============================================
   ヒーローセクション
============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.85) 0%, rgba(21, 101, 192, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--bg-white);
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-note {
    color: var(--bg-white);
    opacity: 0.85;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ============================================
   CTAボタン
============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--secondary-color), #f57c00);
    color: var(--bg-white);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.cta-button.large {
    padding: 22px 50px;
    font-size: 1.2rem;
}

.cta-button.huge {
    padding: 25px 60px;
    font-size: 1.3rem;
}

/* ============================================
   セクション共通
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   審査基準セクション
============================================ */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.criteria-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.criteria-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.criteria-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.criteria-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.criteria-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.criteria-note {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.95rem;
}

.criteria-note i {
    color: var(--accent-color);
}

/* ============================================
   CTAボックス
============================================ */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-box.large {
    padding: 60px;
}

.cta-note {
    font-size: 0.95rem;
    margin-top: 15px;
    opacity: 0.9;
}

/* ============================================
   残価設定セクション
============================================ */
.residual-content {
    max-width: 900px;
    margin: 0 auto;
}

.residual-diagram {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.residual-diagram h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.diagram-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.diagram-item {
    margin-bottom: 20px;
}

.label {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.bar {
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: var(--bg-white);
    font-weight: 600;
    padding: 0 20px;
}

.bar-label {
    font-size: 0.95rem;
}

.diagram-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.pros-cons {
    margin-bottom: 40px;
}

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

.pros-box, .cons-box {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.pros-box h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.cons-box h3 {
    color: #f44336;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.pros-box ul, .cons-box ul {
    list-style: none;
}

.pros-box li, .cons-box li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.pros-box li:last-child, .cons-box li:last-child {
    border-bottom: none;
}

.pros-box i {
    color: var(--accent-color);
    margin-right: 10px;
}

.cons-box i {
    color: #f44336;
    margin-right: 10px;
}

.alert-box {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 5px solid;
}

.alert-box.warning {
    background: #fff3e0;
    border-color: var(--secondary-color);
}

.alert-box.info {
    background: #e3f2fd;
    border-color: var(--primary-color);
}

.alert-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.example {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.highlight-red {
    color: #f44336;
    font-weight: 700;
}

.highlight-green {
    color: var(--accent-color);
    font-weight: 700;
}

.info-list {
    list-style: none;
    margin-top: 15px;
}

.info-list li {
    padding: 8px 0;
}

.info-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

.solution-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.solution-box h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.solution-card {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: var(--transition);
}

.solution-card:hover {
    background: #e3f2fd;
    transform: translateY(-3px);
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.solution-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ============================================
   保険セクション
============================================ */
.insurance-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.insurance-comparison {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.insurance-comparison h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 700;
}

.comparison-table .positive {
    color: var(--accent-color);
    font-weight: 600;
}

.comparison-table .negative {
    color: var(--text-secondary);
}

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

.detail-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.detail-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.detail-card ul {
    list-style: none;
}

.detail-card li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-card li:last-child {
    border-bottom: none;
}

.detail-card strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* ============================================
   SOMPOで乗ーるセクション
============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--bg-white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.affiliate-banner {
    text-align: center;
    margin: 50px 0;
}

/* ============================================
   審査通過のコツセクション
============================================ */
.tips-list {
    max-width: 900px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    gap: 30px;
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition);
}

.tip-item:hover {
    box-shadow: var(--shadow-lg);
}

.tip-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    flex-shrink: 0;
}

.tip-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tip-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tip-example {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* ============================================
   口コミセクション
============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.reviewer-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-body {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   FAQセクション
============================================ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--bg-white);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.faq-answer strong {
    color: var(--text-primary);
}

/* ============================================
   最終CTAセクション
============================================ */
.final-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
}

.final-cta-box {
    text-align: center;
    color: var(--bg-white);
}

.final-cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.final-cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.final-cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.final-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.final-feature i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.final-cta-note {
    font-size: 0.95rem;
    margin-top: 20px;
    opacity: 0.85;
}

/* ============================================
   フッター
============================================ */
.site-footer {
    background: #263238;
    color: var(--bg-white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
}

.footer-section ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.85rem;
}

/* ============================================
   スクロールトップボタン
============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* ============================================
   レスポンシブ
============================================ */
@media (max-width: 768px) {
    .site-header nav {
        display: none;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .criteria-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .tip-number {
        font-size: 2rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 15px 30px;
    }
    
    .final-cta-section {
        padding: 60px 0;
    }
    
    .final-cta-box h2 {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
}

/* ============================================
   アニメーション
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}
