/* 見積依頼の3ステップ入力。配布版2026-10-28を移植。 */
#main .estimate-wizard {
  width:100%;
  box-sizing:border-box;
  padding:44px;
  background:#f6f5f2;
  border:1px solid #dfe3e5;
  color:#172938;
  font-family:'Noto Sans JP',sans-serif;
  scroll-margin-top:100px
}

.estimate-wizard [hidden] {
  display:none!important
}

.estimate-progress {
  list-style:none;
  display:flex;
  gap:20px;
  padding:0;
  margin:0 0 28px;
  justify-content:space-between
}

.estimate-progress li {
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  font-size:14px;
  color:#69737a
}

.estimate-progress li>span {
  width:38px;
  height:38px;
  border-radius:50%;
  background:#e5e5e3;
  display:grid;
  place-items:center;
  flex:none;
  font-size:18px
}

.estimate-progress b {
  font-weight:500
}

.estimate-progress li[aria-current] {
  color:#172938
}

.estimate-progress li[aria-current]>span {
  background:#172938;
  color:#fff
}

.estimate-progress li.done>span {
  background:#d9dfdf;
  color:#172938
}

#main .estimate-prototype {
  font-size:13px;
  line-height:1.8;
  color:#66717a;
  margin:0 0 30px
}

#main .estimate-status {
  font-size:12px;
  letter-spacing:.12em;
  color:#897347;
  margin:0 0 10px
}

#main .estimate-wizard fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px
}

#main .estimate-wizard legend {
  font-size:24px;
  font-weight:500;
  line-height:1.6;
  margin:0 0 28px;
  padding:0;
  width:100%
}

#main .estimate-wizard label {
  display:block;
  font-size:16px;
  font-weight:500;
  line-height:1.7;
  width:100%
}

.estimate-wizard small {
  font-size:12px;
  font-weight:400;
  color:#66717a;
  margin-left:8px
}

.estimate-wizard small.req {
  color:#ac0025
}

.estimate-wizard .hint {
  display:block;
  margin:7px 0 0;
  line-height:1.7
}

#main .estimate-wizard input:not([type=checkbox]),#main .estimate-wizard select,#main .estimate-wizard textarea {
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:54px;
  padding:13px 14px;
  margin-top:9px;
  border:1px solid #bac3c8;
  border-radius:2px;
  background:#fff;
  color:#172938;
  font:400 16px/1.6 'Noto Sans JP',sans-serif
}

#main .estimate-wizard textarea {
  resize:vertical
}

.estimate-wizard input::placeholder,.estimate-wizard textarea::placeholder {
  color:#7c858c
}

.estimate-wizard :focus-visible {
  outline:2px solid #a48c59;
  outline-offset:3px
}

.estimate-wizard legend:focus {
  outline:none
}

.estimate-unit {
  display:flex;
  align-items:center;
  gap:14px
}

.estimate-unit>span {
  white-space:nowrap;
  font-size:15px;
  margin-top:9px
}

.estimate-unit input {
  flex:1
}

.estimate-privacy {
  border-top:1px solid #d7dcdf;
  padding-top:24px;
  margin-top:4px
}

.estimate-privacy>a {
  font-size:14px;
  text-decoration:underline;
  text-underline-offset:4px
}

.estimate-privacy label {
  display:flex!important;
  gap:12px;
  align-items:flex-start;
  margin-top:18px;
  cursor:pointer
}

.estimate-privacy input {
  width:22px;
  height:22px;
  flex:none;
  margin:3px 0;
  accent-color:#172938
}

.estimate-actions {
  display:flex;
  gap:16px;
  margin-top:34px
}

.estimate-actions button {
  min-height:56px;
  padding:14px 20px;
  font:500 16px/1.6 'Noto Sans JP',sans-serif;
  cursor:pointer;
  border:1px solid #172938;
  background:#fff;
  color:#172938;
  flex:1
}

.estimate-actions [data-estimate-next] {
  background:#172938;
  color:#fff;
  flex:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px
}

.estimate-actions [data-estimate-next]:hover {
  background:#263f50
}

.estimate-actions [data-final] {
  background:#ac0025;
  border-color:#ac0025
}

.estimate-error {
  color:#ac0025;
  font-size:14px;
  line-height:1.7;
  margin-bottom:20px
}

@media(max-width:760px) {
  #main .estimate-wizard {
    padding:26px 20px;
    scroll-margin-top:88px
  }

  .estimate-progress {
    gap:10px;
    margin-bottom:22px
  }

  .estimate-progress li {
    flex-direction:column;
    gap:7px;
    text-align:center;
    font-size:11px
  }

  .estimate-progress li>span {
    width:34px;
    height:34px;
    font-size:16px
  }

  #main .estimate-wizard legend {
    font-size:21px;
    margin-bottom:24px
  }

  #main .estimate-wizard fieldset {
    gap:22px
  }

  .estimate-actions {
    flex-direction:column-reverse;
    gap:12px
  }

  .estimate-actions button {
    width:100%
  }

  #main .estimate-prototype {
    font-size:12px;
    margin-bottom:24px
  }

}


@media (min-width: 1101px) {
  .is-estimate .request-content {
    grid-template-columns: minmax(0, 276fr) minmax(0, 820fr);
  }
}
