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

/* 以下は他ページ・underlayer.css/common.cssと共有する汎用クラス
   （`.row`系のflex-direction反転、`.md_inner_space02`、`.center`等）への
   小さい画面限定の上書き、または元コードで568px以下のブロック以外に
   対応する記述が存在しないプロパティのため、元のmax-widthスコープの
   まま維持する */
@media screen and (max-width: 568px) {
  #intro .intro_box .half_box {
    flex-direction: column;
  }
  #intro .intro_box .half_box .ttl {
    margin-bottom: 10px;
  }
  #intro .intro_box .half_box .photo {
    margin-bottom: 20px;
  }
  .full_wide_ttl .txt_white {
    line-height: 1.4;
  }
  #about .intro_txt {
    margin-top: -8px;
  }
  .reform_box .ttl_stripe_color02 span {
    margin-left: 10%;
  }
  .reform_box .md_inner_space02 {
    padding-bottom: 20px;
  }
  .cleaning_box .ttl_stripe_color03 {
    text-align: left;
    padding-left: 5.3vw;
    line-height: 1.4;
  }
  .cleaning_box .ttl_stripe_color03 span {
    display: flex;
    align-items: center;
  }
  .cleaning_box .ttl_stripe_color03 span::before {
    display: block;
    margin-right: 15px;
  }
  .cleaning_box .md_inner_space02 {
    padding-bottom: 25px;
  }
  .cleaning_box .half_box {
    flex-direction: column-reverse;
  }
  .cleaning_box .half_box .photo {
    margin-bottom: 22px;
  }
  .cleaning_box .half_box .ttl {
    margin-bottom: 10px;
  }
  .cleaning_list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cleaning_list li span {
    padding: 0;
    height: 64px;
    line-height: 1.5;
  }
}

#sub_other_service .sub_other_content::after {
  background: url("../img/revival/renovation_top.jpg") no-repeat;
  background-size: cover;
}

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

.full_wide_ttl .txt_white {
  padding-left: 13vw;
}

.full_wide_ttl .txt_white::before {
  content: '';
  background: url("../img/revival/items.png") no-repeat;
  background-size: contain;
  width: calc(171px * 0.7);
  height: calc(128px * 0.7);
  position: absolute;
  top: -30px;
  left: -15px;
}

.intro_txt {
  margin-top: 5px;
}

.reform_box {
  margin-top: 25px;
}

.reform_box .ttl_stripe_color02 span {
  position: relative;
}

.reform_box .ttl_stripe_color02 span::before {
  content: '';
  background: url("../img/revival/icon_tool01.png") no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  left: -41px;
  top: 2px;
}

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

.reform_box ul li {
  display: grid;
  grid-template-columns: 47.8% 47.8%;
  grid-template-rows: auto auto;
  column-gap: 3.8%;
  position: relative;
  padding: 25px 0 23px;
}

.reform_box ul li .ttl {
  font-size: 19px;
  color: #2d89f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.reform_box ul li p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 12px 0 0;
}

.reform_box ul li img {
  grid-column: 2;
  grid-row: 1;
  border-radius: 5px;
}

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

.reform_box ul li:first-child {
  padding-top: 0;
}

.reform_box ul li:last-child {
  padding-bottom: 0;
}

.reform_box ul li:last-child::after {
  content: none;
}

.reform_box ul li:nth-child(even) .ttl {
  grid-column: 2;
}

.reform_box ul li:nth-child(even) img {
  grid-column: 1;
}

.cleaning_box {
  margin-top: 30px;
}

.cleaning_box .ttl_stripe_color03 span {
  position: relative;
}

.cleaning_box .ttl_stripe_color03 span::before {
  content: '';
  background: url("../img/revival/icon_tool02.png") no-repeat;
  background-size: contain;
  width: 40px;
  height: 37px;
  position: relative;
  left: initial;
  top: 0;
}

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

