/* ===== recruit.css - 採用ページ専用スタイル（見出しスタイル統一版） ===== */

/* ===================================================
   アニメーション共通設定
   ================================================ */
/* アニメーション後の状態 */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
}

/* JS無効時のフォールバック */
.no-js .recruit-hero-content,
.no-js .work-environment,
.no-js .section-transition,
.no-js .job-card,
.no-js .internship-card,
.no-js .recruit-footer {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ===================================================
   ヒーローセクション
   ================================================ */
.recruit-hero {
    padding: 60px 0;
    background: linear-gradient(30deg, #f8f9f6 0%, #e8eae6 50%, #d6e1d4 100%);
    position: relative;
    overflow: hidden;
}

.recruit-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(89, 163, 102, 0.08) 50%, rgba(44, 85, 48, 0.08) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

/* ヒーローコンテンツ - 初期状態 */
.recruit-hero-content {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    will-change: transform, opacity;
}

.recruit-hero-text {
    padding: 0 20px;
}

.recruit-hero-text h2 {
    font-size: clamp(22px, 4.5vw, 30px);
    font-weight: 700;
    color: #334636;
    margin-bottom: 35px;
    line-height: 1.3;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.5s ease-out 0.2s forwards;
}

.recruit-hero-text .section-divider::before {
    aspect-ratio: auto;
}

.recruit-hero-content.animate-in .recruit-hero-text h2 {
    animation: slideInFromLeft 0.5s ease-out 0.2s forwards;
}

.hero-subheading {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    color: #59a366;
    margin: 25px 0 0;
    padding: 0;
    letter-spacing: 0.05em;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease-out 0.35s forwards;
}

.recruit-hero-content.animate-in .hero-subheading {
    animation: fadeInUp 0.5s ease-out 0.35s forwards;
}

.recruit-hero-description {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.recruit-hero-content.animate-in .recruit-hero-description {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.recruit-hero-description p {
    margin-bottom: 25px;
    line-height: 2.0;
}

.highlight {
    background: linear-gradient(120deg, transparent 0%, rgba(155, 123, 79, 0.12) 30%, rgba(155, 123, 79, 0.12) 70%, transparent 100%);
    color: #9B7B4F;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: linear-gradient(120deg, transparent 0%, rgba(155, 123, 79, 0.2) 30%, rgba(155, 123, 79, 0.2) 70%, transparent 100%);
    transform: scale(1.05);
}

.recruit-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    animation: slideInFromRight 0.6s ease-out 0.3s forwards;
}

.recruit-hero-content.animate-in .recruit-hero-image {
    animation: slideInFromRight 0.6s ease-out 0.3s forwards;
}

.recruit-hero-image img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
    border-radius: 50px;
}

.recruit-hero-image:hover img {
    transform: translateY(-5px) rotate(1deg);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.2));
}

/* ===================================================
   セクションタイトル（サービスページと統一）
   ================================================ */
.section-title {
    font-size: 32px;
    color: #334636;
    margin: 30px 0;
    font-weight: 600;
}

.section-subtitle,
.subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    text-align: center;
    position: relative;
}

.section-subtitle::before,
.subtitle::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #4a7c59;
}

.section-description {
    font-size: 15px;
    color: #666;
    margin: 15px 0;
    line-height: 1.8;
    text-align: center;
}

/* ===================================================
   働く環境セクション
   ================================================ */
.work-environment {
    background: #F8F9F6;
    position: relative;
}

.work-environment .container {
    padding: 0 50px;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 0 50px 0;
}

.env-card {
    background: linear-gradient(135deg, #f8f9f6 0%, #ffffff 100%);
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(89, 163, 102, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.env-card:nth-child(1) { transition-delay: 0.1s; }
.env-card:nth-child(2) { transition-delay: 0.2s; }
.env-card:nth-child(3) { transition-delay: 0.3s; }


.env-icon {
    width: 75px;
    height: 60px;
    margin: 40px auto 20px;
    display: block;
}

.env-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.env-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #334636;
    margin: 20px 25px 15px;
    text-align: center;
}

.env-card p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    padding: 0 25px 25px;
}

.environment-details {
    background: linear-gradient(135deg, #f8f9f6 0%, #eaefe9 100%);
    padding: 40px;
    margin: 0;
    border-radius: 5px;
    border: 1px solid rgba(89, 163, 102, 0.1);
}

.environment-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: #334636;
    margin-bottom: 25px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid rgba(89, 163, 102, 0.1);
}

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

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: #4A9B5E;
    font-weight: bold;
    font-size: 18px;
}

/* ===================================================
   セクショントランジション
   ================================================ */
