/* =========================================================
button
========================================================= */
/* =========================================================
title
========================================================= */
/* =========================================================
inquiries
========================================================= */
#sub-mainvisual {
  background: none;
}
#sub-mainvisual:before, #sub-mainvisual:after {
  display: none;
}
#sub-mainvisual .container {
  padding-bottom: 0;
}
#sub-mainvisual .heading {
  padding-bottom: 6rem;
  border-bottom: 0.2rem solid #091429;
}
#sub-mainvisual .heading .heading-title {
  margin-bottom: 0.5rem;
}
#sub-mainvisual .heading .heading-title span {
  display: inline-block;
  background: #FFFF33;
  color: #091429;
  padding: 2rem;
  letter-spacing: 0.08em;
  font-size: clamp(2.6rem, 4.1vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}
#sub-mainvisual .heading p span {
  display: inline-block;
  background: #091429;
  color: #fff;
  padding: 0.5rem 2.5rem;
  letter-spacing: 0.08em;
  font-size: clamp(1.4rem, 4.1vw, 1.6rem);
  line-height: 1.8;
}

#autoestimateForm .heading04,
#estimateCrientInfoSection .heading04 {
  margin-top: 0;
}
#autoestimateForm .heading04:before,
#estimateCrientInfoSection .heading04:before {
  background: #091429;
}
#autoestimateForm .heading04 h2,
#estimateCrientInfoSection .heading04 h2 {
  font-weight: bold;
}
#autoestimateForm .detailSet,
#estimateCrientInfoSection .detailSet {
  border: 0.1rem solid #091429;
  border-radius: 0;
}
#autoestimateForm #step1 + section + section + section .inputItems,
#estimateCrientInfoSection #step1 + section + section + section .inputItems {
  background: #FFFF33;
}
#autoestimateForm #step1 + section + section + section .inputItems #sumPricewrap,
#estimateCrientInfoSection #step1 + section + section + section .inputItems #sumPricewrap {
  color: #091429;
}
#autoestimateForm #step1 + section + section + section .inputItems #sumPricewrap .-vat,
#estimateCrientInfoSection #step1 + section + section + section .inputItems #sumPricewrap .-vat {
  writing-mode: vertical-rl;
  font-size: clamp(1.6rem, 4.1vw, 2.4rem);
  margin-right: 2rem;
}

#autoestimateForm .detailtemWrap {
  flex-wrap: wrap;
  gap: 0;
  padding: 30px 0 !important;
}

#autoestimateForm .detailtemWrap h3 {
  width: 100%;
  margin-bottom: 16px !important;
}
@media screen and (min-width: 992px) {
  #autoestimateForm .detailtemWrap h3 {
    width: 30% !important;
  }
}

@media screen and (min-width: 992px) {
  #autoestimateForm .detailtemWrap .smallfont,
#autoestimateForm .detailSet .estimateItemLeft .detailtemWrap:nth-of-type(2) input + br + span {
    display: inline-block;
    vertical-align: baseline;
    padding-left: calc(30% + 30px);
  }
}

#autoestimateForm .detailSet .estimateItemLeft .detailtemWrap:nth-of-type(2) input + br + span,
#autoestimateForm .detailSet .estimateItemLeft .detailtemWrap:nth-of-type(2) input:nth-of-type(2) {
  position: relative;
  left: auto;
  top: auto;
}

@media screen and (min-width: 992px) {
  .detailtemWrap .estimateInputItem {
    width: 90%;
    max-width: 550px;
  }
}

@media screen and (min-width: 992px) {
  #autoestimateForm select + i, #autoestimateForm br + i {
    left: -40px;
  }
}

#autoestimateForm #step1 + section + section + section .inputItems .detailtemWrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
@media screen and (min-width: 992px) {
  #autoestimateForm #step1 + section + section + section .inputItems .detailtemWrap #sumPricewrap {
    width: calc(100% - 327px);
  }
}
@media screen and (min-width: 992px) {
  #autoestimateForm #step1 + section + section + section .inputItems .detailtemWrap #estimates {
    max-width: auto;
    min-width: auto;
    width: 327px;
    min-width: auto;
  }
}

