.sell-top {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.sell-top-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 白い枠 */
.sell-white-box {
    position: absolute;
    bottom: -13%;
    left: 50%;
    transform: translate(-50%);
    width: 40%;
    height: 205px;
    background-color: #fff;
    border-radius: 20px;
}

.sell-inner {
    text-align: center;
    position: relative;
    top: 25%;
}

.sell-title {
    font-size: 40px;
    font-weight: bold;
    color: #222222;
    letter-spacing: 0.05em;
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-bottom: 20px;
}

.sell-sub {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #eb8e22;
}

.sell-text-outside {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    text-align: center;
    font-size: 24px;
    color: #222222;
    line-height: 2;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
    margin-top: 150px;
    width: 100%;
    letter-spacing: 0.05em;
}

.spacer {
    height: 800px;
    width: 100%;
}

.sell-gray-section {
    position: relative;
    width: 100%;
    height: 822px;
    background-color: #f4f4f4;
    margin-top: 300px;
}

/* 共通枠 */
.sell-box {
    position: absolute;
    height: 263px;
    background-color: #fff;
    border-radius: 13px;
    min-width: 280px;
    padding: 50px;
}

/* 上段 */
.sell-box-1 {
    top: 15%;
    left: 8%;
    width: calc((100% - 16% - 3%) / 2);
}

.sell-box-2 {
    top: 15%;
    left: calc(8% + ((100% - 16% - 3%) / 2) + 3%);
    width: calc((100% - 16% - 3%) / 2);
}

/* 下段 */
.sell-box-3 {
    bottom: 12%;
    left: 8%;
    width: calc((100% - 16% - 3%) / 2);
}

.sell-box-4 {
    bottom: 12%;
    left: calc(8% + ((100% - 16% - 3%) / 2) + 3%);
    width: calc((100% - 16% - 3%) / 2);
}

/* タイトル部分 */
.sell-box-title {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

/* サブテキスト部分 */
.sell-box-text {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.sell-box-number {
    position: absolute;
    top: -9%;
    left: 4%;
    font-size: 39px;
    font-weight: bold;
    color: #2b9b7d;
    font-family: "Ubuntu", sans-serif;
}

.sell-box-image {
    position: absolute;
    bottom: 16%;
    right: 6%;
    width: 37%;
}

.sell-rounded-box {
    width: 90%;
    max-width: 1240px;
    height: 185px;
    margin: 90px auto 0;
    background-color: #ffffff;
    border: 4px solid #e85959;
    border-radius: 92.5px;
    box-sizing: border-box;
    padding: 40px 40px;
    text-align: center;
    margin-bottom: 200px;
}

.rounded-text {
    margin: 0;
    font-size: 24px;
    color: #222222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.rounded-phone {
    font-size: 40px;
    color: #e85959;
    font-weight: bold;
    font-family: "Ubuntu", sans-serif;
}

.rounded-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.rounded-button {
    background-color: #e85959;
    min-width: 250px;
}

.sell-flow-section {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    background-color: #fff;
    text-align: left;
}

.sell-flow-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    font-size: 80px;
    color: #000000;
    margin-top: 90px;
    margin-bottom: 60px;
}

.sell-flow-steps {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto 200px;
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.sell-flow-step {
    display: flex;
    gap: 40px;
}

/* 左側の正方形 */
.sell-flow-icon {
    position: relative;
    width: 152px;
    height: 152px;
    background-color: #2b9b7d;
    color: #ffffff;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.step-text {
    display: flex;
    gap: 5px;
    font-size: 20px;
    align-items: baseline;
}

.step-number {
    font-size: 24px;
}

.step-image {
    position: absolute;
    height: auto;
    bottom: 25%;
}

/* 右側コンテンツ */
.sell-flow-content {
    flex: 1;
}

/* タイトル */
.sell-flow-step-title {
    padding: 0 0 40px 0;
    font-size: 24px;
    font-weight: bold;
    color: #222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    width: 100%;
    border-bottom: 2px dashed #222222;
    margin: 0 0 16px;
}

/* 点線 */
.sell-flow-dotted-line {
    display: none;
    width: 100%;
    height: 1px;
    border-bottom: 2px dashed #222222;
    margin: 8px 0 16px;
}

/* 説明文 */
.sell-flow-step-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.sell-flow-triangle {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 27px solid transparent;
    border-right: 27px solid transparent;
    border-top: 36px solid #2b9b7d;
}

@media screen and (min-width: 960px) {
}
@media screen and (min-width: 520px) and (max-width: 959px) {
}
@media screen and (max-width: 519px) {
    .sell-white-box {
        width: 85%;
        height: auto;
        padding: 30px 10px;
        bottom: -18%;
    }

    .sell-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .sell-sub {
        font-size: 14px;
    }

    .sell-text-outside {
        font-size: 18px;
        margin-top: 100px;
        line-height: 1.8;
        width: 90%;
    }

    .sell-gray-section {
        height: auto;
        padding: 40px 0;
    }

    .sell-box {
        position: relative;
        width: 85%;
        margin: 40px auto;
        height: auto;
        padding: 40px 30px;
    }

    /* 上段/下段の絶対配置リセット */
    .sell-box-1,
    .sell-box-2,
    .sell-box-3,
    .sell-box-4 {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 85%;
        margin: 0 auto 40px;
    }

    /* ▼BOX内の番号 */
    .sell-box-number {
        top: -15px;
        left: 20px;
        font-size: 28px;
    }

    /* BOXの画像 */
    .sell-box-image {
        position: static;
        width: 60%;
        margin: 20px auto 0;
        display: block;
    }

    /* ▼四角い丸枠（電話ボックス） */
    .sell-rounded-box {
        height: auto;
        padding: 30px 20px;
        margin-top: 50px;
        border-radius: 40px;
    }

    .rounded-text {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .rounded-phone {
        font-size: 28px;
    }

    .rounded-action {
        flex-direction: column;
        gap: 20px;
    }

    .rounded-button {
        width: 80%;
        height: 56px;
        font-size: 16px;
        border-radius: 28px;
        line-height: 56px;
        min-width: auto;
    }

    /* ▼FLOW セクション */
    .sell-flow-title {
        font-size: 40px;
        text-align: center;
    }

    .sell-flow-step {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* 左の四角いSTEP */
    .sell-flow-icon {
        width: 120px;
        height: 120px;
        font-size: 16px;
        padding: 10px;
    }

    .step-number {
        font-size: 20px;
    }

    .sell-flow-triangle {
        bottom: -18px;
        border-left-width: 18px;
        border-right-width: 18px;
        border-top-width: 22px;
    }

    /* 右側タイトルとテキスト */
    .sell-flow-step-title {
        font-size: 18px;
        margin-bottom: 10px;
        margin-top: 40px;
    }

    .sell-flow-step-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .sell-box-text br {
        display: none;
    }

        .sell-flow-step-text br{
            display: none;
        }
}
