/* user info */
.user-info__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.user-info__wrap .name__wrap {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-weight: bold;
}

.user-info__wrap .name__wrap img {
  margin-bottom: 3px;
}

.user-info__wrap .name__wrap span {
  font-size: 1.4rem;
  color: #999999;
  font-weight: normal;
}

.user-info__wrap .time__wrap p {
  font-size: 1.4rem;
}

/* カテゴリートップ */
.account-category__wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2%;
  row-gap: 25px;
}

.account-category__wrap form {
  width: 32%;
  display: flex;
}

.account-category__wrap button {
  text-decoration: none;
  transition: 0.2s;
  width: 100%;
  display: flex;
}

.account-category__wrap .con {
  width: 100%;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid var(--gray);
  display: flex;
  align-items: center;
  padding: 8%;
  column-gap: 5%;
}

.account-category__wrap .con img {
  width: 33%;
  max-width: 100px;
}

.account-category__wrap .con .text__wrap {
  width: 62%;
  text-align: left;
}

.account-category__wrap .con .text__wrap h3 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
}

.account-category__wrap .con .text__wrap p {
  font-size: 1.4rem;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .account-category__wrap {
    flex-direction: column;
  }

  .account-category__wrap form {
    width: 100%;
  }

  .account-category__wrap .con {
    padding: 20px 20px 20px 15px;
    width: 100%;
    justify-content: start;
  }
}

/* 文書ファイル申請STEP */
.account-step__wrap {
  margin-top: 80px;
}

.account-step__wrap h2 {
  color: var(--main-color);
  margin-bottom: 30px;
}

.account-step__wrap p.sub-text {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.account-step__wrap .step-con__wrap {
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid var(--gray);
  display: flex;
  padding: 4% 2%;
}

.account-step__wrap .step-con__wrap .con {
  width: 33.3333%;
  border-right: 1px solid var(--gray);
  padding: 0 2%;
}

.account-step__wrap .step-con__wrap .con:last-child {
  border-right: none;
}

.account-step__wrap .step-con__wrap .con p.ttl {
  color: var(--main-color);
  margin-bottom: 5px;
}

.account-step__wrap .step-con__wrap .con h3 {
  margin-bottom: 20px;
  line-height: 1.6;
}

.account-step__wrap .step-con__wrap .con p.text {
  line-height: 1.8;
  font-size: 1.5rem;
}

.account-step__wrap .step-con__wrap .con a {
  display: flex;
  align-items: center;
  margin-top: 50px;
  column-gap: 10px;
  font-weight: bold;
  color: var(--main-color);
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .account-step__wrap .step-con__wrap {
    flex-direction: column;
    padding: 10px;
  }

  .account-step__wrap .step-con__wrap .con {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray);
    padding: 30px 20px;
  }

  .account-step__wrap .step-con__wrap .con:last-child {
    border-bottom: none;
  }
}

.back-btn__wrap {
  margin-top: 50px;
}

.back-btn__wrap button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  background-color: #d1d1d1;
  font-size: 1.3rem;
  font-weight: bold;
  min-width: 100px;
  padding: 9px 10px 9px 10px;
  border-radius: 40px;
}

