@charset "UTF-8";

/* --------------------
header
-------------------- */
.pagetitle-sp {
  background: #999;
  position: relative;
  margin-bottom: 12rem;
}
.pagetitle-sp .key-viz-sp {
  padding: 0 1.5rem;
  position: relative;
  z-index: 99;
}
.pagetitle-sp .key-viz-sp img {
  border-radius: 1rem;
}
.pagetitle-sp .pagetitle-box-sp {
  width: 100%;
  padding: 6.5rem 1.5rem 3rem;
  position: absolute;
  top: calc(100% - 4rem);
}
.pagetitle-sp .pagetitle-box-sp h2 {
  padding: 0 0 0.5rem;
  line-height: 1.5;
  font-size: 2.7rem;
  font-weight: bold;
}
.pagetitle-sp .pagetitle-box-sp h2 span{
  display: block;
  color: #04042f;
  font-family: Roboto, sans-serif;
  font-size: 1.4rem;
}
.pagetitle-sp .pagetitle-box-sp h2 + p{
  font-size: 1.4rem;
}
.fv-pc-ttl {
  padding-bottom: 3rem;
}


/* --------------------
main SP
-------------------- */
.page-inquiry {
  background: #f8f8f8;
}
section.inquiry {
  max-width: 108rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
section.inquiry > p {
  font-size: 1.4rem;
  text-align: center;
  padding-bottom: 2em;
}

.inquiry-form {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 1rem;
}
.inquiry-form dl {
  margin-bottom: 3rem;
}
.inquiry-form dt {
  font-weight: bold;
  padding-bottom: 0.5rem;
}
.inquiry-form dt span {
  background: var(--red);
  color: #fff;
  font-size: 1.2rem;
  margin-left: 1em;
  padding: 0.2rem 1rem 0.1rem;
  border-radius: 1rem;
}
.inquiry-form dd {
  padding-bottom: 0.5rem;
}
.inquiry-form dd span {
  display: block;
  line-height: 1.5;
  padding: 0.5rem 0 0;
  font-size: 1.3rem;
  color: #444;
}
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  padding: 2rem 1.5rem;
  border: 1px #ccc solid;
  border-radius: 5px;
}
.inquiry-form input.inputpost{
  padding: 1.5rem;
  width: 10rem;
}
.inquiry-form dd.add {
  display: flex;
  flex-direction: column;
}
.inquiry-form dd.add input:first-child {
  margin-bottom: 0.5rem;
}
.inquiry-form input.detail-txt {
  padding: 1rem 1.5rem;
}
.inquiry-form input[type="date"] {
  max-width: 40rem;
  margin-left: 1.5em;
}
.inquiry-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.3em;
}
.inquiry-form textarea {
  height: 10rem;
}

.inquiry-form p {
  padding-top: 2rem;
}
.inquiry-form button {
  width: 100%;
  background: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--red);
  text-align: center;
  padding: 2.5rem;
  border: 3px var(--red) solid;
  border-radius: 5rem;
  position: relative;
  transition: .3s;
}
.inquiry-form button::after {
  content: "→";
  font-size: 2.4rem;
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}
.inquiry-form button:hover {
  background: var(--red);
  color: #fff;
}



/* ---------- thanksページ ---------- */

.page-thanks .inquiry-form h3 {
  font-size: 2.1rem;
  font-weight: bold;
  padding-bottom: 1em;
}
.page-thanks .inquiry-form h3 + p {
  color: var(--red);
}
.page-thanks .inquiry-form p {
  padding-top: 0;
}
.page-thanks .inquiry-form .attention {
  border-top: 1px #ccc dotted;
  border-bottom: 1px #ccc dotted;
  margin: 2rem 0 5rem;
  padding: 1rem 0;
}
.page-thanks .inquiry-form .attention p:last-child {
  margin-top: 1em;
}
.page-thanks .inquiry-form a {
  display: block;
  width: 20rem;
  background: #fff;
  font-weight: bold;
  color: var(--red);
  text-align: center;
  padding: 1rem;
  margin: 0 auto;
  border: 1px var(--red) solid;
  border-radius: 5rem;
  position: relative;
  transition: .3s;
}


/* number 矢印非表示 */
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; 
} 


/*----------------------------------------------------
タブレット・PC用 750px以上
----------------------------------------------------*/
@media only screen and (min-width: 750px) {
  
/* --------------------
  header TB
  -------------------- */
  .pagetitle-sp {
    display: none;
  }
  .pagetitle-pc {
    display: block;
  }

  /* お見積りフォーム タイトル 750 */
  .fv-pc{
    padding: 0;
    position: relative;
  }
    /* TOP 750 トップ戻る ------------ */
  .fv-pc p.btop{
    width: 10rem;
    position: absolute;
    left: 2%;
    top: 68%;
    z-index: 999;
  }
  .fv-pc p.btop a{
    display: block;
    width: 7rem;
  }
  /* TOP 750 タイトル ------------ */
  .fv-pc-ttl{
    max-width: 120rem;
    margin: 0 auto;
    padding: 5rem 5rem 8rem;
  }
  .fv-pc-ttl h2{
      font-size: 3.0rem;
      font-weight: bold;
      line-height: 1.5;
  }
  .fv-pc-ttl h2 span{
      display: block;
      font-size: 1.4rem;
      color: var(--red);
      font-weight: normal;
  }
  .fv-pc-ttl h2 + p{
      font-size: 1.4rem;
  }
  /* -------------------
  main TB
  ---------------------- */
  section.inquiry {
    padding: 5rem 1.5rem;
  }
  section.inquiry > p {
    font-size: 1.6rem;
  }

  .inquiry-form {
    background: #fff;
    padding: 8rem;
    border-radius: 1rem;
  }
  .inquiry-form dd.add {
    flex-direction: row;
    justify-content: space-between;
  }
  .inquiry-form dd.add input:first-child {
    margin-bottom: 0;
  }
  .inquiry-form input.p-region {
    max-width: 49%;
  }
  .inquiry-form input.p-extended-address {
    max-width: 50%;
  }
  .inquiry-form input.detail-txt {
    max-width: 40%;
  }


  .inquiry-form button {
    font-size: 2.1rem;
  }
  .inquiry-form button::after {
    font-size: 3rem;
  }

}

/*----------------------------------------------------
タブレット・PC用 1000px以上
----------------------------------------------------*/
@media only screen and (min-width: 1000px) {

  /* FV 1000
  --------------------- */
  .fv-pc{
    padding: 9rem 0 0;
  }
  /* TOP 750 トップ戻る ------------ */
  .fv-pc p.btop{
    top: 80%;
  }

}



/*----------------------------------------------------
タブレット・PC用 750px以上
----------------------------------------------------*/
@media only screen and (min-width: 1400px) {

  /* TOP 1400 タイトル ------------ */
  .fv-pc-ttl{
    padding: 8rem 5rem;
  }
  .fv-pc-ttl h2{
      font-size: 4.0rem;
  }
  .fv-pc-ttl h2 span{
      display: block;
      font-size: 1.4rem;
  }
  .fv-pc-ttl h2 + p{
      font-size: 1.6rem;
  }

  /* -------------------
  main 1400
  ---------------------- */
  .inquiry-form dl {
    margin-bottom: 4rem;
  }

}