@charset "UTF-8";

/* =========================================
   基本設定・変数
   ========================================= */
:root {
    /* カラーパレット */
    --main-color: #222;
    --accent-color: #d4a017;
    /* 真鍮・ゴールド */
    --bg-light: #f9f9f9;
    --text-gray: #555;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --accent-blue: #004d99;
    /* インタビュー用アクセント */

    /* フォント・レイアウト */
    --font-base: 'Noto Sans JP', sans-serif;
    --header-height: 60px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    line-height: 1.8;
    color: var(--main-color);
    background-color: var(--white);
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}


/* 共通セクション */

.container {
    width: 90%;
    margin: auto;
}

section {
    padding: 60px 0;
    /* モバイル用上下余白 */
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.text-block {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* =========================================
   1. Hero セクション
   ========================================= */
.hero {
    position: relative;
    height: 50vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero-subtext {
    font-size: 1.0rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* =========================================
   2. Concept (About) セクション
   ========================================= */
.concept-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.concept-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--bg-light);
}

/* =========================================
   3. Interview セクション
   ========================================= */
.interview-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    /* モバイルは1列 */
    gap: 30px;
}

.interview-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.interview-img-area {
    width: 100%;
    height: 250px;
    background-color: #f0f0f0;
}

.interview-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.interview-content {
    padding: 24px;
    flex-grow: 1;
}

.interview-header {
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.interview-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--main-color);
}

.interview-role {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.interview-item {
    margin-bottom: 16px;
}

.interview-item:last-child {
    margin-bottom: 0;
}

.interview-item dt {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--accent-blue);
    margin-bottom: 4px;
    padding-left: 10px;
    border-left: 3px solid var(--accent-blue);
    line-height: 1.4;
}

