/* ------------------------------------------------------
 * cardloan_index.css
------------------------------------------------------ */

/* ----- Override ----- */
.cardloan.c-main-aside {
  margin: 6rem auto 0;
}

.cardloan .c-aside {
  margin-top: 2rem;
}

.cardloan .l-section {
  padding: 8rem 0 0;
}

.cardloan  .c-category-list {
  padding: 0;
}

.cardloan .c-caption {
  line-height: 1.4;
}

.faq__item-content table th, td {
  border-top: 1px solid none;
  border-left: none;
}

/* ----- mv ----- */
.mv-wrap {
  position: relative;
  width: 100%;
  height: 50.4rem;
  padding: 1rem;
  background: url("../img/cardloan/index_bg01.webp") no-repeat;
  background-size: contain;
  background-position: center top;
}

.mv{
  margin: 0;
  line-height: 1;
}

.mv__lead,
.mv__lead-v2 {
  display: inline-block;
  font-weight: bold;
  letter-spacing: 0;
  -webkit-text-stroke: 1.2rem #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0.6rem 0.7rem 0.6rem rgba(0, 0, 0, 0.35));
}

.mv__lead {
  margin-top: 6rem;
  font-size: 5rem;
  color: #00904B;
  line-height: 8.69rem;
}

.mv__lead-v2{
  font-size: 6.6rem;
  color: #000;
  line-height: 8.69rem;
}

.mv__text {
  margin: 2rem 0;
  font-size: 2rem;
  color: #000;
  -webkit-text-stroke: 0.6rem #fff;
  paint-order: stroke fill;
  letter-spacing: 1px;
}

.mv-badges{
  display: flex;
  align-items: center;
}

.badge--count,
.badge--text {
  background: #FFD500;
  border-radius: 1rem;
  display: inline-block;
  color: #000;
  font-weight: 700;
  white-space: nowrap;
}

.badge--count{
  min-height: 5rem;
  padding: 0.6rem 3.5rem 0.8rem;
  color: #000;
}

.badge__num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}

.badge__small{
  font-size: 1.6rem;
  font-weight: 700;
}

.badge--text{
  min-height: 5rem;
  margin: 0 0 0 2rem;
  padding: 0.8rem 2.2rem 1rem;
  font-size: 2rem;
  letter-spacing: 0;
}

/* ----- breadcrumb ----- */
.c-breadcrumb-v2-wrap {
  padding: 1rem 0;
}

.c-breadcrumb-v2 {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 1.4rem;
    align-items: center;
}

.c-breadcrumb-v2-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.c-breadcrumb-v2-item a,
.c-breadcrumb-v2-item span[itemprop="name"] {
    color: #0000FF;
    text-decoration: underline;
    line-height: 1;
}

.c-breadcrumb-v2-item:not(:last-child)::after {
    content: "＞";
    display: inline-block;
    margin: 0.1rem 0.5rem 0;
    font-size: 1em;
    transform: scaleX(0.5);
    color: #333;
    text-decoration: none;
    flex-shrink: 0;
}

/* ----- s-cardloan-list-count ----- */
.js-cardloan-list-count + .c-offer-card-v2-wrap {
  margin-top: 2rem !important;
}

/* ----- js-cardloan-list ----- */
.js-cardloan-list {
  margin-bottom: 5rem;
}
.js-cardloan-list > *:first-child {
  margin-top: 2rem !important;
}

/* ----- c-result-count ----- */
.c-result-count {
    display: flex;
    align-items: baseline;
    color: #000;
    margin: 0;
    padding: 10px 0;
}

