@charset "UTF-8";
/**
 * レスポンシブのブレイクポイント設定
 */
/*
COLORS
================================================ */
:root {
  --pink: #F279A2;
  --blue: #1B6EB1;
  --sky-blue: #56ADF0;
  --orange: #ED794D;
  --green: #008B80;
  --yellow: #FFDC5A;
  --light-blue: #F2FAFF;
  --light-green: #E4E8E5;
  --light-grey: #F7F7F7;
  --placeholder: #9B9B9B;
  --grey: #ddd;
  --navy: #2E3180;
  --black: #333;
  --white: #fff;
  --gradation-orange: linear-gradient(180deg, #EA8863, #CC5223);
  --gradation-orange_hover: linear-gradient(180deg, #ea7b52, #cd4510);
  --gradation-blue: linear-gradient(180deg, #1C96CE, #1F67AF);
  --gradation-blue_hover: linear-gradient(180deg, #0b8fcc, #0154a7);
  --compare-pink: #FDF0F5;
  --compare-blue: #EDF7FF;
}

/*
住宅ローン
================================================ */
#loan {
  padding-bottom: 40px;
}
#loan .note {
  text-align: left;
}
@media (769px <= width) {
  #loan .note {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
  }
}
@media (width < 769px) {
  #loan .note {
    margin: 8vw auto;
    font-size: 2.667vw;
    line-height: 1.7;
  }
}
#loan .service-tit {
  text-align: center;
  margin-bottom: 20px;
}
@media (width < 769px) {
  #loan .service-tit {
    max-width: 90%;
    margin: 5% auto;
  }
}
@media (769px <= width) {
  #loan .service-tit .img_recommend {
    max-width: 480px;
  }
}
#loan .tabs {
  margin-inline: auto;
}
@media (769px <= width) {
  #loan .tabs {
    max-width: 900px;
  }
}
@media (width < 769px) {
  #loan .tabs {
    width: 100%;
  }
}
#loan .tab__item {
  background-color: var(--grey);
  text-align: center;
  display: block;
  float: left;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
}
@media (769px <= width) {
  #loan .tab__item {
    width: calc(50% - 10px);
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    border-radius: 10px 10px 0 0;
  }
}
@media (width < 769px) {
  #loan .tab__item {
    width: calc(50% - 1.333vw);
    height: 13.333vw;
    line-height: 13.333vw;
    font-size: 3.2vw;
    border-radius: 2.133vw 2.133vw 0 0;
  }
}
@media (769px <= width) {
  #loan .tab__item span {
    font-size: 2.4rem;
  }
}
@media (width < 769px) {
  #loan .tab__item span {
    font-size: 4.8vw;
  }
}
@media (769px <= width) {
  #loan .tab__item--refunding {
    margin-left: 20px;
  }
}
@media (width < 769px) {
  #loan .tab__item--refunding {
    margin-left: 2.667vw;
  }
}
#loan .tab__item:hover {
  opacity: 0.75;
}
#loan input[name=tab__item] {
  display: none;
}
#loan .tab__content {
  display: none;
  clear: both;
  overflow: hidden;
  background-color: var(--white);
}
@media (769px <= width) {
  #loan .tab__content {
    padding: 40px 50px 26px;
    border-top: 4px solid var(--blue);
  }
}
@media (width < 769px) {
  #loan .tab__content {
    padding: 8vw 5.333vw;
    font-size: 3.733vw;
    border-top: 1.067vw solid var(--blue);
  }
}
#loan .tab__content .l-no {
  position: relative;
  display: flex;
  justify-content: center;
}
@media (769px <= width) {
  #loan .tab__content .l-no {
    gap: 0 40px;
    margin-bottom: 15px;
  }
}
@media (width < 769px) {
  #loan .tab__content .l-no {
    gap: 0 8vw;
    margin-bottom: 4vw;
  }
}
#loan .tab__content .l-no::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
  background-color: var(--grey);
}
@media (769px <= width) {
  #loan .tab__content .l-no::before {
    width: 1px;
    height: 184px;
  }
}
@media (width < 769px) {
  #loan .tab__content .l-no::before {
    width: 0.267vw;
    height: 49.067vw;
  }
}
#loan .tab__content .no1,
#loan .tab__content .no2 {
  font-weight: 600;
  text-align: center;
}
@media (769px <= width) {
  #loan .tab__content .no1 .no,
#loan .tab__content .no2 .no {
    margin-bottom: 10px;
  }
}
@media (width < 769px) {
  #loan .tab__content .no1 .no,
#loan .tab__content .no2 .no {
    font-size: 3.733vw;
  }
}
#loan .tab__content .no1 .plan,
#loan .tab__content .no2 .plan {
  color: var(--white);
}
@media (769px <= width) {
  #loan .tab__content .no1 .plan,
#loan .tab__content .no2 .plan {
    margin-bottom: 15px;
  }
}
@media (width < 769px) {
  #loan .tab__content .no1 .plan,
#loan .tab__content .no2 .plan {
    margin-bottom: 1.6vw;
    font-size: 3.733vw;
  }
}
@media (width < 769px) {
  #loan .tab__content .no1 .type,
#loan .tab__content .no2 .type {
    font-size: 3.733vw;
  }
}
#loan .tab__content .no1 .rate,
#loan .tab__content .no2 .rate {
  line-height: 1;
  font-weight: 700;
  background: var(--gradation-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (769px <= width) {
  #loan .tab__content .no1 .rate,
#loan .tab__content .no2 .rate {
    margin-bottom: 15px;
    font-size: 4rem;
  }
  #loan .tab__content .no1 .rate span,
#loan .tab__content .no2 .rate span {
    font-size: 10rem;
  }
}
@media (width < 769px) {
  #loan .tab__content .no1 .rate,
#loan .tab__content .no2 .rate {
    margin-bottom: 2.667vw;
  }
  #loan .tab__content .no1 .rate span,
