/* Recruit Page Styles - ナイル株式会社採用情報ページを模写 */

/* ファーストビュー */
.pagesKv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pagesKv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.pagesKv__bg span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pagesKv__section {
  position: relative;
  z-index: 2;
  color: #fff;
}

.pagesH1 {
  text-align: center;
  margin: 0;
}

.pagesH1 .textU {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 20px 0;
  opacity: 0.9;
}

.pagesH1__mainText {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.05em;
}

/* 募集職種検索 */
.recruitSearch {
  background: rgba(0, 0, 0, 0.8);
  padding: 40px 0;
  margin-top: -100px;
  position: relative;
  z-index: 3;
}

.recruitSearch__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.recruitSearch__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 30px 0;
}

.radioBtn {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.radioBtn input[type="radio"] {
  display: none;
}

.radioBtn label {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radioBtn input[type="radio"]:checked + label {
  background: #fff;
  color: #000;
}

.select__wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto 30px;
}

.select__wrapper select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  appearance: none;
}

.select__wrapper select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.arrowTriangle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.searchBtn {
  margin-top: 20px;
}

.searchInput {
  padding: 15px 40px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.searchInput:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.searchInput:not(:disabled):hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* メインコンテンツ */
.article {
  padding: 80px 0px 0px 0px;
}

.grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stickyBlock {
  margin-bottom: 80px;
}

.h3 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 40px 0;
  text-align: center;
}

.h3--s {
  font-size: 30px;
  font-weight: 600;
  color: #333;
  margin: 0 0 30px 0;
}

.h3--s--en {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 30px 0;
}

.h4 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.3;
  text-decoration: underline;
}

