/* =========================================================
   シゴティー トップページ
   レスポンシブ対応・差し替え用 CSS
   ========================================================= */

/* ---------- 基本設定 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #c55a5a;
}

/* 広告画像が親要素からはみ出さないようにする */
.ad0 img,
.ad0-1 img,
.ad0-2 img,
.ad0-3 img,
.ad1 img,
.ad2 img,
.ad3 img,
.ad4 img,
.ad5 img,
.ad-in-category img,
.ad-in-fudosan img,
.ad-in-kyujin img,
.ad-in-others1 img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   トップ画像
   ========================================================= */
.top-part {
    position: relative;
    width: 100%;
    min-height: clamp(320px, 27vw, 560px);
    overflow: hidden;
    isolation: isolate;
    background-color: #eef2f4;
    display: flex;
    justify-content: space-between;
}

.top-pic {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.top-pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-pic::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.theme1,
.cigotea-title,
.theme2 {
    position: absolute;
    z-index: 2;
    left: 50%;
    width: min(1200px, calc(100% - 40px));
    margin: 0;
    transform: translateX(-50%);
    text-align: center;
    color: #111;
    line-height: 1.25;
}

.theme1 {
    top: 10%;
    font-size: clamp(24px, 2.5vw, 46px);
    font-weight: 700;
}

.cigotea-title {
    top: 42%;
    font-size: clamp(54px, 6.2vw, 112px);
    font-weight: 800;
}

.theme2 {
    bottom: 10%;
    font-size: clamp(22px, 2.4vw, 44px);
    font-weight: 700;
}

/* =========================================================
   新着情報＋サイドバー
   ========================================================= */
.top-page-section1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    margin: 30px auto 0;
    align-items: start;
}

.top-page-section1-1 {
    width: 100%;
    min-width: 0;
}

.top-page-section {
    width: 100%;
}

.side-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    text-align: center;
}

/* ---------- 新着見出し ---------- */
.shinchaku {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-left: 24px;
}

.shinchaku img {
    flex: 0 0 auto;
    width: auto;
    max-height: 61px;
}

.shinchaku-title {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.shinchaku-comment {
    padding: 0 0 7px 0;
    font-size: 14px;
}

/* ---------- 新着カード ---------- */
.top-news-section {
    padding: 5px clamp(12px, 2.5vw, 45px) 45px;
    background: #fff;
}

.top-news-heading {
    margin-bottom: 42px;
    text-align: center;
}

.top-news-label {
    display: inline-block;
    background: #20204e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.top-news-heading h2 {
    margin: 0 0 14px;
    color: #20204e;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.top-news-heading p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.top-news-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.top-news-block {
    padding: 15px clamp(15px, 2vw, 30px);
}

.top-news-block-head {
    margin-top: 18px;
    padding-right: 10px;
    text-align: right;
}

.top-news-block-head h3 {
    margin: 0;
    color: #20204e;
    font-size: 22px;
    font-weight: 800;
}

.top-news-block-head a {
    color: #20204e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.top-news-block-head a:hover {
    text-decoration: underline;
}

.top-news-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.top-news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    box-shadow: 0 10px 24px rgba(32, 32, 78, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.top-news-card:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(32, 32, 78, 0.11);
}

.top-news-card:hover .top-news-title {
    text-decoration: underline;
}

.top-news-card-main {
    flex: 1;
    min-width: 0;
}

.job-section {
    gap: 16px;
}

.job-section-sub1 {
    flex: 1 1 auto;
    min-width: 0;
}

.top-news-type,
.top-news-region,
.top-news-industry,
.top-news-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 26px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    vertical-align: top;
}

.top-news-type {
    background: #20204e;
    color: #fff;
}

.top-news-region {
    background: #dee9eb;
    color: #20204e;
}

.top-news-industry {
    color: #fff;
}

.top-news-category {
    color: #20204e;
}

