@charset "UTF-8";
/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {
  #contact .seo_bread_list {
    margin-bottom: -67px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
  }
  #contact .seo_bread_list span {
    color: #FFFFFF;
  }
/* fv
-------------------------------------*/
  .fv {
    background: url(../images/contact/fv.jpg) no-repeat top center #E5E5E5;
    background-size: contain;
    position: relative;
    padding: 0 0 5rem;
    max-width: 1920px;
    width: 100%;
    margin-inline: auto;
  }
  .fv::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 22.5rem;
    width: 200px;
    height: 219px;
    background: url(../images/contact/fv-deco.png) no-repeat;
    background-size: contain;
  }
  .fv::after {
    content: "";
    position: absolute;
    bottom: -3.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 80px;
    background: url(../images/contact/fv-arrow.svg) no-repeat;
    background-size: contain;
  }
  .fv h2 {
    text-align: center;
    margin-bottom: 60px;
    padding: 6.7rem 0 0;
    width: min(95%, 951px);
    margin-inline: auto;
  }
  .fv h2 span {
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 1.75rem;
    color: #fff;
    display: block;
  }
  
  .fv-box {
    width: min(95%, 1040px);
    margin-inline: auto;
    background: #FFFFFF;
    border: 10px solid #EFEFEF;
    padding: 2.8rem 2rem 1.4rem;
  }
  .fv-box .list {
    width: min(95%, 900px);
    margin-inline: auto;
    display: grid;
    gap: 1.45rem;
    position: relative;
    margin-bottom: 0.7rem;
  }
  .fv-box .list li {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0.1em;
    font-weight: 500;
    border-bottom: 1px dashed #8F8F8F;
    position: relative;
    padding: 0 0 0.85rem 7.9rem;
  }
  .fv-box .list li span {
    color: #D7000F;
  }
  .fv-box .list li::before {
    content: "";
    position: absolute;
    top: 0.67rem;
    left: 5.65rem;
    width: 26px;
    height: 20px;
    background: url(../images/contact/check-icon.svg) no-repeat;
    background-size: contain;
  }
  .fv-box .txt {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 2;
    text-align: right;
    color: #141414;
    margin: 0 7.6rem 0 0;
  }

  /* estimate
  -------------------------------------*/
  .estimate {
  padding: 0 0 6.15rem;
  }
  .estimate .inner {
    width: min(95%, 1200px);
    margin-inline: auto;
    position: relative;
  }
  .estimate .inner::after {
    content: "";
    position: absolute;
    top: 3.8rem;
    right: -4.6rem;
    width: 308px;
    height: 184px;
    background: url(../images/contact/estimate-en.svg) no-repeat;
    background-size: contain;
  }
  .estimate .inBox {
    background: url(../images/contact/estimate-bg.jpg) no-repeat right bottom / 66.7%;
    padding: 8.65rem 0 4.25rem;
    margin-bottom: 4.5rem;
  }
  .estimate h2 {
    font-size: 57px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 3.25rem;
  }
  .estimate h2 .small {
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-bottom: 1.8625rem;
  }
  .estimate h2 .yellow-line {
    background: linear-gradient(transparent 55%, #FDF202 35%);
  }
  .estimate .txt {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0.1em;
    font-weight: 500;
  }

  .estimate .tel-box {
    width: min(95%, 1100px);
    margin-inline: auto;
    text-align: center;
    border-bottom: 4px solid #1C1C1C;
    padding-bottom: 2rem;
  }
  .estimate .tel-box .enttl {margin-bottom: 1.4rem;}
  .estimate .tel-box .tel {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #141414;
    text-align: center;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
  }
  .estimate .tel-box .tel::before,
  .estimate .tel-box .tel::after {
    content: "";
    position: absolute;
    top: 67%;
    transform: translateY(-50%);
  }
  .estimate .tel-box .tel::before {
    background: url(../images/contact/tel-line-l.svg)no-repeat;
    background-size: contain;
    width: 16px;
    height: 35px;
    left: -35px;
  }
  .estimate .tel-box .tel::after {
    background: url(../images/contact/tel-line-r.svg)no-repeat;
    background-size: contain;
    width: 16px;
    height: 35px;
    right: -35px;
  }
  .estimate .tel-box .num-frame {
    display: flex;
    align-items: center;
    gap: 34px;
    justify-content: center;
  }
  .estimate .open,
  .estimate .close {
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    color: #fff;
    padding: 8px 32px;
  }
  .estimate .open {
    background: #1C1C1C;
  }
  .estimate .close {
    background: #D7000F;
  }

  /* form
  -------------------------------------*/
  #contact .form-Box {
    background: url(../images/index/estimate-bg.png) no-repeat;
    background-size: cover;
    width: min(95%, 1400px);
    margin-inline: auto;
    padding: 3.7rem 0 6rem;
    margin-bottom: 6.3rem;
  }
  #contact .formttl_en {
  margin-bottom: 1.45rem;
  }
  #contact .formttl_ja {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    color: #141414;
    margin-bottom: 4rem;
  }
  #contact .form-Box .form-box-inner {
    padding: 3.5rem 0 6.215rem;
  }

  #contact .wpcf7-checkbox .wpcf7-list-item{
    display: block;
  }

  #contact #form .confirm_button, #contact #form #back_button, input[type="submit"] {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    width: 640px;
    padding: 31px 0;
  }
  #contact input[type="submit"] {
    background: #D7000F;
  }
  #contact #form .confirm_button {
    background: #D7000F;
  }
  #contact #form .back_button {
    background: #1C1C1C;
    color: #FFFFFF;
    border: none;
  }
  #contact #form .send_button {
    background: #D7000F;
  }
  #contact #form #confirm_area p::after {right: 43px;}
  #contact #back_area {
    text-align: center;
  }
  /* #contact #form #back_area p::after {
    content: none;
  } */
}

