@media (max-width: 1200px) {
  .header-right {
    transform: translateX(60px);
  }
  .header-title {
    padding-left: 420px;
  }
  .header-left {
    transform: translate(60px, 10px);
  }
  .main-layout {
    max-width: 1024px;
    width: 100%;
  }
  .section-cards {
    overflow-x: auto;
  }
  .section-card {
    min-width: 304px;
  }  
  .section1-card-content {
    height: 340px;
  }
  .section1-card-title {
    height: 240px;
  }
  .section1-card-title-children {
    height: 260px;
    width: 290px;
    padding-left: 290px;
    overflow: hidden;
  }
  .section1-card {
    width: 314px;
  }
  .section1-main {
    top: 50px;
  }
  .card1 {
    background: url("../image/card1.png") no-repeat center top / 280px 260px;
    transform: translateX(-4px) translateY(-10px);
  }
  .card2 {
    background: url("../image/card2.png") no-repeat center top / 280px 250px;
    transform: translateX(4px);
  }
  .card3 {
    background: url("../image/card3.png") no-repeat center top / 230px 238px;
  }
}
@media (max-width: 1024px) {
  .header {
    min-height: 400px;
    background:
      url("../image/header-rect.svg") no-repeat center bottom / auto 100px,
      url("../image/header-bg.svg") no-repeat top -50px center / auto 400px
  }
  .header-left {
    transform: translateY(10px);
    width: 360px;
  }
  .header-right {
    top: 58%;
    left: 50%;
    transform: translateY(-50%);
  }
  .bubble {
    width: 64px;
    height: 64px;
    font-size: 18px;
  }
  .bubble-text {
    width: 36px;
  }
  .bubble-top {
    top: -7%;
  }
  .bubble-left {
    left: 2%;
    top: 26%;
  }
  .bubble-right {
    right: 1%;
    top: 34%;
  }
  .header-title {
    height: 160px;
    padding-left: 360px;
    background:
      url("../image/header-text.png") no-repeat center bottom / 100% auto
  }
  .header-button {
    width: 320px;
    height: 64px;
  }
  .section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .section-card {
    padding-left: 12px;
    padding-right: 12px;
  }  
  .section1-block {
    width: 90%;
    max-width: none;
    margin: auto;
  }
  .section1-block-img {
    width: 100%;
    max-width: none;
  }
  .section1-main {
    top: 40px;
  }
  .section1-main-title {
    font-size: 32px;
  }
  .section1-sub-title {
    margin-top: 12px;
    font-size: 24px;
  }
  .section1-cards {
    display: flex;
    overflow-x: scroll;
    gap: 20px
  }
  .section1-card {
    width: 304px;
  }
  /* .card1 {
    background: url("../image/card1.png") no-repeat center top;
    transform: translateY(-10px);
  }
  .card2 {
    background: url("../image/card2.png") no-repeat center top;
  }
  .card3 {
    background: url("../image/card3.png") no-repeat center top;
    transform: translateY(10px);
  } */
  .section1-card:not(:last-child) {
    padding-bottom: 12px;
  }
  .section1-card-content {
    display: flex;
    justify-content: center;
    height: 340px;
  }
  .section1-card-content-wrap {
    width: 358px;
    display: flex;
    flex-direction: column;
  }
  .footer-bg {
    /* position: relative;
    height: 418px; */
    background:
    url("../image/footer-radian.svg") no-repeat center top / 100% auto,
    url("../image/footer-img.png") no-repeat calc(50% - 200px) bottom / 352px 352px,
    url("../image/footer-bg.png") no-repeat center center / auto 418px
  }
  .footer-right {
    top: 20%;
    left: 55%;
    z-index: 10;
    white-space: nowrap;
  }
  .footer-title-front {
    font-size: 44px;
  }
  .footer-title-back {
    font-size: 36px;
  }
  .footer-title-highlight::after {
    left: 0px;
    width: 220px;
  }
  .footer-sub {
    font-size: 24px;
    padding: 12px 12px;
  }
  .footer-down-block {
    justify-content: space-around;
  }
}

