/*
Theme Name: Beppu Kyujin - Tiger Care
Theme URI: https://beppu-kyujin.tigercare.jp
Author: 株式会社タイガー
Description: 別府市・子育てママ向け清掃求人LPテーマ
Version: 3.0.0
Text Domain: beppu-kyujin
*/

/* ===========================
   リセット・基本
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #3DAA6E;
    --green-light: #F0FAF4;
    --green-mid: #6DC893;
    --green-dark: #1E6B45;
    --black: #111111;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #f4f4f2;
    --border: #e8e8e8;
    --white: #ffffff;
    --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; border: 4px solid #52B830; box-sizing: border-box; }
body { font-family: var(--font); color: var(--black); background: var(--gray-light); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

/* ===========================
   レイアウト
=========================== */
.container { max-width: 1000px; margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 6rem 0; }
.bg-gray { background: var(--gray-light); }
.bg-green { background: var(--green-light); }

/* ===========================
   タイポグラフィ
=========================== */
.eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--green); font-weight: 700; display: block; margin-bottom: 1rem; text-transform: uppercase; text-align: center; }
.heading-xl { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; color: var(--black); margin-bottom: 1.5rem; }
.heading-lg { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--black); text-align: center; }
.heading-md { font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.3; color: var(--black); text-align: center; }
.text-muted { color: var(--gray); font-size: 13px; }
.divider-line { width: 28px; height: 2px; background: var(--green); margin: 1.5rem auto 3rem; }

/* ===========================
   ヘッダー
=========================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); height: 100px; display: flex; align-items: center; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1000px; margin: 0 auto; padding: 0 2.5rem; width: 100%; height: 100%; }
.site-logo a { display: flex; align-items: center; height: 100%; padding: 12px 0; }
.header-chara { height: 72px; width: auto; }
.site-logo-text { font-size: 14px; font-weight: 500; color: var(--gray); line-height: 1.8; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.site-logo-text small { font-size: 14px; font-weight: 400; color: var(--gray); display: block; }

@media (max-width: 768px) {
    .site-header { height: 72px; }
    .header-chara { height: 52px; }
    .site-logo-text { font-size: 12px; }
    .site-logo-text small { font-size: 12px; }
}

/* ===========================
   テキストスライダー
=========================== */
.hero-slider-wrap { width: 100%; margin-top: 100px; background: var(--gray-light); padding: 2.5rem 2.5rem; }
.hero-slider { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 320px; overflow: hidden; border-radius: 12px; background: var(--white); }
.hero-slides-track { display: flex; width: 600%; height: 100%; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hero-slide { width: calc(100% / 6); height: 100%; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 4rem; text-align: center; }
.hero-slide-eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--gray); font-weight: 700; display: block; margin-bottom: 1.5rem; text-transform: uppercase; }
.hero-slide-title { font-size: clamp(24px, 4vw, 42px); font-weight: 900; color: var(--green); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero-slide-sub { font-size: 14px; color: var(--gray); letter-spacing: 0.05em; }
.hero-slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.3s; border: none; padding: 0; }
.dot.active { background: var(--green); }

@media (max-width: 768px) {
    .hero-slider-wrap { padding: 1.5rem 1.25rem; }
    .hero-slider { height: 260px; border-radius: 8px; }
    .hero-slide { padding: 2rem 1.75rem; }
    .hero-slide-title { font-size: clamp(20px, 5vw, 28px); }
}

