/* Kotoie Estimate 1.3.0 */
.kot-reform222-sim {
  margin-bottom: -140px !important;
}

@media screen and (max-width: 600px) {
  .kot-reform222-sim {
    margin-bottom: -70px !important;
  }
}

.kot-reform222-sim {
  background: linear-gradient(180deg, #efd54c 0%, #e7ca39 100%);
  padding: 70px 70px !important;
  margin: 0 -50px;
  font-family: inherit;
}

.kot-reform222-sim * {
  box-sizing: border-box;
}

.kot-reform222-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  overflow: hidden;
}

.kot-reform222-wrap {
  --kot-navi-main: #684700;
  --kot-navi-dark: #4d3400;
  --kot-navi-accent: #d58a00;
  --kot-navi-accent-dark: #a96d00;
  --kot-navi-soft: #fffdf8;
  --kot-navi-soft2: #f7efe0;
  --kot-navi-border: #e9dfca;
  --kot-navi-text: #3a2a12;
  --kot-navi-sub: #6f6048;
  --kot-navi-danger: #b95d00;
}

.kot-reform222-head {
  padding: 36px 24px 28px;
  text-align: center;
  background: linear-gradient(180deg, #fffaf1 0%, #fff7e8 100%);
  border-bottom: 1px solid var(--kot-navi-border);
}

.kot-reform222-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto 20px;
  padding: 7px 18px;
  background: var(--kot-navi-main);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.kot-reform222-head h2 {
  display: block;
  margin: 0 auto 22px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kot-navi-text);
  font-size: 26px;
  line-height: 1.55;
  font-weight: 900;
  text-align: center !important;
  letter-spacing: 0.03em;
}

.kot-reform222-head h2 span {
  color: var(--kot-navi-accent);
}

.kot-reform222-lead-row {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto;
}

.kot-reform222-head p {
  max-width: 620px;
  margin: 0 auto !important;
  color: var(--kot-navi-sub);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 600;
  text-align: center;
}

.kot-reform222-budget-box {
  margin: 18px 20px 0;
  padding: 18px 16px;
  background: #fffdf8;
  border: 1px solid var(--kot-navi-border);
  border-radius: 14px;
  text-align: center;
}

.kot-reform222-budget-title {
  margin: 0 0 10px;
  color: var(--kot-navi-text);
  font-size: 14px;
  font-weight: 800;
}

.kot-reform222-budget-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.kot-reform222-budget-input input {
  display: block;
  width: 120px;
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid var(--kot-navi-accent);
  border-radius: 10px;
  background: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: right;
  color: var(--kot-navi-main);
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}

.kot-reform222-budget-input input::placeholder {
  color: #c7bba5;
  font-size: 16px;
  font-weight: 700;
}

.kot-reform222-budget-input input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(213,138,0,0.16);
}

.kot-reform222-budget-input span {
  color: var(--kot-navi-text);
  font-size: 17px;
  font-weight: 800;
}

.kot-reform222-budget-note {
  margin: 10px 0 0;
  color: var(--kot-navi-sub);
  font-size: 12px;
  line-height: 1.7;
}

.kot-reform222-form {
  padding: 22px 20px 26px;
}

.kot-reform222-form label {
  display: block;
  margin-bottom: 15px;
}

.kot-reform222-form label span {
  display: block;
  margin-bottom: 7px;
  padding-left: 12px;
  border-left: 4px solid var(--kot-navi-accent);
  color: var(--kot-navi-text);
  font-size: 14px;
  font-weight: 800;
}

.kot-reform222-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 42px 12px 12px;
  border: 1px solid var(--kot-navi-border);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--kot-navi-main) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--kot-navi-main) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    #fff;
  color: var(--kot-navi-text);
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
}

.kot-reform222-form select:focus {
  outline: none;
  border-color: var(--kot-navi-accent);
  box-shadow: 0 0 0 3px rgba(213,138,0,0.16);
}

.kot-reform222-form button {
  width: 100%;
  margin-top: 8px;
  padding: 16px 12px;
  background: var(--kot-navi-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--kot-navi-accent-dark);
  transition: 0.18s ease;
}

.kot-reform222-form button:after {
  content: " ▶";
  font-size: 13px;
}

