:root{
  /* HPに合わせて調整しやすいように変数化 */
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);

  /* 青〜水色 */
  --accent: #1b79d6;
  --accent2: #33c7d6;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.recruit-page{
  background: var(--bg);
  color: var(--text);
  padding: 24px 0 64px;
}

.recruit-page a{ color: inherit; }

/* ===== Layout ===== */
.hero{
  padding: 28px 0 18px;
}
.hero__inner{
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; }
}

.kicker{
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.hero__title{
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
}
.hero__lead{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.badge{
  background: rgba(27, 121, 214, 0.10);
  border: 1px solid rgba(27, 121, 214, 0.20);
  color: #0b3a6a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

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

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(2,6,23,.10); }
.btn--primary{
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.btn--ghost{
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

/* ===== Cards ===== */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card--summary{ padding: 16px; }
.card__title{
  font-weight: 800;
  margin: 2px 0 12px;
}

.summary{
  margin: 0;
}
.summary__row{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.summary__row:first-child{ border-top: none; padding-top: 0; }
.summary dt{
  color: var(--muted);
  font-size: 12px;
}
.summary dd{
  margin: 0;
  font-weight: 700;
}

/* ===== Content ===== */
.content{
  padding: 20px 0 0;
}
.content__inner{
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}
.content__head{
  margin: 18px 0 10px;
}
.content__head h2{
  margin: 0 0 6px;
  font-size: 22px;
}
.content__head p{
  margin: 0;
  color: var(--muted);
}

/* ===== Accordion (details/summary) ===== */
.accordion{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.details{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.details > summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.details > summary::-webkit-details-marker{ display:none; }
.details > summary::after{
  content: "＋";
  color: var(--muted);
  font-weight: 900;
}
.details[open] > summary::after{ content: "−"; }

.details-body{
  padding: 0 16px 16px;
  color: var(--text);
}
.details-body p{ line-height: 1.85; }
.u-mb0{ margin-bottom: 0 !important; }
.u-mb8{ margin-bottom: 8px !important; }
.u-mb12{ margin-bottom: 12px !important; }
.u-mt12{ margin-top: 12px !important; }

/* ===== Lists ===== */
.bullets{
  margin: 0;
  padding-left: 1.1em;
  color: var(--text);
  line-height: 1.85;
}
.bullets li{ margin: 6px 0; }

/* ===== Chips ===== */
.chip-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(51, 199, 214, 0.10);
  border: 1px solid rgba(51, 199, 214, 0.20);
  font-size: 12px;
  font-weight: 700;
}

/* ===== Salary ===== */
.salary-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 640px){
  .salary-grid{ grid-template-columns: 1fr; }
}
.salary-card{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.7);
}
.salary-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.salary-value{
  font-size: 18px;
  font-weight: 900;
  margin-top: 4px;
}
.salary-note{
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* ===== Flow ===== */
.flow{
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.flow li{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.flow li span{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ===== Contact box ===== */
.contact-box{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.contact-row{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.contact-row:first-child{ border-top: none; padding-top: 0; }
.contact-row span{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.contact-row a{
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.contact-row a:hover{ text-decoration: underline; }

/* ===== Bottom CTA ===== */
.bottom-cta{
  margin-top: 18px;
}
.bottom-cta__box{
  background: linear-gradient(90deg, rgba(27,121,214,0.10), rgba(51,199,214,0.10));
  border: 1px solid rgba(27,121,214,0.20);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 640px){
  .bottom-cta__box{ flex-direction: column; align-items: stretch; }
}
.bottom-cta__title{ font-weight: 900; }
.bottom-cta__text{ color: var(--muted); margin-top: 4px; }
