.yellow{
  color:#eb8e22;
}
.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 セクション
========================= */
.sell-gray-section {
  position: relative;
  width: 100%;
  height: 900px;
  background-color: #f4f4f4;
}


.sell-box {
  position: absolute;
  height: 300px;
  background-color: #fff;
  border-radius: 13px;
  min-width: 280px;
  padding: 40px;
  box-sizing: border-box;
}

/* 上段 */
.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-main {
  display: flex;
  gap: 24px;
  height: 100%;
  align-items: center;
}


.sell-box-left {
  flex: 1 1 0;
  min-width: 0;
}


.sell-box-image {
  flex: 1 1 0;
  height: 100%;
  overflow: hidden;
}


.sell-box-image img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
}

.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.05em;
}

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




.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 {
    min-width: 240px;
    height:48px;
    --btn-bg: #e85959;
  --btn-fg: #fff;
  --btn-border: transparent;


  --btn-bg-hover: #fff;
  --btn-fg-hover: #e85959;
  --btn-border-hover: #e85959;


  --dot-color: #fff;
  --dot-size: 8px;
  --dot-scale: 2.2;
  --dot-opacity-hover: 0;
  --dot-right: 18px;

  --dot-dur: .24s;
  --btn-dur: .24s;
}

.contact-btn {
    background-color: #e85959;
/*     min-width: 250px;
    display: inline-block; */
    width: 240px;
    height: 64px;
    font-size: 18px;
}

@media screen and (max-width: 1280px) {
.sell-box-title {
  font-size: 22px;
  line-height: 1.2;

}
}


@media screen and (max-width: 960px) {

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


  .sell-box {
    position: static;
    width: 100%;
    height: auto;
    padding: 24px 20px 28px;
    margin-bottom: 28px;
    border-radius: 14px;
    box-sizing: border-box;
  }

    .sell-box-number {
    position: static;
    font-size: 22px;
    margin-bottom: 8px;
  }


}

@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-box-main {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .sell-box-left {
    width: 100%;
  }


  .sell-box-title {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }


  .sell-box-text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }



   .sell-box-image{
    width: 100% !important;
    height:auto;
    flex:none;
    margin: 16px 0 0 !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }


  .sell-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .rounded-button.button {
    display: block!important;
    margin: 0 auto;
  }
}

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

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

    /*company CTA*/
    .company-CTA{
        margin-bottom: 80px;
    }

    .company-CTA .company-contact{
        margin-top: 120px;
    }

    @media screen and (max-width: 1049px) {
      .company-CTA {
        padding: 60px 32px;
        margin-bottom:0;
      }
    .company-CTA .company-contact {
          margin-top: 0px;
        width: 100%;
        border-radius: 100px;

    }
}
   @media screen and (max-width: 519px){

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

    .company-CTA{
        padding: 0 32px;
    }
    .company-CTA .company-contact {
        width: 100%;
        margin: 80px auto;
        background-color: #fff;
        border: 4px solid #e85959;
        border-radius: 0;
        box-sizing: border-box;
        padding: 40px 19px;
        align-items: center;
        text-align: center;
    }

 .company-CTA .contact-message {
        font: normal normal bold 20px / 36px "Zen Kaku Gothic New";
        letter-spacing: 2px;
        color: #222;
        padding: 0px;
    }

.company-CTA .contact-phone {
        font: normal normal bold 34px / 51px "Ubuntu";
        letter-spacing: 3.4px;
        color: #E85959;
        font-size: 24px;
        font-weight: bold;
    }

.company-CTA .contact-btn {
    color: #fff !important;
    font-size: 16px;
    margin: 35px auto 0px;
    }

}

/* =========================
   FLOW PC
========================= */

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

.sell-flow-title{
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 80px;
  color: #000;
  letter-spacing: 0.1em;

}

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

.sell-flow-step{
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* 左側：STEPブロック */
.sell-flow-icon{
  position: relative;
  width: 152px;
  height: 152px;
  background-color: #2b9b7d;
  color: #fff;
  border-radius: 0;
  box-sizing: border-box;
  padding: 18px 16px;
  display: block;
  flex: 0 0 152px;
}

/* STEP 01 のテキスト（左上） */
.step-text{
  align-items: baseline;
  gap: 8px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}

.step-label{
  font-size: 14px;
  letter-spacing: 0.08em;
}

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


.step-image{
    position: absolute;
    top: 60px;
    right: 46px;
    width: 63px;
    height: 42px;
    object-fit: contain;
}

/* 下の三角 */
.sell-flow-triangle{
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 18px solid #2b9b7d;
}

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


.sell-flow-step-title{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #222;
letter-spacing: 0.1em;

  padding: 0 0 18px 0;
  margin: 0 0 18px 0;
  border-bottom: 2px dotted #222;
}


.sell-flow-dotted-line{
  display: none;
}

.sell-flow-step-text{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: #222;
  margin: 0;
}

/* STEP2 のボタンなどがある場合の余白 */
.sell-flow-content .rounded-button{
  margin-top: 22px;
}

/* =========================
   FLOW SP
========================= */
@media screen and (max-width: 1049px){
.sell-box-title{
    margin-top: 40px;
    font-size:16px;
}

.sell-box-text{
    font-size:14px;
}
}
@media screen and (max-width: 519px) {

  /* --- sell-flow セクション --- */
  .sell-flow-section {
    display: none;
  }

  .sell-flow-title {
    font-size: 40px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .sell-flow-steps {
    width: 100%;
    gap: 40px;
    padding: 0 32px;
  }

  .sell-flow-step {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .sell-flow-icon {
    width: 100%;
    height: 68px;
    flex: none;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-text {
    gap: 10px;
    font-size: 16px;
  }

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

  .step-image {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
  }

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

  .sell-flow-content {
    padding-top: 22px;
  }

  .sell-flow-step-title {
    font-size: 18px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .sell-flow-step-text {
    font-size: 14px;
    line-height: 1.8;
  }

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

  /* --- CTA（無料査定ボタン） --- */
  .company-CTA {
    display: block !important;
    padding: 20px 16px;
  }

  .company-contact {
    display: block !important;
  }

  .contact-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .contact-btn {
    display: block !important;
    width: 100% !important;
    max-width: 240px;
    height: auto !important;
    margin: 20px auto 0 !important;
    font-size: 14px !important;
    background-color: #e85959 !important;
    color: #fff !important;
    text-align: center;
    z-index: 1;
  }
}
@media (max-width: 768px) {
     .sell-box-title {
        margin-top: 0;
    }
    .contact-btn { display: block !important; width: 100%; /* 必要なら幅調整 */ height: auto; /* 高さも調整可能 */ }
}
