/* ==========================================================================
   ページヘッダー
   ========================================================================== */
.page-header {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1a3d5c 0%, #2e5266 100%);
    color: white;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.page-title {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title .title-en {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 400;
}

.page-title .title-ja {
    display: block;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.breadcrumb {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* ==========================================================================
   サービス詳細セクション
   ========================================================================== */
.service-detail-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.service-block {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-header {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: white;
}

.service-number {
    font-size: 36px;
    font-weight: 700;
    opacity: 0.3;
    line-height: 1;
}

.service-heading {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
}

.service-content {
    padding: 35px;
}

.lead-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.service-description {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.service-description p {
    margin-bottom: 18px;
}

/* ハイライトボックス */
.highlight-box {
    background: linear-gradient(135deg, #f1f8f4 0%, #f5faf7 100%);
    border-left: 3px solid #2e7d32;
    padding: 18px 25px;
    margin: 25px 0;
    border-radius: 6px;
}

.highlight-box p {
    margin: 0;
    color: #2c5530;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
}

/* 強調テキスト */
.emphasis-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a3d5c;
    text-align: center;
    margin: 25px 0 !important;
    line-height: 1.6;
}

/* 機能アイテム */
.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
}

.feature-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 全国対応マップ */
.nationwide-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 25px 0;
}

.nationwide-map {
    flex: 1;
    text-align: center;
    padding: 35px;
    background: #fafbfc;
    border-radius: 10px;
}

.nationwide-map img {
    max-width: 80%; /* 100%から80%に縮小 */
    width: 100%;
    height: auto;
}

.nationwide-content .service-description {
    flex: 1;
    padding: 20px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nationwide-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nationwide-map {
        padding: 25px;
    }
}

/* 重要な注意事項 */
.important-note {
    display: flex;
    gap: 18px;
    background: #fef8f0;
    padding: 18px 25px;
    border-radius: 6px;
    margin: 25px 0;
    align-items: flex-start;
    border: 1px solid #fde8d0;
}

.note-icon {
    flex-shrink: 0;
    color: #f57c00;
}

.important-note p {
    margin: 0;
    color: #e65100;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
}

/* 警告ボックス */
.warning-box {
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    padding: 18px 25px;
    margin: 25px 0;
}

.warning-box h4 {
    color: #d32f2f;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.warning-box p {
    color: #c62828;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

/* サポートリスト */
.service-support {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    margin: 25px 0;
    border: 1px solid #eee;
}

.service-support h4 {
    color: #333;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.support-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: 700;
    font-size: 16px;
}

/* キャッシュフロー強調 */
.cash-flow-emphasis {
    font-size: 20px !important;
    font-weight: 700;
    color: #d32f2f !important;
    text-align: center;
    margin: 20px 0 !important;
}

/* ==========================================================================
   CTA セクション
   ========================================================================== */
.service-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a3d5c 0%, #2e5266 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 18px;
    line-height: 1.5;
    font-weight: 600;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #4ade80;
    color: #1a3d5c;
}

.cta-button.primary:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #1a3d5c;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title .title-ja {
        font-size: 28px;
    }
    
    .page-title .title-en {
        font-size: 12px;
    }
    
    .service-header {
        padding: 20px;
        gap: 20px;
    }
    
    .service-number {
        font-size: 30px;
    }
    
    .service-heading {
        font-size: 20px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .emphasis-text {
        font-size: 16px;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}