.section-transition {
    text-align: center;
    padding: 60px 0 40px;
    background: #F8F9F6; 
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-transition.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-transition .section-title h2 {
    font-size: 32px;
    color: #334636;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.section-transition.animate-in .section-title h2 {
    animation: fadeInUp 0.5s ease-out 0.1s forwards;
}

.section-transition.animate-in .subtitle {
    animation: fadeInUp 0.5s ease-out 0.2s forwards;
}

.section-transition.animate-in .section-description {
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
}

/* ===================================================
   求人リストセクション
   ================================================ */
.job-listings {
    padding: 0 0 40px;
    background: #F8F9F6; 
}

.job-listings .container {
    padding: 0 50px;
}

/* 求人カード - 初期状態 */
.job-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    padding: 40px;
    transition: all 0.5s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    will-change: transform, opacity;
    border-radius: 5px;
}

/* アニメーション後 */
.job-listings .job-card.animate-in,
.job-card.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.job-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #334636;
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.job-card.animate-in h3 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* セクションヘッダー */
.section-header {
    font-size: 20px;
    font-weight: 600;
    color: #334636;
    margin: 30px 0 20px;
    padding-left: 20px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.job-card.animate-in .section-header {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #59a366, #334636);
    border-radius: 2px;
}


/* ===================================================
   募集対象セクション
   ================================================ */
.job-card {
    counter-reset: recruitment-counter;
}

.recruitment-section {
    margin: 30px 0;
    padding: 30px;
    background: #f8f9f6;
    border-radius: 5px;
    border: 1px solid rgba(89, 163, 102, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.job-card.animate-in .recruitment-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.job-card.animate-in .recruitment-section:nth-of-type(1) { transition-delay: 0.1s; }
.job-card.animate-in .recruitment-section:nth-of-type(2) { transition-delay: 0.2s; }

.recruitment-type {
    font-size: 22px;
    font-weight: 600;
    color: #334636;
    margin-bottom: 25px;
    padding-left: 0;
    position: relative;
    counter-increment: recruitment-counter;
}

.recruitment-type::before {
    content: "0" counter(recruitment-counter) " ";
    color: #59a366;
    font-weight: 700;
    margin-right: 5px;
    font-size: 35px;
}

/* キャリア募集 */
.career-positions {
    display: grid;
    gap: 25px;
}

.position-item {
    background: white;
    padding: 25px;
    border-radius: 5px;
    border: 1px solid rgba(89, 163, 102, 0.1);
    transition: all 0.3s ease;
}

.position-title {
    font-size: 20px;
    font-weight: 600;
    color: #334636;
    margin-bottom: 15px;
    padding-left: 0;
    position: relative;
}

.position-note {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    font-style: italic;
}

.position-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.position-item li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.7;
    color: #555;
}

.position-item li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 14px;
    color: #59a366;
    font-size: 12px;
}

/* 新卒募集 */
.new-grad-info {
    background: white;
    padding: 25px;
    border-radius: 5px;
    border: 1px solid rgba(89, 163, 102, 0.1);
}

.grad-requirement {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(89, 163, 102, 0.2);
}

.grad-requirement p {
    color: #334636;
    font-weight: 500;
    margin: 0;
}

.grad-salary {
    display: grid;
    gap: 15px;
}

.salary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9f6;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(89, 163, 102, 0.08);
    transition: all 0.3s ease;
}

.salary-label {
    font-weight: 600;
    color: #334636;
    font-size: 16px;
    min-width: 50px;
    position: relative;
}

.salary-label::before {
    content: "● ";
    color: #59a366;
    margin-right: 5px;
    font-size: 12px;
}

.salary-amount {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}


/* ===================================================
   お問い合わせモーダル
   ================================================ */

/* リクルートページ モーダル */
#contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 70, 54, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

#contact-modal[style*="display: block"] {
  display: flex !important;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 45px;
  border-radius: 8px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-top: 4px solid #59a366;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 26px;
  color: #334636;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8f9f6;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: #334636;
  background: #f8f9f6;
  transform: rotate(90deg);
}

/* Contact Form 7 スタイル */
.modal-content .wpcf7 {
  margin-top: 20px;
}

.modal-content .form-group {
  margin-bottom: 25px;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #334636;
  font-size: 15px;
}

.modal-content .form-control,
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.modal-content .form-control:focus,
.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="tel"]:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #59a366;
  background: white;
  box-shadow: 0 0 0 3px rgba(89, 163, 102, 0.1);
}

.modal-content textarea {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
}

.modal-content .form-note {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  line-height: 1.5;
}

