section#cover {
  background: url('../img/strengths_top-min.webp') no-repeat center;

  h1,
  h2 {
    color: #fff;
  }
}

main {
  section.strengths-item {
    display: flex;
    margin-top: 80px;
 
     @media (width < 740px) {
      flex-direction: column;
    } 

    figure {
      flex: 1;
      position: relative;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0 10px 10px 0;

        @media (width < 740px) {
          border-radius: 0 !important;
          margin-bottom: 60px;
        }
      }
    }

    div.strengths-item-content {
      flex: 1;
      padding: 0 30px;

      @media (width <=1000px) {
        flex: 2;
      }

      h2 {
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 18px 50px;

        span,
        p {
          letter-spacing: 0;
          font-weight: bold;
        }

        span {
          grid-row: span 2;
          font-size: 36px;
          display: block;
          padding: 10px 60px 10px 15px;
          color: #D9D9D9;
          border: 2px solid #D9D9D9;

          @media (width < 500px) {
            grid-row: span 1;
            grid-column: span 2;
            padding: 10px;
            text-align: center;
          }
        }

        p {
          font-size: 24px;
          text-align: left;
          margin-bottom: 0;

          @media (width < 500px) {
            grid-row: span 1;
            grid-column: span 2;
          }
        }

        p.title2 {
          color: #8c1e23;
        }
      }

      p.description {
        line-height: 2;
      }

      svg {
        color: #8c1e23;
        background-color: #F3E6E6;
        width: 44px;
        height: 44px;
        padding: 10px;
        box-sizing: border-box;
        flex-shrink: 0;
        border-radius: 4px;
      }
    }
  }

  section#strengths01 {
    dl {
      dt {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: bold;
        margin-bottom: 8px;
      }
    }
  }

  section#strengths02 {
    figure {
      @media (width >=740px) {
        order: 2;
      }

      img {
        border-radius: 10px 0 0 10px;
      }
    }

    ul.strengths-item-content-list {
      display: flex;
      gap: 20px;
      padding: 0;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      @media (width < 500px) {
        flex-direction: column;
      }

      li {
        width: 100%;
        max-width: 400px;
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: center;
        gap: 12px;
        padding: 0;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

        p {
          grid-column: span 2;
          padding: 10px
        }

        h3 {
          font-size: 18px;
          padding-right: 10px;
        }
      }

      li:nth-child(1) svg {
        fill: #8C1E23;
      }

      li:nth-child(2) svg {
        fill: #034E7E;
      }
    }
  }

  section#bottom-cover-image {
    background: url('../img/help_background-min.webp') no-repeat center;
    text-align: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;

    h2,p{
      color: #fff;
      padding: 0 30px;
    }
    h2 {
      font-size: 36px;
      @media (width < 500px) {
        font-size: 22px;
      }
      font-family: 'Noto Serif JP', serif;
    }
    p{
      font-size: 18px;
      line-height: 2;
    }
    div.button-container {
      display: flex;
      gap: 30px;
      justify-content: center;
      align-items: center;
      @media (width < 500px) {
        flex-direction: column;
      }
      a.button {
        background-color: #fff;
        color: #8C1E23;
        font-weight: bold;
        width: 250px;
        padding: 10px 0;
        border-radius: 100vh;
      }
    }
  }
}
