@charset "utf-8";

/* ------------------
買取サービス一覧
--------------------- */
.header {
  display: none;
}

.heading {
  padding: 26px 20px 60px;
  position: relative;
  text-align: center;
}
.heading__main {
  color: var(--black0-color);
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}
.heading__main:after {
  content: "";
  display: block;
  width: 50px;
  margin-top: 20px;
  border-top: 3px solid var(--main400-color);
}

.bg-text {
  color: #0590d3;
  font-family: var(--montserrat-font);
  font-size: 13rem;
  font-weight: 700;
  overflow: hidden;
  text-transform: uppercase;
  position: absolute;
  /* top: 30px; */
  top: -14px;
  left: 5px;
  transform: translateY(-50%);
  animation: flowing 20s linear infinite;
}

@keyframes flowing {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.service {
  background: linear-gradient(to bottom, #0954ac, var(--main500-color));
  padding: 50px 20px 64px;
}

/* ------------------
ランキング
--------------------- */
.ranking {
  border-radius: 20px 20px 0 0;
}

.ranking .heading {
  font-size: 4.2rem;
  margin-bottom: 56px;
  padding: 0;
}

.ranking__item {
  background-color: var(--black0-color);
  border-radius: 16px;
  padding-top: 48px;
  position: relative;
}

.ranking__item + .ranking__item {
  margin-top: 56px;
}

.ranking__heading {
  /* color: var(--main600-color); */
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.btn_hp {
  text-align: center;
  font-size: 15px;
  margin-bottom: 26px;
  position: relative;
}
.btn_hp a {
  color: #097fc0;
  text-decoration: underline;
}
.btn_hp a:after {
  background-image: url(../img/btn_hp.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  width: 10px;
  height: 8px;
  position: absolute;
  top: 6px;
  right: auto;
}
.ranking__hp {
  margin-bottom: 32px;
}

.ranking__content {
  padding: 0 20px 46px;
}

.ranking__info {
  /* border-bottom: 1px solid var(--black200-color); */
  padding-bottom: 32px;
  text-align: center;
}

.ranking__info figure + figure {
  margin-top: 21px;
}

.ranking__comment {
  margin-bottom: 32px;
  padding-top: 32px;
}

.ranking__comment-lead {
  color: var(--main600-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.ranking__comment-text {
  font-size: 1.4rem;
  line-height: 1.75;
}

/* 高値買取メーカー一覧 */
.maker {
  margin-top: 43px;
}
.maker__heading {
  /* background-color: var(--main100-color); */
  border-radius: 4px;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 16px 12px;
}

.maker__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.maker__list li {
  border: 1px solid var(--black200-color);
  border-radius: 99px;
  font-size: 1.6rem;
  padding: 12px;
}

.maker__item {
  display: grid;
  /* grid-template-columns: 1fr 1fr 1fr; */
  grid-template-columns: 2fr 2fr;
  gap: 10px;
  margin-bottom: 24px;
}
.maker__item dl {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 0;
  text-align: center;
}
.maker__item dl:last-child {
  grid-column-start: 1;
  grid-column-end: 3;
  width: 48%;
  margin: 0 auto;
}

.maker__item dt {
  background-color: var(--main600-color);
  border-radius: 8px 8px 0 0;
  color: var(--black0-color);
  font-size: 1.4rem;
  padding: 8px;
}

.maker__item dd {
  background-color: var(--main50-color);
  color: var(--black500-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 5px;
}

.maker__item-text {
  color: var(--black950-color);
  font-size: 1.8rem;
  font-weight: 700;
  min-height: 24px;
}

/* ココがオススメ */
.recomend {
  margin: 30px 0;
}
.recomend h4.ex__heading {
  background-color: var(--main600-color);
  border-radius: 4px;
  color: var(--black0-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 16px 12px;
}

.recomend__lead {
  position: relative;
  text-align: center;
  z-index: 1;
}

.recomend__content {
  background-color: var(--main50-color);
  border-radius: 4px;
  /* padding: 40px 16px 24px; */
  position: relative;
  /* top: -30px; */
}

.recomend__content li {
  background-color: var(--black0-color);
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 32px 24px;

  span {
    color: var(--key600-color);
  }
}

.recomend__content li + li {
  margin-top: 10px;
}
.recomend_lead {
  display: flex;
  margin-bottom: 18px;
}
.recomend_lead p {
  padding-left: 14px;
}
.recomend_text {
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.75;
}

/* ご利用者の感想 */
.voice__heading {
  background-color: var(--main600-color);
  border-radius: 4px;
  color: var(--black0-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 16px 12px;
}

.voice__list {
  margin-bottom: 30px;
}

.voice__item {
  background-color: #f1f9fe;
  border-radius: 8px;
  padding: 24px;
}

.voice__item + .voice__item {
  margin-top: 8px;
}

.voice__row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.voice__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voice__name {
  border-bottom: 1px solid var(--black200-color);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px;
}

.voice__name-sub {
  color: var(--black500-color);
  font-size: 1.2rem;
}

.voice__name-main {
  color: var(--main600-color);
  font-size: 1.4rem;
  font-weight: 700;
}

.voice__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}
.voice__price dt {
  font-size: 1.2rem;
}

.voice__price dd {
  color: var(--key600-color);
  font-size: 1.8rem;
}

.voice__text {
  font-size: 1.3rem;
  line-height: 1.75;
}

.cta__btn {
  text-align: center;
}
