.payment-simulation{
border-radius: 15px;
background-color: #F6F6F6;;
}
.payment-simulation__head{
padding: 12px 0;
background: #327262;
border-radius: 15px 15px 0 0;

}
.payment-simulation__body{
  padding-left: 16px;
  padding-right: 16px;
  background-color: #F6F6F6;
}
.payment-simulation__head--ttl{
color: #FFF;
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 140%;
}
.payment-simulation__content{
  padding: 24px 16px;
  background: #FFF;
  margin: 16px 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.10);
  border-radius: 5px;
}
.payment-simulation__content.bg-green{
  background: #EBF6F2;
}
.payment-simulation__content--ttl{
  color: #211815;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}
.payment-simulation__content--ttl.setting{
  color:#137766;
  text-align: center;
}
.payment-simulation__content--step{
  display: flex;
align-items: flex-start;
gap: 16px;
align-self: stretch;
}
.payment-simulation__content--step img{
    width: 36px;
    flex-shrink: 0;
}
.payment-simulation__choice-btn{
  color: #288D74;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}
.payment-simulation__choice-btn.-unclick{
  color: #FFFFFF;
  border: 1px solid #A4A4A4;
  background: #C5C5C5;
  pointer-events: none;
}
.payment-simulation__choice-btn.-unclick .question{
  padding-left: 12px;

}
.payment-simulation__choice-btn .-num{
  font-size: 20px;
}
.payment-simulation__choice-btn .-srash{
  font-size: 16px;
}
.payment-simulation__content--txt{
  margin-top: 12px;
  color: #211815;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
.payment-simulation__setting--box{
  display: flex;
  padding: 7px 8px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 5px;
  background: #FFF;
  margin-top: 16px;
}
.payment-simulation__setting--txt{
  color: #211815;
  font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 16.8px */
letter-spacing: -0.12px;
text-align: center;
}
.payment-simulation__setting--txt .-bold{
  font-weight: bold;
}
.payment-simulation__setting--num{
  color: #1A1A1A;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin-right: 6px;
}
.payment-simulation__setting--num .-num{
  color: #288D74;
  font-family: Outfit;
font-size: 36.425px;
font-style: normal;
font-weight: 700;
line-height: 140%;
}
.payment-simulation__result--ttl{
  color:#211815;
  font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 150%;
text-align: center;
}
.payment-simulation__result--txt{
line-height: 140%;
}
.payment-simulation__result--lead{
  position: relative;
  color: #FF5B20;
text-align: center;
font-size: 12px;
font-style: normal;
font-weight: 700;

}
.payment-simulation__result--lead::after{
position: absolute;
    bottom: 4px;
    content: "";
    width: 1px;
    height: 23px;
    background-color: #FF5B20;
    right: -12px;
    transform: rotate(15deg);
}
.payment-simulation__result--lead::before{
    left: -71px;
    transform: rotate(-15deg);
    position: absolute;
    bottom: 4px;
    content: "";
    width: 1px;
    height: 23px;
    background-color: #FF5B20;
}
.result-box__head--item{
  display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    justify-content: center;
}
.under-line{
  text-decoration-thickness: 4px;
  box-shadow: inset 0 -9px 0 #D6F1EB;
  display: inline;
}
.arrow-under{
  text-align: center;
}
.arrow-under img{
  width: 66px;
  height: 36px;
  margin: 0 auto;
}
.txt-center{
  text-align: center;
}
.mt-24{
  margin-top: 24px!important;
}
.mt-12{
  margin-top: 12px!important;
}
.mt-8{
  margin-top: 8px!important;
}
.simulation__note-list{

}
.simulation__note-list--item{
  position: relative;
    padding-left: 20px;
    color: #6F6E6E;
    font-size: 12px;
}
.simulation__note-list--item::after {
    content: "※";
    position: absolute;
    top: 0;
    left: 0;
}
.simulation__note-list.-lead{
  display: flex;
  justify-content: center;
  margin-top: 11px;
}
.simulation__result--btn{
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    border-radius: 5px;
    background: linear-gradient(90deg, rgb(255, 88, 31) 0%, rgb(255, 137, 46) 100%);
    display: block;
    height: 55px;
    align-items: center;
    align-self: stretch;
    width: 295px;
    margin: 0px auto;
    margin-bottom: 24px;
    border:unset;
}
.simulation__result--btn.-unclick{
  color: #FFF;
  background: #C5C5C5;
  pointer-events: none; 
    cursor: default;
    border: unset;
}
.selection-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.payment-simulation__step-group{
  margin-top: 6px;
      display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.payment-simulation__step-group button {
  text-align: center;
    padding: 6px 10px;
    margin: 6px;
    border: 1px solid #288D74;
    background-color: #EBF6F2;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 100px;
    height: 50px;
    width: 279px;
}

.payment-simulation__step-group button.selected {
    background-color: #288D74;
    color: white;
    border-color: #288D74;
    font-weight: bold;
}

/* --- 結果エリア スタイル --- */
.result-box{
  width: 245px;
  margin: 0 auto;
  margin-top: 12px;
}
.result-box__head{
  text-align: center;
}
.result-box__head--ttl{
  color:  #333;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 120%;
text-align: left;
}
.result-box__head--txt{
  color:  #333;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 120%;
display: flex;
gap:8px;
}
.result-box__head--txt span:first-child{
  min-width: 132px;
}
.result__amount {
  display: flex;
  align-items: center;
gap: 8px;
color: #454545;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 120%;
margin-bottom: 4px;
}
.result__amount .amount{
  font-size: 16px;
}
.amount.fc-green{
  color:#288D74;
}
.result__amount--txt{
  color: #454545;
text-align: center;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: 120%;
    display: flex;
  align-items: center;
gap: 4px;
width: 150px;

}
.result__amount.-result {
  padding-top: 4px;
  border-top: 1px solid  #9F9F9F;;
}
.-result .result__amount--txt{
  justify-content: center;
}
.-sales{
  width: 19px;
  height: 14px;
  border-radius: 2px;
  background: #D6F1EB;
}
.-payment{
    width: 19px;
  height: 14px;
  border-radius: 2px;
  background: #FF892D;
}
.result__label{
  color: #FFF;
text-align: center;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: 120%; 
border-radius: 1px;
background: #878787;
width: 87px;
height: 14px;
margin: 0 auto;
margin-bottom: 8px;
}
#result-area {
}

#bar-chart-container-wrapper {
    position: relative;
    padding-bottom: 20px; 
    clear: both;
}

#bar-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: auto; 
    gap: 4px;
    margin-top: 10px;
    margin-bottom: 5px;
    padding-bottom: 0px;
}

.bar {
    width: 30px; 
    background-color: #e0e0e0; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    flex-grow: 0; 
    flex-shrink: 0;
    border-radius: 1.705px;
}
#bar-chart-container.pattern-aa{
  gap:16px;
}
#bar-chart-container.pattern-aa .bar{
  width: 80px;
}
#bar-chart-container.pattern-bb{

      justify-content: center;
      gap:40px;
}
#bar-chart-container.pattern-bb .bar{
  width: 45px;
}
.bar-separator{
  font-size: 36px;
  color:#878787;
  height: 108px;

}

