/* ==============================
   サービスページ専用スタイル
   ============================== */

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

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-item h3 {
    color: #2d5a3d;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.service-item h3::before {
    display: block;
    font-size: 2em;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* ご利用の流れ */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.flow-step {
    background: #fff;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-xl, 12px);
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,.1));
    padding: 24px 20px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.flow-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 8px rgba(0,0,0,.12));
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
}

.flow-step h3 {
    margin: 6px 0 8px;
    color: var(--primary-dark);
    font-size: var(--text-lg, 1.125rem);
}

/* サービス特徴リスト */
.features-list {
    max-width: 960px;
    margin-inline: auto;
}

/* 補償内容 */
.compensation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 18px;
}

.compensation-card {
    background: #fff;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-xl, 12px);
    box-shadow: var(--shadow-sm);
    padding: 20px 18px;
    text-align: left;
}

.compensation-card h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: var(--text-lg);
}

.compensation-card p {
    line-height: 1.8;
}

.compensation-note {
    margin-top: 12px;
    color: var(--color-gray-600);
    font-size: .95rem;
    line-height: 1.8;
    text-align: center;
}

/* 保険管理体制 */
.section--subtle {
    background: linear-gradient(135deg, var(--color-bg-primary), var(--color-bg-secondary));
}

.insurance-text {
    max-width: 880px;
    margin-inline: auto;
    line-height: 1.9;
    text-align: center;
}

/* 信頼性グリッド */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.trust-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.trust-item h3 {
    color: #2d5a3d;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.trust-item h3::before {
    content: '🔒';
    display: block;
    font-size: 2em;
    margin-bottom: 15px;
}

.trust-item p {
    color: #666;
    line-height: 1.7;
}

/* お客様の声グリッド */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonial-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-item h3 {
    color: #2d5a3d;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.testimonial-item h3::before {
    content: '👤';
    display: block;
    font-size: 2em;
    margin-bottom: 15px;
}

.testimonial-item p {
    color: #666;
    line-height: 1.7;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .section h2 {
        font-size: 1.8em;
    }
    
    .service-grid,
    .flow-grid,
    .compensation-grid,
    .trust-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
