@charset "UTF-8";
/* ============================================================
   株式会社キョウテック 工事の流れページ専用CSS
   ============================================================ */

/* ============================================================
   共通変数（kyotech-front.cssから継承）
   ============================================================ */
:root {
    --kt-cyan: #2ca7e1;
    --kt-cyan-dark: #1a8cc4;
    --kt-navy: #0d1b2a;
    --kt-dark: #1a1a2e;
    --kt-text: #333;
    --kt-text-light: #888;
    --kt-border: #e5e5e5;
    --kt-gray-bg: #f8f9fa;
    --kt-font-num: 'Barlow', sans-serif;
}

/* サイト全体の基本設定 */
.kyotech-flow-page {
    color: var(--kt-text);
}
.kyotech-flow-page .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   1. ページヘッダー
   ============================================================ */
.kyotech-flow-hero {
    background-image:
        linear-gradient(135deg, rgba(13, 27, 42, 0.78) 0%, rgba(26, 140, 196, 0.55) 100%),
        url('../images/page-header-bg.jpg');
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-color: #0d1b2a;
    padding: 80px 32px;
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.kyotech-flow-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.kyotech-flow-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.kyotech-flow-hero__sub {
    font-size: 13px;
    color: var(--kt-cyan);
    letter-spacing: 4px;
    margin: 0 0 10px;
    font-weight: 500;
    text-align: center;
}
.kyotech-flow-hero__title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}
.kyotech-flow-hero__divider {
    width: 44px;
    height: 2px;
    background: var(--kt-cyan);
    margin: 0 auto 20px;
}
.kyotech-flow-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 2;
    text-align: center;
}

/* ============================================================
   2. イントロ
   ============================================================ */
.kyotech-flow-intro {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}
.kyotech-flow-intro .inner {
    max-width: 1100px;
}
.kyotech-flow-intro__text {
    font-size: 17px;
    line-height: 2.1;
    color: #444;
    margin: 0 auto;
    max-width: 880px;
}

/* ============================================================
   3. タイムライン（7ステップ）
   ============================================================ */
.kyotech-flow-timeline {
    padding: 50px 24px 70px;
    background: var(--kt-gray-bg);
    border-top: 1px solid var(--kt-border);
}
.kyotech-flow-timeline__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 各ステップ */
.kyotech-flow-step {
    position: relative;
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
    z-index: 2;
}
.kyotech-flow-step:last-of-type {
    margin-bottom: 0;
}

/* ステップ間の縦線（各stepの::beforeで描画。最後のステップだけ非表示） */
.kyotech-flow-step::before {
    content: '';
    position: absolute;
    top: 90px; /* 番号バッジ（90px）の下から */
    bottom: -34px; /* 次のステップの番号バッジまで（margin-bottom分含む） */
    left: 44px;
    width: 2px;
    background: linear-gradient(to bottom, var(--kt-cyan) 0%, rgba(44, 167, 225, 0.5) 100%);
    z-index: 1;
}
.kyotech-flow-step--last::before {
    display: none;
}

/* 番号バッジ（円・F案：大きく + C案：グラデ強化） */
.kyotech-flow-step__num {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #4dc4f5 0%, var(--kt-cyan) 50%, #156a96 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    border: 4px solid var(--kt-gray-bg);
    box-shadow: 0 8px 20px rgba(44, 167, 225, 0.45);
}
.kyotech-flow-step__num-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 2px;
}
.kyotech-flow-step__num-value {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
}

