@import url(common.css);

/*

タブの中の製品カード（プロダクトカード）の
前のちょっとした紹介ブロック


*/

.c-category-intro {
  padding: 0.5em 10px 1.5em;
  margin-bottom: 32px;
}

.c-category-intro__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  padding-left: 14px;
  border-left: 4px solid var(--main_green);
  line-height: 1.4;
}

.c-category-intro__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c-category-intro__icon img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.c-category-intro__title-text {
  display: inline-block;
}

.c-category-intro__text {
  margin: 0;
  line-height: 1.9;
}
.c-category-intro__text span {
  display: block;
  font-size: clamp(14px, 3.52vw, 15px);
}

/*
------------------------

費用内訳ブロック（必要であれば）

------------------------ */
.c-price-summary {
  /* background: #f7faf7;
  border: 1px solid #dce8dc;
  border-radius: 8px; */
  padding: 16px 0;
  /* margin-bottom: 20px; */
  /* text-align: center; */
}

.c-price-summary__title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #2f6f3e;
}

.c-price-summary__title .icon {
  display: block;
  width: clamp(25px, 35.6vw, 30px);
  height: auto;
}

.c-price-summary__formula {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(13px, 3.52vw, 15px);
}

.c-price-summary__formula .item {
  background: #ffffff;
  border: 1px solid #9daf8a;
  padding: 10px 20px;
  border-radius: 4px;
}

.c-price-summary__formula .sub {
  font-size: 14px;
  color: #666;
}

.c-price-summary__formula .plus {
  font-weight: bold;
  color: #888;
}

/* -------------------------


レスポンシブ

767px


------------------------- */
@media (max-width: 767px) {
  .c-category-intro {
    padding: 20px 10px 35px;
    margin-bottom: unset;
  }

  .c-category-intro__title {
    gap: 10px;
    margin-bottom: 20px;
  }

  .c-category-intro__icon {
    width: 28px;
    height: 28px;
  }

  .c-category-intro__text {
    line-height: 1.8;
  }

  /* ------------------------ */
  /* 費用内訳ブロック（必要であれば） */
  .c-price-summary__formula .item {
    padding: 10px 10px;
  }
  .c-price-summary__formula {
    font-size: 14px;
  }
}

/* -------------------------


レスポンシブ

460px


------------------------- */
@media (max-width: 460px) {
  .c-category-intro {
    padding: 0.5em 0 1.5em;
  }

  /* ------------------------ */
  /* 費用内訳ブロック（必要であれば） */
  .c-price-summary__formula .item {
    padding: 8px 14px;
  }
  .c-price-summary__formula {
    font-size: 15px;
    gap: 6px;
    text-align: center;
    line-height: 1.4;
  }
}
