/*----------------------------------------------------*/
/*     モーダル色上書き     */
/*----------------------------------------------------*/

:root {
  --modal-color: #0075d3;
  --modal-color-light: #93c7fb;
}

/*----------------------------------------------------*/
/*     共通     */
/*----------------------------------------------------*/

:root {
  --main-color: #0075d3;
  --text-red: #d30000;
  --text-green: #60b118;
  --text-base: #333;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', YuGothic, 'Yu Gothic', 'Yu Gothic UI', 'Arial', sans-serif;
  line-height: 1.6;
}

li {
  list-style: none;
}

/***************************/
/* Layout */
/***************************/

/* header */

.l-header {
  margin: 0 auto;
  background-color: #fff;
}

.l-header__logo {
  display: block;
  margin: 10px auto;
  max-width: 270px;
}

.l-header__logo img {
  width: 100%;
}

@media screen and (max-width: 860px){
  .l-header__logo {
    padding: 0 15px;
    max-width: 260px;
  }
}

/* header END */

/* footer */
footer {
  width: 100%;
  color: #fff;
  text-align: center;
  background-color: #003977;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer p {
  padding: 4px;
  font-size: 12px;
}

.l-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 0 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.l-footer a {
  color: #fff;
}

/* footer END */

/***************************/
/* Block */
/***************************/
/* MV */
.b-mv {
  background-color: var(--main-color);
  background-image: url("./../img/mv_bg_pc.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.b-mv__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 50px;
  margin: 0 auto;
  width: 100%;
  max-width: 1130px;
}

.b-mv__inner.__cp {
  padding-bottom: 30px;
  max-width: 1050px;
}

.b-mv__form {
  display: block;
  margin-top: 7px;
  width: 100%;
  max-width: 500px;
}

.b-mv__content_wrap {
  margin-top: 30px;
}

.b-mv__inner.__cp .b-mv__content_wrap {
  margin-top: 20px;
  margin-bottom: 2px;
}

.b-mv__content_wrap img {
  width: 100%;
}

.b-mv__content_text {
  margin: 0 auto;
  width: 92%;
  font-size: 12px;
  color: #fff;
}

@media screen and (max-width: 1080px) {
  .b-mv {
    background-image: url("./../img/mv_bg_sp.png");
  }

  .b-mv__inner {
    padding: 5px 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .b-mv__form {
    max-width: 620px;
  }

  .b-mv__content_wrap, .b-mv__inner.__cp .b-mv__content_wrap {
    margin-top: 0;
  }
}

/* MV END */

/* カーネクストの車買取が選ばれる理由 */
.b-reason {
  padding: 40px 0;
  background-color: #bde4ff;
}

.b-reason__inner {
  width: 895px;
  max-width: 95%;
  margin: 0 auto;
}

.b-reason__box {
  display: block;
  width: 100%;
  background: #fff;
  border: 3px solid var(--main-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.16);
}

.b-reason__title {
  font-size: 35px;
  font-weight: bold;
  background: var(--main-color);
  color: #FFF;
  letter-spacing: 0.05em;
  text-align: center;
  text-underline-position: under;
  text-decoration: underline;
  padding-bottom: 10px;
}

.rpg_con{
  padding: 15px;
}

.b-reason__donna {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.b-reason__txt{
  padding: 0.5em 0 0.8em;
  font-size: 15px;
}

.b-reason__txt_yellow {
  font-size: 32px;
  vertical-align: baseline;
  background: linear-gradient(transparent 60%, #fff600 0%);
}

.b-reason__txt_challenge {
  font-size: 32px;
  color: #d40b16;
}

.b-reason__img_1 {
  margin: auto;
  width: fit-content;
}

.b-reason__img_1 img {
  width: 100%;
  height: auto;
}

.b-reason__img_2 {
  text-align: center;
  margin-top: 1em;
}

.b-reason__img_2 img{
  display: block;
  margin: 20px auto 10px;
  margin-inline: auto;
  width: auto;
  max-width: 100%;
  height: auto;
}

.ylw1 {
  color: #fff600;
}

@media screen and (max-width: 1080px) {

  .b-reason {
    padding: 20px 0 30px;
  }

  .b-reason__title {
    font-size: 23px;
  }

  .b-reason__donna {
    font-size: 18px;
  }

  .b-reason__txt_yellow {
    font-size: 28px;
  }

  .b-reason__txt_challenge {
    font-size: 28px;
  }
}
/* カーネクストの車買取が選ばれる理由 END */

/* カーネクストの特徴 */
.b-feature {
  padding: 40px 0;
}

.b-feature__inner {
  width: 895px;
  max-width: 95%;
  margin: 0 auto;;
}

.b-feature__block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
  width: 850px;
  max-width: 100%;
  margin: 0 auto;
}

.b-feature__block dd{
  margin: 0 0.8em 0.5em;
  line-height: 1.6;
}

.b-feature__block img{
  width: 500px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 0.5em;
  display: block;
}

.b-feature__block p{
  text-align: left;
  font-size: 15px;
}

.b-feature__ribbon-wrap {
  display: block;
  position: relative;
  margin: 0 auto;
  width: calc((100% - 50px) / 2);
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.16);
  border-radius: 4px;
}

.b-feature__ribbon {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  padding: 3px 7px;
  margin: 0 0 0 -20px;
  width: calc(100% + 40px);
  text-align: center;
  font-size: 24px;
  color: #fff;
  background: var(--main-color);
  box-shadow: 0 4px 11px rgb(0 0 0 / 24%);
  font-weight: 500;
}

.b-feature__ribbon::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #165cb3;
}

.b-feature__ribbon::after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-left: solid 20px #165cb3;
}

