@charset "UTF-8";

:root{
  --grayColor: #eae8e8;
  --bdColor: #c3c3c3;
  --redColor: #ea0f0f;
  --blueColor: #011287;
}

* {
  box-sizing: border-box;
}

.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;
}

/* ヘッダー */
#global-header p.logo{
  font-weight: 700;
  line-height: 28px;
  height: 28px;
  margin-bottom: 10px;
}

#global-header p.logo small{
  vertical-align: middle;
  font-size: 12px;
  color: #fff;
}

#global-header .gbl-right-nav a{
  background-image: url(../img/common/arrow-right.png);
  background-position: 0 5px;
}

#global-header ol,
#global-header ul,
#global-header li{
  margin: 0;
}

@media (max-width: 767px){
  #global-header.gbl-open p.logo{
    height: auto;
    display: block;
  }

  #global-header p.logo{
    display: none;
    height: 0;
    text-align: center;
    padding-top: 25px;
    margin-bottom: 0;
  }

  #global-header p.logo small{
    position: relative;
    top: -52px;
    left: -28px;
    display: block;
  }
}

/* フッター */
#global-footer .gbl-copyright{
  font-size: unset;
}

@media screen and (min-width: 992px){

  #global-footer .gbl-footer-bg{
    height: 70px;
  }
}

@media screen and (min-width: 841px) and (max-width: 991px){

  #global-footer .gbl-footer-bg{
    height: 55px;
  }
}


/* お問い合わせ入力画面・確認画面・完了画面 */
.form_container .row{
  display: block;
  margin-right: 0;
  margin-left: 0;
}

#page{
  margin: 16px auto 40px;
}

#page a{
  color: #000;
  text-decoration: underline;
}

.ColorRed{
  color: var(--redColor);
}

.form_area{
  padding-bottom: clamp(48px, calc(64 / 1200 * 100vw), 64px);
}

.form_area a{
  color: #000!important;
  text-decoration: underline!important;
}

h1.PositionTitle{
  font-size: 1.8rem;
  line-height: 1.6;
  padding: 8px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select{
  width: 100%;
  font-size: 16px;
  margin: 0;
  padding: clamp(10px, calc(14 / 1200 * 100vw), 14px);
  border: solid 1px var(--bdColor);
  border-radius: 4px;
}

input[type="radio"]{
  margin: 0 0.25rem 0 0;
}

input[type="file"]{
  margin-bottom: 0.5rem;
}

textarea{
  line-height: 1.6;
  height: calc(12em * 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%;
}

.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#company_name{
  width: fit-content;
  min-width: 24rem;
}

.form_tb input#username{
  width: fit-content;
  min-width: 24rem;
}

.form_tb input#tel{
  width: fit-content;
  min-width: 18rem;
}

.form_tb .form_item p{
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
  padding: 0;
}

.form_tb .form_item p.text_indent{
  padding-left: 1em;
  text-indent: -1em;
}

.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: #f6f6f6;
}

.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;
}


.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;
}


@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#company_name,
  .form_tb input#username,
  .form_tb input#tel{
    width: 100%;
    min-width: unset;
  }
}


.thanks_tb{
  text-align: center;
}

#confirm-desc h2,
.thanks_tb h2{
  font-size: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.thanks_tb .link_top{
  margin-top: 3rem;
}

@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;
}