.detailtemWrap {
  display: flex;
  gap: 1.6rem;
  padding: 2.4rem 0;
  border-top: 0.2rem solid #DBDBDB;
  flex-flow: column;
}
@media screen and (min-width: 992px) {
  .detailtemWrap {
    flex-flow: initial;
  }
}
.detailtemWrap-flex {
  display: flex;
  justify-content: flex-start;
  max-width: none;
  width: 100%;
  align-items: center;
  gap: 1rem;
}
@media screen and (min-width: 992px) {
  .detailtemWrap-flex {
    max-width: 35.5rem;
    width: 40%;
    justify-content: space-between;
  }
}
.detailtemWrap-flex .required {
  position: static !important;
}
.detailtemWrap-flex .required:before {
  position: static !important;
}
.detailtemWrap .smallfont {
  position: static !important;
}
.detailtemWrap-colwrap {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .detailtemWrap-colwrap {
    width: calc(100% - 40rem);
  }
}
.detailtemWrap-colwrap .detailtemWrap-selectwrap {
  width: 100%;
}
.detailtemWrap-selectwrap {
  width: 100%;
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
}
@media screen and (min-width: 992px) {
  .detailtemWrap-selectwrap {
    width: calc(100% - 35rem);
  }
}
.detailtemWrap-selectwrap .estimateInputItem,
.detailtemWrap-selectwrap input {
  max-width: none;
  width: 100%;
  font-size: clamp(1.2rem, 4.1vw, 1.4rem);
  border: 0.2rem solid #091429 !important;
  padding: 1.3rem 1.8rem;
  border-radius: 0;
  margin-bottom: 1.3rem;
}
@media screen and (min-width: 992px) {
  .detailtemWrap-selectwrap .estimateInputItem,
.detailtemWrap-selectwrap input {
    max-width: 40rem;
  }
}
.detailtemWrap-selectwrap i {
  top: 1.3rem !important;
  position: absolute !important;
  left: auto !important;
  right: 2rem !important;
}
@media screen and (min-width: 992px) {
  .detailtemWrap-selectwrap i {
    left: 38rem !important;
  }
}
.detailtemWrap h3 {
  padding-left: 2.5rem;
  position: relative;
  font-size: clamp(15px, 4.1vw, 1.5rem);
  font-weight: bold;
  margin-right: 3rem;
  margin-bottom: 0 !important;
  width: auto !important;
}
@media screen and (min-width: 992px) {
  .detailtemWrap h3 {
    margin-bottom: 0;
  }
}
.detailtemWrap h3:before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 1rem;
  height: 1rem;
  background: #091429;
}
.detailtemWrap .estimateInputItem {
  padding: 15px;
  margin-bottom: 5px;
  border: 2px solid #091429;
  border-radius: 0;
  font-size: 18px;
}

/* ------------ type=number ------------ */

/* 1. デフォルトの小さな矢印（スピンボタン）を完全に消す */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* Firefox用 */
}

/* 2. スピナー全体のレイアウト（元の文字と綺麗に横並びにする） */
.number-spinner {
  display: inline-flex;
  align-items: center;
  overflow: hidden;         /* 押しやすく、かつフォームとして馴染む高さ */
  vertical-align: middle; /* 横のテキストと中央を揃える */
  margin: 4px 0;          /* 上下の微調整 */
}

/* 3. 入力欄（input）の調整 */
.number-spinner input[type="number"] {
  width: 60px;            /* 入力欄の幅 */
  text-align: center;     /* 数字を中央寄せ */
  font-size: 22px;
  outline: none;
  background: transparent;
  
  /* 要望の枠線を追加 */
  border: solid 2px #000; 
  
  /* 数字の上下に余白を入れる（paddingで上下に広げる） */
  padding: 12px 0;        /* 8pxの部分でお好みの上下余白に調整してください */
  
  /* 左右のボタンと少しだけ隙間を開ける（お好みで。ピタッとくっつけたい場合は 0 にしてください） */
  margin: 0 3px;          
}

