@charset "UTF-8";
/**
 * 補助金・助成金ページ「お客様の声」。
 *
 * 既存サイト（https://www.full-support-hojokin.com/ の「お客様の喜びの声」）の
 * パーツをそのまま移植したもの。原本は html { font-size: 62.5% }（1rem = 10px）
 * なので、rem 指定はすべて px に直してある。
 * renewal.css に別物の .p-case があるため、接頭辞は p-ocase（original case）。
 */
/* ---- セクション（原本の .u-bg__bl 相当）------------------------------- */
.p-lp-sec--ocase {
  background: #1892ce;
}

.p-lp-sec--ocase .c-sec-head__bg {
  color: #3ba1d6;
}

.p-lp-sec--ocase .c-sec-head__en,
.p-lp-sec--ocase .c-sec-head__ja {
  color: #ffffff;
}

.p-lp-sec--ocase .c-sec-head__ja {
  -webkit-text-stroke: 0;
}

/* ---- カルーセル -------------------------------------------------------- */
.p-ocase__box {
  position: relative;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .p-ocase__box {
    margin-top: 56px;
  }
}
.p-ocase__box .swiper-slide {
  height: auto;
}

.p-ocase__item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

/* ---- カード上部（写真・社名・ラベル）----------------------------------- */
.p-ocase__head {
  position: relative;
}

.p-ocase__head .thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.p-ocase__head .ttl {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3em;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0 1em;
  background: rgba(27, 45, 65, 0.85);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .p-ocase__head .ttl {
    padding: 0 40px;
    font-size: 20px;
  }
}
.p-ocase__head .label {
  position: absolute;
  display: inline-block;
  top: 8px;
  left: 8px;
  margin: 0;
  padding: 0.5em 1em;
  background: #1892ce;
  border-radius: 4px;
  font-size: 12px;
  color: #ffffff;
  line-height: 1;
}

@media (min-width: 1024px) {
  .p-ocase__head .label {
    top: 16px;
    left: 16px;
    font-size: 14px;
  }
}
/* ---- カード下部（金額・概要・声）--------------------------------------- */
.p-ocase__desc {
  padding: 24px 16px;
}

@media (min-width: 1024px) {
  .p-ocase__desc {
    padding: 32px 40px;
  }
}
.p-ocase__price {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  line-height: 1.2;
}

.p-ocase__price dt {
  position: relative;
  top: -4px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 56px;
  margin-right: 16px;
  padding: 4px;
  border: 2px solid #1b2d41;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 1024px) {
  .p-ocase__price dt {
    top: -2px;
    width: 64px;
    height: 64px;
    font-size: 12px;
  }
}
.p-ocase__price dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.p-ocase__price dd span {
  display: inline-block;
  font-family: "Hind", "Montserrat", sans-serif;
  font-size: 80px;
  letter-spacing: -0.04em;
  line-height: 1;
}

@media (min-width: 1024px) {
  .p-ocase__price dd span {
    font-size: 96px;
  }
}
/* 原本は 360px 幅だと「万円」が2行に割れる。狭い端末だけ数字を詰めて1行に収める。 */
@media (max-width: 374px) {
  .p-ocase__price dd span {
    font-size: 72px;
  }
}
.p-ocase__outline {
  margin: 0;
  padding: 1.5em 0;
  border-top: 1px solid rgba(27, 45, 65, 0.5);
  font-size: 12px;
}

@media (min-width: 1024px) {
  .p-ocase__outline {
    font-size: 16px;
  }
}
.p-ocase__voice {
  padding: 16px;
  background: #d7e6ed;
  border-radius: 4px;
  font-size: 12px;
}

@media (min-width: 1024px) {
  .p-ocase__voice {
    font-size: 14px;
  }
}
.p-ocase__voice-head {
  position: relative;
  margin-bottom: 1em;
  text-align: center;
}

.p-ocase__voice-head::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: rgba(27, 45, 65, 0.5);
  left: 0;
  top: 50%;
}

.p-ocase__voice-head .ttl {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 1em;
  background: #d7e6ed;
  border: 1px solid #1b2d41;
  border-radius: 9999px;
  font-size: inherit;
  font-weight: 700;
  line-height: 1;
}

.p-ocase__voice-head .ttl::before {
  position: absolute;
  content: "";
  background: #d7e6ed;
  width: 90%;
  height: calc(100% + 2px);
  top: -1px;
  left: 5%;
  z-index: 1;
}

.p-ocase__voice-head .ttl span {
  position: relative;
  z-index: 2;
}

.p-ocase__voice .txt {
  margin: 0;
}

/* ---- ページネーション・矢印 -------------------------------------------- */
/* 原本はページャを絶対配置していたが、掲載2件だと PC で Swiper が
   ページャを伏せる（swiper-pagination-lock）。その分の余白が残らないよう
   通常フローに置いて、伏せられたら高さごと消えるようにしている。 */
.p-ocase__pagination.swiper-pagination {
  position: static;
  margin-top: 24px;
}

.p-ocase__pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 0 8px !important;
  background: #ffffff;
}

/* 矢印はカード（白）の上に重なるので、原本どおり青のまま。
   白にすると白背景に埋もれて見えなくなる。 */
.p-ocase__prev::after,
.p-ocase__next::after {
  color: #1892ce;
}

/* SP はカードに重ねると本文を隠してしまうので、ページャと同じ行の左右端に置く。
   原本は SP で矢印ごと消していたが、スワイプできると気付かない人が
   取り残されるため残す。高さをページャ行（28px）に合わせるとドットと中心が揃う。 */
@media (max-width: 1023px) {
  .p-ocase__prev,
  .p-ocase__next {
    --swiper-navigation-size: 20px;
    top: auto;
    bottom: 0;
    width: 32px;
    height: 28px;
    margin-top: 0;
  }
  .p-ocase__prev {
    left: 8px;
  }
  .p-ocase__next {
    right: 8px;
  }
  /* SP はカードの外（セクションの青地）に出るので白。PC の青のままだと
     同じ #1892ce で背景に埋もれる。 */
  .p-ocase__prev::after,
  .p-ocase__next::after {
    color: #ffffff;
  }
}
/* ---- 注記・導線 -------------------------------------------------------- */
.p-lp-sec--ocase .c-link-arrow {
  color: #ffffff;
}

.p-lp-sec--ocase .c-link-arrow::before {
  background: #ffffff;
}

.p-lp-sec--ocase .c-link-arrow::after {
  border-left-color: #1892ce;
}

.p-ocase__sup {
  margin-top: 1em;
  font-size: 12px;
  color: #ffffff;
  text-align: right;
}

@media (max-width: 767px) {
  .p-ocase__sup {
    text-align: left;
  }
}