.top-news-title {
    display: -webkit-box;
    margin: 5px 0;
    padding-left: 10px;
    overflow: hidden;
    color: #20204e;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-news-title:hover {
    text-decoration: underline;
}

.top-news-text {
    display: -webkit-box;
    min-height: 3em;
    max-height: 3em;
    margin: 0;
    padding-left: 10px;
    overflow: hidden;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.top-news-date {
    margin: 0;
    padding-left: 10px;
    color: #555;
    font-size: 14px;
}

.top-news-meta {
    margin: 0 0 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.top-news-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.top-news-meta-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f2ff;
    color: #20204e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.top-news-img {
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: 16px;
}

.top-news-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-news-no-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8f9ff 45%, #fff7f1 100%);
    color: #7b819f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.top-news-card-footer {
    padding-top: 10px;
    text-align: right;
}

.top-news-card-footer a {
    color: #20204e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.top-news-card-footer a:hover {
    text-decoration: underline;
}

.top-news-img{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.top-news-img img{
    width:100%;
    display:block;
}

/* 画像下の帯 */
.top-news-label{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    
    height: 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:3px 14px;

    background: linear-gradient(
    to top,
    rgba(32,32,78,.95),
    rgba(32,32,78,.65)
);

backdrop-filter: blur(4px);
    color:#fff;
    font-size:.9rem;
    font-weight:600;
}

.label-region{
    white-space:nowrap;
}

.label-price{
    white-space:nowrap;
}

/* =========================================================
   サイドバー
   ========================================================= */
.about {
    position: relative;
    min-height: 330px;
    top: 35px;
    min-width: 385px;
}

.title {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: min(240px, 68%);
    padding: 10px 20px;
    transform: translateX(-50%);
    background-color: #20204e;
    color: #fff;
    box-shadow: 2px 2px 6px #20204e;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.ex {
    position: relative;
    width: 90%;
    min-height: 275px;
    margin: 25px auto 0;
    padding: 50px 18px 30px;
    border: 3px solid #20204e;
    text-align: center;
    background-color: #fff;
}

.ex1 {
    margin-bottom: 10px;
    font-weight: 700;
}

.ex2 {
    font-size: 15px;
    line-height: 1.7;
}

.box {
    display: flex;
    justify-content: center;
}

.cigotea-can-section {
    width: 100%;
    font-size: 14px;
}

.cigotea-can-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(330px, 100%);
    min-height: 280px;
    margin: 30px auto 0;
    padding: 24px 20px;
    border-radius: 20px;
    background-color: #dee9eb;
    box-shadow: 0 8px 20px rgba(32, 32, 78, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cigotea-can-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(32, 32, 78, 0.12);
}

.cigotea-can-inner a {
    color: inherit;
    text-decoration: none;
}

.cigotea-can-heading-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    font-size: 18px;
}

.ad0 {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

/* =========================================================
   ボタンなど
   ========================================================= */
.button-ichiran {
    display: flex;
    justify-content: center;
}

.reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: #b5c9f8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reset-btn:hover {
    background-color: #4c4c71;
}

/* =========================================================
   広告
   ========================================================= */
.ad0-1 {
    padding-top: 20px;
    text-align: center;
}

.ad0-1,
.ad-in-category,
.ad-in-others-outline,
.ad-in-others1-subsection1,
.ad-in-others1-subsection2,
.ad-group,
.ad,
.ad-in-fudosan,
.ad-in-kyujin {
    min-width: 0;
}

.ad0-1,
.ad-in-category,
.ad-in-others1-subsection1,
.ad-in-others1-subsection2,
.ad-group,
.ad {
    gap: 20px;
}

.ad0-1 a,
.ad-in-category a,
.ad-in-fudosan a,
.ad-in-kyujin a,
.ad-in-others1 a,
.ad-group a,
.ad a {
    display: inline-block;
    max-width: 100%;
}

.ad-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ad1 {
    margin-bottom: 30px;
}