/* ===========================
   ヒーロー
=========================== */
.hero { padding: 5rem 0 6rem; background: var(--white); text-align: center; }
.hero-seo-title { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; color: var(--black); margin: 1rem 0 0.75rem; line-height: 1.6; }
.hero-seo-sub { font-size: 13px; color: var(--gray); line-height: 1.9; margin-bottom: 2.5rem; }
.hero-btns { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-top: 2rem; }
.btn-primary { display: block; background: #06C755; color: #fff; padding: 22px 64px; font-size: 16px; font-weight: 700; width: 100%; max-width: 360px; letter-spacing: 0.05em; transition: background 0.2s; }
.btn-primary:hover { background: #05a847; opacity: 1; color: #fff; }
.btn-outline { display: block; background: transparent; color: var(--black); padding: 19px 64px; font-size: 14px; font-weight: 700; width: 100%; max-width: 360px; border: 1px solid var(--black); letter-spacing: 0.05em; }

/* ===========================
   ボタン
=========================== */
.btn-primary { display: inline-block; background: #06C755; color: #fff; padding: 18px 40px; font-size: 15px; font-weight: 700; text-align: center; letter-spacing: 0.05em; transition: background 0.2s; }
.btn-primary:hover { background: #05a847; opacity: 1; color: #fff; }
.btn-outline { display: inline-block; background: transparent; color: var(--black); padding: 17px 40px; font-size: 15px; font-weight: 700; text-align: center; border: 1.5px solid var(--black); letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; }
.btn-outline:hover { background: var(--black); color: #fff; opacity: 1; }

/* ===========================
   選ばれる理由
=========================== */
.reasons-grid { columns: 5; column-gap: 20px; margin-top: 3rem; }
.reason-card { background: var(--white); -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid-column; margin-bottom: 20px; display: block; border: none; overflow: hidden; }
.reason-card.featured { border: 4px solid #52B830; }
.reason-card-body { padding: 1.25rem; text-align: center; }
.reason-num { display: none; }
.reason-title { font-size: 17px; font-weight: 900; color: var(--green); margin-bottom: 0.5rem; line-height: 1.4; }
.reason-desc { font-size: 12px; color: var(--gray); line-height: 1.8; display: inline-block; text-align: center; }
.reason-card-img { width: 100%; height: auto; display: block; }
.reason-card-illust { width: 66.6%; margin: 0 auto; }
.reason-card-photo { width: 100%; }
.reason-card-img-placeholder { width: 100%; height: 160px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray); }

@media (max-width: 1024px) { .reasons-grid { columns: 4; } }
@media (max-width: 768px) { .reasons-grid { columns: 3; column-gap: 12px; } }
@media (max-width: 480px) { .reasons-grid { columns: 2; } }

/* ===========================
   一日の流れ
=========================== */
.flow-steps { margin-top: 3rem; }
.flow-step { display: flex; align-items: flex-start; gap: 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.flow-step:first-child { border-top: 1px solid var(--border); }
.flow-time { font-size: 13px; font-weight: 700; color: var(--green); min-width: 60px; padding-top: 3px; letter-spacing: 0.05em; flex-shrink: 0; }
.flow-body strong { display: block; font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.flow-body p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* ===========================
   スタッフの声
=========================== */
.voice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 3rem; }
.voice-card { background: var(--white); border: 1px solid var(--border); padding: 2.5rem; }
.voice-text { font-size: 14px; color: var(--gray-dark); line-height: 2; margin-bottom: 1.25rem; }
.voice-meta { display: flex; align-items: center; gap: 10px; }
.voice-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.voice-name { font-size: 12px; color: var(--gray); }
.chara-comment { display: flex; flex-direction: column; align-items: center; margin-top: 2rem; padding: 1rem 0 0; text-align: center; margin-bottom: -2rem; }
.chara-comment-inner { display: flex; align-items: center; gap: 1.5rem; justify-content: center; }
.chara-comment img { width: 100px; flex-shrink: 0; }
.chara-balloon-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.chara-balloon-name { font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 0.5rem; padding-left: 16px; }
.chara-balloon { position: relative; background: #52B830; border-radius: 4px 18px 18px 18px; padding: 1.25rem 1.5rem; max-width: 400px; }
.chara-balloon::before { content: ''; position: absolute; top: 24px; left: -8px; border: 8px solid transparent; border-right-color: #52B830; border-left: 0; }
.chara-balloon p { font-size: 15px; color: #fff; line-height: 1.9; font-weight: 500; text-align: left; }

@media (max-width: 768px) {
    .chara-comment-inner { flex-direction: column; align-items: center; }
    .chara-balloon::before { display: none; }
    .chara-balloon { border-radius: 18px; }
    .chara-balloon p { text-align: center; }
    .chara-balloon-name { padding-left: 0; }
}

@media (max-width: 768px) {
    .voice-cards { grid-template-columns: 1fr; }
    .chara-comment { flex-direction: column; }
}

/* ===========================
   求人情報
=========================== */
.job-table { width: 100%; border-collapse: collapse; margin-top: 3rem; }
.job-table tr { border-bottom: 1px solid var(--border); }
.job-table tr:first-child { border-top: 1px solid var(--border); }
.job-table th { font-size: 13px; font-weight: 700; color: var(--black); padding: 1.5rem 1.25rem; text-align: left; width: 150px; vertical-align: top; background: var(--gray-light); }
.job-table td { padding: 1.5rem 1.25rem; font-size: 14px; color: var(--gray-dark); vertical-align: top; line-height: 1.9; }
.job-notice { font-size: 12px; color: var(--gray); margin-top: 1.25rem; line-height: 1.8; }

/* ===========================
   FAQ
=========================== */
.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; align-items: flex-start; gap: 1.25rem; font-size: 15px; font-weight: 700; color: var(--black); padding: 1.75rem 0; }
.faq-q-icon { font-size: 13px; font-weight: 900; color: var(--green); min-width: 20px; padding-top: 1px; }
.faq-a { font-size: 14px; color: var(--gray); line-height: 2; padding: 0 0 1.75rem 2.25rem; }

/* ===========================
   応募セクション
=========================== */
.apply { background: var(--gray-light); padding: 7rem 0; text-align: center; }
.apply-title { font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: var(--black); line-height: 1.25; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.apply-sub { font-size: 16px; color: var(--gray); margin-bottom: 3.5rem; line-height: 1.9; }
.apply-btns { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.btn-apply-line { display: block; background: #06C755; color: #fff; padding: 22px 64px; font-size: 16px; font-weight: 700; width: 100%; max-width: 360px; letter-spacing: 0.05em; transition: background 0.2s; }
.btn-apply-line:hover { background: #05a847; opacity: 1; color: #fff; }
.btn-apply-form { display: block; background: transparent; color: var(--black); padding: 19px 64px; font-size: 14px; font-weight: 700; width: 100%; max-width: 360px; border: 1px solid var(--black); letter-spacing: 0.05em; transition: border-color 0.2s; }
.btn-apply-form:hover { border-color: rgba(255,255,255,0.7); opacity: 1; color: #fff; }
.btn-apply-tel { display: block; background: transparent; color: var(--black); padding: 19px 64px; font-size: 14px; font-weight: 700; width: 100%; max-width: 360px; border: 1px solid var(--black); letter-spacing: 0.05em; transition: border-color 0.2s; }
.btn-apply-tel:hover { border-color: rgba(255,255,255,0.7); opacity: 1; color: #fff; }

/* ===========================
   会社情報
=========================== */
.company-table { width: 100%; border-collapse: collapse; margin-top: 3rem; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:first-child { border-top: 1px solid var(--border); }
.company-table th { font-size: 13px; font-weight: 700; color: var(--gray); padding: 1.25rem; text-align: left; width: 130px; vertical-align: top; }
.company-table td { font-size: 14px; color: var(--gray-dark); padding: 1.25rem; vertical-align: top; line-height: 1.9; }

/* ===========================
   ブログ
=========================== */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 3rem; }
.blog-card { text-decoration: none; color: inherit; display: block; }
.blog-card:hover { opacity: 0.7; }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--gray-light); margin-bottom: 1.25rem; }
.blog-card-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--gray-light); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray); }
.blog-card-cat { font-size: 11px; letter-spacing: 0.15em; color: var(--green); font-weight: 700; display: block; margin-bottom: 0.6rem; text-transform: uppercase; }
.blog-card-title { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.6; margin-bottom: 0.6rem; }
.blog-card-date { font-size: 12px; color: var(--gray); }

@media (max-width: 768px) {
    .blog-list { grid-template-columns: 1fr; gap: 28px; }
}

/* ===========================
   フッター
=========================== */
.site-footer { background: #1a2e1a; padding: 3.5rem 0 2.5rem; border-top: 3px solid #52B830; }
.footer-nav { display: flex; justify-content: center; gap: 36px; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }
.footer-nav a:hover { color: rgba(255,255,255,0.8); opacity: 1; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; }

/* ===========================
   固定CTAバー（スマホ）
=========================== */
.fixed-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--black); padding: 12px 16px; }
.fixed-cta-inner { display: flex; gap: 8px; }
.fixed-cta .btn-primary { flex: 1; padding: 13px 8px; font-size: 13px; text-align: center; }
.fixed-cta .btn-outline { flex: 1; padding: 12px 8px; font-size: 13px; text-align: center; border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.fixed-cta .btn-outline:hover { background: transparent; color: #fff; }

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .container-narrow { padding: 0 1.5rem; }
    .section { padding: 4rem 0; }
    .hero { padding: 3rem 0 4rem; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
    .fixed-cta { display: block; }
    body { padding-bottom: 72px; }
    .job-table th { width: 90px; font-size: 12px; padding: 1rem; }
    .job-table td { padding: 1rem; font-size: 13px; }
}

/* ===========================
   ブログ記事内スタイル
=========================== */
.entry-content h2 { font-size: clamp(18px, 3vw, 22px); font-weight: 900; color: var(--black); margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #52B830; line-height: 1.4; }
.entry-content h3 { font-size: clamp(16px, 2.5vw, 18px); font-weight: 700; color: var(--black); margin: 2rem 0 0.75rem; padding-left: 0.75rem; border-left: 4px solid #52B830; line-height: 1.4; }
.entry-content p { font-size: 15px; line-height: 2; color: #333; margin-bottom: 1.5rem; }
.entry-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.entry-content ul li { font-size: 15px; line-height: 1.9; color: #333; margin-bottom: 0.5rem; list-style: disc; }
.entry-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.entry-content ol li { font-size: 15px; line-height: 1.9; color: #333; margin-bottom: 0.5rem; }
.entry-content strong { font-weight: 700; color: var(--black); }
.entry-content a { color: #52B830; text-decoration: underline; }
.entry-content a:hover { opacity: 0.8; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