@media screen and (max-width: 1080px) {
  .b-feature__block {
    flex-direction: column;
  }

  .b-feature__ribbon-wrap {
    width: 90%;
  }

  .b-feature__ribbon {
    font-size: 20px;
  }
}

/* カーネクストの特徴 END */

/* 車買取の流れ */
.b-flow {
  padding: 40px 0;
  background-color: #d7eeff;
}

.b-flow__inner {
  width: 895px;
  max-width: 90%;
  margin: 0 auto;
}

.b-flow__ex {
  margin-bottom: 20px;
  font-size: 15px;
  text-align: center;
}

.b-flow__block {
  display: flex;
  flex-direction: column;
}

.b-flow__img_wrap, .b-flow__txt_wrap {
  display: flex;
  gap: 45px;
  width: 100%;
}

.b-flow__img_wrap picture {
  position: relative;
  width: calc((100% - 135px) / 4);
}

.b-flow__img {
  width: 100%;
}

.b-flow__img_wrap picture:not(:last-child)::before {
  position: absolute;
  top: 0;
  right: -32px;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 1px;
  content: '';
  background-color: #c6c6c6;
}

.b-flow__txt {
  position: relative;
  padding: 10px;
  margin-top: 20px;
  width: 100%;
  font-size: 14px;
  background-color: #c1e1fb;
  border-radius: 5px;
}

.b-flow__txt::before {
  position: absolute;
  top: -9px;
  right: 0;
  left: 0;
  margin: auto;
  width: 16px;
  height: 10px;
  content: '';
  background-color: #c1e1fb;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

@media screen and (max-width: 1080px) {
  .b-flow__block {
    flex-direction: row;
    gap: 28px;
    width: 500px;
    max-width: 98%;
    margin: auto;
  }

  .b-flow__img_wrap {
    flex-direction: column;
    width: 100px;
  }

  .b-flow__txt_wrap {
    flex: 1;
    gap: 51px;
    flex-direction: column;
    justify-content: flex-end;
  }

  .b-flow__txt {
    margin-top: 0;
    height: 93px;
  }

  .b-flow__txt::before {
    top: 0;
    right: auto;
    left: -14px;
    bottom: 0;
    width: 20px;
    height: 22px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
  }

  .b-flow__img_wrap picture {
    width: 100%;
  }

  .b-flow__img_wrap picture:not(:last-child)::before {
    top: auto;
    right: -15px;
    bottom: -30px;
    left: 0;
    width: 1px;
    height: 15px;
  }
}

@media screen and (max-width: 600px) {
  .b-flow__txt {
    height: 80px;
  }

  .b-flow__txt_wrap {
    gap: 44px;
  }
}

/* 車買取の流れ END */

/* 始めての方へ  */

.b-beginner {
  padding: 40px 0;
  background-color: #0074cf;
}

.b-beginner__inner {
  position: relative;
  border: 2px solid #004fa5;
  color: #004fa5;
  width: 700px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
  background:#ffffff;
}

.b-beginner__inner::before {
  position: absolute;
  top: 23px;
  left: 28px;
  width: 84px;
  height: 100px;
  content: '';
  background-size: contain;
  background-image: url("./../img/for-guest-bg.png");
  background-repeat: no-repeat;
}

.b-beginner__inner h2 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  padding-top: 20px;
  margin-bottom: 10px;
}

