.page-mv {
  position: relative;
  .mv-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .page-title {
    position: absolute;
    top: 55%;
    left: 50%;
    translate: -50% -50%;
    width: max-content;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 0.75);
  }
  @media (max-width: 960px) {
    .mv-img {
      height: 300px;
    }
    .page-title {
      font-size: 1.75rem;
    }
  }
}

/* common */
.section-title {
  font-size: 3rem;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 3rem;
  @media (max-width: 960px) {
    font-size: 2rem;
  }
}

/*=========================
  木造住宅の解体工事
=========================*/
section.wooden-house-demolition {
  padding: var(--section-padding);
  background-color: var(--light-orange);
  .section-title {
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    .img {
      width: 50%;
    }
    .texts {
      width: 50%;
      .title {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 2rem;
      }
      .text {
      }
    }
  }
}
@media (max-width: 960px) {
  section.wooden-house-demolition {
    .flex {
      flex-direction: column-reverse;
      .img {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
      }
      .texts {
        width: 100%;
        .title {
          font-size: 1.25rem;
          text-align: center;
          text-wrap: balance;
        }
        .text {
        }
      }
    }
  }
}

/*=========================
  flow1
=========================*/
section.flow1 {
  padding: var(--section-padding);
  background: url(../img/bg-boxes-white.png) no-repeat;
  background-position: 0% 100%;
  background-size: 100%;
  background-color: var(--light-orange);

  .section-title {
  }
  .flow-groupe {
    --color1: var(--navy);
    --color2: var(--orange);
    background-color: #fef2e6;
    padding: 2rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
    .title {
      width: fit-content;
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 4rem;
      border-bottom: var(--navy) 3px solid;
      border-left: var(--navy) 15px solid;
      padding: 0.5rem 1rem;
    }
    .flow-items {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      column-gap: 5rem;
      row-gap: 5rem;
    }
    .flow-item {
      position: relative;
      .number {
        position: absolute;
        z-index: 3;
        top: -25px;
        left: -15px;
        color: var(--color2);
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
      }
      .bg-navy {
        position: absolute;
        z-index: 1;
        bottom: -10px;
        right: -10px;
        width: 100%;
        height: 100%;
        background-color: var(--color1);
        &::before {
          content: '';
          position: absolute;
          top: 0;
          right: -24px;
          width: 25px;
          height: 100%;
          background-color: var(--color1);
          clip-path: polygon(0 0, 0% 100%, 100% 50%);
        }
      }
      .content {
        position: relative;
        z-index: 2;
        background-color: #ffffff;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1rem;
        .text {
        }
        .icon {
          width: 80px;
          display: grid;
          place-content: center;
          img {
            width: 80%;
            margin: auto;
          }
        }
      }
    }
  }
}
@media (max-width: 960px) {
  section.flow1 {
    .flow-groupe {
      padding-inline: 1.5rem;
      .title {
        font-size: 1.5rem;
        width: 100%;
      }
      .flow-items {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        column-gap: 5rem;
        row-gap: 5rem;
      }
      .flow-item {
        .number {
          top: -25px;
          left: -15px;
          font-size: 2.5rem;
        }
        .bg-navy {
          &::before {
            top: initial;
            bottom: -14px;
            right: 0;
            left: 0;
            width: 100%;
            height: 15px;
            clip-path: polygon(100% 0, 0 0, 50% 100%);
          }
        }
        .content {
          min-height: 85px;
          .text {
          }
          .icon {
          }
        }
      }
    }
  }
}

/*=========================
  flow2
=========================*/
section.flow2 {
  padding: var(--section-padding);
  .flow-groupe {
    --color1: var(--orange);
    --color2: var(--navy);
    padding: 2rem;
    padding-right: 4rem;
    /* padding-bottom: 4rem; */
    .title {
      width: fit-content;
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 4rem;
      border-bottom: var(--navy) 3px solid;
      border-left: var(--navy) 15px solid;
      padding: 0.5rem 1rem;
    }
    .flow-items {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      column-gap: 5rem;
      row-gap: 5rem;
    }
    .flow-item {
      position: relative;
      .number {
        position: absolute;
        z-index: 3;
        top: -25px;
        left: -15px;
        color: var(--color2);
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
      }
      .bg-navy {
        position: absolute;
        z-index: 1;
        bottom: -10px;
        right: -10px;
        width: 100%;
        height: 100%;
        background-color: var(--color1);
        &::before {
          content: '';
          position: absolute;
          top: 0;
          right: -24px;
          width: 25px;
          height: 100%;
          background-color: var(--color1);
          clip-path: polygon(0 0, 0% 100%, 100% 50%);
        }
      }
      .content {
        position: relative;
        z-index: 2;
        background-color: #ffffff;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1rem;
        .text {
        }
        .icon {
          width: 80px;
          display: grid;
          place-content: center;
          img {
            width: 80%;
            margin: auto;
          }
        }
      }
    }
  }
}
@media (max-width: 960px) {
  section.flow2 {
    .flow-groupe {
      padding-inline: 1.5rem;
      .title {
        font-size: 1.5rem;
        width: 100%;
      }
      .flow-items {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        column-gap: 5rem;
        row-gap: 5rem;
      }
      .flow-item {
        .number {
          top: -25px;
          left: -15px;
          font-size: 2.5rem;
        }
        .bg-navy {
          &::before {
            top: initial;
            bottom: -14px;
            right: 0;
            left: 0;
            width: 100%;
            height: 15px;
            clip-path: polygon(100% 0, 0 0, 50% 100%);
          }
        }
        .content {
          min-height: 85px;
          .text {
          }
          .icon {
          }
        }
      }
    }
  }
}

/*=========================
  business area
=========================*/
section.business-area {
  padding: var(--section-padding);
  .container {
    position: relative;
    padding-top: 4rem;
    .section-title {
      position: absolute;
      top: 0%;
      left: 57%;
      color: var(--navy);
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.25;
    }
    .text {
      position: absolute;
      top: 20%;
      left: 57%;
    }
  }
  .map-img {
  }
}
@media (max-width: 960px) {
  section.business-area {
    .container {
      padding-top: 0;
      .section-title {
        position: initial;
        font-size: 2rem;
        margin-bottom: 2rem;
      }
      .text {
        position: initial;
        margin-bottom: 2rem;
      }
    }
  }
}
