.hero-container {
  position: relative;
  margin-bottom: 150px;
}

.decorative-text {
  position: absolute;
  top: 200px; /* 画像250pxの下端から30px被らせるイメージ */
  right: 50px;
}

h1 {
    position: absolute;
  font-size: clamp(20px, 3.5vw, 40px);
  font-weight: bold;
  z-index: 2; /* 上に出す */
    top: 125px; 
    left: 50%;
    transform: translateX(-50%);
    color: #666;
}


/* 選考フロー */
.step-entry-box {
  display: flex;
  align-items: center;
  background-color: #fff; 
  border: 1px solid #000;
  gap: 20px; 
  width: 50%;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 10px 50px;
}

.step-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.step-label {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #bb1a1a;
}

.step-number {
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
  color: #bb1a1a;
}

.entry-icon {
  width: 90px;  
}

/* テキスト部分 */
.entry-texts {
  display: flex;
  flex-direction: column;
}

.entry-title {
  font-size: 30px;
  margin: 0;
}

.entry-description {
    font-size: clamp(13px, 3vw, 15px);
  color: #666;
  margin: 3px 0 0;
}

.triangle-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent; 
  border-right: 20px solid transparent;
  border-top: 15px solid #bb1a1a;    
  margin: 20px auto;   

}

/* 職種一覧 */
.accordion {
  width: 70%;
  margin: 20px auto;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  background-color: #faecec;
  border: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  display: none;
  padding: 15px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
}

.plus-minus {
  font-size: 20px;
  color: #bb1a1a;
}

.job-detail {
  margin: 0;
  padding: 0;
}

.job-item {
  border-bottom: 1px solid #ccc; /* 区切り線 */
  padding: 30px 0;
  align-items: center;     
    display: flex;
  align-items: stretch;  /* ← 子要素の高さを揃える */
  margin-left: 30px;

}

.job-item:last-child {
  border-bottom: none;
}

.job-item dt {
  font-weight: bold;
  min-width: 120px;
  margin-left: 40px;
  font-size: 15px;
}

.divider {
  width: 1px;
  background-color: #ccc;
  margin: 0 10px; /* 線の左右余白 */
}

.job-item dd {
  white-space: pre-line;
  margin-left: 40px;
  font-size: 15px;
}

.accordion p{
  font-size: clamp(13px, 1.5vw, 18px);
}
/* 採用フォーム */
.recruit-form {
    width: 70%;
  margin: 0 auto;
  padding: 80px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 90px;
}

.form-group {
  margin-bottom: 50px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 18px;
  color: #333;
}

.required {
  background-color: #bb1a1a; 
  color: #fff;              
  font-size: 11px;
  padding: 2px 8px 3px 7px;
  border-radius: 10px;      
  margin-left: 12px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
  color: #333;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-group label {
  display: inline-block;
  margin-right: 20px;
  font-weight: normal;
}

.button-container {
  text-align: center; /* コンテナ内で中央寄せ */
}

.submit-button {
  display: inline-block;
  background-color: #bb1a1a;
  color: white;
  font-weight: bold;
  padding: 12px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #bb1a1a;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  width: 150px; 
  height: auto;
}

@media screen and (max-width: 1024px) {
    /* 選考フロー */
  .step-entry-box {
    width: 70%;
    padding: 20px 30px;
  }

  .step-box {
    width: 70px;
    height: 70px;
  }

  .step-label {
    font-size: 20px;
  }

  .step-number {
    font-size: 40px;
  }

  .mail-icon {
    width: 70px;
  }

  .entry-title {
    font-size: 32px;
  }

}
@media screen and (max-width: 768px) {
.entry-section-title {
  margin: 140px 0 5px 60px;
}
.entry-section-text p{
    margin-left: 90px;
}

.entry-section-text{
    margin-bottom: 70px;
}

    /* 選考フロー */
    .step-entry-box {
    width: 70%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 20px;
    gap: 3px;
  }

  .step-box {
    width: 60px;
    height: 60px;
  }

  .step-label {
    font-size: 18px;
  }

  .step-number {
    font-size: 32px;
  }

  .entry-icon {
    width: 40px;
    margin: 10px 0 0 0;
  }

  .entry-title {
    font-size: 24px;
  }

    /* 職種一覧 */
  .accordion {
    width: 95%;
  }

  .accordion-header {
    font-size: 16px;
    padding: 12px;
  }

  .plus-minus {
    font-size: 18px;
  }

  .accordion-content {
    padding: 12px;
  }

/* 採用フォーム */
  .recruit-form {
    padding: 60px;
    width: 85%;
  }
  
  .checkbox-group label {
    display: block;
    margin-bottom: 10px;
  }
  
  .submit-button {
    width: 90%;
    padding: 14px 0;
    font-size: 20px;
  }
}
@media screen and (max-width: 480px) {
    .entry-section-title {
  margin: 140px 0 5px 30px;
}
.entry-section-text p{
    margin-left: 50px;
}

.entry-section-text{
    margin-bottom: 50px;
}

    /* 選考フロー */
    .step-entry-box {
    width: 85%;
    padding: 10px 15px;
  }

  .step-box {
    width: 50px;
    height: 50px;
  }

  .step-label {
    font-size: 14px;
  }

  .step-number {
    font-size: 24px;
  }

  .mail-icon {
    width: 50px;
  }

  .entry-title {
    font-size: 20px;
  }

    /* 職種一覧 */
  .accordion-header {
    font-size: 14px;
    padding: 10px;
  }

  .plus-minus {
    font-size: 16px;
  }

  .accordion-content {
    font-size: 13px;
    padding: 10px;
  }
  .job-item {
    margin: 0;
  }
  .job-item dt {
  margin-left: 10px;
  min-width: 80px;
}
  .job-item dd {
  margin-left: 10px;
}

 /* 採用フォーム */
  .recruit-form {
    padding: 20px;
  }
 
}
