/*
Theme Name: Lightning Child Sample
Template: lightning
Description: 子テーマ用 CSS
Author: OrangeWave
Version: 1.0.0
*/

/* =========================
   スライダー表示
========================= */
.ow-hero-wrap {
  width: 100%;
  overflow: hidden;
  margin: 0 auto 25px;
}

.ow-slider {
  display: flex;
  gap: 20px;
  transition: transform .6s ease;
}

.ow-slide {
  flex: 0 0 75%;
  opacity: .5;
  transform: scale(.92);
  transition: all .4s ease;
}

.ow-slide.active {
  opacity: 1;
  transform: scale(1);
}

.ow-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* =========================
   求人一覧カード
========================= */
.ow-job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 16px;
}

@media(max-width:780px){
  .ow-job-list { grid-template-columns:1fr; }
}

.ow-job-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: .3s ease;
}

.ow-job-card:hover {
  transform: translateY(-3px);
}

.ow-job-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.ow-job-pay {
  color: #ff7a00;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 5px;
}

.ow-job-location {
  font-size: 13px;
  color: #666;
}

/* =========================
   高収入ランキング
========================= */
.ow-ranking-section {
  max-width: 1100px;
  margin: 35px auto;
  padding: 0 15px;
}

.ow-sec-title {
  font-size: 22px;
  color: #ff7a00;
  font-weight: 700;
  margin-bottom: 12px;
}

.ow-ranking-slider {
  display: flex;
  gap: 16px;
  transition: transform .4s ease;
}

.ow-ranking-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  min-width: 240px;
  box-shadow: 0 3px 10px rgba(0,0,0,.07);
}

.ow-ranking-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ow-ranking-card .pay {
  font-weight: 700;
  color: #e54900;
  margin-bottom: 4px;
}

@media(max-width:900px){
  .ow-ranking-card { min-width: 33%; }
}
