/* =============================================
   酔鯨酒造 採用ページ用CSS（recruit.css）
   テーマの /assets/recruit/css/recruit.css に設置
   ============================================= */

.recruit-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a152b;
    --gold: #c9a84c;
    --white: #ffffff;
    --light-gray: #f8f8f5;
    --dark-navy: #050d1a;
}

body.recruit-page {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}

.recruit-page h1,
.recruit-page h2,
.recruit-page h3,
.recruit-page h4 {
    font-family: 'Noto Serif JP', serif;
}

/* WordPress 管理バー表示時のずれ防止 */
body.admin-bar .hero {
    height: calc(100vh - 32px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Section 01: Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 21, 43, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: heroFadeIn 1.5s ease;
}

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

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.cta-button:hover {
    background: #b39740;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.scroll-indicator::before {
    content: '↓';
    font-size: 24px;
    color: var(--white);
    opacity: 0.7;
}

/* Container */
.recruit-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common */
.recruit-page section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 60px;
    color: #666;
}

/* Section 02: Empathy */
.empathy {
    background: var(--navy);
    color: var(--white);
}

.empathy .section-title {
    color: var(--white);
}

.checklist {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 18px;
}

.checklist-item::before {
    content: '✓';
    color: var(--gold);
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.empathy-closing {
    text-align: center;
    font-size: 24px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 50px;
}

/* Section 03: Brand Story */
.brand-story {
    background: var(--white);
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.brand-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.brand-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: var(--light-gray);
    padding: 40px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-image {
    width: 100%;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.stat-image--map {
    max-width: 200px;
    opacity: 0.6;
    border-radius: 0;
}

.stat-image--award {
    max-width: 280px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.stat-number--lg {
    font-size: 56px;
}

.stat-number--md {
    font-size: 48px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-label--sm {
    font-size: 12px;
    margin-bottom: 10px;
}

.stat-label--unit {
    font-size: 16px;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
}

.stat-description--awards {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
}

.brewery-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.brewery-card {
    text-align: center;
}

.brewery-card img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.brewery-card h4 {
    font-size: 20px;
    color: var(--navy);
    font-weight: 700;
}

/* Section 03.5: Vision & Mission */
.vision-mission {
    background: var(--light-gray);
    color: var(--navy);
    text-align: center;
}

.vision-mission .section-title {
    color: var(--navy);
    font-family: 'Amiri', 'Noto Serif JP', serif;
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 40px;
}

.vision-whale {
    width: 300px;
    margin: 0 auto 30px;
}

.vision-whale img {
    width: 100%;
}

.vision-video {
    max-width: 900px;
    margin: 60px auto 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.vision-video video {
    width: 100%;
    display: block;
}

.vision-box,
.mission-box {
    max-width: 900px;
    margin: 0 auto 60px;
}

.vision-title {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.vision-text {
    font-size: 18px;
    line-height: 2;
    color: var(--navy);
}

/* Section 04: Work Appeal */
.work-appeal {
    background: var(--light-gray);
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.work-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.work-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--navy);
}

.work-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* Section 05: Life in Kochi */
.life-kochi {
    position: relative;
    background: url('../images/life-kochi-bg.jpg') center/cover;
    color: var(--white);
    text-align: center;
}

.life-kochi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 21, 43, 0.85);
    z-index: 0;
}

.life-kochi .container {
    position: relative;
    z-index: 1;
}

.life-kochi .section-title {
    color: var(--white);
}

.life-kochi .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.life-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.life-point {
    text-align: center;
}

.life-point-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.life-point h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.support-banner {
    display: inline-block;
    padding: 20px 40px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.important-note {
    margin-top: 40px;
    padding: 20px;
    background: rgba(201, 168, 76, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* Section 06: Voices */
.voices {
    background: var(--white);
}

.voice-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.voice-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-10px);
}

.voice-card .voice-image,
.voice-card img.voice-image,
.voice-card img.wp-post-image {
    width: 100% !important;
    aspect-ratio: 5 / 3;
    height: auto !important;
    max-height: none;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.voice-content {
    padding: 30px;
}

.voice-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.voice-role {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.voice-comment,
.voice-comment p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.voice-comment p + p {
    margin-top: 10px;
}

/* Section 07: Career Path */
.career-path {
    background: var(--navy);
    color: var(--white);
}

.career-path .section-title {
    color: var(--white);
}

.career-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.career-step {
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 10px;
    border: 2px solid rgba(201, 168, 76, 0.3);
    text-align: center;
    position: relative;
}

.career-step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--gold);
}

.career-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--gold);
}

.step-skills {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.career-note {
    text-align: center;
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.evaluation-system {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid rgba(201, 168, 76, 0.3);
}

.evaluation-system h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.evaluation-system ul {
    list-style: none;
    padding: 0;
}

.evaluation-system li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
}

.evaluation-system li:last-child {
    border-bottom: none;
}

.evaluation-system li::before {
    content: '✓';
    color: var(--gold);
    margin-right: 10px;
    font-weight: 700;
}

/* Section 08: Requirements */
.requirements {
    background: var(--light-gray);
}

.requirements-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.requirements-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #eee;
}

.requirements-row:last-child {
    border-bottom: none;
}

.requirements-label {
    background: var(--navy);
    color: var(--white);
    padding: 25px 30px;
    font-weight: 600;
}

.requirements-value {
    padding: 25px 30px;
    color: #333;
}

.requirements-highlight {
    color: var(--navy);
    font-weight: 700;
}

.requirements-note {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* Section 09: FAQ */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(201, 168, 76, 0.1);
}

.faq-icon {
    font-size: 20px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* Section 10: CTA Form */
.cta-form {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.cta-form .section-title {
    color: var(--white);
}

.cta-form .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--gold);
}

/* Contact Form 7 の入力欄スタイル */
.cta-form .wpcf7 input[type="text"],
.cta-form .wpcf7 input[type="email"],
.cta-form .wpcf7 input[type="tel"],
.cta-form .wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.cta-form .wpcf7 input:focus,
.cta-form .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.cta-form .wpcf7 input::placeholder,
.cta-form .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* Contact Form 7 の送信ボタン */
.cta-form .wpcf7 .submit-button,
.cta-form .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.cta-form .wpcf7 .submit-button:hover,
.cta-form .wpcf7 input[type="submit"]:hover {
    background: #b39740;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.6);
}

/* Contact Form 7 のバリデーション・送信結果メッセージ */
.cta-form .wpcf7-not-valid-tip {
    color: #ff8d8d;
    font-size: 14px;
    margin-top: 8px;
    text-align: left;
}

.cta-form .wpcf7 form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 15px 20px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
}

.cta-form .wpcf7 form.invalid .wpcf7-response-output,
.cta-form .wpcf7 form.failed .wpcf7-response-output {
    border-color: #ff8d8d;
}

.cta-form .wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}

.company-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

.company-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Footer */
.recruit-footer {
    background: var(--dark-navy);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    font-size: 24px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .recruit-page section {
        padding: 60px 0;
    }

    .brand-content,
    .work-cards,
    .life-points,
    .voice-cards,
    .career-steps,
    .brewery-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .career-step::after {
        display: none;
    }

    .requirements-row {
        grid-template-columns: 1fr;
    }

    .requirements-label {
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .hero h1 {
        font-size: 36px;
    }

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

    body.admin-bar .hero {
        height: calc(100vh - 46px);
    }
}