.button-01{
  position: relative;
  isolation: isolate;

  width: 240px;
  height: 48px;
  border-radius: 100px;
  padding: 10px 30px 10px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Zen Kaku Gothic New", sans-serif;

  /* 色（反転用） */
  --fg: #fff;
  --fg-hover: #e85959;

  color: var(--fg);
  font-weight: bold;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .01em;
  text-align: center;

  background: #e85959;
  border: 1px solid var(--btn-border, transparent);

  cursor: pointer;
  overflow: hidden;

  transition: color .0s ease;
}

@media screen and (max-width: 519px) {
    .button-01 {
        font-size: 13px;
    }
}

/* ===== 右端のドット ===== */
.button-01::after{
  content: "";
  position: absolute;
  right: 18px;               /* ← 起点（重要） */
  top: 50%;
  transform: translateY(-50%);

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background-color: var(--fg);
  transition: background-color .25s ease;
  z-index: 1;
}

/* ===== dot起点で広がる背景 ===== */
.button-01::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;

  /* dot位置を中心に円を作る */
  clip-path: circle(
    0px at calc(100% - 18px) 50%
  );

  transition: clip-path .45s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}

/* hover時：円が広がる */
.button-01:hover::before,
    .button-01:focus-visible::before{
    clip-path: circle(
        800px at calc(100% - 18px) 50%
    );
}

/* hover時：文字色反転 */
.button-01:hover,
.button-01:focus-visible{
  color: var(--fg-hover);
  outline: none;
}

/* hover時：ドット色反転 */
.button-01:hover::after,
.button-01:focus-visible::after{
  background-color: var(--fg-hover);
}
/* --- タイトル・リード文中央揃え、イラスト右上独立配置 --- */
.purchase-flow-title-area {
    position: relative;
    width: 100%;
    max-width: 1100px;
    min-height: 260px;
    margin: 0 auto 100px auto;
    text-align: center;
    padding-top: 130px;
    overflow: visible;
}


.purchase-flow-title::before,
.purchase-flow-title::after{
  content: "";
  width: 56px;
  height: 6px;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.7px);
  background-size: 10px 6px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.9;
  color: #222;
}


.purchase-flow-title-illust {
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
.purchase-flow-title-illust img {
    width: 420px;
    max-width: 80vw;
    height: auto;
    min-width: 220px;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-title-area {
        max-width: 98vw;
        min-height: 180px;
        padding-top: 32px;
    }
    .purchase-flow-title-illust {
        top: 32px;
    }
    .purchase-flow-title-illust img {
        width: 220px;
        max-width: 50vw;
        min-width: 120px;
    }

    .rounded-button.button{
    min-width: 200px !important;
  }
}
@media screen and (max-width: 519px) {
    .purchase-flow-title-area {
        padding-top: 0;
        max-width: 100vw;
        min-height: 0;
        padding: 0 32px;
    }
    .purchase-flow-title-illust {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 auto 8px auto;
    }
    .purchase-flow-title-illust img {
        width: 180px;
        max-width: 90vw;
        min-width: 80px;
        margin: 0 auto;
    }

}
/* --- タイトル＋イラスト横並び中央揃え --- */
.purchase-flow-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}
.purchase-flow-title {
    margin: 0;
    padding: 0;
}
.purchase-flow-title-illust {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.purchase-flow-title-illust img {
    width: 120px;
    max-width: 18vw;
    height: auto;
    margin: 0;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-title-row {
        gap: 20px;
    }
    .purchase-flow-title-illust img {
        width: 90px;
        max-width: 16vw;
    }
}
@media screen and (max-width: 519px) {
    .purchase-flow-title-row {
        flex-direction: column;
        gap: 8px;
    }
    .purchase-flow-title-illust img {
        width: 70px;
        max-width: 40vw;
    }
}

/* --- reset.cssに負けないイラスト右寄せ・レスポンシブ --- */
.purchase-flow-header-area .flow-intro-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}
.purchase-flow-header-area .flow-intro-text-side {
    flex: 1 1 0%;
}
.purchase-flow-header-area .flow-intro-illust-side {
    flex: 0 0 180px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: auto;
    text-align: right;
    width: 180px;
}
.purchase-flow-header-area .flow-intro-illust-side img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-header-area .flow-intro-inner {
        gap: 16px;
    }
    .purchase-flow-header-area .flow-intro-illust-side {
        width: 140px;
        flex-basis: 140px;
    }
    .purchase-flow-header-area .flow-intro-illust-side img {
        max-width: 140px;
    }
}
@media screen and (max-width: 519px) {
    .purchase-flow-header-area .flow-intro-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .purchase-flow-header-area .flow-intro-illust-side {
        width: 100%;
        flex-basis: 100%;
        margin-left: 0;
        justify-content: center;
        text-align: center;
    }
    .purchase-flow-header-area .flow-intro-illust-side img {
        max-width: 100px;
    }
}

