@media (max-width: 1500px) {
  .main::before {
    width: 16%;
    max-width: 364px;
    aspect-ratio: 364 / 762;
  }

  .main::after {
    width: 16%;
    max-width: 305px;
    aspect-ratio: 305 / 652;
  }

}

@media (max-width: 830px) {

 .pc_none{
    display:block;
}
.sp_none{
    display:none;
}
.inner_1080{
  padding: 0px 14px;
}
.sp\:mt_0{
  margin-top: 0px;
}
.sp\:mt_30{
  margin-top: 30px;
}
.sp\:width\[100\%\]{
  width: 100%;
}
.sp\:grid_1{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 10px;
}
.linK_box .text_center{
  width: 80%;
}
.linK_box .text_center p{
font-size: 1.6rem;
}
.linK_box .common_link{
  width: 100%;
}
.linK_box img{
  width: 20%;
}
.order {
    padding: 0px 10px;
  }
.basic_box{
  padding: 18px;
}
.commonTitle01{
  font-size: 1.8rem;
  line-height: 1.2em;
  margin: 20px 0px 40px 0px;
  padding-left: 0px;
}
.order_contents h2.commonTitle01 span:before {
    width: 62px;
    height: 62px;
    left: -76px;
    top: -18px;
}
.Top_list .circle p{
  font-size: 1.5rem;
}
.py_50 {
    padding: 40px 0px;
}
  p {
    font-size: 1.6rem;
  }

  .nobr {
    display: none;
  }

  .spbr {
    display: block;
  }

  .mainText_top h4 {
    font-size: 1.4rem;
  }

  .items {
    grid-template-columns: repeat(3, 1fr);
  }
  .priceSwitch__tabs {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .mainText_middle {
    width: 100%;
    margin-top: 0px;
  }
  .Top_list {
    width: 100%;
  }
  .problemSolved_inner {
    width: 100%;
    padding: 0;
  }

  .gift_box {
    padding: 30px 20px;
    width: 100%;
  }

  .EnTitle {
    font-size:4.4rem;
  }

  .gift_box:nth-of-type(1) h3.gift_title {
    width: 100%;
  }
  .gift_box:nth-of-type(2) h3.gift_title {
    width: 100%;
  }
  .gift_box:nth-of-type(3) h3.gift_title {
    width: 100%;
  }

  .Top_list {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .Top_list li {
    width: 100%;
  }

  .Top_list li:nth-child(2) {
    width: 48%;
  }
  .Top_list li:nth-child(3) {
    width: 48%;
  }

  .mainText_middle .list {
    flex-wrap: wrap;
    padding: 15px 10px;
  }

  .mainText_middle .list li {
    font-size: 1.6rem;
  }

  .mainText_middle .list h4 {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
  }

  .mainText_middle .list li span:before {
    width: 17px;
    height: 17px;
    left: -25px;
  }

  .mainText_middle .list ul {
    width: 100%;
    padding-left: 40px;
  }

  .main::before {
    display: none;
  }

  .main::after {
    display: none;
  }

  .problemSolved {
    min-height: 90vh;
  }

  .problemSolved_inner {
    width: 100%;
  }

  .Point--Sche{
    padding: 90px 0px 0px 0px;
}

  .Point--Sche::before {
    display: none;
  }

  .Point--Sche::after {
    display: none;
  }
  .mainText_middle h3 {
    font-size: 2.6rem;
  }

  .main img.deco01 {
    display: none;
  }

  .mainText_img {
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .Top_list .circle {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .Top_list .circle p strong {
    font-size: 2.4rem;
  }

  .Top_list .circle p strong.f_size01 {
    font-size: 2.0rem;
  }

  .problemTop h2 {
    font-size: 2rem;
  }

  .problemBottom figure img.PB_img_pc {
    display: none;
  }

  .problemBottom figure img.PB_img_sp {
    display: block;
  }

  .problemTop {
    margin-bottom: 0px;
  }

  .problemSolved {
    background-image: url(https://files.bcart.jp/dearly/uploads/LP/sales-promotion/img/03_solution_bg-img-sp.png);
    padding-top: 90px;
  }

  .point_inner {
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
  }

  .point_inner li {
    width: 100%;
    display: flex;
    border-radius: 10px;
    position: relative;
  }

  .point_inner li:nth-child(1):before{
    position: absolute;
    content: "01";
    top:-40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    font-weight: 700;
  }
  .point_inner li:nth-child(2):before{
    position: absolute;
    content: "02";
    top:-40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    font-weight: 700;
  }
  .point_inner li:nth-child(3):before{
    position: absolute;
    content: "03";
    top:-40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    font-weight: 700;
  }



  .point_inner li h5 {
    width: 30%;
    border-radius: 8px 0px 0px 8px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
  }

  .point_inner li img {
    width: 70%;
  }

  .point_inner .deco01_sp {
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .Point_content .deco01_sp {
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .service01_inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  .service01_inner li {
    width: 100%;
    padding: 14px;
  }

  .service {
    padding: 20px;
  }
  .service01 {
    padding: 20px;
  }

  .service02 {
    flex-wrap: wrap;
    gap: 20px;
  }

  .service02 .service02_inner {
    width: 100%;
  }

  .service > h4 {
    margin-bottom: 10px;
    font-size: 2.2rem;
  }

.flow {
    flex-wrap: wrap;
    gap: 60px;
    overflow: hidden;
    padding: 36px 0px;
    width: 94%;
    margin: 0 auto;
    margin-top: 40px;
  }

  .Point--Sche_close h3 {
    font-size: 1.6rem;
  }

  .wrapbox {
    justify-content: space-between;
  }

  .wrapbox figure {
    width: 48%;
  }

  .gift_box .gift_inner {
    display: flex;
    flex-wrap: nowrap; /* 折り返し禁止＝横一列 */
    overflow-x: auto; /* 横スクロール */
    overflow-y: hidden; /* 縦スクロールを殺す */
    gap: 16px;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch; /* iPhoneのヌルヌルスクロール */
    margin-top: 30px;
    justify-content: left;
  }

  .gift_box .gift_inner li {
    flex: 0 0 auto; /* 縮まない＆幅固定にしやすい */
    width: 200px; /* 好きなカード幅に調整 */
    list-style: none;
    margin-top: 60px;
  }

  .gift_box .gift_inner img {
    width: 100%;
    height: auto;
    display: block;
  }

  .gift_box h3.gift_title {
    padding: 14px;
  }

  .gift_box h3.gift_title:before {
    transform: rotate(-70deg);
    right: 90px;
    bottom: -30px;
    top: inherit;
    left: inherit;
  }

  .gift_box:nth-of-type(2) h3.gift_title:before {
    transform: rotate(-110deg);
    left: 100px;
    bottom: -30px;
    top: inherit;
  }

  .gift_box h3.gift_title strong {
    display: inline-block;
  }

  .gift_box:nth-of-type(1) h3.gift_title:after {
    left: 50%;
    transform: translateX(-50%);
    top: 100px;
    width: 120px;
  }

  .gift_box:nth-of-type(2) h3.gift_title:after {
    left: 50%;
    transform: translateX(-50%);
    top: 140px;
    width: 100px;
  }

  .gift_box:nth-of-type(3) h3.gift_title:after {
    left: 50%;
    transform: translateX(-50%);
    top: 140px;
    width: 100px;
  }

  .gift_box h4 {
    padding-top: 90px;
  }

  .Lineup p.intro {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .gift_boxs {
    gap: 40px;
  }

  .Lineup {
    padding: 40px 0px;
  }

  .Lineup::before {
    display: none;
  }

  .point_inner li img.point_img_pc {
    display: none;
  }

  .point_inner li img.point_img_sp {
    display: block;
  }
  .Point_content h4 {
    font-size: 1.8rem;
  }

  .problemSolved_inner h3 span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
.problemSolved_inner h3 span:before{
  left: -10px;
}
.problemSolved_inner h3 span:after{
  right: -20px;
}
  .Sche_content h4 {
    font-size: 1.4rem;
  }

  .Point--Sche_close h3 img {
    width: 100px;
  }

  .Point--Sche .deco01_sp {
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .Howtouse {
    padding: 40px 0px;
  }

  .Howtouse_pc {
    display: none;
  }

  .Howtouse_sp {
    display: block;
  }

  .Introduction {
    padding: 40px 0px;
  }
.flow_contents .deco01{
  left: 0px;
  top: -30px;
  width: 50px;
  height: 50px;
}
.flow .arrow {
    top: 160%; /* 下に置くならここ調整 */
    left: 50%;
    right: auto;
    width: 180px;

    transform-origin: center;
    transform: translate(0%, 0) rotate(170deg);
  }

.flow .arrow::after {
    width: 180px;
    transform: rotate(-160deg);
  }
.flow li {
  width: 100%;
  padding-top: 0px;
  padding-left: 30px;
  position: relative;
  height: 40px;
  display: flex;
  justify-content: center;
  }

.flow li:before {
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
  }

  .intro_inner {
    padding: 30px 20px;
    width: 100%;
  }

  .items.is-active {
    display: flex;
  }

  .items {
    display: none;
    flex-wrap: nowrap; /* 折り返し禁止＝横一列 */
    overflow-x: auto; /* 横スクロール */
    overflow-y: hidden; /* 縦スクロールを殺す */
    gap: 16px;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch; /* iPhoneのヌルヌルスクロール */
    margin-top: 30px;
    justify-content: left;
  }

  .items li.item {
    flex: 0 0 auto; /* 縮まない＆幅固定にしやすい */
    width: 200px; /* 好きなカード幅に調整 */
    list-style: none;
    margin-top: 0px;
  }

  .tab {
    font-size: 1.2rem;
    padding: 10px 6px;
  }

  .tab span {
    font-size: 1.5rem;
  }

  .introTitle {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .ribbon_back{
    width: 240px;
    padding-top: 4px;
    font-size: 1.6rem;
  }
.order_ex .box_1{
  order:2;
}
.order_ex .box_2{
  order:1;
}
.order_ex .box_3{
  order:3;
}
.order_ex_inner p{
  width: 100%;
}
.order_ex .box_1{
  order:2;
}
.order_ex .box_2{
  order:1;
}
.order_ex .box_2 img{
  width:80%;
}

  .order_ex_inner{
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .order_ex_inner li{
    display: flex;
    align-items: center;
    text-align: left;
}
.order_ex_inner li span{
  margin-right: 10px;
}
.lineup .colorback_skyblue {
    padding: 40px 10px;
}
.lineup {
    padding: 40px 0px;
}
.lineup_bottom{
  margin: 30px -10px -80px -10px;
  font-size: 1.6rem;
}
.contact .contact_inner h5 span {
    font-size: 1.3rem;
    padding: 0 22px;
}
.commonTitle02{
  font-size:1.6rem;
}
.introTitle span {
    font-size: 1.2rem;
}
.search_btn p span {
    width: 90%;
  }
  .search_btn p span:before {
    top: 70%;
  }
  .search_btn p span:after {
    top: 70%;
  }
  .order_ex_inner .human_img{
    width: 25%;
  }
.main img.deco01 {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 72px;
    max-width: 72px;
    height: 72px;
	display: block;
	z-index: 2;
  pointer-events: none;
}
.img.deco01 {
  width: 72px;
  max-width: 72px;
  height: 72px;
  display: block;

  flex-shrink: 0; /* ←これ重要 */
}
.flow_contents {
  position: relative;
}
.img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.main {
    padding: 20px 0;
  }

  .main .inner_960 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .main.main--hero {
    padding: 20px 0 !important;
  }
sbody {
  margin: 0;
}

section {
  margin: 0;
  padding: 0;
}

/* メインと次セクションの間の余白を完全制御 */
.main--hero {
  margin-bottom: 0;
  padding-bottom: 20px; /* ←ここはデザイン用の余白 */
}

.consul {
  margin-top: 0;
  padding-top: 20px; /* ←ここもデザイン用 */
}

/* flexは不要なら消してOK（今回の原因じゃない） */
.main {
  display: block;
}
}