.modal-content .privacy-notice {
  margin: 20px 0;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9f6 0%, #eaefe9 100%);
  border-left: 3px solid #59a366;
  border-radius: 5px;
}

.modal-content .privacy-notice p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.modal-content .privacy-notice a {
  color: #59a366;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.modal-content .privacy-notice a:hover {
  color: #334636;
}

.modal-content .form-checkbox {
  margin: 20px 0;
}

.modal-content .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-content .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #59a366;
}

.modal-content .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 15px;
  color: #334636;
  cursor: pointer;
}

.modal-content .form-submit {
  text-align: center;
  margin-top: 30px;
}

.modal-content .common-btn {
  background: linear-gradient(135deg, #59a366, #4A9B5E);
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(89, 163, 102, 0.3);
}

.modal-content .common-btn:hover {
  background: linear-gradient(135deg, #4A9B5E, #59a366);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(89, 163, 102, 0.4);
}

.modal-content .common-btn:active {
  transform: translateY(0);
}

/* Contact Form 7 エラー・成功メッセージ */
.modal-content .wpcf7-validation-errors,
.modal-content .wpcf7-mail-sent-ok {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  font-size: 14px;
}

.modal-content .wpcf7-validation-errors {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  color: #c33;
}

.modal-content .wpcf7-mail-sent-ok {
  background: #f0f9f0;
  border: 1px solid #ccffcc;
  color: #4A9B5E;
}

.modal-content .wpcf7-spinner {
  position: absolute;
  margin: 0;
  margin-left: 10px;
}

.modal-content .wpcf7-form-control-wrap {
  position: relative;
}

.modal-content .form-submit .wpcf7-submit {
  position: relative;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .modal-content {
    padding: 35px 25px;
    width: 95%;
  }

  .modal-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h3 {
    font-size: 20px;
  }

  .modal-content .form-control,
  .modal-content input[type="text"],
  .modal-content input[type="email"],
  .modal-content input[type="tel"],
  .modal-content select,
  .modal-content textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .modal-content .common-btn {
    width: 100%;
    padding: 12px 30px;
  }
}

/* ===================================================
   レスポンシブ対応 - 768px以下
   ================================================ */
@media (max-width: 768px) {
    .recruitment-section {
        padding: 25px 20px;
    }

    .recruitment-type {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .position-item {
        padding: 20px;
    }

    .position-title {
        font-size: 17px;
    }

    .new-grad-info {
        padding: 20px;
    }

    .salary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .salary-label {
        min-width: auto;
    }
}

/* ===================================================
   レスポンシブ対応 - 480px以下
   ================================================ */
@media (max-width: 480px) {
.accordion-icon {
    font-size: 10px !important;
    margin-right: 10px;
}

    .recruitment-section {
        padding: 20px 12px;
    }

    .recruitment-type {
        font-size: 18px;
        margin-bottom: 18px;
    }

.recruitment-type::before {
    font-size: 30px;
    margin-right: 0;
}

    .position-item {
        padding: 18px;
    }

.position-item li::before {
    top: 8px;
}

    .position-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .position-note {
        font-size: 13px;
    }

    .position-item li {
        font-size: 14px;
        padding: 6px 0 6px 20px;
    }

    .new-grad-info {
        padding: 18px;
    }

    .grad-requirement {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .grad-requirement p {
        font-size: 15px;
    }

    .salary-item {
        padding: 10px;
    }

    .salary-label {
        font-size: 15px;
    }

    .salary-amount {
        font-size: 14px;
    }
}

/* ===================================================
   情報カード
   ================================================ */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.info-card {
    background: #f8f9f6;
    padding: 25px 20px;
    border-left: 4px solid #59a366;
    border: 1px solid rgba(89, 163, 102, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-radius: 5px;
}

.job-card.animate-in .info-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.job-card.animate-in .info-card:nth-child(1) { transition-delay: 0.1s; }
.job-card.animate-in .info-card:nth-child(2) { transition-delay: 0.15s; }
.job-card.animate-in .info-card:nth-child(3) { transition-delay: 0.2s; }

.info-card-title {
    font-weight: 600;
    color: #334636;
    margin-bottom: 12px;
    font-size: 16px;
}

.info-card-main {
    font-size: 16px;
    font-weight: 500;
    color: #334636;
    line-height: 1.7;
    margin-bottom: 10px;
}

.info-card-detail {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    padding-top: 8px;
    border-top: 1px dashed rgba(89, 163, 102, 0.2);
}

.info-card-content {
    font-size: 16px;
    line-height: 1.7;
    color: #334636;
}

/* ===================================================
   アコーディオン
   ================================================ */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.job-card.animate-in .accordion-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.job-card.animate-in .accordion-item:nth-child(1) { transition-delay: 0.2s; }
.job-card.animate-in .accordion-item:nth-child(2) { transition-delay: 0.25s; }

.accordion-header {
    background: linear-gradient(118deg, #f8f9f6, #eaefe9);
    padding: 20px 25px;
    cursor: pointer;
    pointer-events: auto; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #334636;
    border-radius: 5px;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e8eae6, #d6e1d4);
    transform: translateX(5px);
}

.accordion-header.active {
    background: linear-gradient(135deg, #334636, #59a366);
    color: white;
}

.accordion-icon {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 25px;
}

.accordion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: #f8f9f6;
    padding: 20px;
    border-left: 3px solid #59a366;
    border: 1px solid rgba(89, 163, 102, 0.08);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 5px;
}

.accordion-content.active .benefit-item {
    transform: translateY(0);
    opacity: 1;
}

.accordion-content.active .benefit-item:nth-child(1) { transition-delay: 0.05s; }
.accordion-content.active .benefit-item:nth-child(2) { transition-delay: 0.1s; }
.accordion-content.active .benefit-item:nth-child(3) { transition-delay: 0.15s; }
.accordion-content.active .benefit-item:nth-child(4) { transition-delay: 0.2s; }

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(89, 163, 102, 0.1);
}

.benefit-title {
    font-weight: 600;
    color: #334636;
    margin-bottom: 10px;
    font-size: 16px;
}

.benefit-main {
    font-size: 16px;
    font-weight: 500;
    color: #334636;
    line-height: 1.7;
    margin-bottom: 8px;
}

.benefit-detail {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    padding-top: 8px;
    border-top: 1px dashed rgba(89, 163, 102, 0.2);
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.benefit-list li::before {
    content: '•';
    color: #59a366;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===================================================
   お問い合わせセクション
   ================================================ */
.contact-section {
    text-align: center;
    margin: 50px 0;
    opacity: 1 !important;
}

/* ===================================================
   インターンシップカード
   ================================================ */
.internship-card {
    background: white;
    padding: 40px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.6s ease;
    will-change: transform, opacity;
    border-radius: 5px;
}

.job-listings .internship-card.animate-in,
.internship-card.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.internship-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #334636;
    padding-bottom: 15px;
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.internship-card.animate-in h3 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.internship-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.internship-item {
    background: #f8f9f6;
    padding: 20px 15px;
    border: 1px solid rgba(89, 163, 102, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-radius: 5px;
}

.internship-card.animate-in .internship-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.internship-card.animate-in .internship-item:nth-child(1) { transition-delay: 0.15s; }
.internship-card.animate-in .internship-item:nth-child(2) { transition-delay: 0.2s; }
.internship-card.animate-in .internship-item:nth-child(3) { transition-delay: 0.25s; }

.internship-item h4 {
    color: #334636;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.internship-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

/* ===================================================
   フッター
   ================================================ */
.recruit-footer {
    padding: 10px 0 80px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.recruit-footer.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.footer-message h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #334636;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.recruit-footer.animate-in .footer-message h3 {
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.footer-message p {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.recruit-footer.animate-in .footer-message p {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-message p:nth-child(2) { animation-delay: 0.2s; }
.footer-message p:nth-child(3) { animation-delay: 0.3s; }

/* ===================================================
   アニメーション定義
   ================================================ */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   レスポンシブ対応
   ================================================ */
@media (max-width: 1024px) {
    .recruit-hero {
        padding: 50px 0;
    }

    .recruit-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .recruit-hero::before {
        display: none;
    }

    .recruit-hero-text {
        padding: 0;
    }

    .recruit-hero-text h2 {
        font-size: clamp(24px, 5vw, 28px);
        margin-bottom: 30px;
    }

    .hero-subheading {
        font-size: clamp(15px, 3vw, 18px);
    }

    .recruit-hero-description p {
        font-size: 16px;
    }

    .recruit-hero-image {
        animation: slideInFromBottom 0.6s ease-out 0.4s forwards;
        padding: 0 20px;
        width: 100%;
    }

    .recruit-hero-image img {
        width: 100%;
        height: auto;
        border-radius: 40px;
    }

    @keyframes slideInFromBottom {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .work-environment .container {
        padding: 0 25px;
    }

    .environment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* ヒーローセクション */
    .recruit-hero {
        padding: 40px 0;
    }
    
    .recruit-hero-text h2 {
        font-size: clamp(20px, 5vw, 24px);
        margin-bottom: 20px;
    }

    .hero-subheading {
        font-size: clamp(14px, 3vw, 16px);
    }

    .recruit-hero-description {
        margin-top: 25px;
    }
    
    .recruit-hero-description p {
        font-size: 15px;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.7;
    }

    .recruit-hero-image {
        margin: 20px 0;
        padding: 0;
        width: 100%;
    }

    .recruit-hero-image img {
        width: 100%;
        height: auto;
        border-radius: 30px;
        margin: 0 auto;
    }

    .recruit-hero-content {
        gap: 10px;
    }

    /* その他のセクション */
    .section-title,
    .section-transition .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
        margin-top: 0;
    }
    
    .section-subtitle,
    .subtitle {
        text-align: left;
        font-size: 14px;
    }

    .section-subtitle::before,
    .subtitle::before {
        display: none;
    }

    .section-description {
        text-align: left;
        font-size: 14px;
    }

    .environment-grid {
        gap: 20px;
        margin: 0 0 35px 0;
    }

    .env-card {
        padding: 0;
    }

    .env-icon {
        width: 65px;
        height: 50px;
        margin: 30px auto 15px;
    }

    .env-card h3 {
        font-size: 18px;
        margin: 18px 20px 12px;
    }

    .env-card p {
        font-size: 15px;
        padding: 0 20px 20px;
    }

    .environment-details {
        padding: 30px 20px;
    }

    .environment-details h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .detail-list li {
        font-size: 14px;
    }

    .container,
    .job-listings .container {
        padding: 0 25px;
    }
    
    .job-card {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .job-card h3 {
        margin-bottom: 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card-main {
        font-size: 15px;
    }

    .info-card-detail,
    .info-card-content {
        font-size: 14px;
    }
    
    .accordion-header {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .accordion-content.active {
        padding: 20px;
    }
    
    .accordion-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

.benefit-main {
    font-size: 15px;
}
 
    .internship-card {
        padding: 25px 15px;
    }
    
    .internship-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recruit-footer {
        padding: 10px 35px 70px;
        margin: 0 auto;
    }
    
    .footer-message h3,
    .internship-card h3, 
    .job-card h3 {
        font-size: 24px;
    }

    .footer-message p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* ヒーローセクション */
    .recruit-hero {
        padding: 30px 0;
    }
    
    .recruit-hero-text h2 {
        font-size: clamp(18px, 5vw, 22px);
        margin-bottom: 15px;
    }

    .hero-subheading {
        margin: 10px 0 0;
    }

    .recruit-hero-description {
        margin-top: 20px;
        text-align: left;
    }

    .recruit-hero-description p {
        font-size: 14px;
        line-height: 1.7;
    }

    .recruit-hero-description br {
        display: none;
    }

    .recruit-hero-image {
        margin: 0;
        padding: 0 15px;
        width: 100%;
    }

    .recruit-hero-image img {
        width: 100%;
        height: auto;
        border-radius: 25px;
    }

    /* その他のセクション */
    .section-title,
    .section-transition .section-title h2 {
        margin: 30px 0 10px 0;
    }

    .section-subtitle,
    .subtitle {
        margin-bottom: 20px;
    }

    .environment-grid {
        margin: 0 0 30px 0;
    }

    .env-card {
        padding: 0;
    }

    .env-card h3 {
        font-size: 17px;
        margin: 15px 18px 12px;
    }

    .env-card p {
        padding: 0 12px 18px;
    }

    .environment-details {
        padding: 25px 10px;
    }

    .environment-details h3 {
        font-size: 17px;
        margin-bottom: 18px;
    }
   
    .section-transition {
        padding: 30px 0 0;
    }
    
    .section-transition h2 {
        font-size: 22px;
    }
    
    .job-card {
        padding: 20px 15px;
    }

    .job-listings {
        padding: 10px 0 40px;
    }

    .job-requirements li {
        font-size: 15px;
    }
    
    .section-header {
        font-size: 18px;
        padding-left: 15px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .benefit-item {
        padding: 15px;
    }

    .benefit-list {
        font-size: 15px;
    }

.benefit-main {
    font-size: 14px;
}

.benefit-list li {
    font-size: 14px;
}

    .info-card-main {
        font-size: 14px;
    }
   
    .internship-item {
        padding: 15px;
    }

    .internship-item p {
        font-size: 15px;
    }
    
    .accordion-header {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .accordion-content.active {
        padding: 15px 5px;
    }
    
    .recruit-footer {
        padding: 0 35px;
    }

    .footer-message h3,
    .internship-card h3, 
    .job-card h3 {
        font-size: 20px;
    }
}