/* --- reset.css等に絶対負けない強制上書き --- */
.purchase-flow-header-area .flow-intro-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 32px !important;
}
.purchase-flow-header-area .flow-intro-text-side {
    flex: 1 1 0% !important;
}
.purchase-flow-header-area .flow-intro-illust-side {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: right !important;
    margin-top: 0 !important;
    width: auto !important;
}
.purchase-flow-header-area .flow-intro-illust-side img {
    max-width: 180px !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-header-area .flow-intro-inner {
        gap: 16px !important;
    }
    .purchase-flow-header-area .flow-intro-illust-side img {
        max-width: 140px !important;
    }
}
@media screen and (max-width: 519px) {
    .purchase-flow-header-area .flow-intro-inner {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .purchase-flow-header-area .flow-intro-illust-side {
        margin-left: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .purchase-flow-header-area .flow-intro-illust-side img {
        max-width: 100px !important;
    }
}

/* --- flow-intro-illust-side レスポンシブ徹底上書き --- */
.flow-intro-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 32px !important;
}
.flow-intro-text-side {
    flex: 1 1 0%;
}
.flow-intro-illust-side {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: right !important;
    margin-top: 0 !important;
}
.flow-intro-illust-side img {
    max-width: 180px !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .flow-intro-inner {
        gap: 16px !important;
    }
    .flow-intro-illust-side img {
        max-width: 140px !important;
    }
}
@media screen and (max-width: 519px) {
    .flow-intro-inner {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .flow-intro-illust-side {
        margin-left: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .flow-intro-illust-side img {
        max-width: 100px !important;
    }
}

/* --- 上書き調整: タイトル・説明文を下に、イラストを近くに --- */
.purchase-flow-header-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 80px !important;
}
.purchase-flow-title {
    margin-top: 0 !important;
}
.flow-lead-main {
    margin-bottom: 24px !important;
    margin-top: 0 !important;
}
.flow-intro-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-top: 0 !important;
}
.flow-intro-illust-side {
    flex: 0 0 180px !important;
    text-align: left !important;
    display: flex !important;
    align-items: flex-start !important;
    margin-top: -32px !important;
}
.flow-intro-illust-side img {
    max-width: 180px !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
}
@media screen and (max-width: 959px) {
    .purchase-flow-header-area {
        padding-top: 40px !important;
    }
    .flow-intro-inner {
        gap: 8px !important;
    }
    .flow-intro-illust-side {
        margin-top: -20px !important;
    }
    .flow-intro-illust-side img {
        max-width: 140px !important;
    }
}
@media screen and (max-width: 519px) {
    .purchase-flow-header-area {
        padding-top: 66px !important;
    }
    .purchase-flow-title {
        font-size: 32px !important;
        margin-bottom: 36px !important;
    }
    .flow-lead-main, .flow-lead-sub {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    .flow-intro-inner {
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .flow-intro-illust-side {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .flow-intro-illust-side img {
        max-width: 100px !important;
    }
}
/* Base styles for the purchase_flow page */
body {
    background-color: #ffffff;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 16px;
    color: #333;
}

.purchase-flow-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0; /* Remove excessive horizontal padding */
}

/* Tablet (520px to 959px) */
@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-container {
        max-width: 100%;
        margin: 0 20px;
        padding: 0;
    }
}

/* Mobile (up to 519px) */
@media screen and (max-width: 519px) {
    .purchase-flow-container {
        max-width: 100%;
        margin: 0 15px;
        padding: 0;
    }
}

.breadcrumb {
    text-align: right;
    font-size: 12px;
    color: #999999;
    margin-bottom: 20px;
}

/* --- purchase-flow-title --- */
.purchase-flow-title {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    font-weight: bold;
    color: #EB8E22;
    text-align: center;
    font-size: 48px;
    line-height: 54px;
    letter-spacing:0.1em;
    margin-top: 80px;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    word-break: keep-all;
    word-wrap: break-word;
    gap: 10px;
}


@media screen and (min-width: 520px) and (max-width: 959px) {
    .purchase-flow-title {
        font-size: 30px;
        line-height: 45px;
        letter-spacing: 3.0px;
        margin-top: 38px;
        margin-bottom: 18px;
    }
}


.flow-title {
    font-size: 28px;
    color: #f5a623;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.flow-title::before,
.flow-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #ccc;
}

.flow-title::before {
    left: -60px;
}

.flow-title::after {
    right: -60px;
}

.flow-lead-main {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 18px;
    margin-top: 18px;
    letter-spacing: 0.1em;
}

.flow-lead-sub {
     font-size: 24px;
     font-weight: bold;
     text-align: center;
     margin-bottom: 20px;
     letter-spacing: 0.1em;
}

@media screen and (max-width: 519px) {
    .flow-lead-main,
    .flow-lead-sub {
        text-align: left;
        line-height: 2;
    }
}

.flow-intro-inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px; }

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


    .flow-intro-inner {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    .flow-intro-illust-side img {
        max-width: 120px;
    }
}
}

