:root {
    --brand: #ff7a3d;
    --brand-dark: #d85d22;
    --bg: #f5f7fb;
    --panel: #ffffff;
    --line: #ebeff5;
    --text: #1f2937;
    --sub: #58657a;
    --shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #fffaf7 0%, var(--bg) 25%, var(--bg) 100%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* ヘッダー */
.topbar {
    background: linear-gradient(135deg, var(--brand) 0%, #ff9a75 55%, #f2bb93 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 130, 80, 0.18);
    width: 100%;
}
.topbar-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}
.simple-nav a {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
}

/* メインコンテンツ */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    width: 100%;
    flex: 1;
}

.hero {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}
.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.06em;
}
.hero p {
    margin: 0;
    color: var(--sub);
    line-height: 1.8;
    font-size: 0.96rem;
}

/* カードグリッド */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.region-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #e2e8f0;
}
.region-card h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}
.region-card p {
    margin: 0 0 16px;
    color: var(--sub);
    line-height: 1.8;
    font-size: 0.9rem;
}
.region-card a {
    margin-top: auto;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--brand);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
}

/* モーダル */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay[hidden] {
    display: none;
}
.modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    color: var(--text);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
}
.modal-content h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #0f172a;
    border-bottom: 2px solid var(--line);
    padding-bottom: 12px;
}
.modal-lead {
    font-size: 0.85rem;
    color: var(--sub);
    margin-bottom: 16px;
}
.dummy-form .form-group {
    margin-bottom: 14px;
}
.dummy-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #334155;
}
.dummy-form input, .dummy-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.9rem;
}
.submit-btn {
    width: 100%;
    background: var(--brand);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

/* フッター（最下部固定） */
.site-footer {
    background: #1e293b;
    padding: 16px 10px;
    margin-top: auto;
    width: 100%;
}
.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.footer-link, .footer-btn, .copyright {
    color: #cbd5e1;
    font-size: 0.75rem;
}
.footer-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.footer-link:hover, .footer-btn:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-divider {
    color: #475569;
    font-size: 0.7rem;
}
.copyright {
    color: #64748b;
}
/* ハンバーガーメニュー用スタイル */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .simple-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #ffffff;
        box-shadow: var(--shadow);
        border-radius: 12px;
        padding: 12px;
        flex-direction: column;
        z-index: 99;
    }
    .simple-nav.active {
        display: flex;
    }
    .simple-nav a {
        color: var(--text);
        background: #f1f5f9;
        text-align: center;
    }
}
/* ハンバーガーメニュー用追加スタイル */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    z-index: 99;
}
.nav-menu.active {
    display: flex;
}
.nav-menu a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f1f5f9;
    text-align: center;
}
.nav-menu a:hover {
    background: #e2e8f0;
}
/* カミングスーンバッジのスタイル */
.brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coming-soon {
    background-color: #fef08a;
    color: #854d0e;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.coming-soon::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #f97316;
    border-radius: 50%;
}
/* 揺れるアニメーションの定義 */
@keyframes pulse-shake {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* カミングスーンにアニメーションを適用 */
.coming-soon {
    animation: pulse-shake 2s infinite ease-in-out; /* 2秒ごとに永遠に揺れる */
}
/* ==========================================
   求人ポータル（jobs.html）用スタイル
   ========================================== */

/* フィルターバー */
.filter-section {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--sub);
    white-space: nowrap;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
}

/* 求人リスト・カード */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.job-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.job-header {
    border-bottom: 1px dashed var(--line);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.category-tag {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 6px;
}
.employment-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 6px;
}
.area-badge {
    background: #f1f5f9;
    color: var(--sub);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
}
.job-header h2 {
    margin: 8px 0;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--text);
}
.store-info-bar {
    font-size: 0.85rem;
    color: var(--sub);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 求人本文グリッド (2カラム) */
.job-body-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .job-body-grid {
        grid-template-columns: 1fr;
    }
}
.job-photos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.job-photos img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

/* 給与・詳細テーブル */
.salary-box {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.salary-label {
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}
.salary-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-dark);
}
.salary-detail {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--sub);
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.job-table th, .job-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.job-table th {
    width: 110px;
    color: var(--sub);
    white-space: nowrap;
    background: #f8fafc;
}
.highlight-time {
    color: #059669;
    font-weight: bold;
}
.muted-time {
    color: #dc2626;
}

/* タグ一覧 */
.job-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.job-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

/* アクション・応募フォーム */
.job-footer-action {
    text-align: center;
}
.toggle-apply-btn {
    width: 100%;
    background: var(--brand);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.toggle-apply-btn:hover {
    background: var(--brand-dark);
}

.job-apply-section {
    margin-top: 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
}
.job-apply-section h3 {
    margin-top: 0;
    font-size: 1.1rem;
}
.apply-lead {
    font-size: 0.8rem;
    color: var(--sub);
    margin-bottom: 16px;
}
.quick-apply-form .form-group {
    margin-bottom: 14px;
}
.quick-apply-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: bold;
    margin-bottom: 6px;
}
.required {
    color: #dc2626;
    font-size: 0.75rem;
}
.quick-apply-form input[type="text"],
.quick-apply-form select,
.quick-apply-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.88rem;
}
.radio-group {
    display: flex;
    gap: 16px;
    font-size: 0.88rem;
}
.radio-group.vertical {
    flex-direction: column;
    gap: 8px;
}

/* ヘッダーハンバーガーメニュー（jobs.html用） */
.topbar-inner {
    position: relative;
}
.menu-button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
}
.menu-panel {
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}
.menu-panel[hidden] {
    display: none;
}
.menu-panel a {
    color: var(--text);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
}
.menu-panel a:hover {
    background: #f1f5f9;
}
/* ==========================================
   あきない一覧（akinai.html）用スタイル
   ========================================== */

/* カード一覧のグリッド配置 */
.akinai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* カードスタイル */
.akinai-card {
    background: var(--panel, #ffffff);
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.05));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.akinai-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* カテゴリバッジ */
.category-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* タイトルと説明文 */
.akinai-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text, #1e293b);
}

.akinai-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--sub, #64748b);
    line-height: 1.5;
}
/* 1. hidden属性が付いている時は強制的に非表示にする */
[hidden] {
    display: none !important;
}

/* 2. カードを綺麗に折り返して並べる設定 */
.akinai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 3. カード枠からはみ出さないための設定 */
.akinai-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* 画像のはみ出しをカット */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* 4. 画像の大きさをカード枠内に固定 */
.akinai-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* =========================================
   フッター
========================================= */
.site-footer {
    margin-top: 60px;
    padding: 24px 16px;
    border-top: 1px solid #ebeff5;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand, #ff7a3d);
}

.footer-links .line-link {
    color: #06c755; /* LINEカラー */
    font-weight: bold;
}

.footer-links .line-link:hover {
    color: #05a044;
}

.footer-divider {
    color: #cbd5e1;
}

.footer-copy {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
}


/* モバイル用メニューパネル・ナビゲーションの表示制御 */
.menu-panel, .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    z-index: 99;
}

/* hidden属性がついている時は強制的に非表示 */
.menu-panel[hidden], .nav-menu[hidden] {
    display: none !important;
}

/* activeクラスがついた時だけ表示する */
.menu-panel.active, .nav-menu.active {
    display: flex !important;
}
