/* 返済シミュレーション
   実物サイト（common_v2/css/common.css）の該当クラスからレイアウト部分（余白・配色・サイズ等）を
   抽出・転記したもの。背景画像に依存する装飾（ラジオボタンのチェック画像、
   計算実行ボタンのアイコン画像）は画像アセット未用意のため省略しています。
   ========================================================================== */
#simulation {
  background-color: #fff1d0;
  padding-bottom: calc(36% / 700 * 100);
}

.hl_h2 {
  margin-bottom: calc(15% / 700 * 100);
  padding: calc(30% / 700 * 100) 0 0 0;
  font-size: calc(32 / 700 * 100cqw);
}

.hl_h2 img {
  display: block;
  margin: 0 auto;
  width: calc(647% / 700 * 100);
}

.hl_h3 {
  margin-bottom: 26px;
  padding: 6px 15px 4px 15px;
  font-size: calc(20 / 700 * 100cqw);
  background: #f2f2f2;
  border-left: 6px solid #516eb1;
}

.txt_lead {
  padding: 0 calc(50% / 700 * 100);
}

.section_lv3 {
  margin-top: 40px;
}
.section_lv3 > *:first-child {
  margin-top: 0;
}
.section_lv3 + .section_lv3 {
  margin-top: 80px;
}

.btn > a {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px 0 5px;
  border-radius: 50px;
  font-size: calc(14 / 700 * 100cqw);
  color: #ffffff;
  text-align: center;
  position: relative;
  letter-spacing: -0.05rem;
  text-decoration: none;
}

@media (max-width: 640px) {
  .btn > a {
    font-size: 14px;
  }
}

.btn > a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.btn_color04 a {
  background: #ff6f00;
  border: 1px solid #ff6f00;
}

.btn_color05 {
  width: 300px;
}
.btn_color05 a {
  background: #73bdb5;
}

.radio {
  align-items: center;
  overflow: hidden;
  display: flex;
  gap: calc(4.5 / 700 * 100cqw);
  font-size: calc(20 / 700 * 100cqw);
  line-height: calc(26 / 20);
  position: relative;
}

@media (max-width: 640px) {
  .radio {
    font-size: 18px;
  }
}

.radio input {
  border: solid 1px #0056a7;
  display: block;
  z-index: 2;
  width: calc(18 / 700 * 100cqw);
  height: calc(18 / 700 * 100cqw);
  cursor: pointer;
}

@media (max-width: 640px) {
  .radio input {
    width: 18px;
    height: 18px;
  }
}

input[type="text"] {
  padding: 0 calc(10 / 700 * 100cqw);
  height: calc(46 / 700 * 100cqw);
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 5px;
  background: #ffffff;
  vertical-align: middle;
  font-size: calc(24 / 700 * 100cqw);
}
input[type="text"]::-webkit-input-placeholder {
  color: #cccccc;
}

.txt_right {
  text-align: right !important;
}
.list_note > li {
  position: relative;
}

/* simulation
   -------------------------------------------------------------------------- */
.simulation {
  display: grid;
  font-weight: 700;
  gap: calc(17% / 600 * 100);
  letter-spacing: .05em;
  grid-template-columns: 1fr calc(68% / 600 * 100) 1fr;
  margin-top: calc(20% / 700 * 100);
  padding: 0 calc(50% / 700 * 100);
}

