@charset "utf-8";

html { scroll-behavior: auto;}

/*thanks*/

.contact.thanks{
  max-width: 1080px;
}

.thanks-box{
  box-shadow:0 3px 6px rgba(0,0,0,0.4);
  padding:4rem 5%;
  text-align:center;
}

.blue-tel{
  text-align:left;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.5rem;
  border:3px solid #243374;
  max-width:500px;
  margin:1.5rem auto 0;
  justify-content: center;
  font-size:clamp(1.5rem, 1.318rem + 0.61vw, 2rem);
  font-weight:bold;
  color:#243374;
}

.blue-tel:hover{
  color:#243374;
}

.blue-tel div p:last-child{
  font-size:clamp(0.875rem, 0.83rem + 0.15vw, 1rem);
  margin-top:4px;
  text-align:right;
}

.blue-tel img{
  width:3rem;
}

.thanks h2{
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
  margin:0 0 5rem;
  position: relative;
}

.thanks h2::before{
  content:"";
  position:absolute;
  width:50px;
  height:10px;
  background:#243374;
  bottom:-2rem;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}


.thanks .border-btn{
  margin:2.5rem auto 0;
}

@media screen and (max-width: 767px) {
.thanks-box {
    padding: 2rem 5%;
  }
  .thanks h2 {
    margin: 0 0 3rem;
  }
  .thanks h2::before {
    height: 8px;
    bottom: -1rem;
  }
}

strong{
  font-weight:bold;
}

/*contact*/

.contact{
  width:80%;
  margin:5rem auto 10rem;
  max-width:960px;
}

.contact-cta {
  font-weight:bold;
  margin-bottom:7.5rem;
}

.contact-cta > p{
  color: #243374;
  border: 2px solid;
  text-align: center;
  padding: 2px 0;
  font-size: clamp(0.875rem, 0.648rem + 0.76vw, 1.5rem);
}

.contact-cta > div{
  background:#243374;
  padding:1.5rem;
  display:flex;
  justify-content: center;
  gap:5rem;
}

