@charset "UTF-8";

#rule > .list {
  margin-bottom: 40px;
}

.required,
.n-required {
  background-color: #f74b4b;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin: 0 5px;
  padding: 0;
  text-align: center;
  line-height: 23px;
  width: 40px;
  border-radius: 5px;
}

.n-required {
    background-color: #aaa;
}

#contact {
  position: relative;
  margin-bottom: 80px;
}

#contact #intro {
  position: relative;
}

#contact #intro .txt-intro {
  text-align: center;
  font-size: 120%;
  margin-bottom: 60px;
}


.contact-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 60px;
}

.contact-list li.tel-blc {
  width: 50%;
}

.contact-list li.fax-blc {
  width: 50%;
}

.contact-list li.inquiry-blc {
  width: 100%;
  margin-bottom: 0;
}

.contact-list li {
  padding-left: 60px;
  margin-bottom: 20px;
  box-sizing: border-box;
  position: relative;
  padding-right: 50px;
}

.contact-list li::after {
  font-family: "Font Awesome 5 Free";
  content: '';
  color: var(--main-color);
  font-weight: 900;
  font-size: 40px;
  margin: auto 0;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.contact-list li.tel-blc::after {
  content: '\f3cd';
  left: 6px;
}

.contact-list li.fax-blc::after {
  content: '\f1ac';
}

.contact-list li.inquiry-blc::after {
  content: '\f658';
}

.contact-list li .ttl {
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.contact-list li.tel-blc .tel {
  display: inline-block;
  text-decoration: none;
  line-height: 1.8;
  font-size: 120%;
  color: #5cc2d0;
  font-weight: bold;
  color: inherit;
}

.contact-list li.fax-blc .fax {
  font-weight: bold;
  font-size: 120%;
}

@media screen and (max-width:767px) {
  .contact-list li.tel-blc {
    width: 100%;
  }

  .contact-list li.fax-blc {
    width: 100%;
  }

  .contact-list li {
    padding-right: 0;
  }
}

@media screen and (max-width:480px) {
  .contact-list li::after {
    font-size: 25px;
  }

  .contact-list li {
    padding-left: 40px;
  }

  .contact-list {
    margin-top: 1rem;
  }

  .contact-list li .txt {
    font-size: 3.5vw;
  }

  .contact-list li.tel-blc .tel {
    font-size: 110%;
  }

  .contact-list li.fax-blc .fax {
    font-size: 110%;
  }
}

/* focusAnimation ---------------------- */

.errorTxt {
  color: rgb(255, 0, 0);
}

.txt-red {
  color: #e60000;
  margin-bottom: 1rem;
}

.focusAnimation {
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid rgba(73, 60, 60, 0.2);
  box-shadow: 0px 0px 1px 1px rgb(255, 255, 255);
}

.focusAnimation:focus {
  border: 1px solid var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
  outline: medium none;
}

/* tbl-form ---------------------------*/

.tbl-form {
  margin-bottom: 2rem;
}

.tbl-form th, 
.tbl-form td {
  padding: 20px 30px;
  box-sizing: border-box;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e7e7e7;
}

.tbl-form th {
  width: 25%;
  font-weight: 600;
  color: #000;
}

.tbl-form td {
  width: 75%;
}

.tbl-form td label>input[type="radio"] {
  margin-right: 10px;
}

.tbl-form td label {
  margin-right: 20px;
}

.tbl-form td input[type="phone"] {
  width: 60px;
  margin-right: 10px;
}

.tbl-form td select {
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid rgba(73, 60, 60, 0.2);
  box-shadow: 0px 0px 1px 1px rgb(255 255 255);
  padding: 7px 8px;
}

.tbl-form td input[name="date1"] {
  width: 100px;
}

@media screen and (max-width:1000px) {
  .tbl-form th, .tbl-form td {
    width: 100%;
    display: block;
  }
  .tbl-form th {
    margin-bottom: 0;
    border-bottom: 0;
    padding: 1rem;
  }
  .tbl-form td {
    padding: .5rem 1rem 2rem;
    margin-bottom: 0;
  }
  .tbl-form {
    width: 100%;
    display: block;
  }
  .tbl-form tbody {
    width: 100%;
    display: block;
  }
  .tbl-form tr {
    width: 100%;
    display: block;
  }
}

@media screen and (max-width:767px) {
  .tbl-form {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width:480px) {
  .focusAnimation {
    width: 100%;
  }
  input[name="postcode"] {
    width: calc(100% - 24px);
  }
  .tbl-form td input[name="date1"] {
    width: 22vw !important;
  }
  .tbl-form td input[type="phone"] {
    width: 13vw;
    margin-right: 5px;
  }
}

/* #form ---------------------------*/
#form {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#form .required-blc {
  margin-bottom: 20px;
}

#form .rule-txt {
  margin-bottom: 40px;
  box-sizing: border-box;
}

.btn-blc {
  text-align: center;
}

.btn-blc input.btn {
  border: none;
  cursor: pointer;
}

.detail-blc>.txt-blc {
  text-align: center;
  margin-bottom: 2rem;
}

@media screen and (max-width:767px) {
  .btn-blc .btn.btn-narrow {
      max-width: 190px;
  }
  .rule-txt {
      margin-bottom: 20px;
  }
}

@media screen and (max-width:480px) {
  .btn-blc input.btn {
      width: 100% !important;
      max-width: 100% !important;
  }

  .btn-blc {
      max-width: 320px;
      margin: auto;
  }
}

.privacy-list {
  position: relative;
  margin-bottom: 60px;
}

.privacy-list > li {
  position: relative;
  margin-bottom: 30px;
}

.privacy-list > li > .ttl {
  position: relative;
  font-size: 120%;
  margin-bottom: 10px;
}

/* input size ---------------------------*/

.fullsize {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.middle {
  width: 80%;
  display: block;
  box-sizing: border-box;
}

.narrow {
  width: 300px;
  box-sizing: border-box;
}

.small {
  width: 120px;
  box-sizing: border-box;
}

@media screen and (max-width:480px) {
  .narrow {
      width: 100%;
  }
}

.form-submit {
  text-align: center;
}