/* =======================================
   ヒーローセクション赤背景調整
========================================== */


.page-hero .subtitle::before {
  left: -30%;
  top: 50%;
  width: 90% !important;
}

@media screen and (max-width: 768px) {

  .page-hero .hero-content {
    bottom: 10%;
    left: 20%;
    align-items: flex-end;
  }
}




/* =======================================
   recruit-content リード文
========================================== */
.recruit-content-item {
  text-align: left;
  font-size: 1.3rem;
  margin: 5% auto;
  max-width: 900px;
  line-height: 1.8;
  color: #333;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recruit-content-item p {
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.recruit-content-item p:first-child {
  font-size: 1.6rem;
  font-weight: 700;
  color: #9C1E23;
  border-bottom: 2px solid #9C1E23;
  padding-bottom: 15px;
  margin-bottom: 25px;
  padding-left: 0;
}

.recruit-content-item p:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background-color: #9C1E23;
  border-radius: 50%;
}

.recruit-content-item p:last-child {
  font-weight: 600;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}


/* =======================================
   recruit-content & welfare 共通背景
========================================== */
#recruit-content,
#welfare {
  position: relative;
  overflow: visible;
}
.recruit-content-bg{
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 150%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.7;
}

.welfare-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.7;
}
.recruit-content-bg { transform: translateY(-8.6%); }

/* スマホ版調整 */
@media (max-width: 768px) {

  .recruit-content-item {
    font-size: 0.9rem;
    padding: 25px 20px;
    margin: 5% 15px;
  }
  
  .recruit-content-item p:first-child {
    font-size: 1.2rem;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  .recruit-content-item p {
    margin-bottom: 15px;
  }

  .recruit-content-bg {
    transform: translateY(-5.0%);
  }
}

/* =======================================
   福利厚生セクション – 2カラムレイアウト
========================================== */
#welfare .title-container { margin-top: 0; padding-top: 0; position: relative; z-index: 1; }

.welfare-items {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
}
.welfare-item {
  display: flex;
  align-items: flex-start;
  gap: 10%;
}

/* アイコン列 30% */
.welfare-icon {
  flex: 0 0 30%;
  max-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.welfare-icon img { width: 100%; height: auto; }

/* テキスト列 70% */
.welfare-content { flex: 0 0 70%; }
.welfare-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #9C1E23;
  margin-bottom: 12px;
}
.welfare-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ---------- 福利厚生 レスポンシブ ---------- */
@media (max-width: 768px) {
  .welfare-item         { flex-direction: column; text-align: center; gap: 20px; }
  .welfare-icon         { max-width: 120px; flex: 0 0 auto; }
  .welfare-content      { margin: 0 auto; }
  .welfare-content h3   { font-size: 1.5rem; }
  .welfare-content p    { text-align: left; }

}
@media (max-width: 576px) {
  .welfare-icon         { max-width: 100px; margin: 0 auto; }
  .welfare-content h3   { font-size: 1.3rem; }
  .welfare-content p    { font-size: 0.9rem; margin:0 auto; }
}

/* =======================================
   社員インタビュー セクション
========================================== */
#interview           { position: relative; padding: 0; }

.interview-section {
  margin-top: 50px;
}
.interview-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0;
}

.interview-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.interview-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #CFCFCF;
  padding: 20px 30px;
}
.interview-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #CFCFCF;
  display: flex;
  justify-content: center;
  align-items: center;
}
.interview-avatar img { width: 100%; height: auto; }

.interview-content         { flex: 1 1 auto; }
.interview-content h3      { font-size: 1.6rem; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; }
.interview-content p       { font-size: 1.3rem; line-height: 1.7; color: #FFFFFF; text-align: left; }

.interview-cta             { text-align: center; margin-top: 60px; position: relative; z-index: 1; }
.btn-red {
  display: inline-block;
  padding: 14px 60px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: linear-gradient(to right, #8F1F23, #D52625);
  border-radius: 30px;
  transition: opacity .3s;
  margin-bottom: 30px;
}
.btn-red:hover { opacity: 0.8; }

/* ---------- インタビュー レスポンシブ ---------- */
@media (max-width: 768px) {
  .interview-card        { flex-direction: column; text-align: center; gap: 15px; }
  .interview-avatar      { margin-bottom: 16px; }
  .interview-content h3  { font-size: 1.2rem; }
  .interview-content p   { font-size: 0.9rem; }
}
