@charset "UTF-8";

:root{
  --grayColor: #eae8e8;
  --lightgrayColor: #f5f5f5;
  --bdColor: #c3c3c3;
  --redColor: #ea0f0f;
  --blueColor: #011287;
  --blue2Color: #4a5dff;
}

* {
  box-sizing: border-box;
}

body{
  line-height: 1.5;
}

.form_container{
  max-width: 980px;
  margin-right:auto;
  margin-left:auto;
  padding-left:15px;
  padding-right:15px;
}

@media (min-width:768px){
  .container{
    width:750px;
  }
}

@media (min-width:992px){
  .container{
    width:970px;
  }
}

@media (min-width:1200px){
  .container{
    width:1170px
  }
}

dl,ol,ul{
  margin: 0;
  padding: 0;
}


/* お問い合わせ入力画面・確認画面・完了画面 */
.form_container .row{
  display: block;
  margin-right: 0;
  margin-left: 0;
}

#page2{
  margin: clamp(24px, calc(64 / 1200 * 100vw), 64px) auto 40px;
}

#page2 a{
  color: var(--blue2Color);
  text-decoration: underline;
}

.ColorRed{
  color: var(--redColor);
}

.attention-icon{
  width: 49px;
}

.form_area{
  padding-bottom: clamp(48px, calc(64 / 1200 * 100vw), 64px);
}

.form_area a{
  color: var(--blue2Color);
  text-decoration: underline;
}

h1.PositionTitle{
  font-size: 1.8rem;
  line-height: 1.3;
  padding: 8px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#input-desc{
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="file"],
input[type="url"],
input[type="password"],
textarea,
select{
  width: 100%;
  max-width: 100%;
  font-size: 16px;
  margin: 0;
  padding: 14px;
  border: solid 1px var(--bdColor);
  border-radius: 4px;
}

input[type="radio"]{
  margin: 0 0.25rem 0 0;
}

input[type="file"]{
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5rem;
}

input:read-only{
  background: var(--lightgrayColor);
}

input.custom_cal{
  max-width: 400px;
  background: unset;
}

.form_item--icon{
  position: relative;
  width: fit-content;
}

.form_item--icon::after{
  position: absolute;
  content: '';
  top: 14px;
  right: 10px;
  width: 1.3em;
  height: 1.3em;
  background-image :url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNjQwIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIHY3LjIuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIENvcHlyaWdodCAyMDI2IEZvbnRpY29ucywgSW5jLi0tPjxwYXRoIGQ9Ik0yMTYgNjRDMjI5LjMgNjQgMjQwIDc0LjcgMjQwIDg4TDI0MCAxMjhMNDAwIDEyOEw0MDAgODhDNDAwIDc0LjcgNDEwLjcgNjQgNDI0IDY0QzQzNy4zIDY0IDQ0OCA3NC43IDQ0OCA4OEw0NDggMTI4TDQ4MCAxMjhDNTE1LjMgMTI4IDU0NCAxNTYuNyA1NDQgMTkyTDU0NCA0ODBDNTQ0IDUxNS4zIDUxNS4zIDU0NCA0ODAgNTQ0TDE2MCA1NDRDMTI0LjcgNTQ0IDk2IDUxNS4zIDk2IDQ4MEw5NiAxOTJDOTYgMTU2LjcgMTI0LjcgMTI4IDE2MCAxMjhMMTkyIDEyOEwxOTIgODhDMTkyIDc0LjcgMjAyLjcgNjQgMjE2IDY0ek0yMTYgMTc2TDE2MCAxNzZDMTUxLjIgMTc2IDE0NCAxODMuMiAxNDQgMTkyTDE0NCAyNDBMNDk2IDI0MEw0OTYgMTkyQzQ5NiAxODMuMiA0ODguOCAxNzYgNDgwIDE3NkwyMTYgMTc2ek0xNDQgMjg4TDE0NCA0ODBDMTQ0IDQ4OC44IDE1MS4yIDQ5NiAxNjAgNDk2TDQ4MCA0OTZDNDg4LjggNDk2IDQ5NiA0ODguOCA0OTYgNDgwTDQ5NiAyODhMMTQ0IDI4OHoiLz48L3N2Zz4=');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

textarea{
  line-height: 1.6;
  height: calc(6em * 1.6);
  margin-top: 1rem!important;
}


label,
.label{
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}

.req{
  display: inline-block;
  white-space: nowrap;
  font-size: 0.7rem;
  line-height: 1;
  color: #fff;
  background: var(--redColor);
  padding: 5px 6px;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.form_tb{
  width: 100%;
  table-layout: fixed;
}

.form_tb * {
  box-sizing: border-box;
}

.form_tb tr{
  width: 100%;
  box-sizing: border-box;
}

.form_tb th,
.form_tb td{
  font-size: 16px;
  padding: 1.5rem 1.25rem;
  border-bottom: solid 1px var(--bdColor);
}

.form_tb tr.first_tr th,
.form_tb tr.first_tr td{
  border-top: solid 1px var(--bdColor);
}

.form_tb th{
  text-align: left;
  background: var(--grayColor);
  width: clamp(250px, calc(280 / 1200 * 100vw), 280px);
}

.form_tb td{
  width: calc(100% - clamp(250px, calc(280 / 1200 * 100vw), 280px));
}

.form_tb .form_item + .form_item{
  margin-top: 1.5rem;
}

.form_tb .form_item + .form_item.hide{
  margin-top: 0;
}

.form_tb .select{
  width: fit-content;
}

.form_tb input#username,
.form_tb input#client{
  width: fit-content;
  min-width: 24rem;
}

.form_tb input#tel,
.form_tb input#case_no,
.form_tb input#core_area,
.form_tb input#branch,
.form_tb input#date_request,
.form_tb input[type="date"],
.form_tb input[type="password"]{
  width: fit-content;
  min-width: 18rem;
}

.form_tb input.js-error{
  background: #fee2e2;
}

.form_tb .form_item p,
.form_tb .note p{
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
  padding: 0;
}

.form_tb .form_item p.text_indent,
.form_tb .form_item span.text_indent{
  padding-left: 1em;
  text-indent: -1em;
}

.form_tb .form_item span.ColorRed{
  display: inline-block;
}

.form_tb .form_item p.mb16{
  margin-bottom: 1em;
}

.form_tb .form_item a.link_red{
  color:#ea0f0f!important;
}

.form_tb .form_item .form_list_unit{
  font-size: 0.85rem;
  padding: 0.5em 1.5em 1em;
  margin-top: 1em;
  background: var(--lightgrayColor);
}

.form_tb .form_item .note{
  font-size: 0.98rem;
  padding: 1em 1.5em;
  background: #fdfcea;
  border: solid 2px #ea0f0f;
  margin-top: 1rem;
}

.form_tb .form_item ul.form_list{
  font-size: 0.85rem;
  list-style: disc;
  margin: 1em 0 0 2em;
}

.form_tb td .ttl{
  margin: 0 0 0.5rem;
}

.form_tb .radio_item .wpcf7-radio{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.confirm_upload_file01,
.confirm_upload_file02,
.confirm_upload_file03{
  display: block;
}

.confirm_announcements{
  white-space: pre-wrap;
}

.btn_wrap{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
}

.submit_btn{
  margin: 2rem auto 0;
  text-align: center;
  max-width: 270px;
}

.btn_wrap .submit_btn{
  width: calc(50% - 1rem);
}

.submit_btn input[type="submit"],
.submit_btn input[type="button"]{
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  background: var(--blueColor);
  border: solid 2px var(--blueColor);
  border-radius: 4px;
  cursor: pointer;
  padding: 1rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.submit_btn.back .back_button{
  color: var(--blueColor);
  background: #fff;
}
.submit_btn input[type="submit"]:disabled,
.submit_btn input[type="button"]:disabled{
  color: #a8a8a8;
  background: #eee;
  border-color: #eee;
}

#info-area{
  display: none;
  background: #fdfcea;
  border: solid 2px var(--redColor);
  padding: 8px 12px;
  font-size: 1em;
  font-weight: 400;
  margin-top: clamp(24px, calc(56 / 1200 * 100vw), 56px);
}

#info-area.is-active{
  display: block;
}

#info-area p{
  font-size: inherit;
}

