@charset "UTF-8";

/* ==================================================
   導入までの流れ 専用CSS

   01. 基本設定
   02. ページ冒頭・繁忙期の案内
   03. 6ステップ・写真
   04. 導入完了・相談時の準備
   05. 導入プラン
   06. タブレット・スマートフォン
   07. 印刷

   .flow-redesign 内だけに適用します。
   共通の page.css より後に読み込んでください。
   ================================================== */

/* 01. 基本設定 */
.flow-redesign {
    --flow-green: #006d4b;
    --flow-bright: #59b92b;
    --flow-ink: #153a32;
    --flow-text: #293b40;
    --flow-muted: #455d63;
    --flow-border: #d0e2d8;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--flow-text);
    font-family: "Hiragino Sans", "Meiryo", "Noto Sans CJK JP", "Yu Gothic", sans-serif;
    font-size: 18px;
    font-feature-settings: normal;
    line-height: 1.8;
    letter-spacing: 0;
    overflow-wrap: break-word;
    text-align: left;
}

.flow-redesign *,
.flow-redesign *::before,
.flow-redesign *::after {
    box-sizing: border-box;
}

.flow-redesign :is(h1, h2, h3, p, ol, ul, figure) {
    margin: 0;
}

.flow-redesign :is(h1, h2, h3) {
    color: var(--flow-ink);
    font-weight: 700;
    line-height: 1.5;
    text-wrap: balance;
}

.flow-redesign :is(p, li) {
    line-break: strict;
}

.flow-redesign a:focus-visible {
    outline: 3px solid #00769b;
    outline-offset: 4px;
}

.flow-redesign .flow-keep {
    white-space: nowrap;
}

/* 語句をひとまとまりで折り返す。大幅な文字拡大では幅内で再折り返しする。 */
.flow-redesign .flow-phrase {
    display: inline-block;
    max-width: 100%;
    vertical-align: baseline;
    text-wrap: wrap;
}

.flow-redesign .flow-inner {
    width: min(1080px, calc(100% - 40px));
    min-width: 0;
    margin: 0 auto;
}

/* 02. ページ冒頭・繁忙期の案内 */
.flow-redesign .flow-overview {
    padding: 24px 0 24px;
    text-align: center;
}







.flow-redesign .flow-intro {
    margin-top: 0;
    color: var(--flow-muted);
}

.flow-redesign .flow-season {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding: 18px 24px;
    border: 1px solid #eed6bd;
    border-radius: 10px;
    background: #fff6ed;
    text-align: left;
}

.flow-redesign .flow-season-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #b74908;
    border-radius: 50%;
    color: #b74908;
    font: 700 20px/1 Arial, sans-serif;
}

.flow-redesign .flow-season h2 {
    margin-bottom: 4px;
    color: #a64208;
    font-size: 19px;
}

.flow-redesign .flow-season p {
    font-size: 16px;
    line-height: 1.75;
}

/* 03. 6ステップ・写真 */
.flow-redesign .flow-timeline {
    position: relative;
    padding-left: 30px;
}

.flow-redesign .flow-timeline::before {
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: #9bceb0;
    content: "";
}

.flow-redesign .flow-phase + .flow-phase {
    margin-top: 26px;
}

.flow-redesign .flow-phase-title {
    position: relative;
    display: table;
    margin: 0 0 16px -30px;
    padding: 5px 22px;
    border-radius: 30px;
    background: var(--flow-green);
    color: #fff;
    font-size: 19px;
    line-height: 1.6;
}

.flow-redesign .flow-steps {
    display: grid;
    gap: 16px;
    padding: 0;
    list-style: none;
}

.flow-redesign .flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 250px;
    gap: 20px;
    align-items: start;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--flow-border);
    border-radius: 12px;
    background: #fff;
}

.flow-redesign .flow-step::before {
    position: absolute;
    top: 28px;
    left: -27px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--flow-green);
    content: "";
}

.flow-redesign .flow-step-number {
    display: grid;
    place-items: center;
    align-self: start;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e5f3dd;
    color: #267212;
    font: 700 24px/1 Arial, sans-serif;
}

.flow-redesign .flow-step-copy {
    min-width: 0;
}

.flow-redesign .flow-step-copy h3 {
    margin-bottom: 12px;
    padding-top: 8px;
    font-size: 25px;
    text-align: left;
}

/* 本文は左揃え。行の長さを均等化せず、語句のまとまりを保って折り返す。 */
.flow-redesign .flow-step-copy p {
    text-align: left;
    text-wrap: wrap;
}

.flow-redesign .flow-step-copy p + p {
    margin-top: 8px;
}

