.fx-tool-002 {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  color: #172033;
  background: #FFFFFF;
  border: 1px solid #F1EDFF;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

.fx-tool-002 *,
.fx-tool-002 *::before,
.fx-tool-002 *::after {
  box-sizing: inherit;
}

.fx-tool-002 [hidden] {
  display: none !important;
}

.fx-tool-002 .fx-tool-002__header {
  margin: 0 0 24px;
  padding: 0 0 12px;
  border-bottom: 3px solid #6D4AFF;
}

.fx-tool-002 .fx-tool-002__title,
.fx-tool-002 .fx-tool-002__results-title {
  margin: 0;
  color: #172033;
  font-weight: 700;
  line-height: 1.4;
}

.fx-tool-002 .fx-tool-002__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.fx-tool-002 .fx-tool-002__results-title {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.fx-tool-002 .fx-tool-002__form {
  margin: 0;
}

.fx-tool-002 .fx-tool-002__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fx-tool-002 .fx-tool-002__field {
  min-width: 0;
}

.fx-tool-002 .fx-tool-002__label {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__input-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fx-tool-002 .fx-tool-002__input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  color: #172033;
  background: #FFFFFF;
  border: 1px solid #667085;
  border-radius: 12px;
  font: inherit;
  line-height: 1.4;
}

.fx-tool-002 .fx-tool-002__input:focus {
  outline: 3px solid rgba(109, 74, 255, 0.25);
  outline-offset: 2px;
  border-color: #6D4AFF;
}

.fx-tool-002 .fx-tool-002__input[aria-invalid="true"] {
  border-color: #a61b1b;
}

.fx-tool-002 .fx-tool-002__unit {
  flex: 0 0 auto;
  color: #667085;
  white-space: nowrap;
}

.fx-tool-002 .fx-tool-002__help,
.fx-tool-002 .fx-tool-002__error {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.fx-tool-002 .fx-tool-002__help {
  color: #667085;
}

.fx-tool-002 .fx-tool-002__error {
  min-height: 1.5em;
  color: #D6455D;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.fx-tool-002 .fx-tool-002__button {
  min-width: 160px;
  min-height: 48px;
  margin: 0;
  padding: 11px 20px;
  border: 2px solid #6D4AFF;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.fx-tool-002 .fx-tool-002__button:focus-visible {
  outline: 3px solid rgba(109, 74, 255, 0.3);
  outline-offset: 3px;
}

.fx-tool-002 .fx-tool-002__button--primary {
  color: #FFFFFF;
  background: #6D4AFF;
}

.fx-tool-002 .fx-tool-002__button--primary:hover {
  background: #6D4AFF;
  filter: brightness(0.9);
}

.fx-tool-002 .fx-tool-002__button--secondary {
  color: #6D4AFF;
  background: #FFFFFF;
}

.fx-tool-002 .fx-tool-002__button--secondary:hover {
  background: #F1EDFF;
}

.fx-tool-002 .fx-tool-002__limit-error,
.fx-tool-002 .fx-tool-002__negative-notice,
.fx-tool-002 .fx-tool-002__notice {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
}

.fx-tool-002 .fx-tool-002__limit-error {
  color: #D6455D;
  background: rgba(214, 69, 93, 0.08);
  border: 1px solid #D6455D;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__results {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #F1EDFF;
}

.fx-tool-002 .fx-tool-002__conditions,
.fx-tool-002 .fx-tool-002__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.fx-tool-002 .fx-tool-002__condition,
.fx-tool-002 .fx-tool-002__summary-item {
  margin: 0;
  padding: 24px;
  border-radius: 12px;
}

.fx-tool-002 .fx-tool-002__condition {
  background: #F1EDFF;
}

.fx-tool-002 .fx-tool-002__condition dt,
.fx-tool-002 .fx-tool-002__summary-item dt {
  margin: 0 0 4px;
  color: #667085;
  font-size: 0.875rem;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__condition dd,
.fx-tool-002 .fx-tool-002__summary-item dd {
  margin: 0;
  color: #172033;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__summary {
  margin-top: 16px;
}

.fx-tool-002 .fx-tool-002__summary-item {
  background: #0B102F;
  border-radius: 16px;
}

.fx-tool-002 .fx-tool-002__summary-item dt,
.fx-tool-002 .fx-tool-002__summary-item dd {
  color: #FFFFFF;
}

.fx-tool-002 .fx-tool-002__summary-item dd {
  font-size: 1.3rem;
}

.fx-tool-002 .fx-tool-002__negative-notice {
  color: #172033;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid #F4B400;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__table-scroll {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fx-tool-002 .fx-tool-002__table-scroll:focus-visible {
  outline: 3px solid rgba(109, 74, 255, 0.25);
  outline-offset: 2px;
}

.fx-tool-002 .fx-tool-002__table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  color: #172033;
  background: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.fx-tool-002 .fx-tool-002__table caption {
  padding: 0 0 10px;
  color: #172033;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
}

.fx-tool-002 .fx-tool-002__table th,
.fx-tool-002 .fx-tool-002__table td {
  padding: 12px;
  border: 1px solid #F1EDFF;
  text-align: right;
  white-space: nowrap;
}

.fx-tool-002 .fx-tool-002__table th {
  color: #FFFFFF;
  background: #0B102F;
  font-weight: 700;
}

.fx-tool-002 .fx-tool-002__table th:first-child,
.fx-tool-002 .fx-tool-002__table td:first-child {
  text-align: center;
}

.fx-tool-002 .fx-tool-002__notice {
  color: #172033;
  background: #F7F8FA;
  border-left: 4px solid #6D4AFF;
  font-size: 0.9rem;
}

@media (min-width: 761px) {
  .fx-tool-002 .fx-tool-002__label {
    min-height: 3.6em;
  }
}

@media (max-width: 760px) {
  .fx-tool-002 {
    padding: 20px;
  }

  .fx-tool-002 .fx-tool-002__fields,
  .fx-tool-002 .fx-tool-002__conditions,
  .fx-tool-002 .fx-tool-002__summary {
    grid-template-columns: 1fr;
  }

  .fx-tool-002 .fx-tool-002__actions {
    flex-direction: column;
  }

  .fx-tool-002 .fx-tool-002__button {
    width: 100%;
  }

  .fx-tool-002 .fx-tool-002__condition,
  .fx-tool-002 .fx-tool-002__summary-item {
    padding: 20px;
  }

  .fx-tool-002 .fx-tool-002__table-scroll {
    overflow-x: visible;
  }

  .fx-tool-002 .fx-tool-002__table {
    display: block;
    min-width: 0;
  }

  .fx-tool-002 .fx-tool-002__table caption {
    display: block;
    width: 100%;
  }

  .fx-tool-002 .fx-tool-002__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .fx-tool-002 .fx-tool-002__table tbody {
    display: grid;
    gap: 16px;
  }

  .fx-tool-002 .fx-tool-002__table tr,
  .fx-tool-002 .fx-tool-002__table td {
    display: block;
    width: 100%;
  }

  .fx-tool-002 .fx-tool-002__table tr {
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #F1EDFF;
    border-radius: 12px;
  }

  .fx-tool-002 .fx-tool-002__table td,
  .fx-tool-002 .fx-tool-002__table td:first-child {
    display: grid;
    grid-template-columns: minmax(96px, 40%) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #F1EDFF;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .fx-tool-002 .fx-tool-002__table td:last-child {
    border-bottom: 0;
  }

  .fx-tool-002 .fx-tool-002__table td::before {
    content: attr(data-label);
    color: #667085;
    font-weight: 700;
    text-align: left;
  }
}

@media screen and (max-width: 834px) {
  body.fxdr-tool-002-page .mobile-footer-menu-buttons,
  body.fxdr-tool-002-page .mobile-menu-buttons {
    display: none !important;
  }
}

body.fxdr-tool-002-page .date-tags,
body.fxdr-tool-002-page .post-date,
body.fxdr-tool-002-page .post-update,
body.fxdr-tool-002-page .entry-date,
body.fxdr-tool-002-page .published,
body.fxdr-tool-002-page .sns-share,
body.fxdr-tool-002-page .sns-share-message,
body.fxdr-tool-002-page .sns-follow,
body.fxdr-tool-002-page .sns-follow-message,
body.fxdr-tool-002-page .author-info,
body.fxdr-tool-002-page .author-box,
body.fxdr-tool-002-page .post-author,
body.fxdr-tool-002-page .breadcrumb {
  display: none !important;
}