.inner-bar {
    background-color: #4a90e2; 
    transition: background-color 0.3s, height 0.3s;
    position: relative;
   
      width: 75%;
  border-radius: 1.705px;
}

.bar-label {
    position: absolute;
    bottom: -20px;
    font-size: 10px;
    color: #288D74;
    font-style: normal;
font-weight: 700;
line-height: 120%;
}
.percentage-text {
    position: absolute;
    
    top: -20px; 
    left: 50%;
    transform: translateX(-50%); 
    
   
    color: #FF892D;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap; 
    background-color: transparent;
    padding: 2px 4px;
}

.bar.highlighted .inner-bar {

  background: #FF892D;
}
.bar.highlighted{
  background: #D6F1EB;
}


.bar.grayed-out {
    background-color: #ccc;
    filter: grayscale(100%);
}

.bar.grayed-out .inner-bar {
    background-color: #a0a0a0 !important;
    filter: none;
}

#connector-line-area {
    height: 20px; 
    position: relative;
}

#connector-line {
    position: absolute;
    content: url(/kamei/sterafinance/img/select_line.svg);
    top: 18px;
    width: 9px;
    height: 23px;
    transition: left 0.3s ease-out;
}
.connector-line__lead{
  color:  #6F6E6E;
text-align: center;
font-size: 8px;
font-style: normal;
font-weight: 400;
line-height: 120%;
    display: flex;
    justify-content: center;
    align-items: center;
margin-bottom: 8px;
}
.connector-line__lead img{
  width: 16.022px;
    height: 18.329px;
}