/* ========================================
@media screen and (min-width:768px) and (max-width:1919px)
======================================== */
@media screen and (min-width:768px) and (max-width:1919px) {
    /* fv
-------------------------------------*/
  .fv {
    background: url(../images/contact/fv.jpg) no-repeat top center #E5E5E5;
    background-size: contain;
    position: relative;
    padding: 0 0 4.169vw;
  }
  .fv::after {
    content: "";
    position: absolute;
    bottom: -2.658vw;
    left: 50%;
    transform: translateX(-50%);
    width: 11.464vw;
    height: 4.169vw;
    background: url(../images/contact/fv-arrow.svg) no-repeat;
    background-size: contain;
  }
  .fv h2 {
    text-align: center;
    margin-bottom: 3.127vw;
    padding: 5.576vw  0 0;
    width: 49.557vw;
    margin-inline: auto;
  }
  .fv h2 img {
    width: 100%;
    height: auto;
  }
  .fv h2 span {
    font-size: 1.355vw;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 1.459vw;
    color: #fff;
    display: block;
  }
  .fv::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18.7vw;
    width: 10.422vw;
    height: 11.412vw;
    background: url(../images/contact/fv-deco.png) no-repeat;
    background-size: contain;
  }
  
}

/* ========================================
@media screen and (min-width:768px) and (max-width:1440px)
======================================== */
@media screen and (min-width:768px) and (max-width:1440px) {
  .fv-box .list li {
    font-size: clamp(1rem, 0.714rem + 0.6vw, 1.25rem);
  }
  .fv-box .txt {
    font-size: clamp(1rem, 0.714rem + 0.6vw, 1.25rem);
  }
  .estimate .inner::after {
    content: "";
    position: absolute;
    top: 4.222vw;
    right: -1.111vw;
    width: 21.389vw;
    height: 12.778vw;
    background: url(../images/contact/estimate-en.svg) no-repeat;
    background-size: contain;
  }
  .estimate .inBox {
    background: url(../images/contact/estimate-bg.jpg) no-repeat right bottom / 66.7%;
    padding: 9.611vw 0 4.722vw;
    margin-bottom: 5vw;
  }
  
  .estimate h2 {
    font-size: clamp(2.25rem, 0.75rem + 3.13vw, 3.563rem);
  }
  .estimate h2 .small {
    font-size: clamp(1.25rem, -0.179rem + 2.98vw, 2.5rem);
  }
  .estimate .txt {
    font-size: clamp(0.813rem, 0.313rem + 1.04vw, 1.25rem);
  }
}

/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
.main-title {
  margin-bottom: 0;
}
/* fv
-------------------------------------*/
.fv {
  background: url(../images/contact/fv_sp.jpg) no-repeat top center #E5E5E5;
  background-size: contain;
  position: relative;
  padding: 0 0 14.4vw;
}
.fv::after {
  content: "";
  position: absolute;
  bottom: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 38.7vw;
  height: 14.5vw;
  background: url(../images/contact/fv-arrow.svg) no-repeat;
  background-size: contain;
}
.fv h2 {
  text-align: center;
  margin-bottom: 11vw;
  padding: 15.2vw 0 0;
  width: 75.4vw;
  margin-inline: auto;
}
.fv h2 span {
  font-size:4.348vw;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 3.5vw;
  color: #fff;
  display: block;
}

.fv-box {
  width: 94.205vw;
  margin-inline: auto;
  background: #FFFFFF;
  border: 1.5vw solid #EFEFEF;
  padding: 5vw 0vw 5vw;
}
.fv-box .list {
  width: 79.713vw;
  margin-inline: auto;
  display: grid;
  gap: 4vw;
  position: relative;
  margin-bottom: 2vw;
}
.fv-box .list::after {
  content: "";
  position: absolute;
  bottom: -29.8vw;
  left: -3.7vw;
  width: 24.2vw;
  height: 26.6vw;
  background: url(../images/contact/fv-deco.png) no-repeat;
  background-size: contain;
}
.fv-box .list li {
  font-size:3.865vw;
  line-height: 1.75;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-bottom: 0.2vw dashed #8F8F8F;
  position: relative;
  padding: 0 0 3vw 5.2vw;
}
.fv-box .list li span {
  color: #D7000F;
}
.fv-box .list li::before {
  content: "";
  position: absolute;
  top: 2.2vw;
  left: 0vw;
  width: 4.4vw;
  height: 3.4vw;
  background: url(../images/contact/check-icon.svg) no-repeat;
  background-size: contain;
}
.fv-box .txt {
  font-weight: 500;
  font-size:3.865vw;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-align: right;
  color: #141414;
  margin: 0 5.4vw 0 0;
}

