@charset "utf-8";

/* 蛇口設置無料見積り（/estimate/）専用。global.css → user_contact.css の後に読み込む */

/* #region MARK:ステップインジケーター */
.estimate-progress {
  padding-block: 0 2.4rem;
}

.estimate-progress__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.estimate-progress__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 14rem;
}

.estimate-progress__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--c-secondary);
  z-index: 0;
}

.estimate-progress__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid var(--c-secondary);
  background-color: #fff;
  color: var(--c-secondary);
  font-size: var(--fluid-14-20);
  font-weight: 500;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.estimate-progress__item--active .estimate-progress__step {
  background-color: var(--c-secondary);
  color: #fff;
}

.estimate-progress__label {
  margin-top: 0.6rem;
  font-size: var(--fluid-10-14);
  line-height: 1.4;
  text-align: center;
  color: var(--c-text);
}

.estimate-progress__item--active .estimate-progress__label {
  font-weight: 500;
  color: var(--c-third);
}

/* #endregion */

/* #region MARK:連絡希望日 */
.estimate-date {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.estimate-date__select {
  width: auto;
  min-width: 6.5rem;
}

.estimate-date__select--year {
  min-width: 9rem;
}

.estimate-date__unit {
  font-size: var(--fluid-14-16);
}

/* #endregion */

/* #region MARK:賃貸時の管理会社確認ブロック */
.estimate-management {
  margin-top: 1.6rem;
  padding: 1.6rem;
  border-radius: 0.6rem;
  background-color: var(--c-primary-10);
}

.estimate-management[hidden] {
  display: none;
}

.estimate-management__text {
  font-size: var(--fluid-12-14);
  line-height: 1.7;
  color: var(--c-red);
}

.estimate-management__agreement {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* #endregion */

/* #region MARK:蛇口タイプ図 */
.estimate-faucet-figure {
  margin-top: 1.6rem;
}

.estimate-faucet-figure__image {
  width: 100%;
  max-width: 46rem;
  height: auto;
}

.estimate-faucet-figure__caption {
  margin-top: 0.6rem;
  font-size: var(--fluid-10-14);
  line-height: 1.6;
}

/* #endregion */

/* #region MARK:取り付け先の情報（条件表示） */
.estimate-location[hidden] {
  display: none;
}

/* #endregion */

/* #region MARK:デスクトップ */
@media (min-width: 768px) {
  .estimate-progress {
    padding-block: 0 4rem;
  }

  .estimate-progress__item {
    max-width: 18rem;
  }

  .estimate-progress__item:not(:last-child)::after {
    top: 2.1rem;
    height: 4px;
  }

  .estimate-progress__step {
    width: 4.2rem;
    height: 4.2rem;
  }

  .estimate-management {
    padding: 2.4rem;
  }
}

/* #endregion */