.h4--s {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

/* 情報リスト */
.infoList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.infoList li {
  border-bottom: 1px solid #e9ecef;
  padding: 20px 0;
}

.infoList li:last-child {
  border-bottom: none;
}

.infoList a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.infoList a:hover {
  opacity: 0.7;
}

.infoList .date {
  display: block;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
}

.infoList p {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

/* メッセージ */
.recruitTop__message {
  font-size: 24px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 40px 0;
  text-align: center;
}

/* ボタン */
.btn {
  display: inline-block;
}

.btn--center {
  text-align: center;
  width: 100%;
}

.btn a {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn a:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.btn-arrow {
  margin-left: 10px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-arrow img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.btn a:hover .btn-arrow img {
  transform: translateX(3px);
}

.btn--s a {
  padding: 12px 24px;
  font-size: 14px;
}

.btn--m a {
  padding: 18px 36px;
  font-size: 18px;
}

.arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.arrow span {
  display: inline-block;
  width: 8px;
  height: 2px;
  background: currentColor;
  margin-left: 2px;
  transform: rotate(45deg);
}

.arrow span:last-child {
  transform: rotate(-45deg);
}

.arrowBlank {
  width: 20px;
  height: 20px;
}

/* カラムレイアウト */
.column {
  display: grid;
  gap: 40px;
}

.column--2 {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: center;
}

.column--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.column--3 li {
  text-align: center;
}

.columnLeader {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* テキストサイズ */
.textSize-m {
  font-size: 20px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 30px 0;
}

/* 画像 */
.stickyBlock__columnImg {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.stickyBlock__columnImg span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bgImg__wrapper {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
}

.bgImg__wrapper span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.listBlockImg {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.listBlockImg span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 募集職種スライダー */
.rtMidcareer__jobType {
  margin-top: 60px;
}

.sliderWrapper {
  position: relative;
  margin: 0 -20px;
}

.keen-slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.keen-slider__slide {
  flex: 0 0 300px;
  padding: 0 20px;
}

.listBlock {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.listBlock:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.listBlock__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.listBlockImg--wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.listBlockImg {
  width: 100%;
  height: 100%;
}

.listBlockImg span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.listBlock__info {
  padding: 20px;
}

.textU__link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.listBlock__info--title {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 10px 0 0 0;
}

.listBlock__info--aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 12px;
}

.listBlock__info--aside .date {
  color: #999;
}

/* スライダー矢印 */
.sliderArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.sliderArrow:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sliderArrow--left {
  left: 20px;
}

.sliderArrow--right {
  right: 20px;
}

.sliderArrow .arrow {
  margin: 0;
}

.sliderArrow .arrow span {
  background: #333;
}

/* 新卒・ポテンシャル採用 */
.rtGraduate__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.rtGraduate__list li {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.rtGraduate__list dt {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
}

.rtGraduate__list dd {
  font-size: 20px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 25px 0;
}

/* バナー */
.rtBanner {
  margin: 80px auto;
}

.rtBanner__main {
  margin-bottom: 60px;
}

.rtBanner__list--title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
}

/* FAQ */
#faq {
  background: #f2f4f6;
  padding: 0 15px;
}

.recruitFaq {
  padding: 30px 0;
  width: 100%;
}

.recruitFaq .stickyBlock {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruitFaqList {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

.recruitFaqList li {
  border-bottom: 1px solid #e9ecef;
  margin: 10px 0;
}

.recruitFaqList li:last-child {
  border-bottom: none;
}

.faq-item {
  margin-bottom: 0;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.faq-q:hover {
  background: rgba(0, 123, 255, 0.05);
}

.faq-q.selected {
  background: rgba(0, 123, 255, 0.1);
}

.faq-q span:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #007bff;
  flex-shrink: 0;
}

.faq-text {
  flex: 1;
  font-size: 20px;
  color: #333;
}

.faq-arrow {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-arrow img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

.faq-arrow .arrow-down {
  opacity: 1;
  position: absolute;
}

.faq-arrow .arrow-up {
  opacity: 0;
  position: absolute;
}

.faq-q.selected .faq-arrow .arrow-down {
  opacity: 0;
}

.faq-q.selected .faq-arrow .arrow-up {
  opacity: 1;
}

.faq-a {
  display: none;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.faq-a p {
  margin: 0;
  line-height: 1.6;
  color: #666;
  font-size: 18px;
}

/* 関連ニュース */
.relatedNews {
  background: #f8f9fa;
  padding: 80px 0;
}

.relatedNews__title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 50px 0;
  text-align: center;
}

.relatedNews__title span {
  color: #007bff;
}

/* 社員の活躍例 */
.rtStaff {
  padding: 80px 0;
}

.rtStaff .h3 {
  text-align: center;
  margin-bottom: 50px;
}

/* レスポンシブ対応 */
@media (max-width: 1000px) {
  .pagesH1__mainText {
    font-size: 42px;
  }
  
  .recruitSearch__title {
    font-size: 22px;
  }
  
  .h3 {
    font-size: 30px;
  }
  
  .h3--s {
    font-size: 26px;
  }
  
  .h4 {
    font-size: 26px;
  }
  
  .h4--s {
    font-size: 22px;
  }
  
  .textSize-m {
    font-size: 16px;
  }
  
  .recruitTop__message {
    font-size: 18px;
  }
  
  .column--2,
  .columnLeader {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .column--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .keen-slider__slide {
    flex: 0 0 300px;
  }
  
  .article {
    padding: 70px 0;
  }
  
  .grid {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .pagesH1__mainText {
    font-size: 40px;
  }
  
  .column--2,
  .columnLeader {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .column--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .keen-slider__slide {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .pagesKv {
    height: 80vh;
    min-height: 500px;
  }
  
  .pagesH1__mainText {
    font-size: 32px;
  }
  
  .recruitSearch {
    margin-top: -50px;
    padding: 30px 0;
  }
  
  .recruitSearch__title {
    font-size: 20px;
  }
  
  .radioBtn {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .article {
    padding: 60px 0;
  }
  
  .h3 {
    font-size: 28px;
  }
  
  .h3--s {
    font-size: 24px;
  }
  
  .h4 {
    font-size: 24px;
  }
  
  .h4--s {
    font-size: 20px;
  }
  
  .column--3 {
    grid-template-columns: 1fr;
  }
  
  .keen-slider__slide {
    flex: 0 0 260px;
  }
  
  .sliderArrow {
    width: 35px;
    height: 35px;
  }
  
  .sliderArrow--left {
    left: 10px;
  }
  
  .sliderArrow--right {
    right: 10px;
  }
  
  .recruitFaq {
    padding: 40px 0;
  }
  
  .recruitFaq .stickyBlock {
    padding: 0 15px;
  }
  
  .recruitFaqList {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pagesKv {
    height: 70vh;
    min-height: 400px;
  }
  
  .pagesH1__mainText {
    font-size: 28px;
  }
  
  .recruitSearch {
    margin-top: -30px;
    padding: 25px 0;
  }
  
  .recruitSearch__title {
    font-size: 18px;
  }
  
  .radioBtn label {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .select__wrapper select {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .searchInput {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .article {
    padding: 40px 0;
  }
  
  .grid {
    padding: 0 15px;
  }
  
  .h3 {
    font-size: 24px;
  }
  
  .h3--s {
    font-size: 20px;
  }
  
  .h4 {
    font-size: 20px;
  }
  
  .h4--s {
    font-size: 18px;
  }
  
  .recruitTop__message {
    font-size: 16px;
  }
  
  .textSize-m {
    font-size: 14px;
  }
  
  .keen-slider__slide {
    flex: 0 0 240px;
    padding: 0 15px;
  }
  
  .sliderWrapper {
    margin: 0 -15px;
  }
  
  .sliderArrow {
    width: 30px;
    height: 30px;
  }
  
  .sliderArrow--left {
    left: 5px;
  }
  
  .sliderArrow--right {
    right: 5px;
  }
  
  .rtBanner {
    padding: 60px 0;
    margin: 60px 0;
  }
  
  .relatedNews {
    padding: 60px 0;
  }
  
  .recruitFaq {
    padding: 30px 0;
  }
  
  .recruitFaq .stickyBlock {
    padding: 0 10px;
  }
  
  .faq-q {
    padding: 15px 10px;
  }
  
  .faq-a {
    padding: 15px;
  }
  
  .rtStaff {
    padding: 60px 0;
  }
}

@media (max-width: 350px) {
  .pagesH1__mainText {
    font-size: 24px;
  }
  
  .recruitSearch__title {
    font-size: 16px;
  }
  
  .h3 {
    font-size: 20px;
  }
  
  .h3--s {
    font-size: 18px;
  }
  
  .h4 {
    font-size: 18px;
  }
  
  .h4--s {
    font-size: 16px;
  }
  
  .textSize-m {
    font-size: 13px;
  }
  
  .recruitTop__message {
    font-size: 14px;
  }
  
  .faq-text {
    font-size: 16px;
  }
  
  .rtGraduate__list dt {
    font-size: 18px;
  }
  
  .rtGraduate__list dd {
    font-size: 16px;
  }
  
  .rtGraduate__list li {
    padding: 20px 15px;
  }
  
  .faq-q {
    padding: 12px 8px;
  }
  
  .faq-a {
    padding: 12px;
  }
  
  .article {
    padding: 30px 0;
  }
  
  .grid {
    padding: 0 10px;
  }
  
  .keen-slider__slide {
    flex: 0 0 220px;
    padding: 0 10px;
  }
  
  .sliderWrapper {
    margin: 0 -10px;
  }
  
  .sliderArrow {
    width: 25px;
    height: 25px;
  }
  
  .sliderArrow--left {
    left: 2px;
  }
  
  .sliderArrow--right {
    right: 2px;
  }
  
  .rtBanner {
    padding: 40px 0;
    margin: 40px 0;
  }
  
  .relatedNews {
    padding: 40px 0;
  }
  
  .recruitFaq {
    padding: 20px 0;
  }
  
  .recruitFaq .stickyBlock {
    padding: 0 8px;
  }
  
  .rtStaff {
    padding: 40px 0;
  }
}

/* ユーティリティクラス */
.textGray {
  color: #6c757d;
}

.font-b {
  font-weight: 600;
}

.font-r {
  font-weight: 400;
}

.keycolor {
  color: #007bff;
}

/* 改行制御 */
.brPc {
  display: block;
}

@media (max-width: 768px) {
  .brPc {
    display: none;
  }
} 