#loan .tab__content .no2 .rate span {
    font-size: 8.533vw;
  }
}
@media (769px <= width) {
  #loan .tab__content .no1 .percent,
#loan .tab__content .no2 .percent {
    font-size: 1.4rem;
  }
}
@media (width < 769px) {
  #loan .tab__content .no1 .percent,
#loan .tab__content .no2 .percent {
    font-size: 3.2vw;
  }
}
#loan .tab__content .no1 .percent span,
#loan .tab__content .no2 .percent span {
  font-weight: 400;
}
#loan .tab__content .no1 .no {
  color: var(--orange);
}
#loan .tab__content .no1 .plan {
  background: var(--gradation-orange);
}
#loan .tab__content .no2 .no {
  color: var(--blue);
}
#loan .tab__content .no2 .plan {
  background: var(--gradation-blue);
}
#loan .tab__content .ttl__note {
  text-align: center;
}
@media (769px <= width) {
  #loan .tab__content .ttl__note {
    margin-bottom: 18px;
    font-size: 1.4rem;
  }
}
@media (width < 769px) {
  #loan .tab__content .ttl__note {
    margin-bottom: 2.667vw;
    font-size: 3.733vw;
  }
}
#loan .tab__content .btn_rate {
  text-align: center;
  margin: 10px auto 30px;
}
#loan .tab__content .btn_rate button {
  border: 2px solid var(--light-grey);
  font-weight: bold;
}
@media (769px <= width) {
  #loan .tab__content .btn_rate button {
    padding: 5px 20px;
  }
}
@media (width < 769px) {
  #loan .tab__content .btn_rate button {
    padding: 5px;
  }
}
#loan .tab__content img {
  width: 25px;
  vertical-align: middle;
  margin-right: 5px;
}
#loan .tab__content .rate_info {
  margin-bottom: 40px;
}
@media (769px <= width) {
  #loan .tab__content .rate_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (769px <= width) {
  #loan .tab__content .rate_info div {
    width: 49%;
  }
}
@media (width < 769px) {
  #loan .tab__content .rate_info div {
    width: 90%;
    margin: 10px 5%;
  }
}
#loan .tab__content .rate_info div h3 {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  margin: 10px auto;
}
#loan .tab__content .rate_info div .rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 600px;
}
#loan .tab__content .rate_info div .rate-table th {
  background-color: var(--blue);
  color: var(--white);
  padding: 12px;
  text-align: left;
}
#loan .tab__content .rate_info div .rate-table td {
  padding: 12px;
  border: 1px solid #ddd;
  font-weight: bold;
  text-align: center;
}
#loan .tab__content .rate_info div .about_rate {
  width: 100%;
}
#loan #borrowing:checked ~ #borrowing_content,
#loan #refunding:checked ~ #refunding_content {
  display: block;
}
#loan .tabs input:checked + .tab__item {
  background-color: var(--yellow);
}

.menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
@media (769px <= width) {
  .menu-container div {
    gap: 15px;
  }
}
@media (width < 769px) {
  .menu-container div {
    gap: 5px;
  }
}
.menu-container .menu-button {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  border: 2px solid var(--grey);
  border-radius: 6px;
  text-align: right;
  cursor: pointer;
  font-weight: bold;
  align-items: center;
  padding: 10px;
}
@media (769px <= width) {
  .menu-container .menu-button {
    width: 220px;
    margin: 10px;
  }
}
@media (width < 769px) {
  .menu-container .menu-button {
    width: calc(90% - 20px);
    margin: 5px 5%;
  }
}
.menu-container .menu-button:hover {
  background: var(--grey);
}
.menu-container .menu-button strong {
  display: inline-block;
  font-size: 22px;
  margin-top: -5px;
  color: var(--blue);
  font-weight: bold;
}
.menu-container .menu-button img {
  width: 30px;
  margin-left: 10px;
}

@media (769px <= width) {
  #loan_outline .outline_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
  }
}
#loan_outline .outline_wrap div {
  background: var(--light-grey);
  border-radius: 5px;
  text-align: center;
  padding: 20px;
  margin: 10px 0;
}
@media (769px <= width) {
  #loan_outline .outline_wrap div {
    width: 49%;
    min-height: 200px;
  }
}
@media (width < 769px) {
  #loan_outline .outline_wrap div {
    width: calc(90% - 20px);
    margin: 10px 5%;
    min-height: auto;
  }
}
#loan_outline .outline_wrap div img {
  max-width: 90%;
}
#loan_outline .outline_wrap div h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
#loan_outline .outline_wrap div:nth-child(2) img {
  width: 50%;
  margin: 10px;
}
@media (769px <= width) {
  #loan_outline .outline_wrap div:nth-child(3) {
    width: 100%;
  }
}
#loan_outline .outline_wrap div:nth-child(3) img {
  width: 80%;
  margin-bottom: 20px;
}
@media (width < 769px) {
  #loan_outline .note {
    width: 90%;
    margin: 10px 5% 0;
  }
}

#loan_features h2 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 80px auto 30px;
}
@media (width < 769px) {
  #loan_features .note {
    width: 90%;
    margin: 10px 5% 0;
  }
}
#loan_features .features_wrap div:nth-child(2) img {
  width: 60%;
}

#loan_rate h3 {
  font-size: 18px;
  padding: 10px 0;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}
#loan_rate h3.running {
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}
#loan_rate h3.running span {
  color: var(--blue);
}
#loan_rate h3.initial {
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}
#loan_rate h3.initial span {
  color: #008B80;
}
#loan_rate .loan-table-wrap {
  width: 95%;
  margin: 10px 0 10px 5%;
  overflow-x: auto;
}
#loan_rate .loan-table {
  border-collapse: collapse;
  max-width: 1000px;
  margin: auto;
  border: 3px solid var(--grey);
}
@media (769px <= width) {
  #loan_rate .loan-table {
    width: 100%;
  }
}
@media (width < 769px) {
  #loan_rate .loan-table {
    width: auto;
  }
}
#loan_rate .loan-table th,
#loan_rate .loan-table td {
  border: 1px solid var(--grey);
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
}
#loan_rate .loan-table th {
  color: var(--white);
  font-size: 14px;
}
@media (width < 769px) {
  #loan_rate .loan-table th:first-child {
    width: 20%;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 10;
  }
}
#loan_rate .loan-table td.rate-type {
  background: var(--light-grey);
  font-weight: bold;
  font-size: 14px;
}
@media (width < 769px) {
  #loan_rate .loan-table td.rate-type {
    width: 20%;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 10;
  }
}
#loan_rate .loan-table td .note {
  line-height: 100%;
  font-weight: normal;
}
#loan_rate .loan-table.initial th {
  background-color: var(--green);
}
#loan_rate .loan-table.running th {
  background-color: var(--blue);
}
@media (width < 769px) {
  #loan_rate .note {
    width: 90%;
    margin: 10px 5% 0;
  }
}