.cleaning_box .half_box .ttl {
  font-size: 21px;
}

.cleaning_box .ttl_left_border {
  margin-top: 17px;
}

.cleaning_list {
  gap: 15px 0;
}

.cleaning_list li {
  display: flex;
  width: 47.8%;
  border: 4px solid #2d89f8;
}

.cleaning_list li picture {
  width: 100%;
}

.cleaning_list li span {
  font-size: 17px;
  font-weight: bold;
  color: #2d89f8;
  display: flex;
  align-items: center;
  padding-left: 0;
}

.cleaning_list li span.size_small {
  font-size: 16px;
}

@media screen and (min-width: 569px) {
  #intro .intro_box .half_box .ttl {
    font-size: 23px;
  }
  .reform_box {
    margin-top: 30px;
  }
  .reform_box .ttl_stripe_color02 span::before {
    width: 35px;
    height: 35px;
    left: -50px;
  }
  .reform_box ul li {
    grid-template-columns: auto 40%;
    grid-template-rows: 1fr auto;
    padding: 40px 0 42px;
  }
  .reform_box ul li .ttl {
    font-size: 23px;
    display: block;
    margin: -10px 0 5px;
  }
  .reform_box ul li p {
    grid-column: 1;
    margin: 0 0 -10px;
  }
  .reform_box ul li img {
    grid-row: 1 / -1;
    border-radius: 0;
  }
  .reform_box ul li:nth-child(even) {
    grid-template-columns: 40% auto;
  }
  .reform_box ul li:nth-child(even) p {
    grid-column: 2;
  }
  .cleaning_box {
    margin-top: 45px;
  }
  .cleaning_box .ttl_stripe_color03 span::before {
    width: 35px;
    height: 32px;
    position: absolute;
    left: -50px;
    top: 5px;
  }
  .cleaning_box .half_box .ttl {
    font-size: 23px;
  }
  .cleaning_box .ttl_left_border {
    margin-top: 25px;
  }
  .cleaning_list {
    gap: 20px 0;
  }
  .cleaning_list li {
    width: 31.8%;
  }
  .cleaning_list li picture {
    width: 40%;
  }
  .cleaning_list li span {
    padding-left: 4%;
  }
}

@media screen and (min-width: 961px) {
  #intro .intro_box .half_box .ttl {
    font-size: 28px;
  }
  .full_wide_ttl .txt_white {
    padding-left: 16%;
  }
  .full_wide_ttl .txt_white::before {
    width: 171px;
    height: 128px;
    top: -50px;
    left: 0;
  }
  .intro_txt {
    margin-top: -20px;
  }
  .reform_box {
    margin-top: 46px;
  }
  .reform_box .ttl_stripe_color02 span::before {
    width: 45px;
    height: 45px;
    left: -64px;
  }
  .reform_box ul li {
    grid-template-columns: auto 356px;
  }
  .reform_box ul li .ttl {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .reform_box ul li:nth-child(even) {
    grid-template-columns: 356px auto;
  }
  .cleaning_box {
    margin-top: 60px;
  }
  .cleaning_box .ttl_stripe_color03 span::before {
    width: 45px;
    height: 41px;
    left: -64px;
  }
  .cleaning_box .half_box .ttl {
    font-size: 28px;
  }
  .cleaning_list {
    gap: 24px 0;
  }
  .cleaning_list li picture {
    width: auto;
  }
  .cleaning_list li span {
    font-size: 19px;
    padding-left: 5%;
  }
  .cleaning_list li span.size_small {
    font-size: 19px;
  }
}

@media screen and (min-width: 1025px) {
  #intro .intro_box .half_box .ttl {
    font-size: 32px;
  }
  .cleaning_box .half_box .ttl {
    font-size: 32px;
  }
  .cleaning_list li span {
    font-size: 23px;
    padding-left: 28px;
  }
  .cleaning_list li span.size_small {
    font-size: 21px;
  }
}
