/* ------------------------------------------------------
 * top-new.css
------------------------------------------------------ */

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

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

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

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

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

/* ----- utility ----- */
.mb-0 {
  margin-bottom: 0;
}

/* ----- mv ----- */
.mv-wrap {
  position: relative;
  width: 100%;
  height: 50.4rem;
  padding: 1rem;
  background: url("../img/top-new/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: 2.5rem;
  font-size: 6.4rem;
  color: #00904B;
  line-height: 8.69rem;
}

.mv__lead-v2{
  margin-top: .8rem;
  font-size: 6.4rem;
  color: #000;
  line-height: 8.69rem;
}

.mv-badges{
  display: flex;
  align-items: center;
  margin-top: 13rem;
}

.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;
}

/* ----- anc ----- */
#anc-02,
#anc-03,
#anc-04 {
  padding-top: 6rem;
}

/* ----- c-h3 ----- */
.c-h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin: 0 0 3.2rem;
}

.c-h3__ttl {
  position: relative;
  padding-left: 1.4rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.c-h3__ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 0.4rem;
  height: 1.3em;
  background-color: #00904B;
  border-radius: 0.2rem;
}
.c-h3__sub {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1.8rem;
  border-radius: 2rem;
  background: #00904B;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
}

/* ----- l-rank-section ----- */
.l-rank-section {
  position: relative;
  z-index: 0;
  margin-top: 10rem;
  padding-top: 4rem;
}

.l-rank-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  width: 200vw;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #D5EDDB 0%, #ffffff 50%);
}

/* ----- c-category-caption-v2 ----- */
.c-category-caption-v2 {
  text-align: center;
  font-size: 5rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 auto;
  letter-spacing: 0.34rem;
}

.c-category-caption-v2 .txt {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 0 22rem;
}

.c-category-caption-v2 .txt::before {
  content: "";
  width: 20rem;
  height: 0.1rem;
  background: #292929;
  position: absolute;
  left: 0;
  bottom: 0.5em;
}

.c-category-caption-v2 .txt::after {
  content: "";
  width: 20rem;
  height: 0.1rem;
  background: #292929;
  position: absolute;
  right: 0;
  bottom: 0.5em;
}

.c-category-caption-v2 .en {
  display: block;
  background: #ffd500;
  color: #fff;
  width: 13.1rem;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  margin: 0 auto 3rem;
  height: 1.8rem;
  line-height: 1.8rem;
  border-radius: 3rem;
}

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

.c-rank-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.6rem 1.6rem rgba(0,0,0,.15);
  overflow: hidden;
  color: inherit;
}

.c-rank-card__no {
  background: #00904B;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 1.6rem;
}

.c-rank-card__body {
  padding: 1.6rem;
}

.c-rank-card__name {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #0000FF;
  margin: 0 0 0.4rem;
  text-decoration: underline;
}

.c-rank-card__company {
  font-size: 1.3rem;
  margin: 0 0 1.2rem;
  color: #333;
}

.c-rank-card__image {
  margin-bottom: 1.2rem;
}

.c-rank-card__image img {
  width: 100%;
  display: block;
}

.c-rank-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.2rem 0;
  border-radius: 99.9rem;
  background: #FFD500;
  color: #000;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.c-rank-card__note {
  font-size: 1.1rem;
  color: #777;
  text-align: center;
  margin: 0;
}

/* ----- c-diagnosis-cta ----- */
.c-diagnosis-cta {
  margin: 8rem 0 0;
  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;
}

/* ----- c-offer-card ----- */
.c-offer-card-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  row-gap: 4rem;
  margin-bottom: 5rem;
}

.c-offer-card {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 1.4rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0.6rem 1.6rem rgba(0,0,0,.18);
}

.c-offer-card__top {
  background: #00904B;
  color: #fff;
  position: relative;
  padding: 1rem 1.4rem 1rem 5.2rem;
  border-radius: 1.4rem 1.4rem 0 0;
  min-height: 5rem;
  display: flex;
  align-items: center;
}

