/* ------------------------------------------------------
 * cardloan_detail.css
------------------------------------------------------ */

/* ----- Override ----- */
.wrapper {
  background: url(../img/article/mv_bg.webp) no-repeat;
  background-size: contain;
  background-position: center top;
}

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

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

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

/* ----- mv ----- */
.mv-wrap {
  padding: 10.6rem 0 0;
  position: relative;
  margin: 0 auto 6rem;
  max-width: 67.6rem;
  text-align: left;
}

.mv-ttl {
  width: fit-content;
  font-weight: 700;
  margin: 0 auto 3rem 0;
}

.mv-lead {
  display: block;
  background: #00904b;
  color: #fff;
  width: fit-content;
  font-weight: 600;
  height: 2.8rem;
  line-height: 2.6rem;
  letter-spacing: 0.16em;
  padding: 0 0.5rem;
}

.mv-main-ttl {
  display: inline-block;
  font-size: 11.6rem;
  letter-spacing: 0.17em;
  transform: skew(-7deg, -5deg);
  line-height: 1.1;
}

.mv-main-ttl .bl {
  font-size: 0.7em;
  color: #00904b;
  letter-spacing: normal;
  text-indent: -0.25em;
}

.mv-en-txt {
  line-height: 1.625;
  letter-spacing: 0.27em;
  font-weight: 700;
  color: #00904b;
}

.mv-img {
  width: 25rem;
  position: absolute;
  right: 2rem;
  bottom: -3.4rem;
}

.mv-img img {
  width: 100%;
  object-fit: contain;
}

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

.c-breadcrumb-v2 {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 1rem 0;
    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;
}

/* ----- c-info ----- */
.c-info {
  width: 100%;
  max-width: 80rem;
  background-color: #fff;
  color: #333;
  line-height: 1.4;
}

.c-info__main {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.c-info__media {
  flex: 0 0 28rem;
  text-align: center;
}

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

.c-info__btn-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.c-info__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  background-color: #ffcc00;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 2rem;
  padding: 1.2rem;
  border-radius: 4rem;
}

.c-info__btn span {
  margin-left: 1rem;
  font-size: 1.8rem;
}

.c-info__btn-note {
  font-size: 1.3rem;
  color: #999;
  margin-top: 0.5rem;
}

.c-info__content {
  flex: 1;
}

.c-info__company {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.c-info__rating {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 0.8rem 1.5rem;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.c-info__score {
  font-size: 2.4rem;
  font-weight: bold;
}

.c-info__stars {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  color: #ccc;
  letter-spacing: 0.2rem;
}

.c-info__stars::before {
  content: "★★★★★";
}

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

.c-info__stars.is-r50::after { width: 100%; }
.c-info__stars.is-r45::after { width: 90%; }
.c-info__stars.is-r40::after { width: 80%; }
.c-info__stars.is-r35::after { width: 70%; }
.c-info__stars.is-r30::after { width: 60%; }
.c-info__stars.is-r25::after { width: 50%; }
.c-info__stars.is-r20::after { width: 40%; }

.c-info__count {
  color: #0000ff;
  text-decoration: underline;
  font-weight: bold;
  font-size: 2rem;
}

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

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

.c-info__tag.on {
  color: #00904B;
  background-color: #fff;
  border: 0.1rem solid #00904B;
}

.c-info__table {
  width: 100%;
  border-collapse: collapse;
}

.c-info__table th {
  background-color: #eeeeee;
  border: 0.1rem solid #ccc;
  padding: 1.2rem;
  font-size: 2.8rem;
  text-align: center;
  vertical-align: middle;
  font-weight: normal;
}

.c-info__table td {
  border: 0.1rem solid #ccc;
  padding: 2rem 1rem;
  font-size: 4.2rem;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  vertical-align: middle;
}

/* ----- c-diagnosis-cta ----- */
.c-detail-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  row-gap: 2.4rem;
  padding-bottom: 3rem;
}

.c-detail {
  display: block;
}

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

.c-diagnosis-cta__link {
  display: block;
  transition: opacity 0.3s ease;
  line-height: 0;
}

.c-diagnosis-cta__link 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 {
    padding: 0;
    margin: 7.5rem auto 4rem;
  }

  .mv-lead {
    font-size: 1.4rem;
  }

  .mv-ttl {
    text-align: center;
    width: calc(100% - 4rem);
    margin: 2rem auto 4rem;
  }

  .mv-lead {
    width: 100%;
  }

  .mv-main-ttl {
    font-size: 6.2rem;
    display: block;
    margin: 1rem auto 0 0;
    width: fit-content;
  }

  .mv-main-ttl {
    font-size: 5.2rem;
  }

  .mv-en-txt {
    font-size: 0.9rem;
    text-align: center;
  }

  .mv-en-txt br {
    display: none;
  }

  .mv-img {
    position: absolute;
    width: 10rem;
    right: 2.8rem;
    bottom: auto;
    top: 8rem;
  }

  /* ----- 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-info ----- */
  .c-info__main {
    flex-direction: column;
  }

  .c-info__media {
    flex: none;
    width: 100%;

  }
  .c-info__btn {
    display: flex;
    width: 100%;
  }

  .c-info__table th {
    font-size: 2rem;
  }

  .c-info__table td {
    font-size: 2.6rem;
  }

  /* ----- c-diagnosis-cta ----- */
  .c-detail-wrap {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 2rem;
  }

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