.c-result-count__number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.c-result-count__unit {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.c-result-count__note {
    font-size: 1.6rem;
    font-weight: normal;
    color: #333;
}

/* ----- c-offer-card-v2 ----- */
.c-offer-card-v2-wrap {
  margin-top: 8rem;
}

.c-offer-card-v2 {
  display: block;
  width: 100%;
  margin: 0 auto 3rem;
  background: #fff;
  border: 0.1rem solid #ddd;
  border-radius: 1.4rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 0.6rem 1.6rem rgba(0,0,0,.1);
  letter-spacing: 1px;
}

.c-offer-card-v2.recommendation {
  border: 0.5rem solid #00904B;
}

.c-offer-card-v2__top {
  background: #00904B;
  color: #fff;
  padding: 0.8rem;
  text-align: center;
}

.c-offer-card-v2__top-text {
  margin: 0;
  font-weight: 700;
  font-size: 2rem;
}

.c-offer-card-v2__body {
  padding: 2rem;
}

.c-offer-card-v2__main-flex {
  display: flex;
  gap: 2rem;
}

.c-offer-card-v2__left {
  flex: 0 0 35%;
}

.c-offer-card-v2__right {
  flex: 1;
}

.c-offer-card-v2__name {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #0000FF;
  text-decoration: underline;
  margin-bottom: 0.2rem;
}

.c-offer-card-v2__company {
  font-size: 1.4rem;
  margin-bottom: 3rem;
}

.c-offer-card-v2__image img {
  width: 100%;
  height: auto;
}

.c-offer-card-v2__rating {
  background: #dff3ea;
  padding: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.c-offer-card-v2__score {
  font-weight: 900; font-size: 2rem;
}
.c-offer-card-v2__stars {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  color: #ccc;
  letter-spacing: 0.1rem;
}

.c-offer-card-v2__stars::before {
  content: "★★★★★";
}

.c-offer-card-v2__stars::after {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  color: #FFD500;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
}

/* rating: 2.0~2.2 (星2) */
.c-offer-card-v2__stars.is-r20::after { width: 40%; }

/* rating: 2.3~2.7 (星2.5) */
.c-offer-card-v2__stars.is-r25::after { width: 50%; }

/* rating: 2.8~3.2 (星3) */
.c-offer-card-v2__stars.is-r30::after { width: 60%; }

/* rating: 3.3~3.7 (星3.5) */
.c-offer-card-v2__stars.is-r35::after { width: 70%; }

/* rating: 3.8~4.2 (星4) */
.c-offer-card-v2__stars.is-r40::after { width: 80%; }

/* rating: 4.3~4.7 (星4.5) */
.c-offer-card-v2__stars.is-r45::after { width: 90%; }

/* rating: 4.8~5.0 (星5) */
.c-offer-card-v2__stars.is-r50::after { width: 100%; }

.c-offer-card-v2__count {
  color: #0000FF; text-decoration: underline; font-size: 2rem;
}

.c-offer-card-v2__btn {
  display: block;
  background: #FFD500;
  margin: 3rem 0 0.5rem;
  padding: 1rem;
  border-radius: 99rem;
  text-align: center;
  font-weight: 900;
}

.c-offer-card-v2__note {
  font-size: 1.3rem;
  text-align: center;
  color: #777;
}

.c-offer-card-v2__points {
  background: #dff3ea;
  border: 1px solid #00904B;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.c-offer-card-v2__points-title {
  color: #00904B;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.c-offer-card-v2__points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-offer-card-v2__points-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.c-offer-card-v2__points-list li::before {
  content: '\2714\FE0E';
  position: absolute;
  left: 0;
  color: #00904B;
  font-weight: 900;
}

.c-offer-card-v2__spec {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.c-offer-card-v2__matrix {
  width: 100%;
  border-collapse: collapse;
}

.c-offer-card-v2__matrix th {
  background: #f2f2f2;
  padding: 0.8rem;
  text-align: center;
  vertical-align: middle;
  font-size: 1.8rem;
  font-weight: normal;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.c-offer-card-v2__matrix td {
  padding: 1.2rem 0.8rem;
  text-align: center;
  vertical-align: middle;
  font-size: 2rem;
  font-weight: 800;
  border-right: 1px solid #ccc;
  line-height: 1.2;
}

.c-offer-card-v2__matrix th:last-child,
.c-offer-card-v2__matrix td:last-child {
  border-right: 0;
}

.c-offer-card-v2__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.c-offer-card-v2__tag {
  color: #949494;
  background-color: #F5F5F5;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.c-offer-card-v2__tag.on {
  color: #00904B;
  background-color: #fff;
  border: 1px solid #00904B;
}

/* ----- c-diagnosis-cta ----- */
.c-diagnosis-cta {
  display: block;
  margin: 8rem 0 0;
  line-height: 0;
}

.c-diagnosis-cta img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------
 * PC
------------------------------------------------------ */
@media (min-width: 751px) {

  /* ----- pc-hidden ----- */
  .pc-hidden {
    display: none !important;
  }
}

/* ------------------------------------------------------
 * SP
------------------------------------------------------ */
@media (max-width: 750px) {

  /* ----- Override ----- */
  .top.c-main-aside {
    margin: 5rem auto 0;
  }

  .top .l-section {
    padding: 6rem 0 0;
  }

  /* ----- sp-hidden ----- */
  .sp-hidden {
    display: none !important;
  }

  /* ----- mv ----- */
  .mv-wrap {
    height: calc(500 * 100vw / 750);
  }
  .mv {
    margin: 0;
    line-height: 1;
  }
  .mv__img {
    width: calc(400 * 100vw / 750);
  }
  .mv__lead,
  .mv__lead-v2 {
    -webkit-text-stroke: calc(12 * 100vw / 750) #fff;
    filter: drop-shadow(calc(6 * 100vw / 750) calc(7 * 100vw / 750) calc(6 * 100vw / 750) rgba(0, 0, 0, 0.35));
  }

  .mv__lead {
    margin-top: calc(20 * 100vw / 750);
    font-size: calc(50 * 100vw / 750);
    line-height: calc(87 * 100vw / 750);
  }

  .mv__lead-v2 {
    font-size: calc(60 * 100vw / 750);
    line-height: calc(87 * 100vw / 750);
  }

  .mv__text {
    margin: calc(20 * 100vw / 750) 0;
    font-size: calc(26 * 100vw / 750);
    -webkit-text-stroke: calc(6 * 100vw / 750) #fff;
  }
  .mv-badges {
    align-items: baseline;
    margin-top: calc(20 * 100vw / 750);
  }

  .badge--count,
  .badge--text {
    border-radius: calc(10 * 100vw / 750);
  }

  .badge--count {
    min-height: calc(50 * 100vw / 750);
    padding: calc(6 * 100vw / 750) calc(35 * 100vw / 750);
  }

  .badge__num {
    font-size: calc(34 * 100vw / 750);
  }

  .badge__small {
    font-size: calc(16 * 100vw / 750);
  }

  .badge--text {
    min-height: calc(50 * 100vw / 750);
    margin: 0 0 0 calc(20 * 100vw / 750);
    padding: calc(8 * 100vw / 750) calc(22 * 100vw / 750) calc(10 * 100vw / 750);
    font-size: calc(20 * 100vw / 750);
  }

  /* ----- breadcrumb ----- */
  .c-breadcrumb-v2-wrap {
    padding: 1rem 1.5rem;
  }

  .c-breadcrumb-v2 {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .c-breadcrumb-v2::-webkit-scrollbar {
      display: none;
  }

  .c-breadcrumb-v2-item {
      flex-shrink: 0;
  }

  /* ----- c-offer-card-v2 ----- */
  .c-offer-card-v2__body {
    padding: 1rem;
  }

  .c-offer-card-v2__main-flex {
    flex-direction: column;
  }

  .c-offer-card-v2__left, .c-offer-card-v2__right {
    flex: 0 0 100%;
  }

  .c-offer-card-v2__points-title {
    font-size: 1.6rem;
  }

  .c-offer-card-v2__points-list li {
    font-size: 1.6rem;
  }

  .c-offer-card-v2__matrix th {
    font-size: 1.4rem;
  }

   /* ----- c-diagnosis-cta ----- */
  .c-diagnosis-cta {
    margin: 5rem 0 0;
  }
}