/* =========================================================
   求人情報ページのスタイル統一
   ========================================================= */

/* 1. ページ全体を共通の箱型デザインにし、ヘッダーからの余白を作る */
.fs-p-recruit-page {
    background-color: #ffffff;
    border: 1px solid #d4c6b5;
    max-width: 600px; /* 短い文章なので広がりすぎないサイズに */
    width: 100%;
    padding: 60px 40px;
    
    /* ここでヘッダーからの間隔(上160px)と、フッターからの間隔(下160px)を確保します */
    margin: 160px auto 160px; 
    
    box-shadow: 0 4px 15px rgba(94, 76, 65, 0.1);
    position: relative;
    box-sizing: border-box;
    text-align: center; /* 中の文字を中央寄せ */
}

/* 内側の二重線 */
.fs-p-recruit-page::before {
    content: "";
    position: absolute;
    top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #d4c6b5;
    pointer-events: none;
}

/* 2. 大見出し（ページタイトル）を箱の外に生成する */
.fs-p-recruit-page::after {
    content: "求人情報";
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    color: #5e4c41;
    letter-spacing: 0.1em;
}

/* 英語のサブタイトル */
.fs-p-recruit-page p::before {
    content: "RECRUIT";
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #a89a8d;
    font-family: "Times New Roman", serif;
    letter-spacing: 0.2em;
}

/* 3. 本文の文字色・行間調整 */
.fs-p-recruit-page p {
    color: #5e4c41;
    line-height: 1.8;
    font-size: 16px;
    margin: 0; /* pタグが元々持っている不要な余白をリセット */
}


/* =========================================================
   求人情報ページ：トップページボタンの追加と余白調整
   ========================================================= */

/* 1. 先ほど作った箱の下余白を縮める（ボタンを箱に近づけるため） */
.fs-p-recruit-page {
    margin-bottom: 40px !important; 
}

/* 2. ボタンを中央に配置し、フッターとの間に十分な余白を作る */
.fs-c-buttonContainer--recruitTop {
    text-align: center;
    margin-bottom: 160px; /* ここでフッターとの隙間を確保します */
}

/* 3. トップページボタンのデザイン（クラシカルな茶色背景・白文字） */
.fs-c-button--recruitTop {
    display: inline-block;
    background-color: #5e4c41;
    color: #ffffff;
    border: 1px solid #5e4c41;
    padding: 15px 60px;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    min-width: 300px;
    box-sizing: border-box;
    border-radius: 2px;
}

/* マウスホバーで白背景・茶色文字に反転 */
.fs-c-button--recruitTop:hover {
    background-color: #ffffff;
    color: #5e4c41;
}