.b-beginner__inner h2 span:after{
  content: '';
  width: 25px;
  height: 25px;
  display: inline-block;
  background: url(./../img/for-guest-icon.png) no-repeat center;
  background-size: contain;
  vertical-align: initial;
}

.b-beginner__inner .content_area {
  width: 70%;
  margin: 0 auto;
  padding: 0 0 20px;
  font-size: 16px;
}

.b-beginner__point {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.b-beginner__point .item{
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  background-color: #cfeafc;
  padding: 10px 3%;
  width: 100%;
  border: 1px solid #ffffff;
}

.b-beginner__footer {
  background: #004fa5;
  color: #fff;
  padding: 10px;
  border-radius: 30px;
  width: 90%;
  font-size: 18px;
  margin: 0 auto 25px;
  text-align: center;
  box-shadow: 0 6px 1px 0 #eaeaea;
}

.b-beginner__footer em {
  color: #fff600;
  font-style:normal;
}

@media screen and (max-width: 1080px) {

  .b-beginner {
    padding: 20px 0;
  }

  .b-beginner__inner h2 {
    font-size: 20px;
  }

  .b-beginner__inner .content_area {
    width: 85%;
  }

  .b-beginner__footer {
    font-size: 15px;
  }
}

/* 始めての方へ END */

/***************************/
/* Components */
/***************************/
/* ttl */
.c-ttl {
  width: 100%;
  margin: 0 auto 25px;
  text-align: center;
}

.c-ttl__decoration {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--main-color);
}

.c-ttl__decoration::before, .c-ttl__decoration::after {
  position: absolute;
  top: 0;
  right: -25px;
  bottom: 0;
  margin: auto;
  width: 2px;
  height: 85%;
  content: '';
  background-color: var(--main-color);
  transform: rotate(30deg);
}

.c-ttl__decoration::after {
  right: auto;
  left: -25px;
  transform: rotate(-30deg);
}

@media screen and (max-width: 1080px) {
  .c-ttl__decoration {
    font-size: 25px;
  }
}

/* ttl END */

/* btn */
.c-btn__link {
  margin-top: 30px;
  width: 100%;
  background-color: transparent;
  border: none;
}

.c-btn__link a {
  display: flex;
  justify-content: center;
  width: 500px;
  max-width: 90%;
  padding: 20px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  color: #fff;
  background: linear-gradient(0deg, rgba(241,57,57,1) 0%, rgba(241,57,57,1) 50%, rgba(254,74,74,1) 50%, rgba(254,74,74,1) 100%);
  border-radius: 7px;
  align-items: center;
  cursor: pointer;
  transition: opacity .3s;
  text-decoration: none;
  box-sizing: border-box;
}

.c-btn__link a::after {
  display: inline-block;
  content: '';
  width: 1em;
  height: 1em;
  margin-left: .75em;
  background-image: url('./../img/cv_form_btn_icon.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.c-btn__link a:hover {
  opacity: .8;
}

@media screen and (max-width: 860px){
  .c-btn__link {
    margin-left: 0;
  }

  .c-btn__link a {
    font-size: 21px;
  }
}
/* btn END */

/* text */
.c-text__red {
  color: var(--text-red);
}
.c-text__green {
  color: var(--text-green);
}
.c-text__yellow {
  color: #f3e359;
}
.c-text__bold {
  font-weight: 700;
}
.c-txt__maker_yellow {
  font-weight: bold;
  vertical-align: baseline;
  background: linear-gradient(transparent 60%, #fff600 0%);
}
/* text END */

.u-mt20 {
  margin-top: 20px;
}
.u-mt40 {
  margin-top: 40px;
}
.u-mt60 {
  margin-top: 60px;
}
.u-mb30 {
  margin-bottom: 30px;
}
.u-mb40 {
  margin-bottom: 40px;
}
.u-mb50 {
  margin-bottom: 50px;
}
.u-mb60 {
  margin-bottom: 60px;
}
.u-mb80 {
  margin-bottom: 80px;
}
@media screen and (max-width: 860px){
  .u-mt20__sp {
    margin-top: 20px;
  }

  .u-mb20__sp {
    margin-bottom: 20px;
  }
  .u-mb30__sp {
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 861px) {
  .u-show--sp {
    display: none !important;
  }
}
@media screen and (max-width: 860px) {
  .u-none--sp {
    display: none !important;
  }
}

.sp_rpg{
  display: none;
  @media (max-width: 450px){
    display: block;
  }
}