/* ================================================
   ワークフローページ専用CSS (workflow-styles.css)
   既存のCSSに影響を与えない追加スタイルのみ記載
   ================================================ */

/* ################################################
   新規追加スタイル開始
   ################################################ */

/* ========== ワークフローページ共通設定 ========== */
.workflow-main {
    /* 既存ヘッダーの高さ分の余白を確保（必要に応じて調整） */
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}
.workflow-wrap {
    animation-name: fadein;
    animation-duration: 2s;
    padding-left: 15%;
}
/* ========== ヒーローセクション（タイトル部分） ========== */
.workflow-hero {
    padding: 80px 0 60px 0;
    /* background: linear-gradient(to bottom, #fafafa, #fff); */
}

.workflow-title {
    /* font-size: 2.5rem; */
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #333;
}

.workflow-subtitle {
    color: #666;
    font-size: 0.95rem;
}

/* ========== ワークフローステップコンテナ ========== */
.workflow-container {
    max-width: 900px;
    /* margin: 0 auto; */
    /* padding: 60px 40px; */
}

/* ========== 各ワークフローステップ ========== */
.workflow-step {
    /* display: flex;
    gap: 3rem; */
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e5e5e5;
    /* フェードインアニメーション */
    /* opacity: 0;
    animation: workflowFadeIn 0.6s ease forwards; */
}

.workflow-step:last-child {
    border-bottom: none;
}

/* アニメーション遅延設定 */
/* .workflow-step:nth-child(1) { animation-delay: 0.1s; }
.workflow-step:nth-child(2) { animation-delay: 0.2s; }
.workflow-step:nth-child(3) { animation-delay: 0.3s; }
.workflow-step:nth-child(4) { animation-delay: 0.4s; }
.workflow-step:nth-child(5) { animation-delay: 0.5s; }
.workflow-step:nth-child(6) { animation-delay: 0.6s; }
.workflow-step:nth-child(7) { animation-delay: 0.7s; }
.workflow-step:nth-child(8) { animation-delay: 0.8s; }
.workflow-step:nth-child(9) { animation-delay: 0.9s; }
.workflow-step:nth-child(10) { animation-delay: 1.0s; }
.workflow-step:nth-child(11) { animation-delay: 1.1s; }
.workflow-step:nth-child(12) { animation-delay: 1.2s; } */

/* フェードインアニメーション定義 */
/* @keyframes workflowFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* ========== ステップ番号 ========== */
.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
}

/* ========== ステップコンテンツ ========== */
.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-content p {
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.9;
}

.step-content p:last-child {
    margin-bottom: 0;
}

/* ========== バッジ・ラベル類 ========== */
.free-badge {
    display: inline-block;
    padding: 2px 12px;
    background: #4CAF50;
    color: white;
    font-size: 0.75rem;
    border-radius: 3px;
    font-weight: 400;
}

.step-duration {
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
}

.step-subtitle {
    color: #666;
    font-size: 0.85rem;
    font-weight: 300;
}

.step-note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.step-highlight {
    /* background: #f9f9f9;
    padding: 1rem;
    border-left: 3px solid #333; */
    margin: 1rem 0;
}

/* ========== 料金セクション ========== */
.workflow-fee {
    padding: 80px 0;
}

.fee-title {
    /* text-align: center; */
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
    color: #333;
}

/* 基本料金ボックス */
.fee-basic {
    max-width: 900px;
    margin:2rem 0 5rem;
    /* padding: 3rem; */
    /* border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.fee-basic h3{
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.9;
}

.fee-basic strong {
    font-weight: 500;
    color: #000;
    font-size: 1.1rem;
}

.fee-minimum-box {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 6px;
}

.fee-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.fee-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.fee-price {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
}

.fee-note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* 支払いスケジュール */
.fee-payment-schedule {
    max-width: 900px;
    margin:2rem 0 5rem;
    /* background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.fee-payment-schedule h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fee-subtitle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 300;
}

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

.payment-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.payment-list li:last-child {
    border-bottom: none;
}

.payment-phase {
    color: #555;
}

.payment-percentage {
    font-weight: 400;
    color: #000;
}

/* 補足事項 */
/* .fee-additional {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
} */

.fee-additional h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

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

.additional-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.additional-list li:before {
    content: "・";
    position: absolute;
    left: 0;
}

/* ========== レスポンシブ対応（モバイル） ========== */
@media (max-width: 768px) {
    .workflow-main {
        padding-top: 60px;
    }
    .workflow-wrap{
        width: auto;
        padding-left: 0;
    }
    /* .workflow-hero {
        padding: 0px 20px;
    } */
    
    .workflow-title {
        font-size: 1.8rem;
    }
    
    .workflow-container {
        padding: 40px 0px;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }
    
    .workflow-fee {
        padding: 0;
    }
    .fee-additional {
        padding-bottom: 5rem;
    }
    .fee-basic,
    .fee-payment-schedule,
    .fee-additional {
        padding: 2rem 0;
    }
    .fee-additional {
        padding-bottom: 5rem;
    }
    .fee-minimum-box {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .payment-list li {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ========== 印刷対応 ========== */
@media print {
    .workflow-main {
        padding-top: 0;
    }
    
    .workflow-step {
        page-break-inside: avoid;
        animation: none;
        opacity: 1;
    }
    
    .workflow-fee {
        background: none;
    }
    
    .fee-basic,
    .fee-payment-schedule,
    .fee-additional {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ################################################
   新規追加スタイル終了
   ################################################ */