@charset "utf-8";

/* ==========================================================================
   procedure.css - Petit Maison KIRISHIMA Contract Procedure Section
   ========================================================================== */

#procedure {
    scroll-margin-top: 100px;
}

/* セクション全体 */
.procedure-section {
    padding: 120px 0;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    position: relative;
    font-family: var(--font-jp);
}

.procedure-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* タイトルエリア */
.procedure-title-area {
    text-align: center;
    margin-bottom: 60px;
}

.procedure-subtitle {
    display: block;
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--color-accent); /* シャンパンゴールド */
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.procedure-title {
    font-family: var(--font-jp);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--color-primary); /* 霧島グリーン */
    letter-spacing: 0.15em;
    margin: 0;
}

.procedure-title-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 25px auto 0;
}

.procedure-lead-text {
    margin-top: 25px;
    font-size: 15px;
    color: #666;
    letter-spacing: 0.05em;
}

/* フロータイムライン全体 */
.procedure-flow {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* 各ステップカード */
.procedure-step-card {
    background: #fbfbf9;
    border: 1px solid #e8eae8;
    border-radius: 6px;
    padding: 30px 35px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedure-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* ステップ接続線（最後の要素以外に矢印/下線用の余白） */
.procedure-step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-accent);
    z-index: 2;
}

/* ステップヘッダー */
.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e5e2;
}

.step-num {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: var(--color-primary);
    padding: 4px 14px;
    border-radius: 30px;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.step-title {
    font-family: var(--font-jp);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.4;
}

/* ステップ本文 */
.step-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Step3用の補足情報ボックス */
.step-info-box {
    margin-top: 20px;
    background-color: var(--color-bg-base);
    border: 1px solid #e0e0d8;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    padding: 20px 25px;
}

.info-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0d8;
}

.info-item {
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: #f4f4f0;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 2px;
    margin: 0 0 8px 0;
}

.info-item p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .procedure-section {
        padding: 70px 0;
    }

    .procedure-step-card {
        padding: 22px 20px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .step-num {
        font-size: 14px;
        padding: 2px 10px;
    }

    .step-title {
        font-size: 17px;
    }

    .step-body p {
        font-size: 14px;
    }

    .step-info-box {
        padding: 15px;
    }
}