.ad3,
.ad4,
.ad5 {
    display: flex;
    justify-content: center;
    text-align: center;
}

.ad6,
.ad-in-fudosan {
    text-align: center;
}

/* =========================================================
   カテゴリーから探す
   ========================================================= */
.category {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    width: min(1500px, calc(100% - 48px));
    margin: 70px auto 0;
    padding-left: 24px;
}

.category img {
    flex: 0 0 auto;
}

.category-title {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
}

.category-oshigoto {
    width: min(1500px, calc(100% - 48px));
    margin: 30px auto 0;
    padding-left: 24px;
    font-size: 25px;
    font-weight: 700;
}

.search-section1 {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.2fr);
    gap: clamp(30px, 5vw, 80px);
    width: min(1500px, calc(100% - 48px));
    margin: 20px auto 0;
    align-items: start;
}

.subcategory-outline {
    width: 100%;
    margin: 0;
    padding: 15px;
}

.category-subcategory-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: start;
    gap: 0 40px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 30px;
}

.subcategory-list a {
    color: inherit;
    text-decoration: none;
}

.subcategory-list a:hover {
    text-decoration: underline;
}

.ad-in-category {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 301px));
    justify-content: end;
    width: 100%;
    padding: 20px 0 0;
}

.category-others-outline1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 80px);
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 30px 24px 15px;
}

.category-market-outline,
.category-fudosan-outline,
.category-kyujin-outline {
    width: 100%;
    min-width: 0;
}

.category-market,
.category-fudosan,
.category-kyujin,
.category-kejiban {
    margin: 30px 0 10px;
    color: #b1b1b1;
    font-size: 20px;
    font-weight: 700;
}

.market-list,
.fudosan-list,
.kyujin-list,
.kejiban-annai-list,
.kejiban-bosyu-list {
    margin: 0;
    padding: 0;
    color: #b1b1b1;
    font-size: 14px;
    line-height: 30px;
    list-style: none;
}

.annai,
.bosyu {
    margin-left: 20px;
    color: #b1b1b1;
    font-weight: 700;
}

.category-others-outline2 {
    display: flex;
    flex-direction: column;
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto 80px;
    padding: 0 24px;
}

.category-kejiban-outline {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.keijiban-section1 {
    display: flex;
    flex: 0 1 auto;
    gap: 50px;
    padding-top: 10px;
}

.ad-in-others-outline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin-top: 25px;
}

.ad-in-others1-subsection1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 468px));
    justify-content: center;
    text-align: center;
}

.ad-in-others1-subsection2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

.category-search {
    width: min(1100px, 92%);
    margin: 20px auto 80px;
}

.category-search-title {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.category-group-title {
    margin-bottom: 16px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

/* =========================================================
   お知らせ・注意事項
   ========================================================= */
.block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(40px, 6vw, 100px);
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto 70px;
    align-items: start;
}

.internal {
    width: 100%;
    min-width: 0;
}

.information {
    width: 100%;
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid #dedede;
    font-weight: 700;
}

.info-title {
    margin-bottom: 20px;
    font-size: clamp(24px, 2.2vw, 30px);
}

.info1,
.info2 {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
}

.info1 {
    margin-bottom: 10px;
}

.caution {
    width: 100%;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #a2cc78;
    box-shadow: 2px 2px 6px #dedede;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.caution:hover {
    background-color: #91b76c;
}

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

.caution-title {
    margin-bottom: 10px;
    font-size: clamp(24px, 2.7vw, 35px);
    font-weight: 700;
    text-align: center;
}

.caution-detail {
    color: #c55a5a;
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 700;
    text-align: center;
}

.ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* =========================================================
   旧一覧系クラス（他の表示が残っている場合の保護）
   ========================================================= */
.new-company-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.new-company-section1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.new-company-section2 {
    padding-right: 10px;
}

.news-request-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.news-grid-outline,
.jobrequest-outline {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
}

.company-info,
.request-info {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 700;
}

.news-grid,
.request-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px auto 50px;
}