.flow-intro-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex: 1 1 0%;
}

.flow-intro-illust-side {
    flex: 0 0 180px;
    text-align: left;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
}
.flow-intro-illust-side img {
    max-width: 180px;
    height: auto;
    margin: 0;
}

.flow-steps {
    margin-bottom: 80px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 220px;
        max-width: 320px;
        height: auto;}

.flow-step {
    display: flex;
    margin-bottom: 60px;
}

.flow-step-badge {
        width: 100%;
        max-width: 260px;
        height: auto;
        display: block;
    background-color: #149c5b;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.flow-step-badge::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #149c5b;
}

.flow-step-body {
    flex: 1;
    padding-left: 20px;
}

.flow-step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.flow-step-title-border {
    border-bottom: 1px dotted #999;
    margin-bottom: 10px;
}

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

.flow-step-buttons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    justify-content: flex-end;
}

.flow-step-button {
    background-color: #f15a5a;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.flow-step-button:hover {
    background-color: #d32f2f;
}

.flow-bottom-banner {
    margin: 0 auto 60px;
    max-width: 1240px;
    background-color: #fff;
    border: 4px solid #f2645b;
    border-radius: 150px;
    padding: 40px 90px;
    margin-bottom: 60px;
}

.flow-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 37px;
}

.flow-bottom-illust img {
    max-width: 253px;
    height: auto;
}

.flow-bottom-text {
    flex: 1;
    text-align: left;
}

.flow-bottom-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 28px;
    font-family: "Zen Kaku Gothic New";
    letter-spacing: 0.06em;
}

.flow-bottom-lead {
    font-size: 17px;
    margin-bottom: 20px;
    font-family: "Zen Kaku Gothic New";
    letter-spacing: 0.1em;
    line-height: 1.8;
    font-weight: 600;
}

.flow-bottom-button {
    background-color: #f15a5a;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    cursor: pointer;
}

