/* ===== JAMBOW POINT — Sporty Modern Design ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
  --orange:       #ff6b00;
  --orange-dark:  #e05500;
  --orange-light: #ff9a3c;
  --navy:         #0d1b2a;
  --navy-mid:     #1a2e44;
  --navy-light:   #243b55;
  --white:        #ffffff;
  --gray-light:   #f4f6f9;
  --gray-mid:     #dde2ea;
  --text-dark:    #1a1a2e;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.18);
  --radius:       10px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
  background: var(--navy);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

/* ===== LAYOUT WRAPPER ===== */
.kv-wrap {
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.container {
  padding: 20px 16px 40px;
}

/* ===== SECTION HEADER (orange bar) ===== */
.section-header {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 18px;
  background: var(--white);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ===== FORM TABLE ===== */
table.form-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
table.form-table td {
  border-bottom: 1px solid #d0d7e2;
}
table.form-table tr:last-child td {
  border-bottom: none;
}

td.label-cell {
  background: var(--navy-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: right;
  padding: 14px 16px;
  width: 38%;
  vertical-align: middle;
  white-space: nowrap;
}
td.input-cell {
  background: var(--white);
  padding: 12px 16px;
  vertical-align: middle;
}

/* ===== RADIO / CHECKBOX ===== */
td.input-cell input[type="radio"],
td.input-cell input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px; height: 16px;
  cursor: pointer;
}

/* ===== SELECT / DROPDOWN ===== */
td.input-cell select,
td.input-cell .form-select {
  border: 1.5px solid var(--gray-mid);
  border-radius: 6px;
  padding: 6px 10px;
  background: var(--gray-light);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
td.input-cell select:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.15);
}

/* ===== TEXT INPUT ===== */
td.input-cell input[type="text"],
td.input-cell .form-control {
  border: 1.5px solid var(--gray-mid);
  border-radius: 6px;
  padding: 7px 10px;
  background: var(--gray-light);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
td.input-cell input[type="text"]:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.15);
}

/* ===== BUTTON ===== */
input.btn-search,
.btn-search {
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: #ff6b00;
  background-image: linear-gradient(135deg, #ff8c3c 0%, #ff6b00 50%, #e05500 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  border: none;
  border-radius: 8px;
  padding: 15px 0;
  cursor: pointer;
  box-shadow: 0 4px 0 #a33d00, 0 6px 16px rgba(255,107,0,0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-appearance: none;
  outline: none;
}
input.btn-search:hover,
.btn-search:hover {
  background-image: linear-gradient(135deg, #ff9a50 0%, #ff7a1a 50%, #f05f00 100%);
  box-shadow: 0 6px 0 #a33d00, 0 10px 24px rgba(255,107,0,0.45);
  transform: translateY(-2px);
}
input.btn-search:active,
.btn-search:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #a33d00, 0 2px 8px rgba(255,107,0,0.3);
}

input.btn-small,
.btn-small {
  background-color: #1a2e44 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 6px 12px !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  box-shadow: 0 3px 0 #0a1624 !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
  -webkit-appearance: none !important;
}
input.btn-small:hover,
.btn-small:hover {
  background-color: #243b55 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 0 #0a1624 !important;
}
input.btn-small:active,
.btn-small:active {
  transform: translateY(3px) !important;
  box-shadow: 0 0 0 #0a1624 !important;
}

/* ===== RESULT AREA ===== */
.result-bar {
  background: linear-gradient(135deg, #0077b6 0%, #0096c7 100%);
  color: var(--white);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 16px;
}

/* ===== GRIDVIEW ===== */
.grid-wrapper {
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ===== PAGINATION ===== */
.pager-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  flex-wrap: wrap;
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--gray-light);
  border-left: 4px solid #0096c7;
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #444;
  margin: 8px 0;
  line-height: 1.8;
}

/* ===== PANEL (inner panel) ===== */
.inner-panel {
  background: #fff8f2;
  border: 1px solid #ffdbb8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 6px;
}

/* ===== PAGE TOP MARGIN ===== */
main { padding-top: 20px; }
