#page_customer .row {
  width: 800px;
  margin-bottom: 80px;
}

#page_customer h2 {
  padding-bottom: 5px;
  padding-left: 15px;
  font-size: 2rem;
  font-weight: normal;
  border-left: 10px solid #f9e55e;
}

#page_customer h3 {
  font-size: 1.8rem;
  font-weight: normal;
  color: #998e7a;
}

.customer_contents {
  margin: 0 20px;
}

#customer_kaiyaku ul {
  margin-left: 30px;
}

#customer_kaiyaku ul li {
  list-style: disc;
}

.customer_row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.customer_row2 div {
  width: 45%;
}

h3.border_gr {
  padding-bottom: 1.4rem;
  font-size: 1.8rem;
  color: #298556;
  border-bottom: 1px solid #b2d5c6;
}

#customer_contacthouse input,
#customer_contacthouse textarea,
#customer_contacthouse select {
  width: 100%;
  padding: 1rem;
}

#customer_contacthouse label {
  vertical-align: top;
}

#customer_contacthouse input[type="checkbox"],
#customer_contacthouse input[type="radio"] {
  width: auto;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: sub;
}

#customer_contacthouse textarea {
  height: 200px;
}

#customer_contacthouse table {
  width: 100%;
}

#customer_contacthouse table tr {
  border-bottom: 1px solid #ccc;
}

#customer_contacthouse table tr.no_border {
  border-bottom: none;
}

#customer_contacthouse table tr.no_border td {
  padding-bottom: 0;
}

#customer_contacthouse table td {
  padding: 1.5rem;
  font-size: 1.6rem;
}

#customer_contacthouse table td.item {
  width: 30%;
}

#customer_contacthouse table td.item span {
  float: right;
  padding: 0.2rem 0.6rem;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: #f9e55e;
  border-radius: 5px;
}

/* taikyo */
#customer_contacttaikyo input,
#customer_contacttaikyo textarea,
#customer_contacttaikyo select {
  width: 100%;
  padding: 1rem;
}

#customer_contacttaikyo label {
  vertical-align: top;
}

#customer_contacttaikyo input[type="checkbox"],
#customer_contacttaikyo input[type="radio"] {
  width: auto;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: sub;
}

#customer_contacttaikyo table tr {
  border-bottom: 1px solid #ccc;
}

#customer_contacttaikyo table tr.no_border {
  border-bottom: none;
}

#customer_contacttaikyo table tr.no_border td {
  padding-bottom: 0;
}

#customer_contacttaikyo table td {
  padding: 1.5rem;
  font-size: 1.6rem;
}

#customer_contacttaikyo table td.item {
  width: 40%;
}

#customer_contacttaikyo table td.item span {
  float: right;
  padding: 0.2rem 0.6rem;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: #f9e55e;
  border-radius: 5px;
}

#page_customer input#contact_cancel {
  display: inline-block;
  width: auto;
  padding: 18px 40px;
  margin: 0 5px 10px 5px;
  font-size: 1.6rem;
  color: #555;
  background-color: #fff;
  border: 2px solid #555;
  border-radius: 10px;
}

#page_customer input#contact_submit {
  display: inline-block;
  width: auto;
  padding: 20px 40px;
  margin: 0 5px 0 5px;
  font-size: 1.6rem;
  color: #fff;
  background-color: #298556;
  border: none;
  border-radius: 10px;
  transition: 0.4s;
}

#page_customer input#contact_cancel:hover,
#page_customer input#contact_submit:hover {
  opacity: 0.6;
}

#customer_kaiyakuhoho p {
  font-size: 1.4rem;
}

p.p_1remintdent {
  padding-left: 1.6rem;
  text-indent: -1.6rem;
}

p.pad_l1rem {
  padding-left: 1.6rem;
}

.contact_formleave_table {
  width: 100%;
}

.contact_formleave_table td.column1 {
  width: 100%;
}

.contact_formleave_table td.column2 {
  width: 50%;
}

.contact_formleave_table td textarea {
  height: 120px;
}

.contact_formleave_table td input[type="text"],
.contact_formleave_table td select,
.contact_formleave_table td textarea {
  margin-top: 5px;
}

.contact_formleave_table td.column2 input::placeholder {
  color: #ccc;
}

label.mr10 {
  margin-right: 1rem;
}

select.form-time {
  display: block;
}

#ui-datepicker-div {
  font-size: 1.6rem;
}


.table-default td {
  padding: 0.2rem;
}

a.link_normal {
  display: inline-block;
  padding: 20px 30px;
  font-size: 1.6rem;
  color: #fff;
  background-color: #298556;
  border-radius: 10px;
  transition: 0.4s;
}

a.link_normal:hover,
a.link_pdf:hover {
  text-decoration: none;
  opacity: 0.7;
}

a.link_pdf {
  display: inline-block;
  padding: 20px 30px 20px 60px;
  font-size: 1.6rem;
  color: #fff;
  background-color: #298556;
  background-image: url(../images/ico_pdf_w.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 25px;
  border-radius: 10px;
  transition: 0.4s;
}

a.link_border {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.6rem;
  color: #298556;
  border: 1px solid #298556;
}

a.link_border:hover {
  text-decoration: none;
}

@media screen and (max-width: 830px) {

  #page_customer .row,
  #page_customer #customer_contacthouse,
  #page_customer #customer_contacttaikyo {
    box-sizing: border-box;
    width: 96%;
    margin-right: 2%;
    margin-bottom: 0;
    margin-left: 2%;
  }
}

@media screen and (max-width: 620px) {
  .customer_row2 div {
    width: 100%;
  }

  #customer_contacthouse table td.item,
  #customer_contacthouse table td.text,
  #customer_contacttaikyo table td.item,
  #customer_contacttaikyo table td.text {
    float: left;
    width: 100%;
  }

  #customer_contacthouse table td.item,
  #customer_contacttaikyo table td.item {
    padding-bottom: 0;
  }

  #customer_contacthouse table td.text,
  #customer_contacttaikyo table td.text {
    padding-bottom: 20px;
  }

  .contact_formleave_table td.column2,
  .customer_contacttaikyo td.column2 {
    float: left;
    width: 100%;
  }
}