.c-offer-card__gift {
  position: absolute;
  left: 3rem;
  top: 1rem;
  width: 2.8rem;
  height: 2.8rem;
}

.c-offer-card__top-text {
  margin: 0;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: .02em;
  text-align: center;
  width: 100%;
}

.c-offer-card__body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.c-offer-card__name {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0000FF;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.c-offer-card__company {
  margin: 0 0 1.2rem;
  font-size: 1.3rem;
  color: #333;
}

.c-offer-card__image {
  margin: 0 auto 1.2rem;
}

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

.c-offer-card__spec {
  border: 0.1rem solid #d9d9d9;
  border-radius: 0.6rem;
  overflow: hidden;
  margin: 0 0 1rem;
}

.c-offer-card__matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

.c-offer-card__col {
  width: calc(100% / 3);
}

.c-offer-card__cell--head,
.c-offer-card__cell--body {
  padding: 0.8rem 0.4rem;
  text-align: center;
  vertical-align: middle;
  border-right: 0.1rem solid #d9d9d9;
}

.c-offer-card__cell--head:last-child,
.c-offer-card__cell--body:last-child {
  border-right: 0;
}

.c-offer-card__cell--head {
  background: #f2f2f2;
  font-size: 1.3rem;
  color: #333;
  font-weight: normal;
  border-bottom: 0.1rem solid #d9d9d9;
}

.c-offer-card__cell--body {
  background: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  color: #222;
  line-height: 1.2;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.c-offer-card__cond {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  text-align: left;
  margin: 0 0 1rem;
}

.c-offer-card__cond-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #000;
  color: #fff;
  border-radius: 99.9rem;
  padding: 0.4rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.2rem;
}

.c-offer-card__cond-text {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-offer-card__rating {
  position: relative;
  background: #dff3ea;
  margin: 0 -2.1rem 1.2rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
}

.c-offer-card__rating::before,
.c-offer-card__rating::after {
  content: "";
  position: absolute;
  top: 100%;
  border-top: 0.5rem solid #b2d8c5;
  z-index: -1;
}

.c-offer-card__rating::before {
  left: 0;
  border-left: 0.5rem solid transparent;
}

.c-offer-card__rating::after {
  right: 0;
  border-right: 0.5rem solid transparent;
}

.c-offer-card__score {
  font-weight: 900;
  font-size: 1.8rem;
  color: #111;
}

.c-offer-card__stars {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  color: #ccc;
  letter-spacing: 0.1rem;
}

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

.c-offer-card__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__stars.is-r20::after { width: 40%; }

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

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

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

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

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

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

.c-offer-card__count {
  display: inline-block;
  font-weight: 800;
  color: #0000FF;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.c-offer-card__btn {
  background: #FFD500;
  border-radius: 99.9rem;
  padding: 1.2rem 0;
  font-weight: 900;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.c-offer-card__note {
  margin: 0.6rem 0 0;
  font-size: 1.1rem;
  color: #777;
  text-align: center;
}

/* ------------------------------------------------------
 * 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(25 * 100vw / 750);
    font-size: calc(60 * 100vw / 750);
    line-height: calc(87 * 100vw / 750);
  }

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

  .mv-badges {
    flex-flow: column;
    align-items: flex-start;
    margin-top: calc(40 * 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: calc(20 * 100vw / 750) 0 0 0;
    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-category-caption-v2 ----- */
  .c-category-caption-v2 {
    font-size: 3.6rem;
  }

  .c-category-caption-v2 .txt {
    padding: 0 5rem;
  }

  .c-category-caption-v2 .txt::before {
    width: 3rem;
    height: 0.1rem;
    left: 0;
    bottom: 50%;
  }

  .c-category-caption-v2 .txt::after {
    width: 3rem;
    height: 0.1rem;
    right: 0;
    bottom: 50%;
  }

  .c-category-caption-v2 .en {
    width: 11.1rem;
    margin: 0 auto 1.8rem;
  }

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

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

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