


:root
{
    --black:#000;
    --white:#fff;
    --main-color:#0044A2;
    --sub-color-green:#1EBDCD;
    --sub-color-lb:#40B1E8;
    --accent-color:#FF7F00;
    --bg-color:#F2F7FA;
    --light-gray:#DADFE3;
}

h3
{
    font-size: 20px;
    padding: 10px 0;
    border-top: 1px dashed var(--black);
    border-bottom: 1px dashed var(--black);
    font-weight: bold;
    margin-bottom: 30px;
    /* margin-top: 60px; */
}
.sub-content
{
    margin-top: 60px;
}

/* ご契約の流れ -------------------------------------------*/ 


.lease-flow__wrap {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d0d0d0;
}

.lease-flow__item {
  flex: 1;
  background: var(--white);
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

/* 区切り線 */
.lease-flow__item:not(:last-child) {
  border-right: 1px solid #d0d0d0;
}

/* 矢印 */
.lease-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #0a49a8;
  z-index: 2;
}

/* 番号 */
.lease-flow__number {
  color: var(--main-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* タイトル */
.lease-flow__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

/* テキスト */
.lease-flow__text {
  font-size: 16px;
  text-align: left;
  line-height: 26px;
}

/* 残価設定 -------------------------------------------*/ 

.residual-value_text
{
    display: flex!important;
    flex-direction: column;
    gap: 15px;
}
.residual-value_text li
{
    background: var(--bg-color);
    border-radius: 8px;
    padding: 25px 30px;
}
.residual-value_text li > div
{
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
.residual-value_img 
{
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 40px;
}
.residual-value_img img
{
    width: 350px;
    max-width: 100%;
}


/* リース料にふくまれるもの -------------------------------------------*/ 

.maintenance-lease img
{
    width: 630px;
    max-width: 100%;
}
.maintenance-lease .notes
{
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.maintenance-lease .notes li
{
    font-weight: 500;
}
.maintenance-lease .notes li:first-child
{
    color: #F52217;
}


/* テーブル */

.car-cost-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.car-cost-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  overflow: hidden;
}

.car-cost-table th,
.car-cost-table td {
  padding: 15px 20px;
  border-right: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  word-break: break-word;
}

.car-cost-table thead th {
  background: var(--main-color);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 15px 20px;
}

.car-cost-table thead th:first-child {
  width: 30%;
}

.car-cost-table thead th:last-child {
  width: 70%;
}

.car-cost-table__label {
  width: 30%;
}

.car-cost-table tr th:last-child,
.car-cost-table tr td:last-child {
  border-right: none;
}

.car-cost-table tbody tr:last-child th,
.car-cost-table tbody tr:last-child td {
  border-bottom: none;
}


/* よくあるご質問 -------------------------------------------*/ 



.faq-item {
  font-size: 13px;
  line-height: 1.8;
  color: #222;
}

.faq-item__row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.faq-item__row + .faq-item__row {
  margin-top: 10px;
}

.faq-item__label {
  flex-shrink: 0;
  font-weight: 700;
  line-height: 1.2;
  font-size: 24px;
}

.faq-item__row--q .faq-item__label {
  color: var(--main-color);
}

.faq-item__row--a .faq-item__label {
  color: var(--accent-color);
}

.faq-item__text,
.faq-item__answer p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.faq-item__answer p + p {
  margin-top: 2px;
}



/* 商品ラインナップ -------------------------------------------*/ 

.lease-fee-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
}

.lease-fee-table {
  width: 100%;
  /* min-width: 1100px; */
  border-collapse: separate;
  border-spacing: 0;
  /* table-layout: fixed; */
  background: var(--white);
}

.lease-fee-table th,
.lease-fee-table td {
  padding: 14px 16px;
  border-right: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

/* ヘッダー */
.lease-fee-table__head {
  color: var(--white);
  font-size: 17px;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.lease-fee-table__head--item {
  width: 22%;
  background: var(--bg-color);
  left: 0;
  z-index: 5;
  color: var(--black);
}

.lease-fee-table__head--finance {
  width: 26%;
  background: var(--main-color);
}

.lease-fee-table__head--maintenance {
  width: 26%;
  background: var(--sub-color-green);
}

.lease-fee-table__head--service {
  width: 26%;
  background: var(--accent-color);
}
  .lease-fee-table__head--finance,
  .lease-fee-table__head--maintenance,
  .lease-fee-table__head--service
{
   font-size: 18px!important;
}

/* 左列固定 */
.lease-fee-table__label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-color);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

/* 角丸 */

.lease-fee-table tr th:last-child,
.lease-fee-table tr td:last-child {
  border-right: none;
}

.lease-fee-table tbody tr:last-child th,
.lease-fee-table tbody tr:last-child td {
  border-bottom: none;
}

/* マーク共通 */
.lease-fee-table__mark {
  display: inline-block;
  vertical-align: middle;
}

/* ○ */
.lease-fee-table__mark--circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* △ */
.lease-fee-table__mark--triangle {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid;
}

/* 色 */
.lease-fee-table__mark--blue {
  background: var(--main-color);
}

.lease-fee-table__mark--cyan {
  background: var(--sub-color-green);
}

.lease-fee-table__mark--orange {
  background: var(--accent-color);
}

.lease-fee-table__mark--triangle.lease-fee-table__mark--blue {
  background: none;
  border-bottom-color: var(--main-color);
}

.lease-fee-table__mark--triangle.lease-fee-table__mark--cyan {
  background: none;
  border-bottom-color: var(--sub-color-green);
}

.lease-fee-table__mark--triangle.lease-fee-table__mark--orange {
  background: none;
  border-bottom-color: var(--accent-color);
}



@media screen and (max-width: 767px) {


    h3
    {
        font-size: 18px;
        margin-bottom: 20px;
        padding: 5px 0;
    }


    /* ご契約の流れ -------------------------------------------*/
      .lease-flow__wrap {
    display: flex;
    flex-direction: row; /* ← 縦にしない */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lease-flow__item {
    min-width: 150px; /* ← これが重要 */
    padding: 20px;
  }

    /* 残価設定 -------------------------------------------*/ 

    .residual-value_img
    {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
     .residual-value_img img
     {
        width: 80%;
     };


    .sub-content
    {
        margin-top: 30px
    };

 /* リース料に含まれるもの -------------------------------------------*/ 

    .car-cost-table-wrap {
    border-radius: 10px;
  }

  .car-cost-table {
    /* min-width: 640px; */
    min-width: 100%;
    border-radius: 10px;
  }

  .car-cost-table th,
  .car-cost-table td {
    padding: 18px 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .car-cost-table thead th {
    padding: 14px 12px;
    font-size: 15px;
  }

  /* 商品ラインナップ -------------------------------------------*/ 


  .lease-fee-table {
    /* min-width: 980px; */
    min-width: 100%;
  }

  .lease-fee-table th,
  .lease-fee-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .lease-fee-table__head {
    font-size: 14px;
    padding: 16px 10px;
  }

  .lease-fee-table__label {
    font-size: 13px;
    /* min-width: 180px; */
    min-width: 70px;
  }

  .lease-fee-table__mark--circle {
    width: 18px;
    height: 18px;
  }
  .lease-fee-table__head--finance,
  .lease-fee-table__head--maintenance,
  .lease-fee-table__head--service
{
    width: 15%;
    font-size: 15px!important;
}


  .lease-fee-table__mark--triangle {
    border-left-width: 11px;
    border-right-width: 11px;
    border-bottom-width: 20px;
  }
  .lease-fee-table__head--item
  {
    width: 15%;
  }
}
    