CSS
/* ===================================================
   ベース・PC用の補正スタイル
   =================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Segoe UI', sans-serif;
font-feature-settings: "palt";
font-variant-alternates: proportional-width;
}


/*--- 枠からはみ出る画像への対策（ロゴやバナーの自動縮小） ---*/
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/*--- HTML側で直書きされているフォントクラスのベース定義 ---*/
.font13_blk_Osaka { color: #333333; font-size: 13px; }
.font14_wht_Osaka_ml_10 { color: #ffffff; font-size: 14px; margin-left: 10px; }
.font14_red_Osaka { color: #ff0000; font-size: 14px; font-weight: bold; }
.font14_blu_Osaka { color: #0000ff; font-size: 14px; }
.font12_wht_Osaka { color: #ffffff; font-size: 12px; }
.font12_wht_sans-serif { color: #ffffff; font-size: 12px; text-decoration: none; }
.font11_wht_Osaka { color: #ffffff; font-size: 11px; }
.font10_wht_Osaka { color: #ffffff; font-size: 10px; }

/* fontサイズの縮小 */
.small {
    font-size: 10px; /* fontサイズ小さい */
}


/*--- PCサイズ以上で表示 ---*/
/* 初期状態：スマホ・タブレットでは非表示 */
.pc-only {
    display: none;
}
/* 【修正】769px以上のときだけPC用要素を表示（隙間を解消） */
@media screen and (min-width: 769px) {
    .pc-only {
        display: block; /* 必要に応じて inline-block 等に変更可 */
    }
}


/*--- スマホサイズのみ表示 ---*/
/* 初期状態：PCなど共通では非表示 */
.sp-only {
    display: none;
}
/* 【修正】768px以下のときだけ表示 */
@media screen and (max-width: 768px) {
    .sp-only {
        display: block;
    }
}


/* ===================================================
   スマートフォン用のレスポンシブスタイル（画面幅768px以下）
   =================================================== */
@media screen and (max-width: 768px) {
    
    /* すべてのテーブルとセルをブロック要素化して縦並びにする */
    table, tbody, tr, td {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    /* 最外枠の背景画像をスマホでは非表示、またはリセット */
    div[align="center"] > table[background] {
        background-image: none !important;
        background-color: #ffffff;
    }

    /* ヘッダー周りの調整 */
    td[bgcolor="#000066"] p[align="right"] {
        text-align: center !important;
        padding: 10px;
        margin: 0 !important;
    }
    
    /* 区切り線（hr）の幅を100%に */
    hr {
        width: 100% !important;
    }

    /* 不要な空白セルを非表示 */
    td[width="20"], td[height="10"] {
        display: none !important;
    }

    /* 左メニューの各ボタンの調整 */
    p[id^="b_"] {
        margin: 5px auto;
        width: 90%;
    }
    
    /* メインコンテンツ枠の調整 */
    td[background*="bn_h1.jpg"] {
        background-size: cover;
        padding: 10px;
    }


    /* IFRAME（お知らせ等）のスマホ最適化 */
    /* 横はみ出しを防ぎ、高さを確保してスクロール可能に */
    iframe[name="I1"] {
        width: 100% !important;
        height: 200px !important;
    }


    /* 求人詳細テーブル */
    table[style*="border-style: solid"] td {
        width: 100% !important;
        text-align: left;
    }

    /* 求人要項の表形式部分 */
    table[cellspacing="2"] tr {
        margin-bottom: 5px;
        border: 1px solid #DBDBCA;
    }
    table[cellspacing="2"] td {
        display: inline-block !important;
        width: 100% !important;
    }
    td[bgcolor="#E1E1D2"] {
        /*font-weight: bold;*/
        font-weight: normal;
    }

    /* フッターナビゲーション */
    /* 【調整】スマホでタップしやすいよう幅を48%（2列）へ変更 */
    table[align="center"] td {
        display: inline-block !important;
        width: 48% !important; 
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #222;
    }

    /* コピーライト部分の調整 */
    td[width="790"] p {
        text-align: center !important;
        margin: 10px 0 !important;
    }
}


/* ==================================================================== */
/* ======================== グローバルナビ 開始======================== */
/* ==================================================================== */

/* --- (グローバルナビ用) CSS --- */
nav.globalMenuSp {
    opacity: 0.98;
    position: fixed;
    z-index: 9998; /* 【調整】最前面に届くよう数値を調整 */
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.4s ease;
    width: 100%;
    max-height: 100vh; /* 画面からはみ出た場合スクロール可能に */
    overflow-y: auto;
}
nav.globalMenuSp ul {
    background: #fffafa;
    margin: 0 auto;
    padding: 60px 0 20px 0; /* ボタンと重ならないよう上の余白を追加 */
    width: 100%;
}
nav.globalMenuSp ul li {
    font-size: 1.0em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #333;
}
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
nav.globalMenuSp ul li a {
    display: block;
    color: #ff4500;
    padding: 1em 0;
    text-decoration: none;
}
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}


/* --- (ハンバーガー用) CSS --- */
.navToggle {
    opacity: 0.9;
    border-radius: 5px;
    display: block;
    position: fixed;
    right: 10px;
    top: 1px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 9999; /* 【調整】最前面に表示 */
    background: #ff4500;
    text-align: center;
}
.navToggle span {
    display: inline-block;
    position: absolute;
    width: 40px; /* 【微調整】ボタンからはみ出ないサイズへ */
    padding: 0;
    border-bottom: solid 2px #eee;
    -webkit-transition: .30s ease-in-out;
    -moz-transition: .30s ease-in-out;
    transition: .30s ease-in-out;
    left: 10px;
}
.navToggle span:nth-child(1) {
    top: 15px;
}
.navToggle span:nth-child(2) {
    top: 24px;
}
.navToggle span:nth-child(3) {
    top: 33px;
}
.navToggle span:nth-child(4) {
    left: 0;
    width: 100%;
    border: none;
    color: #eee;
    font-size: 10px;
    font-weight: bold;
    top: 40px;
}


/* --- (タップした後) --- */
.navToggle.active span:nth-child(1) {
    top: 24px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 24px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* ==================================================================== */
/* ======================== グローバルナビ 終了======================== */
/* ==================================================================== */