/* 4. 「＋」「ー」ボタンの装飾 */
.spinner-btn {
  background-color: #000; /* ボタンの背景色（薄いグレー） */
  color: #fff;               /* 文字色 */
  border: none;
  width: 40px;               /* 押しやすい幅 */
  height: 100%;
  font-size: 30px !important;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.1s;
  user-select: none;         /* 連打したときにテキスト選択されるのを防ぐ */
  text-align: center;
}

/* ボタンにマウスが乗ったとき */
.spinner-btn:hover {
  color: #ff3; 
}

/* ボタンが押された瞬間 */
.spinner-btn:active {
  background-color: #d0d0d0;
}

.moji-box {
  display: block;
}

.moji-box-wrap {
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

/* ------------ type=number ------------ */

@media only screen and (max-width: 570px) {
  #autoestimateForm select + i, #autoestimateForm br + i {
    top: 83px;
  }
}
.span.smallfont {
  font-size: 12px;
}

.detailtemWrap #estimates > div.btnMail {
  float: none;
}
.detailtemWrap #estimates > div.btnMail > div {
  width: 100%;
}

#detailItems .removeDetailBtn {
  background: #fff;
  border: 0.1rem solid #091429;
}
#detailItems .removeDetailBtn:after {
  background-color: #091429;
  border-radius: 0;
  height: 0.2rem;
  top: 2.3rem;
}

#addDetailBtn {
  background: #091429;
}
#addDetailBtn:before {
  border-radius: 0;
  width: 0.2rem;
  left: 2.4rem;
}
#addDetailBtn:after {
  border-radius: 0;
  height: 0.2rem;
}

.btnEstimate .btn-round_arrow_05 {
  margin: 0;
  background-color: #091429;
  background-image: url(../images/common/icon-arrow04.svg);
  background-repeat: no-repeat;
  background-size: 3.1rem;
  background-position: center right 2.5rem;
  width: 30rem;
  padding: 20px 50px;
}
@media screen and (min-width: 992px) {
  .btnEstimate .btn-round_arrow_05 {
    width: 32.7rem;
  }
}
.btnEstimate .btn-round_arrow_05:before {
  background-color: transparent;
  content: "";
  width: 2.6rem;
  height: 2.6rem;
  background-image: url(../images/common/icon-pen.svg);
  background-size: cover;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2.5rem;
}
.btnEstimate .btn-round_arrow_05:after {
  display: none;
}
.btnEstimate .btn-round_arrow_05 span {
  display: none;
}

.hideStepMsg,
.itemErrorMessage {
  color: #091429;
}

.required:before {
  background: #FFFF33;
  color: #091429;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.li-count-02 {
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.08em;
}

/*----------------------------------*/
#estimateClientForm {
  margin-top: 0;
}

section#estimateCrientInfoSection .description {
  width: auto;
  margin: 0;
}

.detailSet,
#estimateCrientInfoSection .estimateItemRight,
#mailInfoSection #estimateData,
#estimateFormSection #estimateData {
  border: 0.1rem solid #091429;
  border-radius: 0;
}

.estimateData-ttl {
  background: #091429;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.2rem 1.5rem;
}
.estimateData table th {
  padding-left: 2.5rem;
  position: relative;
  font-size: 2rem;
  margin-right: 3rem;
  margin-bottom: 0;
  width: auto !important;
  background: none !important;
}
.estimateData table th:before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 1rem;
  height: 1rem;
  background: #091429;
}
/*# sourceMappingURL=style-inquiries.css.map */

/* =========================================================
お問い合わせフォーム
========================================================= */

.td-content select,.td-content input {
  border: 2px solid #091429;
  padding: 12px;
  font-size: 1.6rem;
}