.back-btn__wrap button span.icon {
  background: var(--font-color);
  display: inline-block;
  margin-right: 8px;
  height: calc(tan(60deg) * 12px / 2);
  width: 8px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* input部品の初期化 */
form input[type="text"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid var(--gray);
}

form input[type="text"]:focus {
  box-shadow: none;
  outline: none;
}

form input[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

form select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid var(--gray);
}

form select:focus {
  box-shadow: none;
  outline: none;
}

/* ここまで */

.bg-white {
  background-color: #fff !important;
}

/* 検索ボックス */
.search__wrap {
  padding: 30px 20px;
  background-color: #f4f9fd;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  column-gap: 40px;
  row-gap: 20px;
}

.search__wrap .con.con01 {
  width: 100%;
  max-width: 775px;
}

.search__wrap .con.con02,
.search__wrap .con.con04 {
  width: 100%;
  max-width: 160px;
}

.search__wrap .con.con03,
.search__wrap .con.con05 {
  width: 100%;
  max-width: 280px;
}

.search__wrap .con.con07 {
  width: 100%;
}

.search__wrap .con .date__wrap {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.search__wrap .con .date__wrap input[type="text"] {
  max-width: 100px;
}

.search__wrap .con .date__wrap span {
  font-size: clamp(1.4rem, 1.5vw, 1.5rem);
}

.search__wrap .con p {
  font-size: clamp(1.4rem, 1.5vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 5px;
}

.search__wrap .con input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  font-size: 1.5rem;
}

.search__wrap .con .select__wrap {
  position: relative;
  align-items: center;
  gap: 5px;
}

.search__wrap .con .select__wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 1px;
  right: 1px;
  background-color: var(--bg-gray);
  border-radius: 0 5px 5px 0;
  width: 40px;
  height: 38px;
  pointer-events: none !important;
  cursor: pointer;
}

.search__wrap .con .select__wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--font-color);
  pointer-events: none !important;
  cursor: pointer;
}

.search__wrap .con .select__wrap select {
  height: 40px;
  min-width: 160px;
  padding: 0 10px;
  background-color: #fff;
  font-size: 1.5rem;
  width: 100%;
  border-radius: 6px;
}