.text-area-container {
  margin: 0 auto;
    width: 274.91px;
padding: 11px;
    border-radius: 4.075px;
    border: 2px dashed var(--main_green, #288D74);
    background: #FFF;
    min-height: 50px;
    position: relative;
}

.simu-accordion{
  margin-top: 24px;
}
.accordion-head {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 2px;
border: 1px solid #D8D8D8;
border-bottom:none ;
background: #FFF;
height: 45px;

}
.accordion-head.open{
  border-bottom:none;
}
.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s 
ease-in-out;

    
     border: 1px solid #D8D8D8;
  border-top:none ;
}
.accordion-body.is-open {
    display: flex;
    flex-direction: column;
    max-height: 324px;

}
.accordion-body__contents{
padding: 24px 24px 24px 16px;
}
.accordion--title{
  color: #211815;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}
.accordion--icon{
  position: relative;
  width: 15px;
height: 15px;
}
.accordion--icon::before,.accordion--icon::after{
      position: absolute;
    content: "";
    display: block;
    transition: all 0.4s;
    background: #4f433a;
      right: -83px;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translate(-50%, -50%);
}
.accordion--icon::before{
      transform: translate(-50%, -50%) rotate(90deg);
}
.open .accordion--icon::before{
  transform: translate(-50%, -50%) rotate(0deg);
}

.simulation__acc-list li{
  color: #211815;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%; 
      position: relative;
    padding-left: 20px;
}
.simulation__acc-list li::after{
      content: "・";
    position: absolute;
    top: 0;
    left: 0;
}
.simulation__acc-list .simulation__acc-list--note::after{
     content: "※";
    position: absolute;
    top: 0;
    left: 0;
}
#recalculate-btn{
    margin: 0 auto;
    border-radius: 100px;
    border: 1px solid #D8D8D8;
    background: #FFF;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.10);
    color: #211815;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    width: 279px;
    height: 45px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.recalculate--icon{
  content: url(/kamei/sterafinance/img/recalc.svg);
  width: 17.126px;
  height: 17.125px;
}
.login--text{
  text-align: center;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 30px;
background: linear-gradient(270deg, #FF892D 0%, #FF571F 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-top: 16px;
}
.login__area{

  margin-bottom: 24px;
}

.border-area{
  border-left: 2px dotted #D5D5D5;
  border-right:2px dotted #D5D5D5;
}
@media all and (min-width: 769px) {
  .result-box__head--txt span:first-child{
  min-width: 110px;
}
  .payment-simulation__body{
    padding-left: 24px;
    padding-right: 24px;
  }
  .payment-simulation__setting--txt{
    font-size: 14px;
  }
  .payment-simulation__step-group{
    flex-direction: row;
    margin-top: 0;
  }
  .payment-simulation__content{
        padding: 32px 40px;
            margin: 32px 0;
  }
  .payment-simulation__content--step{
    align-items: center;
  }
  .payment-simulation__content--ttl{
    font-size: 18px;
  }
  .payment-simulation__step-group button{
    width: 130px;
  }
  .payment-simulation__result--ttl{
    font-size: 24px;
  }
  #step2-group .payment-simulation__choice-btn{
    line-height: 120%;
    width: 177px;
    height: 64px;
  }
  .connector-line__lead{
    font-size: 12px;
  }
  .result-box{
    width: 324px;
  }
  .bar{
    width: 41px;
  }
  .text-area-container{
    max-width:547px;
    width: 100%;
  }
  .amount__area{
        width: 289px;
        margin: 0 auto;
  }
  .mw-548{
    max-width: 548px;
    margin: 0 auto;
  }
  #recalculate-btn{
    width: 279px;
  }
  .login__area--btn{
    width: 237px;
  }
  .result__label{
    font-size: 12px;
    width: 113px;
    height: 16px;
  }
  .result__amount{
    font-size: 14px;
  }
  .result__amount--txt{
    font-size:12px;
    width: 172px;
  }
  .result__amount .amount {
    font-size:20px;
  }
  .accordion--icon::before, .accordion--icon::after{
    right: -180px;
  }
  .bar-top--img{
    width: 324px;
    margin: 0 auto;
  }
  .bar-label{
    font-size: 12px;
  }
  #bar-chart-container.pattern-bb{
          gap: 80px;
}
}

.simu-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000; 
}

.simu-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.simu-modal-content {
   
    max-width: 700px; 
    width: 90%;
    
    background-color: #F6F6F6;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    
   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
   
    max-height: 90vh; 
    overflow-y: auto;
}



.close-btn {
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}

.simu-modal .close-outside {
    position: absolute;
    
    top: 50%;
    left: 50%;
    
    margin-left: 370px; 
    margin-top: -360px; 
    right: calc(50% - 370px); 
    top: calc(50% - 350px); 
    
    
 
    top: 50%;
    left: 50%;
    transform: translate(360px, -360px); 
    
    z-index: 1001; 
    
    width: 40px;
    height: 40px;
    background: none; 
    color: #fff; 
    border: none;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    opacity: 0.8;
}

.modal .close-outside:hover {
    opacity: 1;
    color: #f0f0f0;
}

.modal-content {
    max-width: 700px;
}



.tooltip-container {
    position: relative;
}
.tooltip-text {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--, #6F6E6E);
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    width: 195px;
    top: -67px;
    background: #FFF;
    padding: 7px 16px;
    fill: #FFF;
    stroke-width: 0.5px;
    stroke: #DDD;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.50));
    left:74px;
}
.tooltip-text::after {
    content: ""; 
    position: absolute;
    bottom: -5px;
    left: 50%;
   background: #FFF;
    width: 10px;
    height: 10px;
    transform: translateX(-50%) rotate(45deg); 
    z-index: 9; 
}
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
@media all and (min-width: 769px) {
  .tooltip-text {
    left:3px;
  }
  .pc-line{
    display: block;
  }
  .pc-line img{
    padding: 16px 0px;
  }
  .pc-only{
    display: block;
  }
}
@media all and (max-width: 769px) {
.pc-line{
    display: none;
  }
    .pc-only{
    display: none;
  }
}
.mb-8{
  margin-bottom: 8px;
}
.flex-end{
  justify-content: end;
}