/* estimate
-------------------------------------*/
.estimate {
  padding: 0 0 14vw;
}
.estimate .inner {
  margin-inline: auto;
  position: relative;
  padding: 20.6vw 0 0;
}
.estimate .inner::after {
  content: "";
  position: absolute;
  top: 55vw;
  left: 3vw;
  width: 44.5vw;
  height: 19vw;
  background: url(../images/contact/estimate-en.svg) no-repeat;
  background-size: contain;
}
.estimate .inBox {
  background: url(../images/contact/estimate-bg_sp.jpg) no-repeat bottom 20vw center;
  background-size: contain;
  margin-bottom: 11vw;
}
.estimate h2 {
  font-size:8.696vw;
  line-height: 1.48;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 64.5vw;
  text-align: center;
}
.estimate h2 .small {
  font-size:4.831vw;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  margin-bottom: 3vw;
}
.estimate h2 .yellow-line {
  background: linear-gradient(transparent 55%, #FDF202 35%);
}
.estimate .txt {
  font-size:4.348vw;
  line-height: 1.7777;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-align: center;
}

.estimate .tel-box {
  width: 91.79vw;
  margin-inline: auto;
  text-align: center;
  border-bottom: 0.2vw solid #1C1C1C;
  padding-bottom: 2vw;
}
.estimate .tel-box .enttl {margin-bottom: 3.5vw;}
.estimate .tel-box .enttl img {width: 6vw;}
.estimate .tel-box .tel {
  font-weight: 700;
  font-size:4.348vw;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #141414;
  text-align: center;
  position: relative;
  display: inline-block;
  margin-bottom: 9.2vw;
}
.estimate .tel-box .tel::before,
.estimate .tel-box .tel::after {
  content: "";
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
}
.estimate .tel-box .tel::before {
  background: url(../images/contact/tel-line-l.svg)no-repeat;
  background-size: contain;
  width: 5.2vw;
  height: 5.1vw;
  left: -4vw;
}
.estimate .tel-box .tel::after {
  background: url(../images/contact/tel-line-r.svg)no-repeat;
  background-size: contain;
  width: 5.2vw;
  height: 5.1vw;
  right: -7vw;
}
.estimate .tel-box .num-frame {

}
.estimate .tel-box .num-frame .num {
  margin: 0 0 0 -2vw;
}
.estimate .open{
  font-weight: 500;
  font-size:3.865vw;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  padding: 4vw 2vw;
}

  /* form
  -------------------------------------*/
  #contact .form-Box {
    background: url(../images/contact/estimate-bg_sp.png) repeat;
    background-size: contain;
    margin-inline: auto;
    padding: 12.4vw 0 43vw;
  }
  #contact .formttl_en {text-align: center;margin-bottom: 3.7vw;}
  #contact .formttl_en img {
    width: 7.7vw;
  }
  #contact .formttl_ja {
    font-weight: bold;
    font-size:4.348vw;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    color: #141414;
    margin-bottom: 8vw;
  }
  #contact .form-Box .form-box-inner {
  width: min(95%, 91.79vw);
  padding: 6.7vw 4.4vw 9.67vw;
  }
  #contact .form-Box .list {
    font-size:3.382vw;
    font-weight: 400;
    line-height: 1.8571;
    letter-spacing: 0.05em;
    margin-bottom: 0vw;
    border-bottom: none;
  }

  #contact .wpcf7-checkbox .wpcf7-list-item{
    display: block;
  }

  #contact #form .confirm_button, #contact #form #back_button, input[type="submit"] {
    font-size:3.865vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 3.4vw 0;
    width: 77.3vw;
  }
  #contact input[type="submit"] {
    background: #D7000F;
  }
  #contact #form .confirm_button {
    background: #D7000F;
  }
  #contact #form .back_button {
    background: #1C1C1C;
    color: #FFFFFF;
    border: none;
  }
  #contact #form .send_button {
    background: #D7000F;
  }
  #contact #form #confirm_area p::after {right: 43px;}
  #contact #back_area {
    text-align: center;
  }
  /* #contact #form #back_area p::after {
    content: none;
  } */

  #contact .form-Box th {
    font-size: 14px;
    padding: 5.4vw 4.4vw 4vw;
    margin-bottom: 5.8vw;
  }
  #contact .form-Box td {
    font-size: 14px;
  }
  #contact .required p::after {
    right: -2vw;
  }
  #contact .form-Box input[type="text"],   #contact .form-Box input[type="email"], #contact .form-Box input[type="tel"], #contact .form-Box input[type="date"], #contact .form-Box input[type="datetime-local"], #contact .form-Box textarea {
    width: 72.5vw;
  }
  #contact td .input_area {
    text-align: center;
  }
  #contact td .input_area.checkbox,
  #contact td .input_area.radio {
    text-align: left;
  }
  #contact #form #confirm_area p::after {
    right: 4vw;
  }
}