.news-item,
.request-item {
    padding: 20px;
    border: 2px solid #ddd;
    background: #e4e8f4;
}

.news-title,
.request-title {
    display: block;
    margin-bottom: 10px;
    color: #20204e;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.news-title:hover,
.request-title:hover {
    text-decoration: underline;
}

.news-industry {
    width: fit-content;
    padding: 5px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.news-addr,
.news-memo,
.request-body {
    margin: 5px;
}

.hako,
.word,
.comment,
.no-result {
    text-align: center;
}

.comment {
    margin: 20px 0;
}

.no-result {
    margin-bottom: 50px;
}

.kekka-outline {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kekka {
    width: min(700px, 90%);
    margin-top: 30px;
    padding: 30px;
    border-top: 1px solid #dedede;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.info {
    width: min(900px, 90%);
    margin: 0 auto 50px;
}

.company-box {
    padding: 30px;
    border: 2px solid #ddd;
    background: #e4e8f4;
}

.company {
    display: block;
    margin-bottom: 10px;
    color: #20204e;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
}

.industry {
    width: fit-content;
    margin-top: 20px;
    padding: 5px;
    border-radius: 4px;
    background-color: #4f6ebe;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

.detail-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.memo {
    margin-top: 20px;
}

/* =========================================================
   大型PC（1600px以上）
   ========================================================= */
@media screen and (min-width: 1600px) {
    .top-page-section1,
    .search-section1,
    .category-others-outline1,
    .category-others-outline2,
    .category,
    .category-oshigoto {
        max-width: 1500px;
    }

    .top-news-list {
        gap: 22px;
    }

    .top-part {
        min-height: 500px;
    }
}

/* =========================================================
   小さめPC・タブレット横（1200px以下）
   ========================================================= */
@media screen and (max-width: 1200px) {
    .top-page-section1 {
        grid-template-columns: minmax(0, 1fr) 310px;
        width: min(1120px, calc(100% - 32px));
        gap: 28px;
    }

    .top-news-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .top-news-list {
        grid-template-columns: 1fr;
    }

    .search-section1 {
        grid-template-columns: minmax(260px, 0.8fr) minmax(400px, 1.2fr);
        width: calc(100% - 32px);
        gap: 30px;
    }

    .category-others-outline1,
    .category-others-outline2,
    .category,
    .category-oshigoto,
    .block {
        width: calc(100% - 32px);
    }

    .category-others-outline1 {
        gap: 35px;
    }

    .ad-in-category {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* =========================================================
   タブレット（900px以下）
   ========================================================= */
@media screen and (max-width: 900px) {
    .top-part {
        min-height: clamp(300px, 46vw, 420px);
    }

    .theme1 {
        top: 11%;
    }

    .cigotea-title {
        top: 40%;
    }

    .theme2 {
        bottom: 11%;
    }

    .top-page-section1 {
        display: flex;
        flex-direction: column;
        width: min(760px, calc(100% - 32px));
    }

    .side-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .about {
        min-height: 330px;
    }

    .ad0,
    .cigotea-can-section {
        align-self: start;
    }

    .top-news-grid {
        grid-template-columns: 1fr;
    }

    .search-section1 {
        display: flex;
        flex-direction: column;
        width: min(760px, calc(100% - 32px));
    }

    .subcategory-outline {
        padding-right: 0;
        padding-left: 0;
    }

    .ad-in-category {
        grid-template-columns: repeat(2, minmax(0, 301px));
        justify-content: center;
    }

    .category-others-outline1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(760px, calc(100% - 32px));
    }

    .category-kyujin-outline {
        grid-column: 1 / -1;
    }

    .category-others-outline2,
    .category,
    .category-oshigoto {
        width: min(760px, calc(100% - 32px));
    }

    .category-kejiban-outline {
        flex-direction: column;
    }

    .block {
        grid-template-columns: 1fr;
        width: min(760px, calc(100% - 32px));
        gap: 35px;
    }

    .ad {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 300px));
        justify-content: center;
    }

    .news-request-grid {
        flex-direction: column;
    }

    .news-grid-outline,
    .jobrequest-outline {
        max-width: none;
    }
}

/* =========================================================
   スマホ（600px以下）
   ========================================================= */
@media screen and (max-width: 600px) {
    .top-part {
        min-height: 300px;
    }

    .top-pic img {
        object-position: center;
    }

    .theme1,
    .cigotea-title,
    .theme2 {
        width: calc(100% - 24px);
    }

    .theme1 {
        top: 12%;
        font-size: clamp(20px, 6vw, 28px);
    }

    .cigotea-title {
        top: 42%;
        font-size: clamp(44px, 13vw, 70px);
    }

    .theme2 {
        bottom: 12%;
        font-size: clamp(18px, 5.3vw, 25px);
    }

    .top-page-section1 {
        width: calc(100% - 20px);
        margin-top: 30px;
    }

    .shinchaku {
        align-items: center;
        margin-left: 5px;
    }

    .shinchaku img {
        max-width: 58px;
    }

    .shinchaku-comment {
        flex-basis: 100%;
        padding-left: 0;
    }

    .top-news-section {
        padding: 10px 0 35px;
    }

    .top-news-block {
        padding: 20px 10px;
        border-radius: 22px;
    }

    .top-news-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .top-news-block-head h3 {
        font-size: 19px;
    }

    .top-news-list {
        grid-template-columns: 1fr;
    }

    .job-section {
        gap: 10px;
        padding: 12px;
    }

    .job-section-sub2 {
        flex-basis: 92px;
    }

    .top-news-img,
    .top-news-no-image {
        width: 92px;
        height: 92px;
        border-radius: 12px;
    }

    .top-news-title,
    .top-news-text,
    .top-news-date {
        padding-left: 0;
    }

    .top-news-type,
    .top-news-region {
        padding: 4px 8px;
        font-size: 11px;
    }

    .side-bar {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .about {
        width: 100%;
    }

    .cigotea-can-inner {
        width: 100%;
    }

    .category {
        width: calc(100% - 20px);
        margin-top: 45px;
        padding-left: 0;
    }

    .category img {
        width: 58px;
    }

    .category-oshigoto,
    .search-section1,
    .category-others-outline1,
    .category-others-outline2,
    .block {
        width: calc(100% - 20px);
    }

    .category-oshigoto {
        padding-left: 0;
        font-size: 22px;
    }

    .subcategory-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ad-in-category {
        grid-template-columns: 1fr;
    }

    .category-others-outline1 {
        grid-template-columns: 1fr;
        padding-right: 0;
        padding-left: 0;
    }

    .category-kyujin-outline {
        grid-column: auto;
    }

    .category-others-outline2 {
        padding-right: 0;
        padding-left: 0;
    }

    .category-kejiban-outline,
    .keijiban-section1 {
        flex-direction: column;
        gap: 20px;
    }

    .ad-in-others1-subsection1,
    .ad-in-others1-subsection2,
    .ad-group,
    .ad {
        grid-template-columns: 1fr;
    }

    .information,
    .caution {
        padding: 20px 16px;
    }

    .detail-box {
        flex-direction: column;
    }

    .kekka {
        width: 100%;
        font-size: 24px;
    }
}

/* =========================================================
   極小スマホ（380px以下）
   ========================================================= */
@media screen and (max-width: 380px) {
    .top-part {
        min-height: 280px;
    }

    .theme1 {
        font-size: 20px;
    }

    .cigotea-title {
        font-size: 43px;
    }

    .theme2 {
        font-size: 17px;
    }

    .job-section {
        flex-direction: column-reverse;
    }

    .job-section-sub2 {
        flex-basis: auto;
        justify-content: flex-start;
    }

    .top-news-img,
    .top-news-no-image {
        width: 100%;
        height: 160px;
    }
}
