/* styles2.css — sober, admin-style job posting page */

/* Base */
:root{
  --text:#111;
  --muted:#555;
  --line:#d9d9d9;
  --soft:#f6f6f6;
  --link:#0b4a8b;
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
}

body{
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.75;
  font-size:16px;
}

/* Layout */
.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.header{
  border-bottom:1px solid var(--line);
  padding-bottom:14px;
  margin-bottom:22px;
}

.breadcrumb{
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.breadcrumb a{
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover{ text-decoration: underline; }

h1{
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 700;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  font-size: 13px;
  color: var(--muted);
}

.badge{
  display:inline-block;
  padding: 2px 10px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

/* Content blocks */
.section{
  margin: 26px 0;
}

.section h2{
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 6px;
  padding: 0 0 4px;
  border-bottom: 1px solid #d9d9d9;
}

.section h3{
  font-size: 16px;
  margin: 16px 0 8px;
}

p{ margin: 0 0 12px; }

ul, ol{
  margin: 8px 0 12px 22px;
  padding: 0;
}

li{ margin: 6px 0; }

/* Definition list like “募集人員 / 所属 …” blocks */
.dl{
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.dl-row{
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 1px solid var(--line);
}
.dl-row:first-child{ border-top:none; }

.dt{
  background: var(--soft);
  padding: 12px 14px;
  font-weight: 700;
}
.dd{
  padding: 12px 14px;
}

a{
  color: var(--link);
  text-decoration: underline;
}
a:hover{ text-decoration: none; }

/* Footer */
.footer{
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Mobile */
@media (max-width: 640px){
  .dl-row{
    grid-template-columns: 1fr;
  }
  .dt{
    border-bottom: 1px solid var(--line);
  }
}
/* --- References / bibliography: slightly smaller & denser --- */
/* Option A (recommended): only affects the references section if you add id="references" in HTML */

#references{
  font-size: 14px;
  line-height: 1.65;
}

#references ul,
#references ol{
  margin-left: 18px;
}

#references li{
  margin: 4px 0;
}

/* Option B (no HTML change needed):
   If you don't want to add an id, this will apply to any UL inside the last section.
   Comment out Option B if you use Option A. */

/*
.section:last-of-type{
  font-size: 14px;
  line-height: 1.65;
}

.section:last-of-type li{
  margin: 4px 0;
}
*/
