/* ==========================================================================
   ページヘッダー（画像背景対応）
   ========================================================================== */
.page-header {
    position: relative;
    padding: 100px 0 60px;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 92, 0.85) 0%, rgba(46, 82, 102, 0.85) 100%);
    z-index: 1;
}

.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');
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-title {
    text-align: center;
}

.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;
}

.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-block.primary .service-header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.service-block.secondary .service-header {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.service-header {
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.service-header .service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.service-content {
    padding: 35px;
}

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

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

/* 導入メッセージ */
.lead-message {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #eee;
}

.lead-message p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.lead-message p:last-child {
    margin-bottom: 0;
}

.emphasis-quote {
    font-size: 20px !important;
    font-weight: 700;
    color: #1a3d5c !important;
    margin-bottom: 15px;
}

/* 相談オプション */
.consulting-question {
    text-align: center;
    margin: 35px 0;
}

.consulting-question h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 18px;
    font-weight: 600;
}

.consultation-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.consultation-options .option {
    background: #e8f4fd;
    color: #1976d2;
    padding: 6px 18px;
    border-radius: 18px;
    font-weight: 500;
    font-size: 14px;
}

/* リスク警告 */
.risk-warning {
    background: #fef8f0;
    border-left: 3px solid #f57c00;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 6px;
}

.risk-warning h4 {
    color: #e65100;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.risk-warning p {
    color: #d84315;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
}

.risk-warning p:last-child {
    margin-bottom: 0;
}

/* 経営理念 */
.management-philosophy {
    margin: 35px 0;
}

.management-philosophy blockquote {
    background: linear-gradient(135deg, #f3f4f8 0%, #f8f9fc 100%);
    border: none;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.management-philosophy blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 50px;
    color: #1976d2;
    opacity: 0.15;
}

.management-philosophy blockquote p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* サポートグリッド */
.our-support {
    margin-top: 35px;
}

.our-support h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.support-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #1976d2;
}

.support-icon {
    width: 45px;
    height: 45px;
    background: #e8f4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #1976d2;
}

.support-item h5 {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

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

.support-message {
    text-align: center;
    font-size: 16px;
    color: #333;
    padding: 18px;
    background: #f9f9f9;
    border-radius: 6px;
    line-height: 1.7;
}

/* 資産形成セクション */
.opening-question {
    text-align: center;
    margin-bottom: 35px;
}

.big-question {
    font-size: 22px !important;
    font-weight: 700;
    color: #e65100 !important;
    margin-bottom: 25px;
    line-height: 1.6;
}

.money-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.option-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.option-card.highlight {
    border-color: #f57c00;
    background: #fef8f0;
}

.option-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.option-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* 資産タイプグリッド */
.asset-types {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #eee;
}

.asset-types h4 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.asset-item {
    background: white;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.asset-item:hover {
    background: #f57c00;
    color: white;
    transform: translateY(-2px);
    border-color: #f57c00;
}

.asset-icon {
    font-size: 20px;
}

/* 重要メッセージ */
.important-message {
    background: linear-gradient(135deg, #fef8f0 0%, #fee8d0 100%);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    border: 1px solid #fde8d0;
}

.important-message h4 {
    color: #e65100;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.important-message p {
    color: #d84315;
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

/* コンサルティングプロセス */
.consulting-process {
    margin-top: 35px;
}

.consulting-process h4 {
    text-align: center;
    color: #333;
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 600;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.process-step {
    flex: 1;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px 18px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: #f57c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-content h5 {
    color: #333;
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
}

.step-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.process-arrow {
    font-size: 20px;
    color: #f57c00;
    font-weight: 700;
}

/* ==========================================================================
   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: 15px;
    }
    
    .service-heading {
        font-size: 20px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .consultation-options {
        flex-direction: column;
        align-items: center;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .money-options {
        grid-template-columns: 1fr;
    }
    
    .asset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .big-question {
        font-size: 18px !important;
    }
    
    .emphasis-quote {
        font-size: 18px !important;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}