@charset "UTF-8";
/* CSS Document */

/* 共通設定
---------------------------------------------------------- */
/*div.form_wrapper * {
    margin: 0px;
    padding: 0px;
}*/

div.form_wrapper {
    color: #333;
    font-size: 12px;
    font-family: "Verdana", sans-serif ;
    line-height: 1.8;
    text-align: left;
}

/* 共通設定 END */


/* フォームレイアウト設定
---------------------------------------------------------- */

.upload_form {
}
.upload_form table{

}

.upload_form table th{
    text-align: left;
    padding: 5px;
}

.upload_form table td {
    padding: 5px;
}

.upload_form table td.form_required span {
    font-size: 90%;
    padding: 2px 3px;
    color: #fff;
    background-color: #f33;
    font-weight: bold;
    white-space: nowrap;
    word-wrap: break-word;
    word-break: break-all;
}

.upload_form label {
    white-space: nowrap;
    word-wrap: break-word;
    word-break: break-all;
}

.upload_form .submit_area {
    padding: 10px;
    text-align: center;
}

.upload_form #submit_btn{
    font-size: 105%;
    padding: 6px 16px;
}
/* フォームレイアウト設定 END */


/* フォーム要素設定
---------------------------------------------------------- */

.form_text {
}

.form_textarea {
}

.form_select {
}

.form_checkbox_label {
    padding-right: 5px;
}

.form_checkbox {
}

.form_radio_label {
    padding-right: 5px;
}

.form_radio {
}

.form_file {
}




/* フォーム要素設定 END */

/* プログレス設定
---------------------------------------------------------- */
#pgs_tbl{
    display:none;

}
.progress {
    width: 100%;
}

.pgs-title {
    margin: 0;
    padding: 4px 9px 0 5px;
}

.pgs-header {
    overflow: hidden;
    width: 100%;
}
.pgs-header p {
    font-size: 14px;
    max-height: 58.8px;
    line-height: 1.5;
    position: relative;
}
.pgs-header p:before, .pgs-header p:after {
    position: absolute;
}
.pgs-header p:before {
    content: "...";
    top: 39.2px;
    right: 1px;
    background-color: #fff;
}
.pgs-header p:after {
    content: "";
    height: 100%;
    width: 100%;
    background-color: #fff;
}


.progress .pgs-body {
    padding: 0px;
    position:relative;
    height:20px;
    width:100%;
}

.progress .pgs-body .pgs-bar{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ccc;
    height: 20px;
    width: 0px;
    float: left;
}

.progress .pgs-body .pgs-bar.complete{
    background-color: #cfc;
}

.progress .pgs-body .pgs-per{
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    height: 20px;
    width: 100%;
}

.progress .pgs-body .pgs-per.complete{
    color: #050;
}

/* プログレス設定 END */


/********************************************************************************************************/
/* 川端追加 */
.form-group {
    border-bottom: 1px dotted #ccc;

    padding: 10px;
    clear: both;
    overflow: auto;
}

.form-title {
    float: left;

    width: 30%;
    padding-right: 8px;
    font-weight: bold;
    box-sizing: border-box;
}

.form-item {
    float: left;

    width: 70%;
}

.label-required {
    font-size: 80%;

    color: rgb(187, 2, 2);
    display: inline-block;
}
/* if xs-size */
@media screen and (max-width: 767px){
    .form-group {
    }

    .form-title {
    clear: both;


    float: none;
    width: 100%;
    padding: 0 0 4px;
}

    .form-item {
    width: 100%;
    }

}

/**------------------------------
   Add
------------------------------**/
.form_table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 14px;
  font-size: 1rem;
}

.form_table tr {
}

.form_table th,
.form_table td {
  border: none;
  vertical-align: top;
  padding: 18px 16px;
}

.form_table th {
  width: 180px;
  font-size: 0.95em;
  font-weight: 700;
  color: #1f2933;
  letter-spacing: 0.02em;
}

.form_table .form_required {
  width: 64px;
  text-align: center;
}

.form_table .form_required span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
}

.form_table .form_item {
  width: auto;
}

.form_table input[type="text"],
.form_table textarea {
  width: 100% !important;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 1em;
  line-height: 1.6;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form_table input[type="text"]:focus,
.form_table textarea:focus {
  outline: none;
  border-color: #111827;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.form_table textarea {
  min-height: 180px;
  resize: vertical;
}

.form_table input[type="file"] {
  width: 100%;
  max-width: 420px;
  padding: 12px;
  border: 1px dashed #c7cdd6;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 0.95em;
}

.form_table label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95em;
  color: #374151;
  cursor: pointer;
}

.form_table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #111827;
}

.form_table .submit_area {
  text-align: center;
  padding-top: 28px;
}

.form_table .submit_area input[type="submit"] {
  min-width: 220px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.form_table .submit_area input[type="submit"]:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .form_table,
  .form_table tbody,
  .form_table tr,
  .form_table th,
  .form_table td {
    display: block;
    width: 100%;
  }

  .form_table {
    border-spacing: 0;
  }

  .form_table tr {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
  }

  .form_table th,
  .form_table td {
    padding: 0;
  }

  .form_table th {
    margin-bottom: 8px;
  }

  .form_table .form_required {
    margin-bottom: 10px;
    text-align: left;
  }

  .form_table input[type="text"],
  .form_table textarea,
  .form_table input[type="file"] {
    max-width: none;
  }
}