@charset "utf-8";

.contact-con1{
    padding:0 10px;
    margin-bottom: 40px;
}
.contact-list{
	margin-bottom: 80px;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size:0.9rem;
}
.contact-list dt{
  width:30%;
  padding:0.5em 0;
  font-weight: 600;
  display: -webkit-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-list dt p{
	width:100%;
  display: -webkit-box;
  display: flex;
  justify-content: space-between;
  align-items: center;	
}
.contact-list dt span.required{
  display: inline-block;
  background:#414141;
  color:#fff;
  font-size:0.8em;
  padding:0 2em;
}
.contact-list dd{
  width:65%;
  padding:0.5em 0;
}
.contact-list dd p{
	text-align: left;
}
.contact-list label:has(input[type=radio]){
  display: inline-block;
  margin-right: 1em;
}
.contact-list label:has(select){
  display: inline-block;
  position: relative;
}
.contact-list label:has(select)::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  top: 0;
  width: 10px;
  height: 7px;
  margin: auto;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}
.contact-list .p-postal-code{
  width: 40%;
}
.contact-con1 div:has(input[type=submit]){
  margin-top: 80px;
  text-align: center;
}
.contact-con1 .error {
  color: red;
  font-size: 90%;
}
.contact-list a{
  color:#000000!important;
}
.contact-list input[type="text"], .contact-list input[type="tel"], .contact-list input[type="email"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 1.2em;
  border: solid 3px #ddd;
}
.contact-list input[type=radio]{
  margin-right: .25em;
  position: relative;
  bottom: .1em;
}
.contact-con1 input[type="submit"],.contact-con1 input[type="button"]{
  -webkit-appearance: none;
  appearance: none;
  background: #414141;
  color: #fff;
  border: solid 1px #414141;
  padding: 1em;
  display: inline-block;
  width: 30%;
  font-size: 13px;
  cursor: pointer;
}
.contact-con1 input[type="button"]{
  margin-right: 20px;
  background: #ddd;
  border: solid 1px #ddd;
  color: #414141;
}
.contact-list select {
  appearance: none;
  min-width: 230px;
  padding: 1em;
  border: solid 3px #ddd;
  border-radius: 3px;
  background-color: #fff;
  color: #333333;
  cursor: pointer;
}
.contact-list textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 1.3em;
  border: solid 3px #ddd;
}
.contact-head{
  margin-bottom: 10px;
  font-size: 130%;
  font-weight: bold;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  text-align: center;
}

.text-block p {
  margin: 0;
}

.bold {
  font-weight: bold;
  font-size: 1.3em;
}

.text-block h3 {
  margin-top: 2.0em;
  color: #c34343;
  font-weight: bold;
  font-size: 2.0em;
}

.box {
  padding: 30px;
  border: 2px solid #c34343;
}

@media screen and (min-width: 992px),
print {
    .contact-con1{
    padding:0 40px;
    margin:0 auto 80px;
        max-width: 1050px;
}
}
@media screen and (max-width:991px) {
  .contact-list dt {
    width: 100%;
    padding: 0.5em 0 0.3em;
  }
  .contact-list dd {
    width: 100%;
    padding: 0 0 0.5em 0;
  }
  .contact-list .p-postal-code{
    width: 60%;
  }
  .contact-con1 div:has(input[type=submit]){
    margin-top: 12vw;
    margin-bottom: 12vw;
  }
  .contact-list input[type="text"], .contact-list input[type="tel"], .contact-list input[type="email"],.contact-list textarea {
    font-size: 14px;
  }
  .contact-list select {
    font-size: 12px;
  }
  .contact-con1 input[type="submit"],.contact-con1 input[type="button"]{
    width: 100%;
    margin-bottom: 8vw;
    font-size: 14px;
  }
  .contact-con1 input[type="button"]{
    margin-right: 0;margin-bottom: 10px;
  }

  .bold {
  font-weight: bold;
  font-size: 1.2em;
}

  .text-block h3 {
  margin-top: 1.5em;
  color: #c34343;
  font-weight: bold;
  font-size: 1.5em;
}

.text-block {
  font-size: 0.8em;
}

}




