* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #ffffff, #e3f3ff, #d4ecff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ヒーロー画像（余白ゼロが重要） */
.careers-hero {
    position: relative;
    margin: 0;
    padding: 0;
    /* 画像下の謎の隙間対策 */
}

/* 画像を完全フル幅＋高さ調整 */
.careers-hero img {
    filter: brightness(80%);
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    /* これ超重要（隙間消える） */
}

/* テキスト重ね */
.careers-hero-text {
    position: absolute;
    top: 48%;
    left: 7%;

    color: white;
    font-size: 2rem;

    padding: 10px 20px;
    border-radius: 5px;
}



/* コンテナ */
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 80px;
    display: block;
}

/* 各セクション */
.item {
    display: flex;
    /* ←横並びの基本 */
    align-items: flex-start;
    /* 上揃え */
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
    gap: 30px;
}


/* 最後は線なし */
.item:last-child {
    border-bottom: none;
}

/* 見出し */
.item h2 {
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: bold;
    width: 180px;
}

/* 本文 */
.item p {
    margin: 0;
    line-height: 1.8;
    font-size: 15px;

}

.con {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 左寄せ */
}

.careers-section1 {
    margin: 60px;
    text-align: center;
}

.btn-copy {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: .2em;
    margin-left: 10px;
}

.btn-copy:before {
    margin-right: 1rem;

    content: '＼';
}

.btn-copy::after {
    margin-right: 1rem;

    content: '／';
}

.home-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(145deg, #ffffff, #ffffff);
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 8px 0 #b6b6b6, 0 15px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバーで少し沈む */
.home-button:hover {
    transform: translateY(3px) !important;
    box-shadow:
        0 3px 0 #b6b6b6,
        0 8px 15px rgba(0, 0, 0, 0.2);
}

/* クリック */
.home-button:active {
    transform: translateY(6px) !important;
    box-shadow:
        0 0 0 #b6b6b6,
        0 3px 8px rgba(0, 0, 0, 0.15);
}




@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    body h2 {
        font-size: 16px;
    }

    .careers-hero img {
        height: 200px;
    }

    .careers-hero-text h2 {
        font-size: 18px;
        top: 48%;
        left: 7%;
    }

    .container {
        padding: 20px 15px;
        margin: 0 7px;
    }

    .item {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }

    .item h2 {
        width: 100%;
        font-size: 16px;
    }

    .item p {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .careers-section1 {
        margin: 30px;
    }

    .sab-box {

        margin: 25px auto 0;
        width: 300px;
        padding: 8px 10px;
    }

}