@charset "UTF-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#kyodo-loan-container {
  color: #fff;
  background-color: #ff9d00;
  border-radius: 20px;
  padding: 40px;
  max-width: 1020px;
}

.rowstyle {
  background-color: #ffb237;
  display: flex;
  align-items: center;
  padding: 13px 35px;
  border-radius: 10px;
}

.rowstyle + .rowstyle {
  margin-top: 14px;
}

.rowstyle-2 {
  display: flex;
  align-items: center;
}

.rowstyle-3 {
  padding: 30px 35px;
}

.rowstyle-3 .field-label {
  align-self: flex-start;
}

.rowstyle .field-label {
  font-family: Noto Sans JP, sans-serif;
  font-weight: 500;
  font-size: 18px;
  width: 155px;
  text-align: left;
  display: inline-block;
  flex-shrink: 0;
}

.rowstyle .field-label.width-a {
  width: auto;
}

.kyodo-fields {
  all: unset;
  border: 1px solid #fff;
  background-color: #ffcf81;
  border-radius: 10px;
  padding: 14px 16px;
  margin-left: 30px;
  font-size: 30px;
  color: #302e2d;
}

.kyodo-payment {
  margin-left: 30px;
  display: inline-block;
}

.kyodo-payment input {
  all: unset; /* reset semua style default */
  position: absolute;
  opacity: 0;
}

.kyodo-payment label {
  display: flex;
  flex-wrap:wrap;
  align-items: center;
  cursor: pointer;
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
}

.kyodo-payment span.details {
	font-size:13px;
}

.radio-mark {
  width: 20px;
  height: 20px;
  border: 1px solid #fff;
  background-color: #ffcf81;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  box-sizing: border-box;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Lingkaran dalam muncul saat checked */
.kyodo-payment input:checked + label .radio-mark::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #302e2d;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kyodo-payment div + div {
  margin-top: 12px;
}

.lined {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
}

.kyodo-fields.first-field {
  width: 180px;
}

.kyodo-fields.second-field {
  width: 130px;
}

.kyodo-fields.third-field {
  width: 100px;
}

.units {
  font-size: 16px;
  font-weight: 400;
  margin-left: 14px;
}

.loan-output {
  background-color: #fff;
  color: #302e2d;
  font-size: 24px;
  font-weight: 500;
  padding: 30px 55px;
  border-radius: 10px;
  margin-top: 14px;
  line-height: 1.5;
}

.loan-output.empty {
  color: #fff;
  background-color: tomato;
}

/* Chrome, Safari, Edge (WebKit/Chromium) */
.kyodo-fields:-webkit-autofill,
.kyodo-payment input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffcf81 inset !important; /* ganti warna bg */
  -webkit-text-fill-color: #000 !important; /* ganti warna teks */
  transition: background-color 9999s ease-in-out 0s !important; /* hack hilang warna default */
}

/* Firefox */
.kyodo-fields:autofill,
.kyodo-payment input:autofill {
  box-shadow: 0 0 0 1000px #ffcf81 inset !important;
  -moz-text-fill-color: #000 !important;
}

.loan-button {
  all: unset;
  background-color: #69c200;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  padding: 27px 55px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  display: inline-block;
}

.kinri-wrapper {
  position: relative;
}

.kinri-wrapper::after {
    font-family: Noto Sans JP, sans-serif;
    content: "※金利は小数点も記入してください。";
    width: 270px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    left: 30px;
    bottom: -45px;
    background-color: #333637;
    padding: 5px 10px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
}

.kinri-wrapper:hover::after,
.kinri-wrapper:focus-within::after {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}


/* Custom css to replace elementors defaul style */

.kyodo-loan .rowstyle .second-column .select2 {
    width: 130px !important;
	margin-left:30px;
}

.kyodo-loan .rowstyle .second-column .select2 .select2-selection {
    background-color: transparent;
    padding: 0;
}


.kyodo-loan .rowstyle .second-column .select2 .select2-selection .select2-selection__rendered {
    color: #333;
    padding: 14px 16px;
    font-size: 30px;
    line-height: 1.35;
    background-color: #ffcf81;
    border-radius: 10px;
    border: 1px solid #fff;
}

.kyodo-loan .rowstyle .second-column .select2 .select2-selection .select2-selection__arrow {
    display: none;
}

@media (max-width: 951px) {
		.kyodo-payment span.details {
		width: 100%;
		padding-left: 20px;
	}
}

@media (max-width:429px) {
		.kyodo-payment span.details {
			font-size:3vw;
			letter-spacing:0;
	}
}











