@charset "UTF-8";

/*** 共通 ******************************************/
.formHPV {
  display: none;
}

.err_list li,
.errMsg {
  color: #ff0000;
  line-height: 2rem;
}

.errItem input,
.errItem textarea {
  background-color: #DBF0FF;
}

.contactBox,
dl.mailform input,
dl.mailform textarea,
input[type="submit"] {
  font-family: "NotoSansJP", "ヒラギノ角ゴ ProN", "Arial", "メイリオ", sans-serif;
}

.contactBox {
  width: 100%;
}

.contactBox h3 {
  color: #0676C3;
  padding: 0 0 10px 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.contactBox p {
  font-size: 0.9rem;
  line-height: 1.6rem;
  font-weight: 500;
}

.form-txarea {
  width: 100%;
  margin-top: 10px;
}


.red {
  color: #f00;
  padding: 0 0 5px 5px;
  font-weight: 800;
  font-size: 1.4rem;
}

.red02 {
  color: #f00;
  padding: 0 0 5px 5px;
  font-weight: 800;
}

.red03 {
  color: #f00;
}

ul li {
  list-style: none;
}

.contactBox .err_tx ul.error_list {
  display: inline-block;
}

.contactBox .err_tx ul.error_list li {
  margin: 10px 0;
  padding: 5px 10px;
  list-style: none;
  font-weight: normal;
  text-align: left;
  border-radius: 5px;
  width: 100%;

  color: #0676C3;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  border: 1px solid #0676C3;
}

dl.mailform {
  width: 100%;
  margin-top: 20px;
}

dl.mailform dt {
  font-weight: 800;
  margin: 20px 0 0 0;
  border-left: 5px solid #5CB5F2;
  padding: 0 10px 5px 14px;
  font-size: 1rem;
  line-height: 1.2;
  color: #0676C3;
}

dl.mailform dd {
  font-weight: normal;
}

dl.mailform dd ul.list-check,
#privacy ul {
  text-align: left;
  margin: 0 20px 0 0;
  padding: 0;
  vertical-align: middle;
  display: inline-block;
}

dl.mailform textarea {
  border: solid 1px #5CB5F2;
  border-radius: 5px;
}

dl.mailform textarea.msgtx {
  height: auto;
}

dl.mailform dd span {
  font-weight: normal;
}

dl.mailform dd.qbg01 {
  border-bottom: 1px solid #5CB5F2;
  padding: 0 0 5px 0;
  margin: 10px 10px 40px 0;
}


dl.mailform dd a {
  color: #000;
  text-decoration: none;
}


input {
  position: relative;
  vertical-align: middle;
  padding: 8px;
  border: solid 1px #5CB5F2;
  border-radius: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  border: solid 1px #5CB5F2;
}

input[type="checkbox"] {
  text-align: left;
  margin: 0 10px 0 0;
}

ul li label input {
  margin-right: 5px;
}


ul.btn_submit {
  text-align: center;
  margin: 0 auto;
  padding: 30px 0;
  width: 100%;
  display: inline-block;
  align-items: center;
}

.submit_btn,
.submit_btn02 {
  text-align: center;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 20px;
}

.submit_btn {
  background-color: #f51a65;
  border: none;
  color: #fff;
  margin: 0 auto;
}

.submit_btn:hover {
  background-color: #fdc7da !important;
  color: #fff;
}

.submit_btn02 {
  background-color: #fff;
  color: #f51a65;
  border: solid 2px #f51a65;
  margin: 30px 0 0 0;
}

.submit_btn02:hover {
  background-color: #fdc7da !important;
  color: #f51a65;
}

.agree-area ul li {
  margin-bottom: 20px;
}

.contactBox ol {
  margin: 20px 0 0 0;
  padding: 0 0 0 20px;
}

.contactBox a {
  color: #0676C3;
  text-decoration: underline;
  margin-top: 20px;
}

.contactBox a:hover {
  color: #0676C3;
  text-decoration: none;
}

.toplink {
  text-align: right;
}

.privacy-area {
  padding: 5px 40px 40px 40px;
  border-top: 1px solid #c5e4fa;
  border-left: 1px solid #c5e4fa;
  border-bottom: 1px solid #c5e4fa;
  margin: 20px 0 30px 0;
}