#info-area p .red{
  color: var(--redColor);
}

#info-area p strong{
  font-weight: 700;
}

#info-area p + p{
  margin-top: 1em;
}

.form-agree{
  margin-top: clamp(40px, calc(64 / 1200 * 100vw), 64px);
}

.form-agree__title{
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75em;
}

.form-agree__box{
  height: 200px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #ccc;
  background-color: var(--lightgrayColor);
  line-height: 1.6;
}

.form-agree__box p + p{
  margin-top: 1.5em;
}

.form-agree__box p strong{
  font-weight: 700;
}
.form-agree__box p strong::before{
  content: '■';
}

.agree_chk{
  text-align: center;
  margin-top: 1.5em;
}

.agree_chk label{
  column-gap: 6px;
}


@media screen and (max-width: 767px){
  h1.PositionTitle{
    font-size: 1.6rem;
  }

  .form_tb th,
  .form_tb td{
    display: block;
    width: 100%;
    padding: 1rem 0.5rem;
    border-top: solid 1px var(--bdColor);
    border-bottom: none;
  }

  .form_tb .radio_item .wpcf7-radio{
    grid-template-columns: unset;
  }

  .form_tb .select,
  .form_tb input,
  .form_tb{
    max-width: unset!important;
    width: 100%!important;
    min-width: unset!important;
  }
}

.thanks_tb{
  text-align: center;
  margin-top: clamp(24px, calc(32 / 1200 * 100vw), 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 450px;
}

#confirm-desc h2,
.thanks_tb h2{
  font-size: 1.5rem;
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.thanks_tb p{
  text-align: center;
}

.thanks_tb p + p{
  margin-top: 1.5em;
}

.thanks_tb .submit_btn{
  margin-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
}

@media screen and (max-width: 767px){

  #confirm-desc h2,
  .thanks_tb h2{
    font-size: 1.4rem;
  }
}



/*確認画面を非表示*/
.confirm_area{
    display: none;
}

#confirm-desc{
  display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output{
    display: none;
}



/* カレンダー土曜 */
.flatpickr-day.sat {
  color: rgb(0 0 255 / .3);
}

/* カレンダー日曜・祝日 */
.flatpickr-day.sun {
  color: rgb(255 0 0 / .3);
}