/* =============== 上部ページ内リンク（ファイナンスプログラム） =============== */
html{
    scroll-behavior: smooth;
}
#finance-lease-program{
    scroll-margin-top: 120px;
}
.finance-program-nav {
    padding: 0 0 80px;
}

.finance-program-nav__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.finance-program-nav__title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.finance-program-nav__title span{
    font-size: 32px;
}
.finance-program-nav__list {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.finance-program-nav__item {
    flex: 1 1 0;
    text-align:center;
}

.finance-program-nav__link {
    position: relative;
    display: block;
    height: 100%;
    padding: 20px 40px 15px;
    text-align:center;
    background-color: #0593E9; /* ベースの青（1・2枚目） */
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.finance-program-nav__link--lease {
    background-color: #00AAD2; /* 3枚目だけ少し明るい水色 */
}

.finance-program-nav__link:hover,
.finance-program-nav__link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
    opacity: 0.96;
}

.finance-program-nav__top {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.finance-program-nav__middle {
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 16px;
    margin-bottom: 10px;
}

.finance-program-nav__icon {
    flex-shrink: 0;
}

.finance-program-nav__icon img {
    display: block;
    height: 40px;
}
.finance-program-nav__bottom {
    display: block;
    font-size: 14px;
}

/* 右側の▼アイコン */
.finance-program-nav__arrow {
    position: absolute;
    right: 20px;
    top:50%;
    width: 10px;
    height: 10px;
}

.finance-program-nav__arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* ---------- スマホレイアウト：1119px以下 ---------- */
@media screen and (max-width: 1119px) {
    .finance-program-nav {
        padding: 24px 20px 16px;
    }

    .finance-program-nav__title {
        font-size: 18px;
        margin-bottom: 16px;
        line-height: 1.4;
    }
    .finance-program-nav__title span{
        font-size: 24px;
    }

    .finance-program-nav__list {
        flex-wrap: wrap;
        gap: 8px;
    }
    .finance-program-nav__item {
        width: calc(33.33% - 5.34px);
        flex: none;
    }

    .finance-program-nav__link {
        padding: 17px 7px 17px;
    }

    .finance-program-nav__top {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .finance-program-nav__middle {
        margin-bottom: 4px;
    }

    .finance-program-nav__icon img {
        height: 30px;
    }

    .finance-program-nav__bottom {
        font-size: 12px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .finance-program-nav__arrow {
        right: 0;
        top: 0;
        position: relative;
        display: block;
        width: 100%;
        height: 8px;
    }
    .finance-program-nav__arrow::before {
        top: 0;
        left: 50%;
        width: 7px;
        height: 7px;
        transform: translate(-50%, 0) rotate(45deg);
    }
}

/* =============== ローン詳細（通常型／据置型） =============== */

.finance-loan-section {
    padding: 0 0 20px;
    border-radius: 10px;
    overflow: hidden;
    scroll-margin-top: 120px; /* 固定ヘッダーがある場合のアンカー調整用（不要なら削除） */
}
.finance-loan-section02{
    margin: 0 0 50px 0 ;
}

.finance-loan-section__inner {
    max-width: 1120px;
    margin: 0 auto;
}

/* 上の青い帯 */
.finance-loan-section__heading {
    background-color: #008ee5;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 5px 16px;
    margin: 0;
}

/* 下の白い枠部分 */
.finance-loan-section__body {
    border: 1px solid #d6d6d6;
    border-top: none;
    background-color: #fff;
    padding: 24px 32px;
    display: flex;
    align-items: stretch;
    gap: 32px;
}

/* 左：図解 */
.finance-loan-section__figure {
    flex: 0 0 66%;
}

.finance-loan-section__figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右：テキスト */
.finance-loan-section__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: calc(25% + 30px);
}

.finance-loan-section__lead {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 0 40px;
    position: relative;
}
.finance-loan-section__lead:before{
    background:url(../../assets/images/@finance_service_11.png);
    content:"";
    width: 35px;
    height: 60px;
    background-repeat: no-repeat;
    display: block;
    top: 50%;
    left: -50px;
    transform: translate(0, -50%);
    position: absolute;
}

.finance-loan-section__list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 14px;
    line-height: 1.8;
}
.cont-tbl .tbl-box .data-tbl col:first-child{
    width: 144px;
}
.cont-tbl .tbl-box .data-tbl .blue_ttl{
    color:#1C6BBA
}
.cont-tbl .data-tbl tbody th.blue_ttl{
    color:#1C6BBA;
}
.caution-list{
    padding: 13px 0 13px 16px;
    font-size: 12px;
    color:#666666;
    margin-bottom: 60px;
}
.caution-list li{
    list-style-type: disc;
    margin-bottom: 4px;
}
.cta-outer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 50px;
    gap: 70px;
}
.cta-outer-box {
    width: 350px;
    text-align: center;
}
.cta-outer02{
    margin: 20px auto 70px;
}
.cta-outer-txt{
    border-bottom: solid 1px #1C6BBA;
    color: #000;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
}
.finance-intro .cont-tit2 + .cont-text2 + .finance-image {
    gap: 60px;
    margin-top: 15px;
}
.finance .annotation {
    margin-top: 0px;
    padding: 32px 40px;
    margin-bottom: 100px;
}
/* ---------- スマホレイアウト：1119px以下 ---------- */
@media screen and (max-width: 1119px) {

    .finance-loan-section__inner {
        padding: 0 0;
    }

    .finance-loan-section__inner img{
        width: 100%;
    }

    .finance-loan-section__heading {
        font-size: 18px;
        padding: 10px 12px;
    }

    .finance-loan-section__body {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .finance-loan-section__figure {
        flex-basis: auto;
    }

  .finance-loan-section__lead {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .finance-loan-section__list {
    font-size: 13px;
  }
  .cta-outer{
    flex-direction: column;
    gap: 30px;
    margin: 20px 10px 30px;
  }
  .cta-outer-box {
      width: 300px;
  }
  .cta-outer-box .btn{
      max-width: calc(100% - 20px);
      margin: 0 auto;
  }
  .cta-outer-txt {
      font-size: 14px;
  }
.cta-outer02{
    margin-bottom: 40px;
  }
  .finance-image li + li{
    padding-top: 0px;
  }
  .finance .annotation {
      padding: 30px 20px;
    margin-bottom: 40px;
  }
  .finance-intro .cont-tit2 + .cont-text2 + .finance-image {
    gap: 30px;
    margin-top: 15px;
  }
}



/* タブ */
/* 全体基本 */
.finance-tabset {
  margin-bottom: 2rem;
}

.finance-tabset th, .finance-tabset td
 {
  padding: 9px 0;
  text-align: center;
}
.finance-tabset tr:last-child td {
  padding-left: 0 !important;
  text-align: center !important;
}

.finance-tabset input[type="radio"] {
  position: absolute;
  left: -9999px;
}

.finance-tab-label {
  cursor: pointer;
  display: inline-block;
}

.finance-panels {
  padding: 0;
}

.finance-panel {
  display: none;
}

.finance-tabset-flex{
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.finance-a #finance-switching-tab1:checked ~ .finance-panels .finance-panel-1,
.finance-a #finance-switching-tab2:checked ~ .finance-panels .finance-panel-2,
.finance-a #finance-switching-tab3:checked ~ .finance-panels .finance-panel-3,
.finance-a #finance-switching-tab4:checked ~ .finance-panels .finance-panel-4,

.finance-b #finance-switching-tab5:checked ~ .finance-panels .finance-panel-1,
.finance-b #finance-switching-tab6:checked ~ .finance-panels .finance-panel-2,
.finance-b #finance-switching-tab7:checked ~ .finance-panels .finance-panel-3,
.finance-b #finance-switching-tab8:checked ~ .finance-panels .finance-panel-4,

.finance-c #finance-switching-tab9:checked ~ .finance-panels .finance-panel-1,
.finance-c #finance-switching-tab10:checked ~ .finance-panels .finance-panel-2,
.finance-c #finance-switching-tab11:checked ~ .finance-panels .finance-panel-3,
.finance-c #finance-switching-tab12:checked ~ .finance-panels .finance-panel-4 {
  display: block;
}

.finance-tabset label {
  padding: 0 15px;
  margin: 7px 0;
  line-height: 1.2;
}

.finance-tabset label:has(+ input) {
  border-right:solid 1px #E9E9E9;
}
.finance-tabset input:checked + label{
  border-bottom-color: #2563eb;
  color: #2563eb;
}


/* ---------- スマホレイアウト：1119px以下 ---------- */
@media screen and (max-width: 1119px) {
  .finance-panels{
    padding-top: 20px;
  }
}