/* ===========================================
   共通スタイル（5ページ共通で読み込む）
=========================================== */
:root {
    --sidebar-w: 220px;
    --color-bg: #f7f8fa;
    --color-text: #2b2f36;
    --color-sidebar-bg: #21262d;
    --color-sidebar-text: #cfd3d8;
    --color-blue: #2563eb;
    --color-border: #e3e5e8;
    --color-navy: #1a2b4a; /* ロゴのネイビーに合わせる */
    --color-accent: #a88b56; /* 差し色：ゴールド系（高級感の定番） */
    --color-text: #2b2b2b;
    --radius: 10px;
}

/* ---------- セクション間の余白（共通ルール） ---------- */
._mv12 {
    margin-top: 12px;
}
._mv20{
    margin-top: 20px;
}
._mv32 {
    margin-top: 32px;
}
._mv48 {
    margin-top: 48px;
}
._mv64 {
    margin-top: 64px; 
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- 全体レイアウト：サイドバー＋メイン ---------- */
.layout {
    display: flex;
    min-height: 100vh;
}

/* ---------- サイドバー（部品として全ページ共通） ---------- */
.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--color-sidebar-bg);
    color: var(--color-sidebar-text);
    padding: 32px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
}

    .sidebar .logoSide {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: var(--color-accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.1rem;
        margin: 0 auto 28px;
        overflow: hidden;
    }

        .sidebar .logoSide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 50%;
            transform: scale(1.6);
        }

    .sidebar nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sidebar nav li + li {
        margin-top: 6px;
    }

    .sidebar nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 0.95rem;
        transition: background .15s, color .15s;
    }

        .sidebar nav a:hover,
        .sidebar nav a.active {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

/* ---------- メインエリア：ヘッダー／コンテンツ／フッター ---------- */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 8px 8px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    display: flex;
    align-items: center;
    height: 72px;
}

    .site-header h1 {
        margin: 0;
        font-size: 1.3rem;
    }

    .site-header .logoHead {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }

        .site-header .logoHead img {
            width: auto;
            height: 100px;
            object-fit: contain;
            /* transform: scale(1.3); */
        }

.content {
    flex: 1;
    padding: 48px 40px;
    /* max-width: 960px; */
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.content-home {
    flex: 1;
    padding: 48px 40px;
    /* min-height: 100vh; */
    position: relative;
    overflow: hidden;
}

    .content-home::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #abbcf0; /* 重ねたい色 */
        background-blend-mode: multiply; /* 画像と色を混ぜる */
        background-image: url("image/jobImage3.jpg");
        background-position: 100% 100%;
        background-size: 100% auto;
        background-repeat: repeat-y;
        opacity: 0.15;
        z-index: -1;
    }

.content::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: #abbcf0; /* 重ねたい色 */
    background-blend-mode: multiply; /* 画像と色を混ぜる */
    background-image: url("image/LogoOnly.jpg");
    background-position: center center;
    background-size: 100% auto;
    background-repeat: repeat-y;
    opacity: 0.15;
    z-index: -1;
}

.content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.content .lead {
    color: #6b7280;
    margin-bottom: 32px;
}

.card {
    /* background: #e7edff; */
    background: #f4f2ee;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 20px;
}

.site-footer {
    padding: 20px 40px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: #8a8f98;
    background: #ffffff;
}

/* ---------- トップページ：特徴グリッド（4枠） ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

    .feature-grid .card {
        margin-bottom: 0;
        text-align: center;
    }

.hero {
    color: #0714a4d4;
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 12px;
}

    .hero h2 {
        font-size: 2rem;
        color: var(--color-navy);
        font-weight: 700;
        /* 文字間 */
        letter-spacing: 0.05em;
    }

    .hero .lead {
        color: var(--color-accent);
        /* 文字間 */
        letter-spacing: 0.05em;
    }

.title {
    color: #0714a4d4;
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: left;
    margin-bottom: 12px;
}

    .title h2 {
        font-size: 2rem;
        color: var(--color-navy);
        font-weight: 700;
        /* 文字間 */
        letter-spacing: 0.05em;
    }

    .title .lead {
        color: var(--color-accent);
        /* 文字間 */
        letter-spacing: 0.05em;
    }

.btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: var(--color-blue);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
}

.concept {
    color: var(--color-navy);
    padding: 0px 32px 32px;
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.concept-detail {
    color: #3a3a3a;
    padding: 24px 32px;
    line-height: 2.2;
    margin-bottom: 1.8em;
    letter-spacing: 0.05em;
}

.lead-text {
    padding: 0px 32px 32px;
    color: var(--color-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5em;
}


/* ---------- お問い合わせフォーム ---------- */
.contact-info {
    margin-bottom: 24px;
    text-align: left;
    padding: 24px;
}

    .contact-info dt {
        font-weight: bold;
        color: #6b7280;
        font-size: 0.85rem;
    }

    .contact-info dd {
        margin: 0 0 16px;
    }

form label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 6px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.input-short {
    width: 100%;
    max-width: 320px;
    display: block;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 16px;
    }

        .sidebar .logo {
            margin-bottom: 12px;
        }

        .sidebar nav ul {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

    .content,
    .site-header,
    .site-footer {
        padding: 20px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/*    求人詳細*/
.recruit-detail {
    margin-top: 20px;
    padding: 32px;
}

.recruit-detail-title {
    color: var(--color-navy);
    font-size: 1.2rem;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

/* ---------- 会社概要リスト ---------- */
.company-profile {
    margin: 0;
    padding: 0;
}

.company-profile-row {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

    .company-profile-row:first-child {
        border-top: 1px solid var(--color-border);
    }

.company-profile dt {
    font-weight: bold;
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.company-profile dd {
    margin: 0;
    color: #3a3a3a;
    font-size: 1rem;
}

