/* =========================================================
   モバイルファースト構成
   ベース(無条件) = SP(〜568px)
   min-width: 569px  = 〜960px相当
   min-width: 961px  = 〜1024px相当
   min-width: 1025px = 1025px〜(PC)
   ========================================================= */

/* 以下は他ページ・underlayer.cssと共有する汎用クラスへの
   小さい画面限定の上書き（詳細度の罠）、または元コードで
   568px以下のブロック以外に対応する記述が存在しないプロパティのため、
   元のmax-widthスコープのまま維持する */
@media screen and (max-width: 568px) {
  #sub_main_service .content_box {
    padding: 30px 5.3vw 38px;
  }
  .needs_box .ttl_stripe span::before {
    margin-right: 8px;
    display: inline-block;
  }
  .supports li img {
    border-radius: 5px;
  }
  .supports li .ttl {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #appeal .ttl_section_top .size_large {
    font-size: 1.35em;
  }
  #appeal ul li {
    flex-direction: column;
  }
  #appeal .btn_wrapper {
    flex-direction: column;
    margin-bottom: 5px;
  }
  #appeal .btn_wrapper .btn:nth-of-type(1) {
    margin-bottom: 20px;
  }
  .moving_case_box ul li:first-child::after {
    content: '';
    background: url("../img/common/icon_sankaku_down_orange.svg") no-repeat;
    width: 38px;
    height: 20px;
    position: absolute;
    top: initial;
    right: initial;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
  }
}

#sub_main_service .sub_main_content::before {
  background: url("../img/moving/moving_top.jpg") no-repeat top right;
  background-size: cover;
}

#intro .intro_box .half_box .ttl {
  font-size: 21px;
  margin-bottom: 10px;
}

.needs_box {
  margin: 35px -5.3vw 0;
}

.needs_box .ttl_stripe span {
  position: relative;
}

.needs_box .ttl_stripe span::before {
  content: '';
  background: url("../img/moving/icon_check_yellow.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: relative;
  left: initial;
  top: 5px;
}

.needs_box .bg_white {
  border-radius: 0;
}

.needs_box ul {
  gap: 20px 0;
  margin: 25px 0 5px;
}

.needs_box ul li {
  width: 100%;
}

.needs_box ul li .txt_box {
  padding: 14px 20px 20px;
}

.needs_box ul li .txt_box .ttl {
  font-size: 21px;
  margin-bottom: 8px;
}

.supports {
  padding-top: 40px;
}

.supports li {
  display: -ms-grid;
  display: grid;
  grid-template-columns: 47.5% 47.5%;
  grid-template-rows: auto auto;
  column-gap: 3.7%;
  position: relative;
  padding: 25px 0;
}

.supports li img {
  grid-column: 1;
  grid-row: 1;
}

.supports li .ttl {
  font-size: 19px;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.supports li p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}

.supports li::after {
  content: '';
  background: url("../img/common/line_dot.png") repeat-x;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.supports li:nth-child(1) {
  padding-top: 0;
}

.supports li:nth-child(3) {
  padding-bottom: 0;
}

.supports li:nth-child(3)::after {
  content: none;
}

#appeal .ttl_section_top {
  margin: -25px 0 5px;
  line-height: 2.1;
}

#appeal .ttl_section_top .num {
  font-size: 2.12em;
  font-family: 'Robot';
}

#appeal ul {
  gap: 15px 0;
  margin-top: 20px;
}

#appeal ul li {
  border: 4px solid #2d89f8;
  font-size: 17px;
  font-weight: bold;
  width: 47.8%;
  display: flex;
  align-items: center;
}

#appeal ul li picture {
  width: 100%;
}

#appeal ul li span {
  padding: 12px 0 13px;
}

#appeal .btn_wrapper {
  gap: 0 30px;
}

#appeal .btn_wrapper .btn {
  width: 74.6vw;
  margin: 0 auto;
}

.moving_case_box.case_01 {
  margin-bottom: 30px;
}

.moving_case_box .case_single span {
  margin-left: 22px;
}