/* 説明カード（C案：グラデ強化） */
.kyotech-flow-step__body {
    flex: 1;
    background: linear-gradient(135deg, #fff 0%, #fff 50%, rgba(44, 167, 225, 0.1) 100%);
    border: 1px solid var(--kt-border);
    padding: 22px 26px;
    position: relative;
    margin-top: 10px;
    min-width: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
/* 吹き出しの三角矢印 */
.kyotech-flow-step__body::before {
    content: '';
    position: absolute;
    top: 32px;
    left: -8px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid var(--kt-border);
    border-bottom: 1px solid var(--kt-border);
    transform: rotate(45deg);
}

/* 既存の小さなアイコン（タイトル右）は非表示にしてA案の背景アイコンに置き換え */
.kyotech-flow-step__icon {
    display: none;
}

/* A案：背景に大きく薄いアイコン（濃度UP） */
.kyotech-flow-step__icon-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 140px;
    height: 140px;
    color: rgba(44, 167, 225, 0.18);
    pointer-events: none;
    z-index: 0;
}
.kyotech-flow-step__icon-bg svg {
    width: 100%;
    height: 100%;
}

.kyotech-flow-step__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 8px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}
.kyotech-flow-step__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.95;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}
.kyotech-flow-step__info {
    display: inline-block;
    font-size: 12px;
    color: var(--kt-cyan);
    background: rgba(44, 167, 225, 0.1);
    padding: 4px 12px;
    margin-top: 4px;
    letter-spacing: 0.5px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.kyotech-flow-step__info--cost {
    background: #fef0e6;
    color: #d97706;
    font-weight: 700;
}

/* ============================================================
   4. ご注意事項
   ============================================================ */
.kyotech-flow-notice {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid var(--kt-border);
}
.kyotech-flow-page .kyotech-flow-notice__head {
    text-align: center !important;
    margin-bottom: 28px;
}
.kyotech-flow-page .kyotech-flow-notice__sub {
    font-size: 13px;
    color: var(--kt-cyan);
    letter-spacing: 3px;
    margin: 0 0 6px;
    font-weight: 500;
    text-align: center;
}
.kyotech-flow-page .kyotech-flow-notice__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0;
    text-align: center;
    line-height: 1.4;
}
.kyotech-flow-notice__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.kyotech-flow-notice__item {
    background: var(--kt-gray-bg);
    padding: 18px 22px;
    border-left: 3px solid var(--kt-cyan);
}
.kyotech-flow-notice__item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 6px;
}
.kyotech-flow-notice__item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ============================================================
   5. レスポンシブ（タブレット・スマホ）
   ============================================================ */
@media (max-width: 768px) {
    /* ヒーロー */
    .kyotech-flow-hero {
        padding: 60px 24px;
    }
    .kyotech-flow-hero__title {
        font-size: 28px;
    }
    .kyotech-flow-hero__desc {
        font-size: 13px;
    }

    /* イントロ */
    .kyotech-flow-intro {
        padding: 40px 0;
    }
    .kyotech-flow-intro__text {
        font-size: 14px;
        text-align: left;
    }

    /* タイムライン */
    .kyotech-flow-timeline {
        padding: 40px 16px 50px;
    }
    .kyotech-flow-timeline__inner::before {
        top: 35px;
        left: 33px;
    }
    .kyotech-flow-step {
        gap: 18px;
    }
    .kyotech-flow-step--last::after {
        left: 26px;
        width: 14px;
    }
    .kyotech-flow-step__num {
        width: 68px;
        height: 68px;
        border-width: 3px;
    }
    .kyotech-flow-step__num-label {
        font-size: 9px;
    }
    .kyotech-flow-step__num-value {
        font-size: 22px;
    }
    .kyotech-flow-step__body {
        padding: 16px 18px;
        margin-top: 8px;
    }
    .kyotech-flow-step__body::before {
        top: 24px;
    }
    .kyotech-flow-step__icon-bg {
        width: 90px;
        height: 90px;
        right: -6px;
        bottom: -6px;
    }
    .kyotech-flow-step__title {
        font-size: 17px;
    }
    .kyotech-flow-step__desc {
        font-size: 13px;
    }
    .kyotech-flow-step__info {
        font-size: 11px;
    }

    /* ご注意事項 */
    .kyotech-flow-notice {
        padding: 44px 0;
    }
    .kyotech-flow-notice__title {
        font-size: 22px;
    }
    .kyotech-flow-notice__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .kyotech-flow-notice__item {
        padding: 14px 18px;
    }
}
