@charset "UTF-8";
/* JOBmatch demo style */
:root {
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: #e9eefc;
  --muted: rgba(233,238,252,0.72);
  --line: rgba(233,238,252,0.12);
  --accent: #66d6ff;
  --accent2: #a7ffb8;
  --danger: #ff6b6b;
  --chip: rgba(102,214,255,0.16);
  --shadow: 0 12px 36px rgba(0,0,0,0.35);
  --radius: 16px;
}

* { box-sizing: border-box; }
/* こう（iPhoneの自動文字拡大を止める） */
html, body {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Meiryo UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,16,32,0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

:root { --topbar-h: 68px; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + env(safe-area-inset-top)) 16px 44px 16px;
}

@media (max-width: 900px) {
  :root { --topbar-h: 140px; } /* 2段想定（上の隙間を減らす） */
}

:root {
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: #e9eefc;
  --muted: rgba(233,238,252,0.72);
  --line: rgba(233,238,252,0.12);
  --accent: #66d6ff;
  --accent2: #a7ffb8;
  --danger: #ff6b6b;
  --chip: rgba(102,214,255,0.16);
  --shadow: 0 12px 36px rgba(0,0,0,0.35);
  --radius: 16px;
  color-scheme: dark;
}
.input, .select {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  font-size: 16px;
}

.input {
  border-radius: 999px;
}

.select option {
  background: #141b2d;
  color: var(--text);
}

.input { min-width: 280px; }
.select { min-width: 150px; }

.btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.btn:hover { background: rgba(255,255,255,0.12); }

.meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 10px 0 14px 0;
  gap: 10px;
}

.count { font-weight: 700; }
.hint { color: var(--muted); font-size: 13px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .input { min-width: 220px; }

  .topbar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(11,16,32,0.92);
  }
}

.card {
  border: 1px solid var(--line);
  background: #141b2d;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px 12px 14px;
  cursor: pointer;
  transition: transform 0.10s ease;
}


.card:hover { transform: translateY(-1px); }

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.sub {
  color: var(--muted);
  font-size: 13px;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--text);
  font-size: 12px;
}

.chip strong { font-weight: 800; }

.sep { height: 1px; background: var(--line); margin: 12px 0; }

.kv {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px;
  margin: 6px 0;
}

.k { color: var(--muted); }
.v { white-space: pre-wrap; }

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.back {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  padding: 8px 10px;
  border-radius: 12px;
}

.back:hover { background: rgba(255,255,255,0.12); }

.spacer { flex: 1; }

.detail {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card .block{
  padding: 10px 0;
  border-top: none;
}

.card .block:first-child{
  border-top: none;
}
.card .k{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 6px;
  letter-spacing: .06em;
}
.card .v{
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
/* detail（要望/環境/単価/期間/場所/時間）だけ小さく */
.detail .k { font-size: 12px; }
.detail .v { font-size: 13px; line-height: 1.55; }
.input {
  min-width: 0 !important;
}
.select {
  min-width: 0 !important;
}

/* ID と 事業主だけ幅を固定 */
#f_uid {
  width: 120px !important;
}
#f_bizok {
  width: 110px !important;
}
#f_uid {
  width: 120px !important;
}
#f_bizok {
  width: 64px !important;
  padding: 8px 6px !important;
}

/* こう（スマホは上段入力を縦積み） */
@media (max-width: 900px) {
  main .panel > div[style*="grid-template-columns:120px 64px"] {
    grid-template-columns: 1fr !important;
  }

  #f_uid {
    width: 100% !important;
  }
  #f_bizok {
    width: 100% !important;
  }
}

table:has(> tbody#mine_tbody) th,
table:has(> tbody#mine_tbody) td {
  text-align: left;
}

table:has(> tbody#mine_tbody) th:nth-child(1),
table:has(> tbody#mine_tbody) td:nth-child(1) {
  text-align: center;
}

table:has(> tbody#mine_tbody) th:nth-child(3),
table:has(> tbody#mine_tbody) td:nth-child(3) {
  text-align: center;
}

#mine_table th,
#mine_table td {
  vertical-align: middle;
}

#mine_table th {
  white-space: nowrap;
}

#mine_table td:nth-child(2),
#mine_table td:nth-child(4),
#mine_table td:nth-child(5),
#mine_table td:nth-child(6),
#mine_table td:nth-child(7),
#mine_table td:nth-child(8) {
  white-space: nowrap;
}

#mine_table th:nth-child(2),
#mine_table td:nth-child(2) {
  text-align: left;
}

#mine_table th:nth-child(3),
#mine_table td:nth-child(3) {
  text-align: center;
}

#mine_table th:nth-child(4),
#mine_table td:nth-child(4),
#mine_table th:nth-child(5),
#mine_table td:nth-child(5),
#mine_table th:nth-child(6),
#mine_table td:nth-child(6),
#mine_table th:nth-child(7),
#mine_table td:nth-child(7),
#mine_table th:nth-child(8),
#mine_table td:nth-child(8),
#mine_table th:nth-child(9),
#mine_table td:nth-child(9),
#mine_table th:nth-child(10),
#mine_table td:nth-child(10) {
  text-align: left;
}


/* 環境（9列目）は CUT（幅を抑える） */
#mine_table td:nth-child(9) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* 要望（10列目）は CUTしつつ、余り幅を受ける */
#mine_table td:nth-child(10) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 32ch;
}

/* チェック列（1列目）はセンター */
#mine_table th:nth-child(1),
#mine_table td:nth-child(1) {
  text-align: center;
}

@media (max-width: 900px) {
  #mine_wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  #mine_table {
    width: max-content !important;
    table-layout: auto !important;
  }

  #mine_table td:nth-child(9) {
    max-width: 120px;
  }

  #mine_table td:nth-child(10) {
    min-width: 18ch;
  }
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + env(safe-area-inset-top)) 16px 44px 16px;
}
#mine_table th:nth-child(1),
#mine_table td:nth-child(1) {
  padding-left: 2px !important;
  padding-right: 2px !important;
}
/* スマホだけ：1段目「JOBmatch + おすすめ表示」、2段目「検索 + 契約 + 金額」（クリアなし） */
.chk-sp { display: none; }

@media (max-width: 900px) {
  .topbar-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  /* 1段目：brand + chk-sp */
  .chk-sp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
  }

  /* PC用チェックはスマホで隠す */
  .chk-pc {
    display: none;
  }

  /* 2段目：actions を横一列に（検索 + 契約 + 金額） */
  .actions {
    width: 100%;
    margin-left: 0;
    flex-wrap: nowrap;
  }

  .actions .input {
    flex: 1 1 auto;
    min-width: 0 !important;
  }
  .actions .input::placeholder {
    font-size: 12px;
  }

  .actions .select {
    flex: 0 0 auto;
  }

  /* スマホはクリア非表示 */
  #clear {
    display: none !important;
  }
}
#a_note {
  border-radius: 6px !important;
}