@charset "UTF-8";

/* ==========================================================================
   ファイル名: announcement.css
   役割: アナウンス（採用情報）ページ専用のデザイン設定
   ========================================================================== */

/* 全ての要素で余白を幅に含める */
*, *::before, *::after {
    box-sizing: border-box;
}

/* -------------------------------------------------------
   【共通】色の設定
   -------------------------------------------------------
*/
:root {
    --announce-primary: #0050A0; /* ブランドカラー（青） */
    --announce-bg: #F5F8FA;      /* 背景色（薄いグレー） */
    --text-color: #333;          /* 文字色 */
}

/* -------------------------------------------------------
   【レイアウト】全体の設定
   -------------------------------------------------------
*/
.announce-main {
    background-color: var(--announce-bg);
    padding-bottom: 80px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
}

.announce-container {
    max-width: 900px; /* 読みやすいように少し狭めに */
    margin: 0 auto;   /* 中央寄せ */
    padding: 0 20px;
}

/* -------------------------------------------------------
   【1】ページヘッダー（タイトル部分）
   -------------------------------------------------------
*/
.page-header {
    background-color: #fff;
    padding: 20px 0 20px;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--announce-primary);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}

/* -------------------------------------------------------
   【2】募集セクション（白い大きな箱）
   -------------------------------------------------------
*/
.recruit-section {
    background: #fff;
    border-radius: 12px; /* 角を丸く */
    overflow: hidden;    /* はみ出した部分を隠す */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* ふんわりした影 */
}

/* --- 画像エリア --- */
.recruit-image img {
    width: 100%;
    height: auto;
    max-height: 400px;     /* 高くなりすぎないように制限 */
    object-fit: cover;     /* 画像の比率を保ったままトリミング */
    display: block;
}

/* --- コンテンツエリア（文章部分） --- */
.recruit-content {
    padding: 50px;
}

.recruit-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--announce-primary);
    text-align: center;
    line-height: 1.4;
}

.recruit-lead {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* --- 求める人物像リスト --- */
.ideal-candidate {
    background-color: #f9fcff; /* とても薄い青色 */
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
    border: 1px solid #e1eaf5; /* 薄い青色の枠線 */
}

/* 「求める人物像」という見出し */
.ideal-candidate h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

/* 見出しの下線 */
.ideal-candidate h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--announce-primary);
}

.candidate-list {
    list-style: none; /* デフォルトの「・」を消す */
    padding: 0;
    margin: 0;
}

.candidate-list li {
    margin-bottom: 25px;
    padding-left: 20px; /* 左に余白 */
    border-left: 4px solid var(--announce-primary); /* 左に青い縦線 */
}

.candidate-list li:last-child {
    margin-bottom: 0;
}

/* 項目名（「信用・信頼」を大切にする方 など） */
.list-head {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--announce-primary);
}

.candidate-list p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* --- お問い合わせエリア --- */
.recruit-contact {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee; /* 上に区切り線 */
}

.recruit-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* メールボタン */
.recruit-mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--announce-primary);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px; /* カプセル型 */
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,80,160, 0.3); /* 青い影 */
    margin: 20px 0 10px;
}

/* ボタンにマウスを乗せた時 */
.recruit-mail-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px); /* 少し浮く */
}

.mail-note {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}


/* -------------------------------------------------------
   【スマホ対応】レスポンシブ設定
   画面幅が 768px 以下の場合
   -------------------------------------------------------
*/
@media (max-width: 768px) {
    .recruit-content {
        padding: 30px 20px; /* 余白を減らす */
    }
    
    .recruit-title {
        font-size: 1.5rem;
    }

    .ideal-candidate {
        padding: 25px;
    }

    /* ボタンを幅いっぱいに押しやすくする */
    .recruit-mail-btn {
        width: 100%; 
        padding: 15px;
    }
}