.interview-item dd {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

/* =========================================
   4. Strength セクション
   ========================================= */
.strength-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-list {
    margin-top: 20px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 0.9rem;
}

.benefit-list li span {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
    font-family: 'Times New Roman', serif;
    font-style: italic;
}

.strength-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.strength-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.strength-image-grid img:nth-child(2) {
    margin-top: 30px;
    /* 2枚目をずらす演出 */
}

/* =========================================
   5. Jobs セクション
   ========================================= */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.job-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.job-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.job-meta {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tag {
    background: var(--main-color);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.salary {
    font-weight: 700;
}

.btn-detail {
    display: inline-block;
    border: 1px solid var(--main-color);
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-detail:hover {
    background: var(--main-color);
    color: var(--white);
}

/* =========================================
   6. Entry CTA セクション
   ========================================= */
.entry-cta {
    background: #5a8cbb;
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-box p {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-entry-large {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-entry-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.6);
}

/* =========================================
   デスクトップ・タブレット向け (Min-width: 768px)
   ========================================= */
@media (min-width: 601px) {

    /* 共通 */
    .container {
        padding: 0 40px;
        width: 80%;
    }

    section {
        padding: 100px 0;
    }


    .text-block {
        font-size: 1rem;
    }

    .hero {
        height: 300px;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 1.5rem;
    }

    /* Concept */
    .concept-layout {
        flex-direction: row;
        /* 横並び */
        align-items: center;
        gap: 60px;
    }

    .concept-text {
        flex: 1;
    }

    .concept-image {
        flex: 1;
    }

    /* Interview */
    .interview-wrapper {
        grid-template-columns: repeat(3, 1fr);
        /* 3列 */
        gap: 24px;
    }

    .interview-name {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .interview-role {
        display: inline-block;
        margin-left: 10px;
    }

    /* Strength */
    .strength-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }

    .strength-image-grid img {
        height: 300px;
    }

    /* Jobs */
    .job-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .job-item {
        text-align: left;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .job-meta {
        flex-direction: row;
        gap: 20px;
    }

    .job-info h4 {
        font-size: 1.3rem;
    }

    /* CTA */
    .cta-title {
        font-size: 2.5rem;
    }

    .btn-entry-large {
        padding: 20px 60px;
        font-size: 1.2rem;
    }
}

.recruit-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 見出しデザイン（画像2枚目の再現） */
.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #4169e1;
    /* ロイヤルブルー */
    margin-right: 8px;
}

/* =========================================
       求人カード（外枠）
       ========================================= */
.recruit-card {
    background: #f9f9f9;
    /* カード背景 */
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 24px;
    overflow: hidden;
    /* 角丸からはみ出さないように */
    transition: box-shadow 0.3s ease;
}

.recruit-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* =========================================
       概要エリア（常に表示されている部分）
       ========================================= */
.card-summary {
    padding: 24px;
}

/* 職種タイトル */
.job-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    /* 画像のような青いマーカー風装飾が必要なら以下 */
    display: inline-block;
    background: linear-gradient(transparent 60%, #e6f0ff 60%);
}

/* 簡易説明文 */
.job-desc-simple {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* タグエリア（雇用形態・給与） */
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* 雇用形態バッジ（黒背景） */
.type-badge {
    background-color: #333;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
}

/* 給与（概要用） */
.salary-summary {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

/* 詳細を見るボタン */
.toggle-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    /* aタグの場合も考慮 */
}

.toggle-btn:hover {
    background-color: #333;
    color: #fff;
}

/* =========================================
       詳細エリア（アコーディオンの中身）
       ========================================= */
.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fff;
    /* 詳細部分は白背景 */
    border-top: 1px solid #eee;
}

/* 開いた時のクラス（JSで制御） */
.recruit-card.active .card-details {
    max-height: 3000px;
    /* 十分な高さを指定 */
    transition: max-height 0.6s ease-in;
}

/* ボタンの見た目変化（開いている時） */
.recruit-card.active .toggle-btn {
    background-color: #333;
    color: #fff;
}

/* 詳細リストのデザイン（前回作成したものをベースに調整） */
.recruit-list {
    padding: 20px 24px;
    margin: 0;
}

.recruit-row {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.recruit-row:last-child {
    border-bottom: none;
}

/* 見出し（ドット付き） */
.recruit-dt {
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.recruit-dt::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ccc;
    /* ドットの色 */
    border-radius: 50%;
    margin-right: 8px;
}

.recruit-dd {
    margin: 0;
    padding-left: 14px;
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: normal;
    /* 自然な折り返し */
}


/* =========================================
       PC対応（768px以上）
       ========================================= */
@media (min-width: 601px) {

    /* グリッドレイアウトで2列にする場合 */
    .recruit-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 20px;
    }

    .recruit-row {
        display: grid;
        grid-template-columns: 140px 1fr;
        padding: 20px 0;
    }

    .recruit-dt {
        margin-bottom: 0;
        color: #555;
        /* PCでは少し落ち着いた色に */
    }

    .recruit-dd {
        padding-left: 0;
    }
}

* ▼▼▼ 閉じるボタン用のスタイル（最後に追加） ▼▼▼ */ .close-btn-area {
    text-align: center;
    padding: 20px 0 30px 0;
    /* 上下の余白 */
    background-color: #fff;
    /* 背景色 */
}

.close-btn {
    display: inline-block;
    background-color: #f0f0f0;
    /* 薄いグレー */
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 0;
    width: 80%;
    /* 幅を80%にして押しやすく */
    max-width: 300px;
    /* PCなどで広がりすぎないように制限 */
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #ddd;
    /* ホバー時の色 */
    color: #000;
}

/* =========================================
   閉じるボタンを常に画面下に表示する設定
   ========================================= */

/* 1. カード本体のはみ出し制限を解除（Stickyを動作させるため） */
.recruit-card {
    overflow: visible !important;
}

/* 2. 詳細エリアが開いている時も、はみ出しを許可する */
.recruit-card.active .card-details {
    overflow: visible !important;
}

/* 3. 閉じるボタンエリアを画面下部に吸着させる */
.close-btn-area {
    position: -webkit-sticky;
    /* Safari用 */
    position: sticky;
    bottom: 20px;
    z-index: 99;

    /* 中央寄せのための設定 */
    width: 100%;
    /* 横幅いっぱいに */
    left: 0;
    /* 左端に合わせる */
    text-align: center;
    /* 中身のボタンを中央揃え */

    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 0;
    padding: 15px 0;
}