@charset "UTF-8";

/* トップページのシミュレーターだけに適用。価格ページ全体のCSSを混在させない。 */
.page-top-brand #simulator-hub {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 4px;
  background: #263f30;
  color: #243228;
}

.page-top-brand #simulator-hub .sim-hub-header {
  margin-bottom: 22px;
  color: #fff;
  text-align: left;
}

.page-top-brand #simulator-hub .sim-hub-header h2 {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
}

.page-top-brand #simulator-hub .sim-hub-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.7;
}

.page-top-brand #simulator-hub .sim-card {
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 25, 16, .18);
}

.page-top-brand #simulator-hub .sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #dddcd5;
  background: #f4f2ec;
}

.page-top-brand #simulator-hub .sim-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 70px;
  gap: 10px;
  padding: 12px 10px;
  border: 0;
  border-right: 1px solid #dddcd5;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #657066;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.page-top-brand #simulator-hub .sim-tab-btn:last-child {
  border-right: 0;
}

.page-top-brand #simulator-hub .sim-tab-btn.active {
  border-bottom-color: #80583a;
  background: #fff;
  color: #203d2c;
}

.page-top-brand #simulator-hub .sim-tab-btn:focus-visible {
  outline: 3px solid #caa77f;
  outline-offset: -3px;
}

.page-top-brand #simulator-hub .tab-icon {
  color: #9a7657;
  font-size: 10px;
  letter-spacing: .08em;
}

.page-top-brand #simulator-hub .sim-panel {
  padding: clamp(22px, 4vw, 38px);
}

.page-top-brand #simulator-hub .sim-panel[hidden] {
  display: none !important;
}

.page-top-brand #simulator-hub .sim-panel-lead {
  margin: 0 0 24px;
  padding: 11px 14px;
  border-left: 3px solid #80583a;
  background: #f6f3ed;
  color: #566058;
  font-size: 13px;
  line-height: 1.7;
}

.page-top-brand #simulator-hub .sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  align-items: start;
  gap: clamp(24px, 4vw, 46px);
}

.page-top-brand #simulator-hub .sim-inputs,
.page-top-brand #simulator-hub .sim-field,
.page-top-brand #simulator-hub .sim-field > label {
  min-width: 0;
}

.page-top-brand #simulator-hub .sim-field {
  margin-bottom: 17px;
}

.page-top-brand #simulator-hub .sim-field > label {
  display: block;
  margin-bottom: 7px;
  color: #303d33;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.page-top-brand #simulator-hub .input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.page-top-brand #simulator-hub input[type="number"],
.page-top-brand #simulator-hub select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cfd2cb;
  border-radius: 3px;
  background: #fff;
  color: #203027;
  font-size: 16px;
}

.page-top-brand #simulator-hub .input-wrap input[type="number"] {
  border-radius: 3px 0 0 3px;
}

.page-top-brand #simulator-hub .unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0 10px;
  border: 1px solid #cfd2cb;
  border-left: 0;
  border-radius: 0 3px 3px 0;
  background: #eeece6;
  color: #59625a;
  font-size: 13px;
}

.page-top-brand #simulator-hub input:focus,
.page-top-brand #simulator-hub select:focus {
  border-color: #355b43;
  outline: 2px solid rgba(53, 91, 67, .16);
}

.page-top-brand #simulator-hub .checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd2cb;
  border-radius: 3px;
  cursor: pointer;
}

.page-top-brand #simulator-hub .checkbox-label input {
  width: 18px;
  height: 18px;
}

.page-top-brand #simulator-hub .field-hint {
  display: block;
  margin: 7px 0 0;
  color: #747d75;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.page-top-brand #simulator-hub .sim-result-card {
  position: sticky;
  top: 118px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #d8d8cf;
  border-radius: 4px;
  background: #f5f2ea;
}

.page-top-brand #simulator-hub .result-area-label {
  margin-bottom: 14px;
  color: #5f685f;
  font-size: 13px;
}

.page-top-brand #simulator-hub .result-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
}

.page-top-brand #simulator-hub .result-label {
  flex: 0 0 100%;
  margin-bottom: 4px;
  color: #5f685f;
  font-size: 12px;
}

.page-top-brand #simulator-hub .result-price {
  min-width: 0;
  color: #203d2c;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.page-top-brand #simulator-hub .result-yen {
  color: #203d2c;
  font-size: 15px;
  font-weight: 700;
}

.page-top-brand #simulator-hub .result-note {
  margin: 12px 0 0;
  color: #747b74;
  font-size: 11px;
  line-height: 1.6;
}

.page-top-brand #simulator-hub .result-cta-btn,
.page-top-brand #simulator-hub .simulator-detail-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-decoration: none;
}

.page-top-brand #simulator-hub .result-cta-btn {
  width: 100%;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 3px;
  background: #203d2c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.page-top-brand #simulator-hub .result-breakdown {
  margin-bottom: 18px;
  border-block: 1px solid #d8d8cf;
}

.page-top-brand #simulator-hub .breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  color: #5b655c;
  font-size: 12px;
}

.page-top-brand #simulator-hub .breakdown-row + .breakdown-row {
  border-top: 1px solid #e4e2dc;
}

.page-top-brand #simulator-hub .breakdown-row.highlight {
  color: #80583a;
  font-weight: 700;
}

.page-top-brand #simulator-hub .slope-height-guide {
  margin-top: 22px;
  padding: 14px;
  border-radius: 3px;
  background: #f4f2ec;
}

.page-top-brand #simulator-hub .height-bar-wrap {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: #dcded8;
}

.page-top-brand #simulator-hub .height-bar {
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #738c76, #80583a);
  transition: width .2s ease;
}

.page-top-brand #simulator-hub .height-bar-label {
  position: absolute;
  right: 0;
  top: -26px;
  color: #59625a;
  font-size: 11px;
}

.page-top-brand #simulator-hub .height-guide-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: #7a817a;
  font-size: 10px;
}

.page-top-brand #simulator-hub .slope-reference {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dedfd8;
}

.page-top-brand #simulator-hub .slope-reference h4 {
  margin: 0 0 7px;
  color: #344238;
  font-size: 14px;
}

.page-top-brand #simulator-hub .slope-ref-note {
  margin: 0;
  color: #6b736c;
  font-size: 12px;
  line-height: 1.75;
}

.page-top-brand #simulator-hub .simulator-detail-link {
  margin: 18px 0 0;
  text-align: right;
}

.page-top-brand #simulator-hub .simulator-detail-link a {
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
}

@media (max-width: 760px) {
  .page-top-brand #simulator-hub {
    padding: 22px 12px 16px;
  }

  .page-top-brand #simulator-hub .sim-hub-header {
    padding-inline: 8px;
  }

  .page-top-brand #simulator-hub .sim-tab-btn {
    min-height: 64px;
    flex-direction: column;
    gap: 2px;
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.35;
  }

  .page-top-brand #simulator-hub .sim-panel {
    padding: 20px 14px 24px;
  }

  .page-top-brand #simulator-hub .sim-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-top-brand #simulator-hub .sim-result-card {
    position: static;
    padding: 20px;
  }

  .page-top-brand #simulator-hub .result-price {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .page-top-brand #simulator-hub .simulator-detail-link {
    padding: 0 8px;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .page-top-brand #simulator-hub .sim-tab-btn {
    font-size: 10px;
  }

  .page-top-brand #simulator-hub .height-guide-labels {
    font-size: 9px;
  }
}