.privacy-area ol li {
  list-style: disc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.privacy-area h3 {
  color: #0676C3;
  padding: 20px 0 0 0;
  font-size: 1rem;
}

.privacy-area p {
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: normal;
}

.simplebar-scrollbar::before {
  background-color: #0676C3 !important;
}

.simplebar-track.simplebar-vertical {
  width: 15px;
}

.simplebar-track {
  background: #DBF0FF;
  width: 6px;
}

.simplebar-scrollbar {
  background: #0676C3;
  top: 0;
  right: 2px;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

.selectWrap {
  position: relative;
  height: auto;
}

.selectWrap::after {
  content: "";
  position: absolute;
  right: 12px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top: 10px solid #5CB5F2;
  border-bottom: 0;
  pointer-events: none;
}

select.selectlist {
  height: auto;
  border: 1px solid #5CB5F2;
  border-radius: 5px;
  background-color: #fff;
  color: #000000;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 2.6rem;
}


/*** PC：1050px以上 ***************************/
@media all and (min-width:1050px),
print {

  .pagetop {
    text-align: right;
    z-index: 100;
    position: fixed;
    bottom: 86px !important;
    right: 20px;
  }

  .contactBox {
    margin: 0 0 40px 0;
    padding: 20px 0 0 0;
  }

  .contact_area {
    width: 100%;
    margin: 0;
    padding: 0;
  }



  dl.mailform {
    display: grid;
    grid-template-columns: 32% 1fr;
    gap: 20px;
    font-weight: 500;
    margin: 20px 0;
    font-size: 1rem;
    line-height: 2;
    align-items: flex-start;
  }

  dl.mailform>* {
    box-sizing: border-box;
    padding: 5px;
  }

  dl.mailform dd {
    width: 100%;
    max-height: 100%;
    padding: 15px 10px 30px 10px;
    margin: 0;
  }

  dl.mailform textarea.msgtx {
    font-size: 1rem;
    line-height: 1.6;
    width: 90%;
    padding: 8px;
  }

  input {
    line-height: 1.2rem;
    font-size: 1rem;
  }

  input[type="text"].name {
    width: 50%;
  }

  input[type="text"].kana {
    width: 50%;
  }

  input[type="tel"] {
    width: 30%;
  }

  input[type="email"] {
    width: 70%;
  }


  select.selectlist,
  .selectWrap {
    width: 300px;
  }

  select.selectlist {
    padding: 10px;
  }

  .selectWrap::after {
    top: 21px;
  }

  .submit_btn {
    width: 40%;
    font-size: 1.6rem;
    padding: 20px;
  }

  .submit_btn02 {
    width: 40%;
    font-size: 1.6rem;
    padding: 20px;
  }

  .agree-area ul li {
    margin-bottom: 10px;
  }

  .privacy-area {
    width: 90%;
    height: 250px;
  }
}


/*** タブレット：600px～1049px ************************/
@media screen and (min-width:600px) and (max-width:1049px) {

  .pagetop {
    display: none !important;
  }

  .contactBox {
    margin: 0 auto 40px;
    padding: 20px 0 0 0;
    width: 90%;
  }


  dl.mailform dd {
    width: 100%;
    padding: 15px 10px 20px 0;
  }

  dl.mailform p {
    line-height: 2rem;
    padding-bottom: 5px;
  }

  input {
    font-size: 1rem;
    line-height: 1.6;
  }

  input[type="email"] {
    width: 60%;
  }

  input[type="text"].name {
    width: 60%;
  }

  input[type="text"].kana {
    width: 60%;
  }

  input[type="tel"] {
    width: 40%;
  }

  dl.mailform textarea.msgtx {
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    padding: 8px;
  }

  .privacy-area {
    width: 100%;
    height: 250px;
  }


  select.selectlist,
  .selectWrap {
    width: 320px;
  }

  select.selectlist {
    padding: 15px;
  }

  .selectWrap::after {
    top: 22px;
  }

  .submit_btn {
    width: 60%;
    font-size: 1.6rem;
    padding: 16px;
  }

  .submit_btn02 {
    width: 60%;
    font-size: 1.6rem;
    padding: 16px;
  }


}


/*** スマホ：599px以下 ***************************/
@media screen and (max-width:599px) {

  .pagetop {
    display: none !important;
  }

  .contactBox {
    margin: 0 auto 50px;
    padding: 0;
    width: 96%;
  }



  dl.mailform {
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    font-size: 1rem;
    line-height: 1.2;
  }

  dl.mailform dd {
    width: 100%;
    padding: 0;
    margin: 10px 0;
    padding-bottom: 20px;
  }

  dl.mailform textarea.msgtx {
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    padding: 8px;
  }

  input {
    font-size: 1rem;
    line-height: 1.6;
  }

  input[type="text"],
  input[type="email"],
  textarea,
  input[type="text"].name,
  input[type="text"].kana {
    width: 98%;
  }

  input[type="tel"].tel {
    width: 60%;
  }

  .privacy-area {
    width: 100%;
    height: 200px;
    padding: 0 20px 20px 20px;
    margin: 20px 0 30px 0;
    font-weight: 1.5rem;
    line-height: 2.6rem;
  }

  .privacy-area h3 {
    font-size: 1rem;
  }

  .privacy-area p {
    line-height: 1.6;
  }

  .grecaptcha-badge {
    bottom: 40px !important;
    z-index: 100;
  }

  .submit_btn {
    width: 90%;
    font-size: 1.2rem;
    padding: 10px;
  }

  .submit_btn02 {
    width: 90%;
    font-size: 1.2rem;
    padding: 10px;
  }

}