@media (max-width: 767.8px) {
  .header {
    min-height: 574px;
  }
  .header-left-img {
    display: none;
  }
  .header-left {
    transform: translateX(50%);
    bottom: 35%;
    width: 340px;
  }
  .header-rect {
    height: 260px;
  }
  .header-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    gap: 16px;
  }
  .main {
    padding: 20px 0px;
    gap: 20px;
  }
  .bubble {
    width: 72px;
    height: 72px;
  }
  .bubble-top {
    right: 8%;
  }
  .bubble-left {
    left: 0;
    top: 22%;
  }
  .bubble-right {
    right: -2%;
    top: 30%;
  }
  .bubble-text {
    font-size: 18px;
    width: 36px;
    font-weight: 900;
  }
  .header-radian {
    display: none;
  }
  .header-title {
    background:
    url("../image/header-text.png") no-repeat center bottom / 100% auto;
    width: 0;
    height: 170px;
    overflow: hidden;
    padding-left: 375px;
  }
  .header-button {
    max-width: 310px;
    height: 48px;
  }
  .header-text {
    font-size: 20px;
  }
  .section {
    margin: 0;
    padding: 20px 12px;
    width: calc(100% - 40px);
    margin: 0 auto;
    background-color: #F6F1E9;
  }
  .section-card-block {
    width: auto;
  }
  .section1 {
    padding-top: 0px;
  }
  .section-btn-block {
    margin-top: 12px;
  }
  .section1-img-block {
    display: none;
  }
  .section1-block {
    width: 100%;
    max-width: none;
    margin: 0 0;
  }
  .section1-sub {
    background-color: #F6F1E9;
    padding: 20px 12px 0px 12px;
    border-radius: 0;
    width: calc(100% - 40px);
    margin: 0 auto;
    border-radius: 16px;
    margin-top: 20px;
  }
  .section1-card-content {
    height: auto;
  }
  .section1-block-mb-top {
    padding: 0px 12px 12px 12px;
  }
  .separator {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: #B36B0A;
  }
  .separator::before {
    content: "";        
    flex: 1;                   
    border-bottom: 2px solid #B36B0A;
    margin: 0 10px 0 0;          
  }
  .separator::after {
    content: "";        
    flex: 1;                   
    border-bottom: 2px solid #B36B0A;
    margin: 0 0 0 10px;          
  }
  .anchor-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: #FFF6E6;
    border: 2px solid #D9B875;
    border-radius: 4px;
    margin-top: 18px;
  }
  .anchor-block-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    flex-grow: 1;
  }
  .anchor-block-item:not(:last-child) {
    border-right: 1px solid #D9B875;
  }
  .anchor-block-item-title {
    font-size: 24px;
    font-weight: 700;
    color: #B36B0A;
  }
  .anchor-block-item-desc {
    font-size: 16px;
  }
  .section1 {
    background-color: white;
  }
  .section1-img-block-mb {
    position: relative;
    min-height: 480px;
    background: 
    url("../image/zigzag.svg") repeat-x center top / 100% auto,
    url("../image/section1-mb.png") no-repeat center bottom / cover;
  }
  .section1-main {
    color: white;
    position: absolute;
    top: 26px;
    left: 20px;
    font-weight: 700;
    font-size: 38px;
  }
  .section1-main-title {
    display: block;
    font-size: 38px;
  }
  .section1-main-title-mb-parent {
    position: relative;
  }
  .section1-main-title-mb {
    position: relative;
    z-index: 10;
  }
  .section1-main-title-mb-parent::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    /* transform: translateX(-50%); */
    width: 100%;
    height: 28px;
    bottom: 0;
    z-index: 0;
    background: #B36B0A;
  }
  .section1-main-title-mb-parent.width::after {
    width: 88%;
  }
  .section1-main-title-mb-parent:not(:last-child) {
    margin-bottom: 13px;
  }
  .section1-sub-title {
    display: none;
  }
  .section1-block {
    padding-bottom: 0px;
  }
  .section1-block-mb-seperate {
    width: 100%;
    height: 5px;
    background-color: #FF8400;
  }
  .section1-card {
    width: 100%;
  }
  .section1-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .section1-card-content-wrap {
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
  }
  .section1-card-title {
    width: 100%;
  }
  .section1-card-title-children {
    height: 280px;
    width: 100%;
    /* padding-left: 100%; */ 
  }
  .card1 {
    background: url("../image/card1-mb.png") no-repeat top left / 280px;
    transform: translateY(-5px);
    padding-left: calc(100% + 35px);
  }
  .card2 {
    background: url("../image/card2-mb.png") no-repeat top right / 280px;
    transform: translateX(-30px) translateY(-5px);
    padding-left: calc(100% + 30px);
  }
  .card3 {
    background: url("../image/card3-mb.png") no-repeat top center / 240px;
    /* transform: translateX(-30px) translateY(-5px); */
    padding-left: 100%;
  }

  .footer-bg {
    height: 411px;
    background:
    linear-gradient(180deg, #FAF8F5 4%, rgba(250, 248, 245, 0) 40%),
    url("../image/footer-bg-mb.png") no-repeat center center / cover
  }
  .footer-title {
    display: block;
  }
  .footer-title-front {
    font-size: 34px;
  }
  .footer-title-back {
    font-size: 28px;
  }
  .footer-title-img {
    width: 48px;
    top: -28px;
    left: -32px;
  }
  .footer-right {
    /* display: block;
    position: absolute; */
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-sub {
    font-size: 18px;
    margin-top: 218px;
    backdrop-filter: blur(10px);
    background: #F5F5F599;
  }
  .footer-text {
    font-size: 20px;
  }
  .footer-title-highlight::after {
    left: 0px;
    width: 170px;
    height: 20px;
  }
  .footer-house {
    display: none;
  }
  .footer-button {
    width: 100%;
    height: 50px;
    margin-top: 56px;
  }
  .footer-down {
    border-radius: 28px;
    transform: translateY(-24px);
  }
  .footer-down-block {
    flex-direction: column;
    flex-direction: column-reverse;
    align-items: center;
    padding: 20px;
  }
  .footer-down-block-btns {
    margin-top: 96px;
  }
  .footer-down-block-left {
    position: absolute;
    top: 245px;
    text-align: center;
  }
  .footer-fake-block {
    height: 222px;
  }
  .footer-down-block-info {
    align-items: center;
    gap: 20px;
    margin-top: 8px;
  }
  .footer-down-block-left-marketing {
    display: block;
  }
  .footer-down-block-left-links {
    margin-top: 4px;
  }
  .mob-hidden {
    display: none;
  }
}
@media (max-width: 479.8px) {
  .header {
    background:
      url("../image/header-bg-mb.svg") no-repeat center top 60px / 100% 263px
  }
  .main-layout {
    gap: 25px;
  }
  .section {
    width: 100%;
  }
  .section1-sub {
    width: 100%;
  }
  .section-cards {
    display: block;
  }
  .section-card {
    width: 100%;
    min-width: auto;
    display: flex;
    justify-content: center;
  }
  .section1-cards {
    display: block;
    overflow-x: hidden;
  }
  .section-card-block {
    width: 100%;
  }
  .section-card:not(:last-child) {
    margin-bottom: 12px;
  }
  .section1-card-title {
    height: 309px;
  }
  .section1-card-content-wrap {
    width: 350px;
  }
  .section1-card-title-children {
    height: 350px;
  }
  .card1 {
    background: url("../image/card1-mb.png") no-repeat top left / 350px;
  }
  .card2 {
    background: url("../image/card2-mb.png") no-repeat top right / 350px;
  }
  .card3 {
    background: url("../image/card3-mb.png") no-repeat top center / 300px;
  }
}
@media (max-width: 400px) {
  .header {
    min-height: 562px;
  }
  .header-title {
    width: 320px;
    padding-left: 320px;
  }
  .header-left {
    width: 320px;
  }
  .header-rect {
    height: 280px;
  }
  .bubble {
    width: 68px;
    height: 68px;
  }
  .bubble-left {
    left: 5px;
    top: 22%;
  }
  .bubble-right {
    right: 0;
    top: 25%;
  }
  .section1-card-title {
    height: 265px;
  }
  .section1-card-content-wrap {
    width: 300px;
  }
  .card1 {
    background: url("../image/card1-mb.png") no-repeat top left / 292px;
  }
  .card2 {
    background: url("../image/card2-mb.png") no-repeat top right / 300px;
  }
  .card3 {
    background: url("../image/card3-mb.png") no-repeat top center / 255px;
  }
  .footer-sub {
    padding: 12px 6px;
  }
  .footer-title-img {
    left: -24px;
  }
}
@media (max-width: 360px) {
  .section1-card-content-wrap {
    width: 280px;
  }
  .card2 {
    transform: translateX(-20px) translateY(-5px);
  }
}

@media (min-width: 768px) {
  .header-left-img-mb {
    display: none;
  }
  .section1-block-mb-top {
    display: none;
  }
  .section1-btn-mb {
    display: none;
  }
}

@media (min-width: 1024.2px) {
  .header-button:hover {
    background: #6e95da;
    box-shadow: 0px 5px 0px 0px #3f63a1;
  }
  .section-btn:hover {
    background-color: #ff9f39;
    box-shadow: 0px 7px 0px 0px #ffe066;
  }
  .footer-button:hover {
    background: #6e95da;
    box-shadow: 0px 5px 0px 0px #3f63a1;
  }
  .link:hover {
    color: rgb(59, 59, 59);
  }
  .footer-down-block-btn-image:hover {
    opacity: 0.8;
  }
}
@media (min-width: 1920.2px) {
  .header {
    background:
      url("../image/header-rect.svg") repeat-x center bottom,
      url("../image/header-bg.svg") no-repeat bottom -40px center / auto 612px,
      url("../image/header-bg-house.svg") repeat-x center bottom 100px
  }
}