.flow-redesign .flow-text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    margin-top: 8px;
    color: var(--flow-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.flow-redesign .flow-text-link:hover {
    color: #164d32;
}

/* 全写真を4:3の表示枠に統一。3:2の06は左右を少しトリミングします。 */
.flow-redesign .flow-step-photo {
    align-self: center;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f7f3;
}

.flow-redesign .flow-step-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 共通フッター直前の移動先。JavaScriptで実際のヘッダー高に調整します。 */
#flow-inquiry {
    scroll-margin-top: 170px;
}

/* 04. 導入完了・相談時の準備 */
.flow-redesign .flow-complete {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    padding: 22px 26px;
    border: 1px solid #d1e5ca;
    border-radius: 12px;
    background: #edf6e8;
}

.flow-redesign .flow-complete-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 3px solid #3d9821;
    border-radius: 50%;
    color: #287a16;
    font: 700 28px/1 Arial, sans-serif;
}

.flow-redesign .flow-complete h2 {
    color: var(--flow-green);
    font-size: 25px;
}

.flow-redesign .flow-complete p {
    margin-top: 3px;
    font-size: 16px;
}

.flow-redesign .flow-preparation {
    margin: 24px 0 44px;
    padding: 24px;
    border: 1px solid var(--flow-border);
    border-radius: 12px;
    background: #fff;
}

.flow-redesign .flow-preparation-heading {
    display: flex;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.flow-redesign .flow-preparation h2 {
    font-size: 22px;
}

.flow-redesign .flow-preparation-heading p {
    color: var(--flow-muted);
    font-size: 15px;
}

.flow-redesign .flow-preparation-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    list-style: none;
}

.flow-redesign .flow-preparation-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px 8px;
    border-radius: 8px;
    background: #f1f7f3;
    font-size: 16px;
    font-weight: 700;
}

.flow-redesign .flow-preparation-mark {
    flex-shrink: 0;
    color: var(--flow-green);
    font: 700 20px/1.4 Arial, sans-serif;
}

/* 05. 導入プラン */
.flow-redesign .flow-plans {
    padding: 44px 0;
    background: #f0f7f2;
}

.flow-redesign .flow-section-heading {
    margin-bottom: 26px;
    text-align: center;
}

.flow-redesign .flow-section-heading h2 {
    margin-bottom: 10px;
    font-size: 30px;
}

.flow-redesign .flow-section-heading p {
    color: var(--flow-muted);
    font-size: 17px;
}

.flow-redesign .flow-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.flow-redesign .flow-plan-card {
    --plan-color: #006d4b;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--flow-border);
    border-top: 4px solid var(--plan-color);
    border-radius: 12px;
    background: #fff;
    text-align: left;
}

.flow-redesign .flow-plan-lease {
    --plan-color: #155a98;
}

.flow-redesign .flow-plan-rental {
    --plan-color: #b74908;
}

.flow-redesign .flow-plan-label {
    margin-bottom: 8px;
    color: var(--plan-color);
    font-size: 14px;
    font-weight: 700;
}

.flow-redesign .flow-plan-card h3 {
    margin-bottom: 14px;
    color: var(--plan-color);
    font-size: 25px;
}

.flow-redesign .flow-plan-card > p:last-child {
    font-size: 17px;
}

.flow-redesign .flow-plan-note {
    margin-top: 24px;
    color: var(--flow-muted);
    font-size: 16px;
    text-align: left;
    text-wrap: wrap;
}