.flow-bottom-button:hover {
    background-color: #d32f2f;
}

/* --- sell-flow-steps --- */

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

.sell-flow-step {
    display: flex;
    gap: 40px;
}
.sell-flow-cta{
    display: flex;
     justify-content: space-between;
}

.sell-flow-step-time{
    font-size: 16px;
}
@media (max-width: 1127px) {
  .sell-flow-cta {
    display: block;
  }
}
.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: 24px;
    box-sizing: border-box;
    text-align: center;
}

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

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

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

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

.sell-flow-content {
    flex: 1;
    margin-top: 15px;
}

.sell-flow-step-title {
    padding: 0 0 20px 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 20px;
}

.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.8;
    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;
}

.rounded-button.button {
    min-width: 240px;
    height: 48px;
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;

    --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;
}



@media screen and (max-width: 519px) {
.flow-bottom-title{
    font-size: 20px;
    line-height: 1.6;
}

.flow-bottom-lead{
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}
.flow-bottom-banner{
    width: 90%;
    max-width: 1240px;
    padding: 40px 40px;
    border-radius: 0;

}

     .flow-bottom-inner{
    display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
     }

    .flow-bottom-text{
        align-items: center;
        text-align: center;
        justify-items: center;
     }

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

  .sell-flow-steps{
    width: 90%;
    margin: 0 auto 40px;
    gap: 40px;
  }


  .sell-flow-step{
    display: block;
    background: #fff;
  }


  .sell-flow-icon{
    width: 100%;
    height: 60px;
    padding: 10px 14px;
    border-radius: 0;
    align-items: center;
    gap: 10px;
     position: relative;
    display: block;
    box-sizing: border-box;
  }

   .sell-flow-icon .step-text{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
  }


  .step-label{
    font-size: 20px;
    letter-spacing: .04em;
  }
  .step-number{
    font-size: 24px;
    letter-spacing: .04em;
  }


  .step-image{
    position: static;
    width: 56px;
    height: 56px;
    display: block;
  }


  .sell-flow-triangle{
    bottom: -10px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #2b9b7d;
  }


  .sell-flow-content{
    padding: 14px 14px 0;
  }


  .sell-flow-step-title{
    font-size: 18px;
    margin: 30px 0 16px;
    padding: 0;
    border-bottom: none;
    letter-spacing: 0.04em;
  }


  .sell-flow-dotted-line{
    display: block;
    margin: 8px 0 10px;
    border-bottom: 2px dotted #222;
  }

  .sell-flow-step-text{
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    letter-spacing: 0.04em;
  }


  .sell-flow-cta{
    display: block;
  }



  .sell-flow-icon .step-image{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: block;
  }
   .sell-flow-icon .step-image1{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 30px;
    display: block;
  }  
  .sell-flow-icon .step-image2{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 23px;
    height: 30px;
    display: block;
  }
     .sell-flow-icon .step-image3{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 30px;
    display: block;
  }  
  .flow-step-buttons{
    display: flex;
    gap: 10px;
    margin: 10px 0 14px;
  }


  .rounded-button.button{
    min-width: 156px !important;
    width: 100%;
    height: 44px;
    font-size: 14px;
    padding: 10px 12px;
  }


}


/* --- purchase-flow-header-area --- */
.purchase-flow-header-area {
    margin-top: 96px;
    margin-bottom: 0;
}
@media screen and (min-width: 520px) and (max-width: 1024px) {

.flow-bottom-banner{
    width: 90%;
    max-width: 1240px;
    padding: 40px 40px;
    border-radius: 0;

}


     .flow-bottom-inner{
    display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
     }

    .flow-bottom-text{
        align-items: center;
        text-align: center;
        justify-items: center;
     }
    .purchase-flow-header-area {
        margin-top: 72px;
    }
}
@media screen and (max-width: 519px) {
    .purchase-flow-header-area {
        margin-top: 48px;
    }
}

.sp-only {
    display: none;
}

@media screen and (max-width: 519px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }}