/* ============================================
   教師募集ページ専用スタイル
   ============================================ */

/* ============================================
   1. ヒーローセクション
   ============================================ */
.teachers-hero {
    background: linear-gradient(135deg, rgba(45, 95, 79, 0.05) 0%, rgba(127, 176, 105, 0.05) 100%);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.teachers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(45,95,79,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.teachers-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.teachers-hero__tag {
    display: inline-block;
    background: rgba(127, 176, 105, 0.15);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(127, 176, 105, 0.25);
}

.teachers-hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.teachers-hero__subtitle {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.teachers-hero__highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    border: 1px solid rgba(45, 95, 79, 0.1);
    box-shadow: 0 2px 8px rgba(45, 95, 79, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    box-shadow: 0 8px 16px rgba(45, 95, 79, 0.12);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight-item span {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-700);
}

.teachers-hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.teachers-hero__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.teachers-hero__note i {
    color: var(--secondary-color);
}

/* ============================================
   2. メリットセクション（既存のfeature__cardスタイルを使用）
   ============================================ */
/* 既存のstyle.cssのスタイルを使用するため、追加のスタイルは不要 */

/* ============================================
   3. 報酬体系セクション
   ============================================ */
.teachers-salary {
    padding: 100px 0;
    background: #fff;
}

/* 評価報酬 */
.salary-rating {
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.05), rgba(230, 181, 102, 0.05));
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.salary-rating__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.rating-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.rating-item--best {
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.1), rgba(230, 181, 102, 0.1));
    border: 2px solid var(--secondary-color);
}

.rating-stars {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.rating-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.salary-rating__note {
    text-align: center;
    font-size: 0.9375rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.salary-rating__note i {
    color: var(--secondary-color);
}

/* ランク制度 */
.rank-system {
    margin-top: 3rem;
}

.rank-system__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.rank-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #ddd;
}

.rank-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.rank-card--bronze {
    border-left-color: #cd7f32;
}

.rank-card--silver {
    border-left-color: #c0c0c0;
}

.rank-card--gold {
    border-left-color: #ffd700;
}

.rank-card--platinum {
    border-left-color: #e5e4e2;
    background: linear-gradient(135deg, rgba(229, 228, 226, 0.05), rgba(212, 212, 212, 0.05));
}

.rank-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.rank-card__students {
    font-size: 1.125rem;
    font-weight: 600;
    color: #666;
}

.rank-card__badge-top {
    background: linear-gradient(135deg, var(--accent-color), #ff9800);
    color: #fff;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.rank-card__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.rank-card__section {
}

.rank-card__subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-card__list {
    list-style: none;
    padding: 0;
}

.rank-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.rank-card__list i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* 紹介制度 */
.referral-system {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.referral-steps-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.referral-step-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.referral-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(45, 95, 79, 0.15);
}

.referral-step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.referral-step-icon {
    width: 100px;
    height: 100px;
    background: rgba(127, 176, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--secondary-color);
}

.referral-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.referral-step-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.referral-arrow-right {
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.4;
    flex-shrink: 0;
}

.salary-notes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: var(--radius-lg);
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.note-item i {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

/* ランクバッジ */
.rank-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rank-badge--bronze {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.rank-badge--silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #333;
}

.rank-badge--gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.rank-badge--platinum {
    background: linear-gradient(135deg, #e5e4e2, #d4d4d4);
    color: #333;
    border: 2px solid #999;
}

/* ============================================
   4. 応募資格セクション
   ============================================ */
.teachers-requirements {
    padding: 100px 0;
}

.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.requirements-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.requirements-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-box__title i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.requirements-list i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.requirements-list .fa-check {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.requirements-list .fa-star {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.requirements-message {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.1), rgba(230, 181, 102, 0.1));
    border-radius: var(--radius-xl);
    text-align: center;
}

.requirements-message__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.requirements-message__text i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.requirements-message__text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   5. 応募フローセクション
   ============================================ */
.teachers-flow {
    padding: 100px 0;
    background: #fff;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
}

.flow-step__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(45, 95, 79, 0.3);
}

.flow-step__icon {
    width: 80px;
    height: 80px;
    background: rgba(127, 176, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.flow-step__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.flow-step__description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.flow-step__time {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* ============================================
   6. 教師の声セクション
   ============================================ */

/* ============================================
   6. 応募CTAセクション
   ============================================ */
.teachers-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d5f4f 0%, #1a3a2e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.teachers-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 176, 105, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(127, 176, 105, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(127, 176, 105, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(127, 176, 105, 0.8);
    }
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-note i {
    color: var(--secondary-color);
}

/* ============================================
   9. レスポンシブデザイン
   ============================================ */

/* タブレット */
@media screen and (max-width: 1024px) {
    .teachers-hero__title {
        font-size: 2.75rem;
    }
    
    .teachers-hero__highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rating-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rating-item:nth-child(4),
    .rating-item:nth-child(5) {
        grid-column: span 1;
    }
    
    .flow-arrow {
        transform: rotate(90deg) !important;
        margin: 1rem 0;
    }
    
    /* 紹介制度の矢印もタブレットで下向きに */
    .referral-steps-horizontal {
        flex-direction: column;
        gap: 2rem;
    }
    
    .referral-step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .referral-arrow-right {
        transform: rotate(90deg) !important;
        font-size: 2rem;
    }
}

/* モバイル */
@media screen and (max-width: 768px) {
    .teachers-hero {
        padding: 120px 0 80px;
        min-height: 500px;
    }
    
    .teachers-hero__tag {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
    
    .teachers-hero__title {
        font-size: 2rem;
    }
    
    .teachers-hero__subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .teachers-hero__highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.875rem;
    }
    
    .highlight-item i {
        font-size: 1.25rem;
    }
    
    .highlight-item span {
        font-size: 0.8125rem;
    }
    
    .teachers-hero__buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .teachers-hero__buttons .btn {
        width: 100%;
    }
    
    .teachers-hero__note {
        font-size: 0.8125rem;
    }
    
    .teachers-salary,
    .teachers-requirements,
    .teachers-flow,
    .teachers-voices,
    .teachers-faq,
    .teachers-cta {
        padding: 60px 0;
    }
    
    .rating-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .rating-item:nth-child(5) {
        grid-column: 1 / -1;
    }
    
    .rank-card {
        padding: 1.5rem;
    }
    
    .rank-card:hover {
        transform: translateX(0);
    }
    
    .referral-step {
        flex-direction: column;
        text-align: center;
    }
    
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .requirements-box {
        padding: 2rem;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg) !important;
        margin: 0;
    }
    
    /* 紹介制度の矢印もモバイルで確実に下向きに */
    .referral-steps-horizontal {
        flex-direction: column;
        gap: 2rem;
    }
    
    .referral-step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .referral-arrow-right {
        transform: rotate(90deg) !important;
        font-size: 2rem;
    }
    
    .voices-grid {
        grid-template-columns: 1fr;
    }
    
    .voice-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* 小型モバイル */
@media screen and (max-width: 480px) {
    .teachers-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .teachers-hero__title {
        font-size: 1.75rem;
    }
    
    .teachers-hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .teachers-hero__highlights {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .highlight-item i {
        font-size: 1.125rem;
    }
    
    .highlight-item span {
        font-size: 0.8125rem;
        text-align: left;
    }
    
    .rating-grid {
        grid-template-columns: 1fr;
    }
    
    .salary-rating {
        padding: 1.5rem;
    }
    
    .rank-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .flow-step {
        min-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .voice-card__header {
        flex-direction: column;
        text-align: center;
    }
    
    .voice-card__avatar {
        margin: 0 auto;
    }
}
