/* --- 全体・リセット --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* --- ナビゲーション --- */
.navbar {
    padding: 15px 5%;
    background: #fff;
    border-bottom: 2px solid #1a2a3a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* 公式サイト（https://miyako.co/）へ戻る入口 */
.nav-home {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #1a2a3a;
    border-radius: 2px;
    color: #1a2a3a;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-home:hover {
    background: #1a2a3a;
    color: #fff;
}

.logo {
    font-weight: bold;
    color: #1a2a3a;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- ヒーローセクション --- */
.hero {
    height: 70vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    position: relative;
    color: #fff;
}

.hero-overlay {
    background: rgba(26, 42, 58, 0.7);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sub-title {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero h1 {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 700;
}

/* --- コンテナ・共通 --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 4px;
    color: #1a2a3a;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #b89c6d;
    margin: 15px auto 0;
}

/* --- メッセージ --- */
.message {
    background-color: #f8f9fa;
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- 求人カード --- */
.job-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.job-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    /* ボタンを中央寄せにするための設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.job-card h3,
.job-card .job-desc,
.job-card .req-table {
    width: 100%;
    /* テキスト類は幅いっぱい（左揃え維持） */
}

.job-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a2a3a;
    display: flex;
    align-items: center;
}

.job-card h3::before {
    content: '';
    width: 6px;
    height: 1.5rem;
    background: #b89c6d;
    margin-right: 15px;
    display: inline-block;
}

.job-desc {
    font-weight: bold;
    margin-bottom: 30px;
    color: #555;
}

/* 募集要項テーブル */
.req-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 35px;
}

.req-table tr {
    border-bottom: 1px solid #eee;
}

.req-table th,
.req-table td {
    padding: 20px 15px;
    text-align: left;
    vertical-align: top;
}

.req-table th {
    width: 250px;
    background-color: #fcfcfc;
    color: #666;
    font-size: 0.9rem;
}

/* 応募ボタン（センター揃え） */
.apply-btn {
    display: inline-block;
    background: #1a2a3a;
    color: #fff;
    padding: 18px 60px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-align: center;
}

.apply-btn:hover {
    background: #b89c6d;
    transform: translateY(-2px);
}

/* --- エントリーセクション --- */
.entry {
    background: #1a2a3a;
    color: #fff;
    text-align: center;
}

.contact-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    padding: 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-btn.email:hover {
    background: #fff;
    color: #1a2a3a;
}

.contact-btn.tel {
    background: #b89c6d;
    border-color: #b89c6d;
}

/* --- フッター --- */
.footer {
    padding: 40px;
    text-align: center;
    background: #f8f8f8;
    color: #999;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .job-card {
        padding: 25px 15px;
    }

    .req-table th,
    .req-table td {
        display: block;
        width: 100%;
    }

    .req-table th {
        background: none;
        padding-bottom: 0;
        color: #b89c6d;
    }

    .contact-btn {
        width: 100%;
    }
}