/* =========================================================
   Process
   ========================================================= */
.sg-process {
    padding: 0 0 50px;
}

/* -------------------------
   Hero
------------------------- */
.sg-process .sgpc-hero {
    padding: 0 0 50px;
}

.sg-process .sgpc-hero-fig {
    margin: 0;
    display: flex;
    justify-content: center;
}

.sg-process .sgpc-hero-img {
    width: min(720px, 100%);
    height: auto;
    display: block;
}

/* -------------------------
   ステップナビ
------------------------- */
.sg-process .sgpc-stepnav {
    padding: 10px 0 40px;
}

.sg-process .sgpc-stepnav-inner {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    gap: 12px;
}

.sg-process .sgpc-stepcard {
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    gap: 10px;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    color: #000;
    text-decoration: none;
    padding: 10px 5px 5px;
}

.sg-process .sgpc-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    font-family: "Material Icons";
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 0;
    color: #818688;
    pointer-events: none;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* カード外に出す要素が見切れないようにする */
.sg-process .sgpc-stepnav,
.sg-process .sgpc-stepnav-inner,
.sg-process .sgpc-stepcard {
    overflow: visible;
}

.sg-process .sgpc-stepnum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 35px;
    height: 35px;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 35px;
    color: #669e9a;
}

.sg-process .sgpc-stepnav .sgpc-steptxt {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: .05em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-left: auto;
    margin-right: auto;
}

.sg-process .sgpc-stepico {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sg-process .sgpc-stepico img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

/* hover */
.sg-process .sgpc-stepcard {
    transition: transform .2s ease, opacity .2s ease;
}

.sg-process .sgpc-stepcard:hover,
.sg-process .sgpc-stepcard:focus {
    opacity: 0.5;
    transform: translateY(-5px);
}

/* -------------------------
   各ステップ
------------------------- */
.sg-process .sgpc-step {
    scroll-margin-top: 120px;
    padding: 40px 0;
}

/* 2カラム */
.sg-process .sgpc-step-inner {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.sg-process .sgpc-step-text {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: start;
}

/* 左：番号 */
.sg-process .sgpc-no {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 35px;
    letter-spacing: .10em;
    line-height: 1;
    color: #669e9a;
    white-space: nowrap;
}

/* 右：タイトル */
.sg-process .sgpc-ttl {
    grid-column: 2;
    grid-row: 1;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(20px, 2.0vw, 25px);
    letter-spacing: .03em;
    line-height: 1.3;
    margin: 0;
    padding-top: 5px;
}

/* 2行目以降：タイトル側に揃える */
.sg-process .sgpc-desc,
.sg-process .sgpc-text,
.sg-process .sgpc-list {
    grid-column: 1 / span 2;
}

/* 説明（短い1行） */
.sg-process .sgpc-desc {
    margin: 10px 0 0;
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.95;
}

/* 本文（長文） */
.sg-process .sgpc-text {
    line-height: 1.95;
    margin: 0;
}

/* 箇条書き */
.sg-process .sgpc-list {
    list-style: none;
    margin: 15px 0 0;
    padding: 5px 10px;
    border: 1px solid rgba(0, 0, 0, .35);
}

.sg-process .sgpc-list li {
    position: relative;
    padding-left: 25px;
    line-height: 1.85;
    margin: 5px 0;
}

/* チェック本体 */
.sg-process .sgpc-list li::before {
    position: absolute;
    left: 0;
    top: 5px;
    content: "check";
    font-family: "Material Icons";
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    color: #669e9a;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* 右：イラスト */
.sg-process .sgpc-step-fig {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.sg-process .sgpc-step-fig img {
    width: min(220px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 900px) {
    .sg-process .sgpc-stepnav-inner {
        padding: 0 var(--sg-pad, 20px);
        gap: 12px;
    }

    .sg-process .sgpc-step {
        scroll-margin-top: 95px;
    }

    .sg-process .sgpc-step-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 var(--sg-pad, 20px);
        align-items: start;
    }

    .sg-process .sgpc-step-fig {
        justify-content: flex-start;
    }

    .sg-process .sgpc-step-text {
        column-gap: 12px;
    }
}

@media (max-width: 600px) {
    .sg-process {
        padding-bottom: 50px;
    }

    .sg-process .sgpc-stepnav {
        padding-bottom: 26px;
    }

    .sg-process .sgpc-stepnav-inner {
        padding: 0 var(--sg-pad, 10px);
    }

    .sg-process .sgpc-step {
        scroll-margin-top: 80px;
    }

    .sg-process .sgpc-step {
        padding: 34px 0;
    }

    .sg-process .sgpc-step-inner {
        padding: 0 var(--sg-pad, 10px);
    }

    .sg-process .sgpc-stepnav .sgpc-steptxt {
        font-size: 13px;
    }
}