@charset "utf-8";
/*=====================================================
  css/contact/contact.css
  ------------------------
  contact/form.php
  contact/confirm.php
  contact/thanks.php
=====================================================*/

/* ----------------------------------------------------
  メイン
-----------------------------------------------------*/
.site_wrapper{
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh
}

.contact_box {
  max-width:880px;
  margin:60px auto 0;
  font-size: 16px;
}


/* ----------------------------------------------------
  フォームの進捗表示
-----------------------------------------------------*/
.step_ul {
  margin-bottom:35px;
  width: 100%;
  margin:60px auto 35px;
  list-style: none;
  display: flex;
  overflow: hidden;
}

.step_ul li {
  padding:1em 0 1em 3em;
  font-weight:bold;
  position: relative;
  width: 33%;
  height: 3.58em;
  background: #eee;
  color: #222;
  /* font-size: 1.2em; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.step_ul li:first-child{
  padding-left:0.5em;
}
.step_ul li:last-child:before,
.step_ul li:last-child:after{
  display:none;
}
.step_ul li:before,
.step_ul li:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3em 0 3em 2.3em;
  position: absolute;
  margin: auto;
}
.step_ul li:before {
  border-color: transparent transparent transparent  #fff;
  top: 0;
  right: -1.8em;
  bottom: 0;
  z-index: 10;
}
.step_ul li:after {
  border-color: transparent transparent transparent  #eee;
  top: 0;
  right: -1.5em;
  bottom: 0;
  z-index: 10;
}


@media screen and (max-width: 768px) {
  .step_ul li {
    /* padding:1.2% 0 1.2% 0%; */
    padding-left: 2em;
  }
}

@media screen and (max-width: 480px) {
  .step_ul li {
    font-size:100%;
  }
}

/* 該当フロー
 -------------------------*/
.step_ul li[aria-current="step"] {
  background: #0068b7;
  color:#fff;
}
.step_ul li[aria-current="step"]:after{
  border-color: transparent transparent transparent #0068b7;
}


/* 文字表示 */
.step_ul li span, .step_ul li strong{
  z-index: 11;
}


/* フォーム入力画面の説明文
 -------------------------*/
.step_ul + .defolt_font {
  margin-bottom:20px;
}


/* ----------------------------------------------------
  フォーム(基本)
-----------------------------------------------------*/

/* フォーム入力枠テーブル
 -------------------------*/
.table02 {
  width:100%;
  /* max-width:805px; */
  margin:0 auto 30px;
}

/* 項目エリア */
.table02 th {
  background:#00498C;
  border:1px #dddddd solid;
  color:#fff;
  font-weight:bold;
  padding:17px 0 17px 13px;
  position: relative;
  text-align:left;
  vertical-align:top;
  width: 230px;
}
.table02 th span.remark {
  font-size: 80%;
}

.table02 th .required,
.table02 th .optional{
  color: #fff;
  padding: 2px 7px;
  margin-left: 5px;
  position: absolute;
  right: 11px;
  top: 14px;
}
/* 必須 */
.table02 th .required{
  background-color: #c92f21;
}
/* 任意 */
.table02 th .optional{
  background-color: #F5F5F5;
  color: #000;
  padding: 1px 6px;
}

/* 入力エリア */
.table02 td {
  color:#000;
  border:1px solid #ddd;
  padding:2%;
  word-break: break-all;
}

.contact_box .table02 tbody td {
  padding-right:20px;
  padding-left:20px;
}

/* 入力例 */
.table02 td span {
  color:#424242;
  font-size:90%;
}

.table02 td ul.dot_list {
  list-style-type: disc;
  color:#424242;
  font-size: 90%;
}
.table02 td ul.dot_list li a{
  color: #005fb4;
  text-decoration: underline;
  transition: .2s;
}


/* フォーム入力欄
 -------------------------*/
input[type=text], select, textarea {
  box-sizing: border-box;
  font-size: 1em;
  display: block;
  padding: 0.75em;
  width: 100%;
  transition: 0.8s;
  border-radius: 0;
}

textarea {
  height:300px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "meiryo", sans-serif;
}
/*敷地料の時*/
textarea.comm_syubetu_2 {
  height: 550px;
}
@media screen and (max-width: 480px) {
  textarea.comm_syubetu_2 {
    height: 400px;
  }
}


input[type=text] {
  border:#cacaca 1px solid;
  margin-bottom:10px!important;
}
input[type=text] {
  /* padding:3px 0; */
}
input[type=radio],input[type=checkbox] {
  margin-right:5px;
  border:none;
  vertical-align: 0;
}
textarea {
  border:#cacaca 1px solid;
}
select{
  /* padding: 3px; */
}

/* チェックボックス枠 */
.check_div {
  width:100%;
}

/* .check_div ul li {
  float:left;
  width:64%;
  margin-right:2%;
} */

/* .check_div ul li.odd {
  width:35%;
} */

.check_syubetu{
  position: relative;
  padding: 0.5em 0 1.2em;
  font-weight: bold;
}

