p {
    padding-bottom: 8rem;
    padding-top: 4rem;
    font-style: normal;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 180%;
    letter-spacing: 0.08em;
    color: #000000;
}

.product {
    padding: 16rem 0;
}

.title-flex-btn {
    display: flex;
    justify-content: space-between;

    & p {
        max-width: 100rem;
    }
}

.product-top-flex-box-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16rem;

    .product-top-box {
        width: 44.8rem;
        padding-top: 4rem;
        border-radius: 0.8rem;
        background-color: #fff;
        box-shadow: 0px 0.2rem 0.4rem rgba(0, 0, 0, 0.15);
        max-height: 43.6rem;
        

        .title-flex-container {
            display: flex;
            justify-content: space-between;
            max-width: 40rem;
            margin: 0 auto 3.2rem;
            align-items: center;

            .text {
                max-width: 32.8rem;
                font-style: normal;
                font-weight: 700;
                font-size: 2.2rem;
                line-height: 150%;
                letter-spacing: 0.05em;
                color: #D62328;
            }

            .btn-icon-container {
                width: 4.4rem;
            }
        }

        .box-top-img-container {
            width: 100%;
            height: 32rem;

            & img {
                height: 100%;
            }
        }
    }
}

.departement-flex-title {
    display: flex;
    justify-content: space-between;

    .text-container {
        & p {
            font-family: 'Noto Sans JP';
            font-style: normal;
            font-weight: 500;
            font-size: 1.8rem;
            line-height: 180%;
            letter-spacing: 0.08em;
            color: #000000;
            padding-top: 4rem;
            padding-bottom: 0;
        }
    }
}

.product-bot-flex-container {
    display: flex;
    justify-content: space-between;
    padding-top: 8rem;

    .bot-box-img-container {
        width: 33.6rem;
    }
}

@media screen and (max-width: 767px) {
  p {
    font-size: 1.4rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .product {
    padding: 6rem 0;
  }

  .title-flex-btn {
    flex-direction: column;
    align-items: flex-start;

    & p {
      max-width: 100%;
    }
  }

  .product-top-flex-box-container {
    flex-direction: column;
    margin-bottom: 6rem;
    margin-top: 6rem;

    .product-top-box {
      width: 100%;
      margin-bottom: 3rem;

      .title-flex-container {
        max-width: 100%;
        margin: 0 2rem 2rem;

        .text {
          max-width: 25rem;
          font-size: 1.8rem;
        }

        .btn-icon-container {
          width: 3.6rem;
        }
      }

      .box-top-img-container {
        height: 24rem;

        & img {
          width: 100%;
          object-fit: cover;
        }
      }
    }
  }

  .departement-flex-title {
    flex-direction: column;

    .text-container {
      & p {
        padding-top: 2rem;
        padding-bottom: 2rem;
        font-size: 1.6rem;
      }
    }
  }

  .product-bot-flex-container {
    padding-top: 4rem;
    flex-wrap: wrap;

    .bot-box-img-container {
      width: 48%;
      margin-bottom: 2rem;

      & img {
        width: 100%;
        height: auto;
      }
    }
  }
}