@charset "UTF-8";

/* ===========================================================
   職種別ランディングページ (/jobs/{occupationSlug}/) 専用スタイル
   求人詳細(job.css)・企業ページ(companies.css)と併用する。
   共通クラスを上書きしないよう、すべて olp- 接頭辞で定義する。
   =========================================================== */

/* ----- ヒーロー ----- */
.olp-hero {
  position: relative;
  overflow: hidden;
  background: var(--lp-navy-2, #050b4e);
  padding: 56px 0 48px;
}
/* 背景画像。暗くして文字の可読性を確保する */
.olp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.olp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 78, 0.85) 0%, rgba(5, 11, 78, 0.5) 100%);
}
.olp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.olp-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.olp-hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 18px;
  max-width: 46em;
}
.olp-hero-count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--lp-orange-2, #ff6a00);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0;
}
.olp-hero-count-num {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.olp-section {
  padding: 48px 0;
}
.olp-section-about {
  background: #fff;
  border-top: 1px solid var(--lp-border-cream, #f2e3d1);
}
.olp-section-faq {
  background: var(--lp-cream, #fffaf4);
  border-top: 1px solid var(--lp-border-cream, #f2e3d1);
}
.olp-section-related {
  background: #fff;
  border-top: 1px solid var(--lp-border-cream, #f2e3d1);
}
.olp-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し: 左にオレンジのバーを添える */
.olp-heading {
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--lp-navy-2, #050b4e);
  margin: 0 0 24px;
  padding-left: 14px;
}
.olp-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 3px;
  background: var(--lp-orange-2, #ff6a00);
}

/* ----- 職種の解説カード ----- */
.olp-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.olp-about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lp-border-cream, #f2e3d1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(30, 18, 7, 0.07);
}
/* 解説カードの画像。ファイル未配置の場合は onerror でこの要素ごと削除されるため余白は残らない */
.olp-about-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4ece2;
}
.olp-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.olp-about-card:hover .olp-about-media img {
  transform: scale(1.04);
}
/* テキスト側。画像が無いカードでも余白が保たれるよう、この要素に padding を持たせる */
.olp-about-text {
  padding: 20px 22px 22px;
}
.olp-about-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--lp-navy-2, #050b4e);
  margin: 0 0 10px;
}
.olp-about-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--lp-text, #3d3733);
  margin: 0;
}

/* ----- FAQ（開閉式） ----- */
.olp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.olp-faq-item {
  background: #fff;
  border: 1px solid var(--lp-border-cream, #f2e3d1);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(30, 18, 7, 0.04);
}
.olp-faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
/* デフォルトの三角マーカーを消す */
.olp-faq-q::-webkit-details-marker {
  display: none;
}
.olp-faq-q-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lp-orange-2, #ff6a00);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
}
.olp-faq-q-text {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--lp-navy-2, #050b4e);
  margin: 0;
}
.olp-faq-toggle {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-orange-2, #ff6a00);
  line-height: 1;
  transition: transform 0.2s ease;
}
.olp-faq-item[open] .olp-faq-toggle {
  transform: rotate(45deg);
}
.olp-faq-a {
  margin: 14px 0 0;
  padding-left: 42px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--lp-text, #3d3733);
}

/* ----- 関連リンク ----- */
.olp-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.olp-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: var(--lp-cream, #fffaf4);
  border: 1px solid var(--lp-border-cream, #f2e3d1);
  border-radius: 12px;
  text-decoration: none;
  color: var(--lp-navy-2, #050b4e);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.olp-related-link:hover {
  background: #fff;
  border-color: var(--lp-orange-2, #ff6a00);
  transform: translateX(2px);
}
.olp-related-arrow {
  color: var(--lp-orange-2, #ff6a00);
  font-weight: 800;
}

@media (max-width: 900px) {
  .olp-about-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .olp-hero {
    padding: 36px 0 32px;
  }
  .olp-hero-inner {
    padding: 0 16px;
  }
  .olp-hero-title {
    font-size: 22px;
  }
  .olp-hero-lead {
    font-size: 13px;
  }
  .olp-section {
    padding: 36px 0;
  }
  .olp-inner {
    padding: 0 16px;
  }
  .olp-heading {
    font-size: 19px;
    margin-bottom: 18px;
  }
  .olp-about-text {
    padding: 16px 18px 18px;
  }
  .olp-about-title {
    font-size: 16px;
  }
  .olp-about-body,
  .olp-faq-a {
    font-size: 13px;
  }
  .olp-faq-q-text {
    font-size: 14px;
  }
  .olp-faq-a {
    padding-left: 0;
  }
  .olp-related-list {
    grid-template-columns: 1fr;
  }
  .olp-related-link {
    font-size: 14px;
  }
}