.check_syubetu:before{
  box-sizing: border-box;
  content: "";
  width: 22px;
  height: 22px;
  appearance: none;
  background: #3223B3;
  border: solid 2px #3223B3;
  border-radius: 4px;
  box-shadow: 0 0 0 0 transparent;
  display: inline-block;
  vertical-align: text-bottom;
  margin: 0 10px 0 0;
}
.check_syubetu:after {
  position: absolute;
  top: 1.1rem;
  left: 0.3rem;
  display: block;
  width: 16px;
  height: 16px;
  content: "";
  opacity: 1;
  background-image: url("../images/icon_checkbox.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.err_syubetu {
  color: #c92f21;
  font-weight: bold;
  font-size: 110%;
  margin: 0 0 15px;
}

/* お問い合わせ内容の用件選択 */
#choise_radio {
  display: flex;
  flex-wrap: wrap;
}
  #choise_radio li {
    width: 33%;
    margin-bottom: 0.5rem;
  }
/* #choise_radio li + li {
  margin-left: 20px;
} */
#choise_radio li label {
  display: flex;
  align-items: center;
}
#choise_radio li label input[type=radio]{
  margin: 0 5px 0 0;
}

@media screen and (max-width: 800px) {
  #choise_radio li {
    width: 50%;
  }
}

/* フォームボタン
 -------------------------*/
/* 送信ボタン */
.btn_01 {
  display: block;
  background: #455A64;
  color: #fff;
  text-align: center;
  border-radius: 25px;
  padding: 8px 10px;
  margin:0 auto 90px;
  width: 200px;
  cursor: pointer;
  transition: .3s;
  border: 2px solid #455A64;
  font-size: 100%;
}
.btn_01:hover{
  background: #fff;
  color: #222;
  text-decoration:none;
}
/* 問い合わせ項目選択解除時 */
#ifm fieldset[disabled] .btn_01{
  background: #ddd;
  border-color: #ddd;
  color: #999;
}
#ifm fieldset[disabled] .btn_01:hover{
  background: #ddd;
  cursor: not-allowed;
}

/* リセットボタン */
input.btn_reset {
    margin-right: 10px !important;
}

/* 確認画面のボタンエリア */
.contact_btn {
  width:80%;
  max-width:410px;
  margin:0 auto;
}

.contact_btn .btn_01 {
  float:left!important;
  max-width:224px!important;
}

.btn_01 + .btn_01 {
  margin-left:15px!important;
}


/* フォーム動的セレクタ
 -------------------------*/
.disabled {
  color: #cccccc;
}
/* #ifm .btn_01 {
  margin-bottom:45px;
}
 */
#ifm .btn_01:focus-visible {
/*   outline: 4px solid orange; */
  outline: 4px solid #f2694a;
}

.target_remark p {
  color:#424242;
  /* font-size:95%; */
}

.target_remark .dot_list{
  list-style-type: disc;
  color:#424242;
  margin-left: 1rem;
}
.target_remark .dot_list li {
  margin-left: 1rem;
}
.target_remark.target_remark_syubetu_1,
.target_remark.target_remark_syubetu_2,
.target_remark.target_remark_syubetu_4 {
  margin-bottom: 10px;
}

.target_remark.target_remark_syubetu_4 {
  color: #b71c1c;
  font-weight: bold;
}

/* 応募フォームの保有資格説明の調整 */
.th_remark {
  margin-top: 20px;
  word-break: keep-all;
}


@media screen and (max-width: 800px) {
  #mainColumn {
    margin:0!important;
  }

  .l-size {
    width:98%;
  }

  .formError .formErrorContent {
    width:100%;
    min-width:inherit;
    box-sizing:border-box;
    max-width:66%;
  }

  .table02 tbody td {
    padding:10px 1%;
  }

  .table02 th {
    min-width: 100%;
    padding-left:0!important;
  }

  .check_div ul {
    width:100%;
  }

  .check_div ul li {
    float:none;
    width:90%;
  }
  .check_div ul li.odd {
    width:90%;
  }
  .contact_box {
    margin:60px 2% 0;
  }

  .table02 th {
    padding-left:2%!important;
  }

  .table02 th ,
  .table02 tbody td {
    display:block!important;
  }
  .contact_btn{

  }
  form#bfm{
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  form#nfm{
    width: 200px;
    margin: 0 auto;
  }
  /* .check_syubetu:after{
    top: 1.7rem;
    left: 0.18rem;
  } */
  .btn_01 {
    margin-bottom: 30px;
  }
  input.btn_reset {
    margin-right: 0px !important;
  }
}


/* ----------------------------------------------------
  確認画面
-----------------------------------------------------*/
/* 送信ボタンクリック後の処理用 */
.clicked {
  border: 1px solid #ccc;
  text-align: center;
  font-size: 120%;
  padding: 15px 0;
  background: #005df8;
  color: #fff;
  margin-bottom: 90px;
}


/* ----------------------------------------------------
  送信完了
 -----------------------------------------------------*/
h3.title_h3 {
  margin-bottom:38px!important;
}
.thanks_title{
  text-align: center;
  font-size: 1.8rem;
}
.thanks_text{
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 130px;
}