.moving_case_box .case_single span::before {
  content: '';
  background: url("../img/moving/icon_box.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  left: -40px;
  top: 4px;
}

.moving_case_box .case_family span {
  margin-left: 22px;
}

.moving_case_box .case_family span::before {
  content: '';
  background: url("../img/moving/icon_boxes.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 28px;
  position: absolute;
  left: -40px;
  top: 4px;
}

.moving_case_box .bg_white {
  padding: 20px 5.3vw;
  border-radius: 0;
  border: 4px solid #2d89f8;
  border-top: none;
  border-right: none;
  border-left: none;
}

.moving_case_box ul {
  gap: 35px 0;
  margin-bottom: 15px;
  position: relative;
  flex-direction: column;
  align-items: center;
}

.moving_case_box ul li {
  max-width: 83%;
  position: relative;
}

.moving_case_box ul li:first-child::before,
.moving_case_box ul li:nth-child(2)::before {
  width: 100.5px;
  height: 30px;
}

.moving_case_box ul li:first-child::before {
  content: '';
  background: url("../img/top/label_before.svg") no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.moving_case_box ul li:nth-child(2)::before {
  content: '';
  background: url("../img/top/label_after.svg") no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.moving_case_box ul li:nth-child(2)::after {
  content: '';
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px solid var(--site-keycolor);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}

.moving_case_box ul::after {
  content: '';
  background: url("../img/common/icon_sankaku_down_orange.svg") no-repeat;
  width: 38px;
  height: 20px;
  position: absolute;
  top: initial;
  right: initial;
  bottom: 47%;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 569px) {
  #intro .intro_box .half_box .ttl {
    font-size: 23px;
    margin-bottom: 5px;
  }

  .needs_box {
    margin: 50px 0 0;
  }

  .needs_box .ttl_stripe span::before {
    width: 40px;
    height: 40px;
    position: absolute;
    left: -60px;
    top: 3px;
  }

  .needs_box .bg_white {
    border-radius: 0 0 20px 20px;
  }

  .needs_box ul {
    gap: 30px 0;
    margin: 50px 0 0;
  }

  .needs_box ul li {
    width: 48%;
  }

  .needs_box ul li .txt_box {
    padding: 2.5vw 3vw;
  }

  .needs_box ul li .txt_box .ttl {
    margin-bottom: 10px;
  }

  .supports {
    padding-top: 5vw;
  }

  .supports li {
    grid-template-columns: 35% auto;
    padding: 40px 0 36px;
  }

  .supports li img {
    grid-row: 1 / -1;
  }

  .supports li .ttl {
    font-size: 21px;
    margin: -8px 0 8px;
  }

  .supports li p {
    grid-column: 2;
    margin-top: 0;
  }

  #appeal .ttl_section_top {
    margin: -25px 0 22px;
    line-height: 1.85;
  }

  #appeal ul {
    gap: 26px 0;
    margin-top: 25px;
  }

  #appeal ul li {
    width: 31.8%;
  }

  #appeal ul li picture {
    width: 80px;
  }

  #appeal ul li span {
    padding: 0 0 0 1vw;
  }

  #appeal .btn_wrapper .btn {
    width: 400px;
    margin: 0;
  }

  .moving_case_box.case_01 {
    margin-bottom: 40px;
  }

  .moving_case_box .case_single span {
    margin-left: 42px;
  }

  .moving_case_box .case_single span::before {
    left: -65px;
    top: 1px;
  }

  .moving_case_box .case_family span {
    margin-left: 42px;
  }

  .moving_case_box .case_family span::before {
    left: -69px;
    top: 1px;
  }

  .moving_case_box .bg_white {
    padding: 4vw 4vw;
    border-radius: 0 0 20px 20px;
    border-right: 4px solid #2d89f8;
    border-left: 4px solid #2d89f8;
  }

  .moving_case_box ul {
    gap: 0 35px;
    margin-bottom: 18px;
    flex-direction: row;
    align-items: normal;
  }

  .moving_case_box ul li {
    max-width: 43.4%;
  }

  .moving_case_box ul::after {
    background: url("../img/common/icon_sankaku_right_orange.svg") no-repeat;
    width: 25px;
    height: 41px;
    top: 52%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 961px) {
  #intro .intro_box .half_box .ttl {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .needs_box ul li .txt_box {
    padding: 22px 40px 32px;
  }

  .needs_box ul li .txt_box .ttl {
    font-size: 27px;
    margin-bottom: 15px;
  }

  .supports {
    padding-top: 70px;
  }

  .supports li .ttl {
    font-size: 27px;
    margin: -10px 0 10px;
  }

  #appeal ul {
    margin-top: 46px;
  }

  #appeal ul li {
    font-size: 20px;
  }

  #appeal ul li picture {
    width: auto;
  }

  #appeal ul li span {
    padding-left: 16px;
  }

  .moving_case_box .bg_white {
    padding: 40px 54px 42px;
  }

  .moving_case_box ul {
    margin-bottom: 24px;
  }

  .moving_case_box ul li:first-child::before,
  .moving_case_box ul li:nth-child(2)::before {
    width: 134px;
    height: 40px;
  }
}

@media screen and (min-width: 1025px) {
  #intro .intro_box .half_box .ttl {
    font-size: 32px;
  }

  #appeal ul li {
    font-size: 23px;
  }

  #appeal ul li span {
    padding-left: 27px;
  }
}