@media (max-width: 640px) {
  .simulation {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.simulation > div:not(div:nth-child(2)) {
  background-color: #fff;
  border: solid 1px #0056a7;
}

.simulation > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  background: none;
}

@media (max-width: 640px) {
  .simulation > div:nth-child(2) {
    justify-content: center;
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .simulation > div:nth-child(2) ul {
    display: flex;
    gap: 15px;
    justify-content: center;
  }
}

.simulation > div:nth-child(2) ul li {
  width: auto;
}

@media (max-width: 640px) {
  .simulation > div:nth-child(2) ul li {
    width: 68px;
    max-width: 68px;
  }
}

.simulation > div:nth-child(2) ul li .btn a {
  border-radius: 4px;
}
.simulation > div:nth-child(2) ul li .btn_color04 a {
  aspect-ratio: 1 / 1;
  background-image: url(../img/simulation-arrow.svg);
  background-size: calc(17% / 68 * 100);
  background-position: center top calc(13% / 68 * 100);
  background-repeat: no-repeat;
  line-height: 1;
  padding: calc(42% / 68 * 100) 0 calc(10% / 68 * 100);
}

.simulation > div:nth-child(2) ul li .btn_color05 {
  width: 100%;
}

.simulation > div:nth-child(2) ul li .btn_color05 a {
  background-color: #0056a7;
}

.simulation > div:nth-child(2) ul li + li {
  margin-top: calc(30 / 600 * 100cqw);
}

@media (max-width: 640px) {
  .simulation > div:nth-child(2) ul li + li {
    margin-top: 0;
  }
}

.simulation_ttl {
  font-size: calc(16 / 700 * 100cqw);
  padding: calc(5% / 250 * 100) 0;
  background: #0056a7;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 640px) {
  .simulation_ttl {
    font-size: 16px;
  }
}

.simulation_content {
  padding: calc(20% / 248 * 100) calc(19% / 248 * 100);
}
.simulation_content_txt {
  font-size: calc(14 / 700 * 100cqw);
  line-height: calc(18 / 14);
}

@media (max-width: 640px) {
  .simulation_content_txt {
    font-size: 14px;
  }
}

.simulation_content_form {
  margin: calc(20% / 248 * 100) 0 0;
}

.simulation_content dl dt {
  color: #0056a7;
  font-size: calc(18 / 700 * 100cqw);
  font-weight: bold;
  letter-spacing: .05em;
  line-height: calc(26 / 18);
}

@media (max-width: 640px) {
  .simulation_content dl dt {
    font-size: 18px;
  }
}

.simulation_content dl dd {
  margin-top: calc(10% / 248 * 100);
}
.simulation_content dl dd + dt {
  margin-top: 15px;
}

.simulation_content dl dd p {
  align-items: flex-end;
  color: #0056a7;
  display: flex;
  gap: calc(12 / 700 * 100cqw);
}

.simulation_content dl dd p:has(.radio) {
  gap: calc(4.5% / 209 * 100);
}

.simulation_content dl dd p + p {
  color: #000000;
  font-size: calc(11 / 700 * 100cqw);
  letter-spacing: -0.025em;
  line-height: calc(20 / 11);
  margin-top: calc(5% / 209 * 100);
}

@media (max-width: 640px) {
  .simulation_content dl dd p + p {
    font-size: 11px;
    letter-spacing: normal;
  }
}

.simulation_content dl dd input[type="text"] {
  border: solid 1px #0056a7;
  border-radius: 0;
  font-size: calc(22 / 700 * 100cqw);
  font-weight: 700;
  width: calc(160% / 209 * 100);
}

@media (max-width: 640px) {
  .simulation_content dl dd input[type="text"] {
    font-size: 16px;
    height: auto;
    padding-block: 5px;
  }
}

.simulation_content dl dd input[type="text"]::placeholder {
  color: #99bcdc;
}

.simulation_content dl dd span {
  display: inline-block;
  letter-spacing: 0;
  text-align: right;
  font-size: calc(18 / 700 * 100cqw);
  font-weight: bold;
}

@media (max-width: 640px) {
  .simulation_content dl dd span {
    font-size: 18px;
  }
}

.simulation_content .list_note {
  font-size: calc(11 / 700 * 100cqw);
  letter-spacing: 0.025em;
  line-height: calc(20 / 11);
  margin-top: calc(9% / 209 * 100);
}

@media (max-width: 640px) {
  .simulation_content .list_note {
    font-size: 11px;
  }
}
