/* =====================================================
  Fee Hero
===================================================== */
.fee-hero{
  position: relative;
  padding: 170px 0 120px;
  overflow: hidden;
}

.fee-hero-bg,
.fee-hero-bg picture,
.fee-hero-bg img{
  position: absolute;
  inset: 0;
}

.fee-hero-bg{
  z-index: 0;
}

.fee-hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fee-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.86) 44%,
      rgba(243,247,255,.9) 100%
    );
}

.fee-hero-inner{
  position: relative;
  z-index: 2;

  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.fee-hero-copy{
  max-width: 760px;
}

.fee-hero-label{
  margin: 0 0 14px;

  color: #9a8d5c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
}

.fee-hero-title{
  margin: 0;

  color: #3e302b;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
}

.fee-hero-title::after{
  content: "";
  display: block;

  width: 58px;
  height: 2px;

  margin: 24px 0 0;

  background: #9a8d5c;
}

.fee-hero-lead{
  margin: 34px 0 0;

  color: #5b514d;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 2.1;
}

/* =====================================================
  Fee Section
===================================================== */
.fee-section{
  padding: 104px 0 120px;
  background:
    linear-gradient(
      180deg,
      #f8f8f6 0%,
      #ffffff 100%
    );
}

.fee-inner{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.fee-section-head{
  margin-bottom: 38px;
}

.fee-section-label{
  margin: 0 0 10px;

  color: #9a8d5c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
}

.fee-section-title{
  margin: 0;

  color: #3e302b;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.6;
}

.fee-section-title::after{
  content: "";
  display: block;

  width: 54px;
  height: 2px;

  margin: 22px 0 0;

  background: #9a8d5c;
}

/* notes */
.fee-notes{
  margin-bottom: 56px;
}

.fee-notes p{
  margin: 0;

  color: #4f4641;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .08em;
}

/* =====================================================
  Block
===================================================== */
.fee-block + .fee-block{
  margin-top: 72px;
}

.fee-block-head{
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 22px;
}

.fee-block-line{
  width: 6px;
  height: 24px;

  background: #9a8d5c;
}

.fee-block-head h3{
  margin: 0;

  color: #3e302b;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .12em;
}

/* =====================================================
  Table
===================================================== */
.fee-table-wrap{
  overflow-x: auto;
}

.fee-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fee-table th,
.fee-table td{
  border: 1px solid #bdb7a7;

  padding: 18px 16px;

  color: #3e302b;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.8;
  text-align: left;
  vertical-align: middle;
}

.fee-table thead th{
  background: #d8d3c7;
  font-weight: 700;
}

.fee-table-main{
  width: 70%;
}

.fee-sub-row td{
  background: #f6f4ef;
  font-size: 14px;
}

.fee-price{
  font-size: 20px;
  font-weight: 700;
  color: #8c7340;
}

/* =====================================================
  Risk
===================================================== */
.fee-risk{
  margin-top: 18px;
  border: 1px solid #cfc8b6;
  background: #fff;
}

.fee-risk-head{
  padding: 14px 18px;

  background: #ece8df;

  color: #3e302b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.fee-risk-body{
  padding: 22px 22px 24px;
}

.fee-risk-body p{
  margin: 0;

  color: #4f4641;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .06em;
}

/* =====================================================
  Responsive
===================================================== */
@media (max-width: 767px){

  .fee-hero{
    padding: 122px 0 82px;
    min-height: 62vh;
  }

  .fee-hero-inner,
  .fee-inner{
    width: min(100% - 32px, 560px);
  }

  .fee-hero-title{
    font-size: 31px;
    letter-spacing: .12em;
  }

  .fee-hero-lead{
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.95;
  }

  .fee-hero-lead br{
    display: none;
  }

  .fee-section{
    padding: 76px 0 84px;
  }

  .fee-section-title{
    font-size: 27px;
  }

  .fee-notes{
    margin-bottom: 42px;
  }

  .fee-notes p{
    font-size: 14px;
  }

  .fee-block-head h3{
    font-size: 20px;
  }

  .fee-table{
    min-width: 720px;
  }

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

  .fee-price{
    font-size: 18px;
  }

  .fee-risk-body{
    padding: 18px;
  }

  .fee-risk-body p{
    font-size: 13px;
  }
}