/**
 * 求人情報ページ用スタイル
 */

.careers-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

/* 装飾用罫線は削除済み */

.careers-section .section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

.careers-section .section-title h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.careers-section .section-title p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.careers-intro {
    font-size: 16px;
}

.careers-header {
    text-align: center;
    margin-bottom: 15px;
}

.careers-highlight {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00c853 0%, #00c853 20%, #ff5722 50%, #ff5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(-80px);
    animation: slideInFromLeft 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.careers-text {
    line-height: 1.6;
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

.careers-content {
    background: transparent;
    padding: 15px 30px;
    border-radius: 0;
    box-shadow: none;
}

.careers-content > h2,
.careers-content .careers-heading-row h2 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #A5D6A7;
}

.career-category {
    margin-bottom: 50px;
}

.career-category:last-of-type {
    margin-bottom: 30px;
}

.career-category h3 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 10px;
    font-weight: 600;
}

.career-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.career-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    margin-bottom: 0;
    border-radius: 0;
}

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

.career-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.career-item h4 {
    font-size: 12px;
    color: #2E7D32;
    margin: 0;
    font-weight: 600;
}

.career-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.career-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.career-detail-row .detail-label {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    font-size: 13px;
}

.career-detail-row .detail-value {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.career-status {
    margin: 15px 0;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.status-badge.status-open {
    background: #FF6B6B;
    color: #ffffff;
}

.status-badge.status-none {
    background: #E0E0E0;
    color: #666;
}

.career-note-section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 20px 0;
    border-radius: 0;
}

.career-note-section p {
    color: #555;
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

.career-contact {
    background: #F5F5F5;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.career-contact h3 {
    font-size: 20px;
    color: #2E7D32;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.career-contact p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin: 10px 0;
}

.career-contact a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.career-contact a:hover {
    text-decoration: underline;
}

.line-qr-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.line-qr-section p {
    margin-bottom: 15px;
}

.line-qr-placeholder {
    background: #ffffff;
    border: 2px dashed #BDBDBD;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    color: #999;
}

.line-qr-placeholder p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.line-qr-placeholder small {
    font-size: 12px;
    color: #999;
}

/* 求人情報ページの写真下のスペースを削除 */
.careers-section .service-main-media {
    margin-bottom: 0;
    background: transparent !important; /* 透過PNGの背景を正しく表示するため */
}

/* 求人情報ページのno-media背景も透過に */
.careers-section .service-main-media .no-media {
    background: transparent !important;
}

/* 求人情報ページのラベル（右上に配置） */
.careers-section .careers-label {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: auto;
    transform: rotate(10deg);
    filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.5));
    z-index: 10;
    background: transparent; /* ラベルコンテナも透過に */
}

/* 求人情報ページのラベル画像 */
.careers-section .careers-label .service-label-image {
    background: transparent; /* 画像要素も透過に */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .careers-section {
        padding: 15px;
    }
    
    /* 求人情報ページ：左右余白0（section 15px + container 15px = 30pxに統一） */
    .careers-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* より強力なセレクタで確実に適用 */
    section.careers-section .container .careers-content,
    .careers-section .container .careers-content,
    section.careers-section .careers-content,
    .careers-section .careers-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* 求人情報ページの説明文の左右余白も0に統一 */
    .career-item .career-details,
    .career-item .career-detail-row,
    .career-note-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .career-item .career-item-header {
        padding-left: 0;
        padding-right: 0;
    }
    
    .careers-section .section-title h1 {
        font-size: 24px;
    }
    
    .careers-section .section-title p {
        font-size: 14px;
    }
    
    .careers-content > h2 {
        font-size: 20px;
    }
    
    .careers-content .careers-heading-row h2 {
        font-size: 1.25rem;
    }
    
    .career-category h3 {
        font-size: 1.25rem;
    }
    
    .career-item {
        padding: 15px 0;
    }
    
    /* 求人情報ページの説明文の左右余白も0に統一（重複定義） */
    .career-item .career-details,
    .career-item .career-detail-row,
    .career-note-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .career-item .career-item-header {
        padding-left: 0;
        padding-right: 0;
    }
    
    .career-item h4 {
        font-size: 12px;
    }
    
    .career-detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .career-detail-row .detail-label {
        min-width: auto;
    }
    
    /* モバイル版：黒文字説明文のスタイル（左右余白25px、フォントサイズ0.85rem、行間1.6） */
    .career-detail-row .detail-value,
    .career-note-section p,
    .career-contact p,
    .careers-text,
    .careers-content p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        color: #555 !important;
    }
    
    .career-contact {
        padding: 20px;
    }
    
    /* モバイル版：グラデーションテキストのフォントサイズをスタッフ紹介と同じサイズに */
    .careers-highlight {
        font-size: 16px !important;
    }
    
    /* モバイル版：アコーディオンヘッダーのフォントサイズを小さく */
    .careers-accordion .accordion-header span:not(.accordion-icon) {
        font-size: 12px !important;
    }
    
    /* モバイル版：LINEお問合せボタンのサイズ調整 */
    .careers-section .line-reserve-btn {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    
    .careers-section .line-reserve-btn .line-icon {
        width: 14px !important;
        height: 14px !important;
    }
}

/* 求人情報アコーディオン */
.careers-accordion {
    margin-bottom: 30px;
}

.careers-accordion .accordion-item {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.careers-accordion .accordion-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    transition: background 0.3s ease;
}

.careers-accordion .accordion-header:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.careers-accordion .accordion-icon {
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.careers-accordion .accordion-header span:not(.accordion-icon) {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.careers-accordion .accordion-header.active {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.careers-accordion .accordion-content {
    display: none;
    padding: 20px;
    background: #fff;
}

/* LINEお問合せボタンのサイズ調整 */
.careers-section .line-reserve-btn {
    font-size: 12px !important;
    padding: 8px 16px !important;
}

.careers-section .line-reserve-btn .line-icon {
    width: 16px !important;
    height: 16px !important;
}