.search__wrap input[type="submit"] {
  background: -moz-linear-gradient(left, #0352b9, #00a0e8);
  background: -webkit-linear-gradient(left, #0352b9, #00a0e8);
  background: linear-gradient(to right, #0352b9, #00a0e8);
  height: 40px;
  padding: 10px 20px;
  border-radius: 40px;
  color: #fff;
  min-width: 100px;
  line-height: 1;
  font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
  .search__wrap .con.con02,
  .search__wrap .con.con04 {
    max-width: initial;
  }

  .search__wrap .con.con03,
  .search__wrap .con.con05 {
    max-width: initial;
  }
}

/* タブ部分 */
.table-tab__wrap {
  display: flex;
}

.table-tab__wrap div.active {
  border-bottom: 3px solid var(--main-color);
  font-weight: bold;
  width: 150px;
  text-align: center;
}

.table-tab__wrap div.active p {
  padding-bottom: 10px;
}

.table-tab__wrap form {
  border-bottom: 1px solid #999;
  width: 150px;
  text-align: center;
}

.table-tab__wrap form input[type="button"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
  width: 100%;
  letter-spacing: 0.09rem;
}

/* テーブル */
.table-ttl__wrap {
  margin-top: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  border: 1px solid #e2e2e2;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}

.table-ttl__wrap .left__con {
  display: flex;
  align-items: center;
  column-gap: 50px;
}

.table-ttl__wrap .left__con p {
  font-size: 1.4rem;
}

.table-ttl__wrap .right__con {
  display: flex;
}

.table-ttl__wrap .right__con form {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid #e2e2e2;
  border-right: none;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: normal;
}

.table-ttl__wrap .right__con p {
  height: 30px;
  border-left: 1px solid #e2e2e2;
  padding: 0 6px;
}

.table-ttl__wrap .right__con form input {
  width: 100%;
  height: 100%;
}

.table-ttl__wrap .right__con form input.active {
  user-select: none;
  pointer-events: none;
  background-color: #f4f9fd;
}

.table-ttl__wrap .right__con form input.active.no-bg {
  background-color: transparent; /* 背景を透明にする */
}

.table-ttl__wrap .right__con form:first-child {
  border-radius: 6px 0 0 6px;
}

.table-ttl__wrap .right__con form:first-child input,
.table-ttl__wrap .right__con form:last-child input {
  position: absolute;
  top: 0;
  width: 100%;
  height: initial;
}

.table-ttl__wrap .right__con form:last-child {
  border-radius: 0 6px 6px 0;
  border-right: 1px solid #e2e2e2;
}

@media screen and (max-width: 768px) {
  .table-ttl__wrap {
    flex-direction: column;
    row-gap: 20px;
    align-items: initial;
    height: initial;
    padding: 20px 10px 10px 20px;
  }

  .table-ttl__wrap .left__con {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .table-ttl__wrap .right__con {
    justify-content: end;
  }

  .table-tab__wrap div.active p,
  .table-tab__wrap form input[type="button"] {
    font-size: 1.5rem;
  }
}

.table__wrap {
  overflow-x: auto;
  border: 1px solid var(--gray);
}

.table__wrap table {
  width: 100%;
  border-collapse: collapse;
  empty-cells: show;
  /* table-layout: fixed; */
  box-sizing: border-box;
  background-color: #fff;
}

.table__wrap table thead tr {
  background-color: #f4f9fd;
}

.table__wrap table thead tr th {
  font-size: 1.4rem;
  font-weight: normal;
  padding: 10px 20px;
}

.table__wrap table tbody tr {
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  height: 60px;
}

.table__wrap table tbody tr:last-child {
  border-bottom: none;
}

.table__wrap table tbody tr td {
  padding: 0 20px;
  font-size: 1.4rem;
}

.table__wrap table tbody tr td.product-none {
  height: 300px;
}

.table__wrap table input[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  color: var(--main-color);
  text-decoration: underline;
  transition: 0.2s all;
}

.table__wrap table input[type="submit"]:hover {
  opacity: 0.7;
  transition: 0.2s all;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.table__wrap table .wd70 {
  width: 70px;
  min-width: 70px;
}

.table__wrap table .wd80 {
  width: 80px;
  min-width: 80px;
}

.table__wrap table .wd90 {
  width: 90px;
  min-width: 90px;
}

.table__wrap table .wd100 {
  width: 100px;
  min-width: 100px;
}

.table__wrap table .wd110 {
  width: 110px;
  min-width: 110px;
}

.table__wrap table .wd120 {
  width: 120px;
  min-width: 120px;
}

.table__wrap table .wd130 {
  width: 130px;
  min-width: 130px;
}

.table__wrap table .wd140 {
  width: 140px;
  min-width: 140px;
}

.table__wrap table .wd160 {
  width: 160px;
  min-width: 160px;
}

.table__wrap table .wd180 {
  width: 180px;
  min-width: 180px;
}

.table__wrap table .wd230 {
  width: 230px;
  min-width: 230px;
}

.table__wrap table .wd300 {
  min-width: 300px;
}

.under-table .tax__wrap {
  border: 1px solid var(--gray);
  padding: 20px;
  margin-top: 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.under-table .tax__wrap .con {
  display: flex;
  justify-content: center;
  padding-right: 50px;
}

.under-table .tax__wrap .con p.ttl {
  font-size: 1.4rem;
  width: 70px;
}

.under-table .tax__wrap .con p.price {
  font-size: 1.4rem;
  min-width: 130px;
  text-align: right;
}

.under-table p.caution {
  font-size: 1.4rem;
  margin-top: 10px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .under-table .tax__wrap .con {
    padding-right: 0;
  }
}

/* input部品の初期化 */
.shinsei__wrap input[type="text"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid var(--gray);
}

.shinsei__wrap input[type="text"]:focus {
  box-shadow: none;
  outline: none;
}

.shinsei__wrap select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid var(--gray);
}

.shinsei__wrap select:focus {
  box-shadow: none;
  outline: none;
}

.shinsei__wrap input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
}

/* ここまで */

/* 従業員異動・変更 申請登録 */
.shinsei__wrap {
  margin-top: 70px;
}

.shinsei__wrap.mt50 {
  margin-top: 50px;
}

.shinsei__wrap .con__wrap {
  padding: 30px 20px;
  background-color: #fff;
  border: 1px solid #e2e2e2;
  /* display: flex; */
  flex-wrap: wrap;
  align-items: end;
  column-gap: 40px;
  row-gap: 20px;
}

.shinsei__wrap .con__wrap:first-child {
  border-radius: 6px 6px 0 0;
}

.shinsei__wrap .con__wrap:last-child {
  border-radius: 0 0 6px 6px;
  border-bottom: 1px solid #e2e2e2;
}

.shinsei__wrap .con__wrap p {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.shinsei__wrap .con .select__wrap {
  position: relative;
}

.shinsei__wrap .con .select__wrap select {
  height: 40px;
  min-width: 140px;
  padding: 0 10px;
  background-color: #fff;
  font-size: 1.4rem;
  width: 100%;
  border-radius: 6px;
}

.shinsei__wrap .con .select__wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 1px;
  right: 1px;
  background-color: var(--bg-gray);
  border-radius: 0 5px 5px 0;
  width: 40px;
  height: 38px;
  pointer-events: none !important;
  cursor: pointer;
}

.shinsei__wrap .con .select__wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--font-color);
  pointer-events: none !important;
  cursor: pointer;
}

.shinsei__wrap .con label {
  position: relative;
  padding-left: 20px;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  height: 40px;
}

.shinsei__wrap .con label::before {
  content: "";
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: block;
  height: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 16px;
  list-style-type: none;
  cursor: pointer;
}

.shinsei__wrap .con label::after {
  content: "";
  background-color: var(--main-color);
  border-radius: 10px;
  height: 10px;
  opacity: 0;
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 10px;
  list-style-type: none;
}

.shinsei__wrap .con label:has(input[type="radio"]:checked)::after {
  opacity: 1;
}

.shinsei__wrap .con input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  font-size: 1.4rem;
}

.shinsei__wrap .con.date .date__wrap input[type="text"] {
  max-width: 100px;
}

.shinsei__wrap .con.date .date__wrap {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.shinsei__wrap .con.date .date__wrap span {
  font-size: 1.4rem;
}

.shinsei__wrap .con__wrap .con.kubun {
  max-width: 140px;
}

.shinsei__wrap .con__wrap .con.syozoku {
  max-width: 130px;
}

.shinsei__wrap .con__wrap .con.name {
  max-width: 180px;
}

.shinsei__wrap .con__wrap .con.product {
  width: 200px;
}

.shinsei__wrap .con__wrap .con.size {
  max-width: 80px;
}

.shinsei__wrap .con__wrap .con.num {
  max-width: 80px;
}

.shinsei__wrap .con__wrap .con.change {
  width: 220px;
}

.shinsei__wrap .con__wrap .con.addtext {
  width: 220px;
}

.shinsei-link__wrap {
  display: flex;
  align-items: center;
  margin-top: 50px;
  column-gap: 30px;
}

.shinsei-link__wrap .back-btn__wrap {
  margin-top: 0;
}

.shinsei-link__wrap .back-btn__wrap button {
  height: 40px;
}

.shinsei-link__wrap .shinsei_send input[type="submit"] {
  color: #fff;
  font-weight: bold;
  background: -moz-linear-gradient(left, #0352b9, #00a0e8);
  background: -webkit-linear-gradient(left, #0352b9, #00a0e8);
  background: linear-gradient(to right, #0352b9, #00a0e8);
  height: 40px;
  border-radius: 40px;
  font-size: 1.4rem;
  padding: 0 25px;
  letter-spacing: 0.06rem;
}

.shinsei_errmsg  {
  color: #721c24;
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
  padding: 10px 15px;
  margin-bottom: 15px;
}

.annotation-text p {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.annotation-text p:last-child {
  margin-bottom: 0;
}

.annotation__wrap {
  padding: 30px 20px;
  background-color: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  margin-top: 50px;
}

.annotation__wrap h3,
.annotation__wrap p,
.annotation__wrap ul li {
  line-height: 1.6;
  font-size: 1.4rem;
}

.annotation__wrap h3 {
  margin-top: 30px;
  margin-bottom: 5px;
}

.annotation__wrap ul {
  margin-bottom: 30px;
}

.annotation__wrap ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 5px;
}

.annotation__wrap ul li:last-child {
  margin-bottom: 0;
}

.annotation__wrap ul li::after {
  content: "";
  background-color: var(--font-color);
  display: inline-block;
  position: absolute;
  top: 9px;
  left: 4px;
  width: 4px;
  height: 4px;
  border-radius: 20px;
}