.contact-cta > div a{
  display:flex;
  color:#fff;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

.contact-cta > div a:nth-child(n + 2){
  position:relative;
  font-size: clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
}

.contact-cta > div a:nth-child(n + 2)::before{
  position:absolute;
  content:"";
  width:1px;
  height:130%;
  background:#fff;
  top: 50%;
  left: -2.5rem;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.contact-cta > div a div p:last-child{
  font-size: clamp(0.75rem, 0.659rem + 0.3vw, 1rem);
  text-align: right;
  margin-top:4px;
}

.contact-cta > div img{
  width:3rem;
}

.owner-price-title + p{
  font-weight:bold;
}

.privacyBox {
  height: 180px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 5% ;
  border: 1px solid #898989;
  background-color: #FFFFFF;
  overflow-y: scroll;
  overflow-x: hidden;
}

.privacyBox a{
  color:#000 !important;
  font-weight:400;
  display:inline-block;
}

input,
textarea,
select{
  padding: 10px 1rem;
  width: 100%;
  border: none;
  background-color: #EEEEEE;
  color:#000;
  -webkit-appearance: none;
  appearance: none;
}

select {
  line-height: 2;
  box-shadow: none;
  padding-right:  24px ;
  background: #eee url(https://akagi-company.co.jp/system_panel/uploads/images/20250424123437282342.png) no-repeat right 5px top 55%;
  background-size: 20px 16px;
  cursor: pointer;
}

textarea{
  min-height:160px;
}

form{
  padding: 5rem 0 0rem;
}

form .row{
  border-bottom: 1px solid #000000;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

form .container{
  padding:0;
  width: 100% !important;
}


.formTh{
  font-weight: bold;
  font-size: clamp(0.875rem, 0.784rem + 0.3vw, 1.125rem);
  height: fit-content;
  padding-left: 1.5rem;
  position:relative;
}

.formTh::before{
  position: absolute;
  content: "";
  width: 8px;
  height: 26px;
  background: #243374;
  top: 2px;
  left: 0%;
}


form .policy{
  margin-top:1rem;
  font-weight:bold;
  display: flex;
  align-items: center;
  font-size:14px;
}

form label{
  margin:0;
}

form .policy input{
  width: 1.5rem;
  height: 1.5rem;
  appearance: auto;
  margin-right: 1rem;
}

form .policy label{
  margin: 0;
}
input[type=checkbox], input[type=radio]{
  appearance: auto;
}

form .row:has(.formBtnTd){
  width: fit-content;
  margin: 0 auto;
  border:none;
}

.formBtnTd{
          color: #000;
  margin: 3rem auto 0;
  width: 270px;
  position: relative;
  max-width: none;
  flex: auto;
  padding: 0;
  display: block;
  border:2px solid #000;
  text-align:center;
  font-weight:bold;
  z-index:0;
  transition:0.3s;
}

.formBtnTd::before{
  content:"";
  position:absolute;
  width:calc(100% - 1rem);
  height:calc(100% - 1rem);
  left:0.5rem;
  top:0.5rem;
  border:1px solid  #000;
  z-index:-1;
}


.formBtnTd button{
          color: #000;
  background:transparent;
  border:none;
  width:270px;
  padding:1.5rem;
}

.formBtnTd button:focus {
  outline: none;
}

.formBtnTd:hover{
  opacity:0.7;
}

.requiredText{
  color:#fff;
  background:#243374;
  margin-left: 0.5rem;
  padding:0px 8px;
  font-size: 14px;
}

.formError {
  margin-top: -40px !important;
}

@media screen and (max-width: 1280px) {
  .contact-cta > div img {
    width: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .contact {
    width: 90%;
  }
}


@media screen and (max-width: 767px) {
  .contact-cta {
    margin-bottom: 2.5rem;
  }
  .contact-cta > div{
    flex-direction: column;
    gap: 4px;
    align-items: center;
    background: none;
    padding:0;
  }
  .contact-cta > div a:last-child::before{
    display:none;
  }
  .contact-cta > div a{
    width: 100%;
    justify-content: center;
    background: #243374;
    height: 50px;
  }
  .formTh {
    text-align: left;
  }  
  .formTh::before {
    height: 24px;
    top: 0px;
  }
  .form{
    padding-top:3rem;
  }
  .contact{
    margin:2.5rem auto 5rem;
  }
  form .row{
    gap: 1rem;
  }
  .formBtnTd {
    margin: 2.5rem auto 0;
  }
  .formBtnTd button{
    padding: 16px;
  }
  input,
  textarea,
  select{
    padding: 10px 1rem;
  }
  .form-btn a {
    width: calc((100% - 1.5rem) / 2);
    padding: 10px;
  }
  .requiredText{
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1;
  }
}


/* Z-INDEX */
.formError { z-index: 990; }
.formError .formErrorContent { z-index: 991; }
.formError .formErrorArrow { z-index: 996; }

.ui-dialog .formError { z-index: 5000; }
.ui-dialog .formError .formErrorContent { z-index: 5001; }
.ui-dialog .formError .formErrorArrow { z-index: 5006; }




.inputContainer {
  position: relative;
  float: left;
}

.formError {
  position: absolute;
  top: 300px;
  left: 300px;
  display: block;
  cursor: pointer;
  text-align: left;
}

.formError.inline {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
}

.ajaxSubmit {
  padding: 20px;
  background: #55ea55;
  border: 1px solid #999;
  display: none;
}

.formError .formErrorContent {
  width: 100%;
  background: #ee0101;
  position:relative;
  color: #fff;
  min-width: 120px;
  font-size: 11px;
  border: 2px solid #ddd;
  box-shadow: 0 0 6px #000;
  -moz-box-shadow: 0 0 6px #000;
  -webkit-box-shadow: 0 0 6px #000;
  -o-box-shadow: 0 0 6px #000;
  padding: 4px 10px 4px 10px;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -o-border-radius: 6px;
}

.formError.inline .formErrorContent {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  border: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
}

.greenPopup .formErrorContent {
  background: #33be40;
}

.blackPopup .formErrorContent {
  background: #393939;
  color: #FFF;
}

.formError .formErrorArrow {
  width: 15px;
  margin: -2px 0 0 13px;
  position:relative;
}
body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
  margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  margin: 0px 0 0 12px;
  top:2px;
}

.formError .formErrorArrow div {
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  box-shadow: 0 2px 3px #444;
  -moz-box-shadow: 0 2px 3px #444;
  -webkit-box-shadow: 0 2px 3px #444;
  -o-box-shadow: 0 2px 3px #444;
  font-size: 0px;
  height: 1px;
  background: #ee0101;
  margin: 0 auto;
  line-height: 0;
  font-size: 0;
  display: block;
}

.formError .formErrorArrowBottom div {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
  background: #33be40;
}

.blackPopup .formErrorArrow div {
  background: #393939;
  color: #FFF;
}

.formError .formErrorArrow .line10 {
  width: 13px;
  border: none;
}

.formError .formErrorArrow .line9 {
  width: 11px;
  border: none;
}

.formError .formErrorArrow .line8 {
  width: 11px;
}

.formError .formErrorArrow .line7 {
  width: 9px;
}

.formError .formErrorArrow .line6 {
  width: 7px;
}

.formError .formErrorArrow .line5 {
  width: 5px;
}

.formError .formErrorArrow .line4 {
  width: 3px;
}

.formError .formErrorArrow .line3 {
  width: 1px;
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
  width: 3px;
  border: none;
  background: #ddd;
}

.formError .formErrorArrow .line1 {
  width: 1px;
  border: none;
  background: #ddd;
}