/* 06. タブレット・スマートフォン */
@media screen and (max-width: 980px) {
    .flow-redesign .flow-step {
        grid-template-columns: 48px minmax(0, 1fr) 210px;
        gap: 16px;
    }

    .flow-redesign .flow-step-number {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .flow-redesign .flow-step-copy h3 {
        font-size: 23px;
    }

    .flow-redesign .flow-plan-card {
        padding: 20px;
    }
}

@media screen and (max-width: 720px) {
    /* スマホの説明文：語句を固定せず、本文の幅で自然に折り返す。 */
    .flow-redesign p:not(.flow-lead) {
        text-align: left;
        text-wrap: wrap;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .flow-redesign p:not(.flow-lead) .flow-phrase,
    .flow-redesign p:not(.flow-lead) .flow-keep {
        display: inline;
        white-space: normal;
        text-wrap: wrap;
    }

    .flow-redesign .flow-step {
        display: block;
        padding: 20px;
    }

    .flow-redesign .flow-step-number {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .flow-redesign .flow-step-copy h3 {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding-left: 56px;
        font-size: 22px;
    }

    .flow-redesign .flow-step-photo {
        width: min(100%, 360px);
        margin: 18px auto 0;
    }

    .flow-redesign .flow-preparation-list,
    .flow-redesign .flow-plan-grid {
        grid-template-columns: 1fr;
    }

    .flow-redesign .flow-preparation-list li {
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .flow-redesign .flow-plan-card {
        padding: 22px;
    }
}

@media screen and (max-width: 600px) {
    .flow-redesign {
        font-size: 17px;
        line-height: 1.8;
    }

    .flow-redesign .flow-inner {
        width: calc(100% - 32px);
    }

    .flow-redesign .flow-overview {
        padding: 20px 0 22px;
    }

    

    

    

    .flow-redesign .flow-intro {
        font-size: 16px;
        text-align: left;
    }

    .flow-redesign .flow-season {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 10px;
        padding: 16px 14px;
    }

    .flow-redesign .flow-season-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .flow-redesign .flow-season h2 {
        font-size: 17px;
        text-wrap: auto;
    }

    .flow-redesign .flow-season p {
        font-size: 15px;
    }

    .flow-redesign .flow-timeline {
        padding-left: 20px;
    }

    .flow-redesign .flow-timeline::before {
        left: 5px;
    }

    .flow-redesign .flow-phase-title {
        margin-left: -20px;
        font-size: 17px;
    }

    .flow-redesign .flow-step {
        padding: 16px;
    }

    .flow-redesign .flow-step::before {
        left: -20px;
    }

    .flow-redesign .flow-step-number {
        top: 16px;
        left: 16px;
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .flow-redesign .flow-step-copy h3 {
        display: block;
        min-height: 38px;
        padding-left: 50px;
        padding-top: 2px;
        font-size: 21px;
        line-height: 1.55;
        text-wrap: balance;
    }

    .flow-redesign .flow-complete {
        gap: 14px;
        justify-content: flex-start;
        padding: 20px 16px;
    }

    .flow-redesign .flow-complete h2 {
        font-size: 22px;
    }

    .flow-redesign .flow-complete p {
        font-size: 15px;
        text-align: left;
    }

    .flow-redesign .flow-preparation {
        padding: 20px 16px;
    }

    .flow-redesign .flow-preparation h2 {
        font-size: 21px;
    }

    .flow-redesign .flow-plans {
        padding: 34px 0;
    }

    .flow-redesign .flow-section-heading h2 {
        font-size: 26px;
    }

    .flow-redesign .flow-section-heading p,
    .flow-redesign .flow-plan-note {
        text-align: left;
    }


}

/* 狭い表示幅：番号を上に置き、見出しに本文と同じ幅を確保する。 */
@media screen and (max-width: 380px) {
    .flow-redesign .flow-step-copy h3 {
        min-height: 0;
        padding-top: 50px;
        padding-left: 0;
    }
}

/* 07. 印刷 */
@media print {
    .flow-redesign .flow-step,
    .flow-redesign .flow-plan-card,
    .flow-redesign .flow-complete,
    .flow-redesign .flow-preparation {
        break-inside: avoid;
    }
}

/* =========================================================
   導入までの流れ：写真29を使ったHERO
   高さ・横幅・余白は page.css の共通HERO設定を使用。
   ========================================================= */
.flow-page-hero {
    position: relative;
    isolation: isolate;
    background: #294c43;
    color: #fff;
}
.flow-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
}
.flow-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(9,35,30,.86) 0%, rgba(9,35,30,.74) 36%, rgba(9,35,30,.22) 64%, rgba(9,35,30,.08) 100%);
}
.flow-page-hero .flow-hero-kicker {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .06em;
    color: #e2e5d8;
}
.flow-page-hero #flow-hero-title {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
}
.flow-page-hero .flow-hero-description {
    margin: 0;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 21px;
    line-height: 1.9;
    letter-spacing: .04em;
}
.flow-main { border-top: 0; }
/* 共通CSSのスマホ用article余白を解除し、冒頭の余白はflow-overviewで管理 */
#pankuzu.agri-breadcrumb + .flow-main > #flow.flow-redesign {
    padding-top: 0;
}
@media screen and (max-width: 767px) {
    .flow-hero-bg { background-position: 73% center; }
    .flow-hero-shade {
        background: linear-gradient(90deg, rgba(9,35,30,.78), rgba(9,35,30,.62) 56%, rgba(9,35,30,.25));
    }
    .flow-page-hero #flow-hero-title { font-size: 32px; }
    .flow-page-hero .flow-hero-description { font-size: 18px; }
}