.kot-reform222-form button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--kot-navi-accent-dark);
}

.kot-reform222-form.is-calculated button {
  margin-top: 6px;
  padding: 12px 12px;
  background: #c98200;
  box-shadow: 0 3px 0 #9a6500;
  font-size: 16px;
  opacity: 0.9;
}

.kot-reform222-form.is-calculated button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #9a6500;
}

.kot-reform222-result {
  margin: 0 20px 26px !important;
  padding: 26px 16px 24px;
  border: 1px solid var(--kot-navi-border);
  border-radius: 14px;
  background: #fffdf8;
  text-align: center;
}

.kot-result-heading {
  margin: 0 0 18px;
  text-align: center;
}

.kot-result-heading span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 14px;
  background: var(--kot-navi-main);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.kot-result-heading strong {
  display: block;
  color: var(--kot-navi-text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.6;
}

.kot-budget-message {
  margin: 0 0 22px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--kot-navi-border);
  border-radius: 10px;
  color: var(--kot-navi-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.kot-budget-message strong {
  color: var(--kot-navi-accent);
  font-size: 22px;
  font-weight: 900;
}

.kot-budget-message em {
  display: block;
  margin-top: 6px;
  color: var(--kot-navi-sub);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.kot-average-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.kot-average-label {
  color: var(--kot-navi-main);
  font-size: 24px;
  font-weight: 900;
}

.kot-average-price strong {
  display: inline-block;
  min-width: 220px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--kot-navi-border);
  border-radius: 6px;
  color: var(--kot-navi-accent);
  font-size: clamp(31px, 5vw, 42px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.kot-yen {
  color: var(--kot-navi-main);
  font-size: 30px;
  font-weight: 900;
}

.kot-minmax-area {
  margin-bottom: 24px;
  text-align: center;
}

.kot-range-title {
  margin: 0 0 12px;
  color: var(--kot-navi-sub);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.kot-minmax-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.kot-minmax-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-top: unset !important;
}

.kot-minmax-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 9px;
  background: var(--kot-navi-main);
  color: #fff;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.kot-minmax-item strong {
  display: inline-flex;
  align-items: center;
  color: var(--kot-navi-accent);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.kot-minmax-item em {
  display: inline-flex;
  align-items: center;
  color: var(--kot-navi-text);
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.kot-recalc-link {
  display: inline-block;
  border: none;
  background: transparent;
  color: var(--kot-navi-main);
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
}

.kot-recalc-link:before {
  content: "●";
  display: inline-block;
  margin-right: 6px;
  color: var(--kot-navi-accent);
  font-size: 12px;
}

.kot-detail-box {
  width: 100% !important;
  max-width: none !important;
  margin-top: 16px !important;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--kot-navi-border);
  text-align: left;
}

.kot-detail-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px dashed var(--kot-navi-border);
  column-gap: 12px;
  font-size: 14px;
}

.kot-detail-row:last-child {
  border-bottom: none;
}

.kot-detail-row span {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  color: var(--kot-navi-sub);
  font-weight: 700;
  text-align: left !important;
}

.kot-detail-row strong {
  display: block !important;
  width: auto !important;
  min-width: 120px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--kot-navi-accent);
  white-space: nowrap;
  text-align: right !important;
  justify-self: end !important;
  font-weight: 900;
}

.kot-compare-box {
  margin: 18px 0 0;
  padding: 16px 14px;
  background: #fff;
  border: 2px solid var(--kot-navi-accent);
  border-radius: 12px;
  text-align: left;
}

.kot-compare-title {
  margin: 0 0 8px !important;
  color: var(--kot-navi-danger);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.kot-compare-text {
  margin: 0 !important;
  color: var(--kot-navi-sub);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.85;
}

.kot-compare-list {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.kot-compare-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px;
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: var(--kot-navi-text);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.7;
}

.kot-compare-list li:last-child {
  margin-bottom: 0 !important;
}

.kot-check-icon {
  flex: 0 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  background: var(--kot-navi-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.kot-cv-balloon {
  display: inline-block;
  position: relative;
  margin-top: 24px;
  padding: 10px 26px;
  background: var(--kot-navi-main);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
}

.kot-cv-balloon:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-width: 10px 9px 0 9px;
  border-style: solid;
  border-color: var(--kot-navi-main) transparent transparent transparent;
}

.kot-reform222-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 520px;
  margin: 18px auto 0;
  padding: 18px 16px;
  background: var(--kot-navi-accent);
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 5px 0 var(--kot-navi-accent-dark);
}

.kot-reform222-cta span {
  display: inline-block;
  padding: 8px 10px;
  background: #fff;
  color: var(--kot-navi-main);
  border-radius: 4px;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.kot-reform222-cta:hover {
  opacity: 0.94;
}

.kot-cta-note {
  margin: 12px 0 0 !important;
  color: var(--kot-navi-sub);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

@media screen and (max-width: 600px) {

  .kot-reform222-sim {
    padding: 70px 70px !important;
    margin: 0 -50px;
  }

  .kot-reform222-wrap {
    border-radius: 16px;
  }

  .kot-reform222-head {
    padding: 30px 20px 26px;
  }

  .kot-reform222-badge {
    margin: 0 auto 18px;
    font-size: 12px;
  }

  .kot-reform222-head h2 {
    font-size: 21px;
    line-height: 1.55;
    text-align: center !important;
    margin: 0 auto 20px !important;
  }

  .kot-reform222-head p {
    max-width: 100%;
    font-size: 13.5px;
    line-height: 1.9;
    text-align: left;
  }

  .kot-reform222-lead-row {
    align-items: center;
    justify-content: center;
    gap: 2px;
    max-width: 100%;
    margin-top: 0;
  }

  .kot-reform222-budget-box {
    margin: 16px 14px 0 !important;
    padding: 16px 14px !important;
  }

  .kot-reform222-budget-title {
    font-size: 13.5px;
  }

  .kot-reform222-budget-input input {
    width: 112px;
    min-height: 44px;
    font-size: 17px;
  }

  .kot-reform222-budget-input input::placeholder {
    font-size: 15px;
  }

  .kot-reform222-budget-input span {
    font-size: 16px;
  }

  .kot-reform222-form {
    padding: 20px 14px 24px;
  }

  .kot-reform222-form.is-calculated button {
    padding: 11px 12px;
    font-size: 15px;
  }

  .kot-reform222-result {
    margin: 0 14px 22px !important;
    padding: 22px 12px;
  }

  .kot-result-heading strong {
    font-size: 17px;
  }

  .kot-budget-message {
    font-size: 15px;
  }

  .kot-budget-message strong {
    font-size: 18px;
  }

  .kot-average-price {
    gap: 8px;
  }

  .kot-average-label {
    font-size: 17px;
    line-height: 1.4;
  }

  .kot-yen {
    font-size: 22px;
  }

  .kot-average-price strong {
    min-width: 145px;
    padding: 12px 9px;
    font-size: clamp(23px, 7vw, 29px);
  }

  .kot-minmax-row {
    gap: 12px;
  }

  .kot-minmax-item {
    width: 100%;
  }

  .kot-minmax-item strong {
    font-size: 18px;
  }

  .kot-recalc-link {
    margin-top: 2px;
  }

  .kot-detail-box {
    width: 100% !important;
    max-width: none !important;
    padding: 12px !important;
  }

  .kot-detail-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    column-gap: 10px !important;
  }

  .kot-detail-row span {
    min-width: 0 !important;
    text-align: left !important;
  }

  .kot-detail-row strong {
    min-width: 95px !important;
    text-align: right !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .kot-compare-box {
    padding: 15px 12px;
  }

  .kot-compare-title {
    font-size: 15px;
  }

  .kot-compare-text,
  .kot-compare-list li {
    font-size: 13px;
  }

  .kot-check-icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    margin-top: 1px;
  }

  .kot-cv-balloon {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .kot-reform222-cta {
    gap: 8px;
    font-size: 16px;
    line-height: 1.55;
    padding: 15px 10px;
  }

  .kot-reform222-cta span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14px;
    padding: 6px 8px;
  }
}

/* Shared title styling used by all 36 calculators. */
.kotoie-estimate .kot-reform222-head .h3text {
  display: block;
  margin: 0 auto 22px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kot-navi-text);
  font-size: 26px;
  line-height: 1.55;
  font-weight: 900;
  text-align: center !important;
  letter-spacing: .03em;
  border: 0 !important;
}
.kotoie-estimate .kot-reform222-head .h3text span { color: var(--kot-navi-accent); }
.kotoie-estimate .kot-reform222-head .kotEstimateHub__title { margin: 0 auto 22px !important; }

.kotoie-estimate--embedded .kot-reform222-sim {
  margin-top: -30px !important;
  margin-bottom: 80px !important;
}

/* Individual article shortcode only: remove the outer yellow panel and width cap. */
.kotoie-estimate--embedded:not(.kotoie-estimate--standalone) .kot-reform222-sim {
  background: unset !important;
}

.kotoie-estimate--embedded:not(.kotoie-estimate--standalone) .kot-reform222-wrap {
  max-width: unset !important;
}

@media screen and (max-width: 600px) {
  .l-wrapper .kotoie-estimate--embedded:not(.kotoie-estimate--standalone) .kot-reform222-sim {
    padding: 40px 50px !important;
  }
}

.kotoie-estimate-error,
.kotEstimateHub__status {
  margin: 16px 0;
  font-weight: 700;
  text-align: center;
}
.kotEstimateHub__status.is-error { color: #b42318; }
.kotEstimateHub__status.is-loading { color: #6f6048; }

/* Hub / first-view design */
.kotEstimateHub {
  width: auto;
  max-width: none;
  margin: -80px -75px -140px !important;
  padding: 80px !important;
  box-sizing: border-box;
  background: linear-gradient(180deg, #efd54c 0%, #e7ca39 100%);
  font-family: inherit;
}
.kotEstimateHub * { box-sizing: border-box; }
.kotEstimateHub__card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px 14px 26px;
  border-radius: 16px;
  background: #fffaf1;
  border: 1px solid rgba(123,79,18,.08);
  box-shadow: 0 14px 30px rgba(94,62,23,.12);
}
.kotEstimateHub__intro { position: relative; z-index: 1; text-align: center; }
.kotEstimateHub__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  margin: 0 auto 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #7a4a00;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .03em;
}
.kotEstimateHub__title {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #3f2a18 !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
  font-weight: 900 !important;
  letter-spacing: .03em;
  text-align: center !important;
}
.kotEstimateHub__titleMain { display: block; color: #3f2a18; }
.kotEstimateHub__titleAccent { display: block; color: #f18800; font-size: 26px; letter-spacing: .06em; }
.kotEstimateHub__lead {
  margin: 22px auto 0 !important;
  max-width: 620px;
  color: #6a5a48;
  font-size: 13.5px;
  line-height: 2;
  font-weight: 700;
  text-align: left;
}
.kotEstimateHub__selectBox_waku {
  max-width: 760px;
  margin: 30px auto -25px;
  padding: 10px 15px;
  background: #fff;
}
.kotEstimateHub__selectBox {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  padding: 18px 13px 17px;
  background: #fffdf8;
  border: 1px solid #e5d8bf;
  border-radius: 14px;
}
.kotEstimateHub__label {
  display: block;
  margin: 0 0 12px;
  color: #3f2a18;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 900;
  text-align: center;
}
.kotEstimateHub__selectWrap { position: relative; }
.kotEstimateHub__select {
  width: 100%;
  height: 54px;
  padding: 0 48px 0 16px;
  border: 2px solid #f18800;
  border-radius: 11px;
  background: #fff;
  color: #3f2a18;
  font-size: 15px;
  font-weight: 900;
  appearance: none;
  -webkit-appearance: none;
}
.kotEstimateHub__select:focus { outline: none; box-shadow: 0 0 0 4px rgba(241,136,0,.14); }
.kotEstimateHub__selectWrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #7a4a00;
  border-bottom: 2px solid #7a4a00;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.kotEstimateHub__note {
  margin: 12px 0 0 !important;
  color: #7b6b58;
  font-size: 12px;
  line-height: 1.85;
  font-weight: 600;
  text-align: center;
}
.kotEstimateHub__pointList { margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; }
.kotEstimateHub__point {
  position: relative;
  margin: 12px 0 0 !important;
  padding: 0 0 0 14px !important;
  color: #4a3524;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 800;
}
.kotEstimateHub__point:first-child { margin-top: 0 !important; }
.kotEstimateHub__point::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 15px;
  border-radius: 999px;
  background: #f18800;
}
.kotEstimateHub__bottomText {
  margin: 22px 0 0 !important;
  padding: 14px 12px 0;
  border-top: 1px solid rgba(123,79,18,.10);
  color: #7b6b58;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 600;
  text-align: center;
}
.kotEstimateHub__result {
  max-width: 900px;
  margin: 40px auto 0;
}
.kotEstimateHub__result .kot-reform222-sim {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.kotEstimateHub__result .kot-reform222-wrap { max-width: 760px; }

@media screen and (max-width: 600px) {
  .kotoie-estimate .kot-reform222-head .h3text { font-size: 21px; margin-bottom: 20px !important; }
  .kotEstimateHub {
    margin: -70px -70px -100px !important;
    padding: 34px 30px 50px !important;
    border-radius: 0;
  }
  .kotEstimateHub__card { padding: 30px 13px 25px; }
  .kotEstimateHub__title { font-size: 19px !important; }
  .kotEstimateHub__titleAccent { font-size: 21px; }
  .kotEstimateHub__lead { font-size: 13px; }
  .kotEstimateHub__selectBox_waku { margin: 30px -10px -25px; padding: 10px; }
  .kotEstimateHub__selectBox { margin-top: 0; }
  .kotEstimateHub__select { height: 52px; font-size: 14.5px; }
  .kotEstimateHub__result { margin-top: 34px; }
}

/* Version 1.0.1: protect custom list markers from theme list styles. */
.kotoie-estimate .kotEstimateHub__pointList,
.kotoie-estimate .kotEstimateHub__pointList > .kotEstimateHub__point {
  list-style: none !important;
}

.kotoie-estimate .kotEstimateHub__pointList > .kotEstimateHub__point::marker,
.kotoie-estimate .kot-compare-list > li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.kotoie-estimate .kotEstimateHub__pointList > .kotEstimateHub__point::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: .55em !important;
  width: 4px !important;
  height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f18800 !important;
  box-shadow: none !important;
  color: transparent !important;
  font-family: inherit !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}

.kotoie-estimate .kotEstimateHub__pointList > .kotEstimateHub__point::after {
  content: none !important;
  display: none !important;
}

.kotoie-estimate .kot-compare-list,
.kotoie-estimate .kot-compare-list > li {
  list-style: none !important;
}

.kotoie-estimate .kot-compare-list > li::before,
.kotoie-estimate .kot-compare-list > li::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* In the hub, the page already explains that this is a free estimate simulator.
   Keep only the selected genre name in the dynamically loaded calculator. */
.kotEstimateHub__result .kot-reform222-badge,
.kotEstimateHub__result .kotEstimateHub__titleAccent {
  display: none !important;
}

.kotEstimateHub__result .kot-reform222-head {
  padding-top: 30px !important;
  padding-bottom: 25px !important;
}

.kotEstimateHub__result .kotEstimateHub__title {
  margin: 0 auto 18px !important;
}

.kotEstimateHub__result .kotEstimateHub__titleMain {
  display: block !important;
  color: var(--kot-navi-accent) !important;
  font-size: 27px !important;
  line-height: 1.5 !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
}

@media screen and (max-width: 600px) {
  .kotEstimateHub__result .kot-reform222-head {
    padding-top: 25px !important;
    padding-bottom: 22px !important;
  }

  .kotEstimateHub__result .kotEstimateHub__titleMain {
    font-size: 23px !important;
  }
}

/* Version 1.0.3: keep enough yellow background above the first-view card
   and above the simulator loaded from the genre selector. */
.kotoie-estimate--hub.kotEstimateHub {
  margin-top: 0 !important;
  padding-top: 80px !important;
}

.kotoie-estimate--hub .kotEstimateHub__result {
  margin-top: 70px !important;
}

@media screen and (max-width: 600px) {
  .kotoie-estimate--hub.kotEstimateHub {
    margin-top: 0 !important;
    padding-top: 60px !important;
  }

  .kotoie-estimate--hub .kotEstimateHub__result {
    margin-top: 55px !important;
  }
}

/* Version 1.0.5: prevent the main hub shortcode from overflowing the
   mobile content area. The old -70px side margins expanded the hub beyond
   the viewport on narrow themes such as iPhone SE layouts. */
@media screen and (max-width: 600px) {
  .kotoie-estimate--hub.kotEstimateHub {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden !important;
  }

  .kotoie-estimate--hub .kotEstimateHub__card,
  .kotoie-estimate--hub .kotEstimateHub__selectBox_waku,
  .kotoie-estimate--hub .kotEstimateHub__selectBox,
  .kotoie-estimate--hub .kotEstimateHub__result,
  .kotoie-estimate--hub .kotEstimateHub__result .kot-reform222-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .kotoie-estimate--hub .kotEstimateHub__selectBox_waku {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .kotoie-estimate--hub .kotEstimateHub__lead,
  .kotoie-estimate--hub .kot-reform222-head p,
  .kotoie-estimate--hub .kotEstimateHub__bottomText,
  .kotoie-estimate--hub .kotEstimateHub__note {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Version 1.2.0: lightweight link to the subsidy simulator. */
.kot-subsidy-guide {
  margin: 18px 0 0;
  padding: 18px 16px 17px;
  border: 1px solid var(--kot-navi-border);
  border-radius: 12px;
  background: #fffaf0;
  text-align: center;
  box-sizing: border-box;
}

.kot-subsidy-guide * {
  box-sizing: border-box;
}

.kot-subsidy-guide__heading {
  margin: 0;
}

.kot-subsidy-guide__eyebrow {
  display: inline-block;
  margin: 0 0 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--kot-navi-main);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.kot-subsidy-guide__title {
  margin: 0 !important;
  color: var(--kot-navi-text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 900;
  text-align: center;
}

.kot-subsidy-guide__text {
  margin: 10px 0 0 !important;
  color: var(--kot-navi-sub);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  text-align: left;
}

.kot-subsidy-guide__amount {
  margin: 12px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--kot-navi-border);
  border-radius: 8px;
  background: #fff;
  color: var(--kot-navi-sub);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 800;
  text-align: center;
}

.kot-subsidy-guide__amount strong {
  color: var(--kot-navi-accent-dark);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.kot-subsidy-guide__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--kot-navi-main);
  color: #fff !important;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 4px 0 var(--kot-navi-dark);
  transition: transform .15s ease, box-shadow .15s ease;
}

.kot-subsidy-guide__button::after {
  content: " →";
  margin-left: 7px;
}

.kot-subsidy-guide__button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--kot-navi-dark);
}

@media screen and (max-width: 600px) {
  .kot-subsidy-guide {
    padding: 16px 12px 15px;
  }

  .kot-subsidy-guide__title {
    font-size: 16px;
  }

  .kot-subsidy-guide__text {
    font-size: 12.5px;
  }

  .kot-subsidy-guide__button {
    min-height: 46px;
    font-size: 14px;
  }
}


/* Version 1.2.3: the outer card of the normal main hub shortcode is white.
   This removes the partial pale-beige strip visible behind the genre selector area. */
.kotoie-estimate--hub[data-kotoie-cta-notification="1"] .kotEstimateHub__card {
  background: #fff !important;
}


/* Version 1.2.4: keep the heading/intro section of the normal main hub in
   #fffaf1, while the selector and the lower content stay white. */
.kotoie-estimate--hub[data-kotoie-cta-notification="1"] .kotEstimateHub__intro {
  margin: -30px -14px 0;
  padding: 30px 14px 30px;
  background: #fffaf1;
}

.kotoie-estimate--hub[data-kotoie-cta-notification="1"] .kotEstimateHub__selectBox_waku {
  margin-top: 0;
}

@media screen and (max-width: 600px) {
  .kotoie-estimate--hub[data-kotoie-cta-notification="1"] .kotEstimateHub__intro {
    margin-right: -13px;
    margin-left: -13px;
    padding-right: 13px;
    padding-left: 13px;
  }
}


/* 1.3.0: hub genre group labels */
.kotEstimateHub__select optgroup {
  color: #7a4a00;
  font-weight: 900;
  background: #fffaf1;
}
.kotEstimateHub__select option {
  color: #3f2a18;
  font-weight: 700;
  background: #fff;
}
