.site-header.no-border,
.site-header.nofix-header {
    border-top: 2px solid #d1222d;
    padding: 0 40px;
}

@media screen and (max-width:765px) {
    .site-summary a img {
        width: 120px;
    }
}

#container-target {
    margin: 0 auto;
    width: 1000px;
}

@media screen and (max-width:765px) {
    #container-target {
        margin: 0 20px;
        width: auto;
    }
}

.genai-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.genai-container .genai-section+.genai-section {
    margin-top: 2.5rem;
}

.genai-container .genai-caption {
    position: relative;
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0 0 20px;
    padding: 0 0 15px 0;
    line-height: 1.4;
}

@media screen and (max-width:765px) {
    .genai-container .genai-caption {
        margin: 0 0 25px;
        padding: 0 0 20px 0;
    }
}

@media screen and (max-width:765px) {
    .genai-container .genai-caption {
        font-size: 2rem;
    }
}

.genai-container .genai-caption::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    background-color: #d1222d;
    width: 24px;
    height: 2px;
}

.genai-container .genai-items {
    margin-top: 1.25rem;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding-left: 0;
}

.genai-container .genai-image {
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
}

.genai-container .genai-item::before {
    content: "";
    background: #d1222d;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.genai-container .genai-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 10px 15px;
}

.genai-container .genai-item a {
    text-decoration: none;
}

/*--求人名--*/
.genai-container .genai-text-name {
    font-size: 1.6rem;
    color: #d1222d;
    font-weight: bold;
    text-align: left;
    padding: 0.5rem 0;
    line-height: 1.6;
    text-overflow: ellipsis;
    height: 62px;
}

/*--会社名--*/
.genai-container .genai-text-companyname {
    font-size: 1.4rem;
    text-align: left;
    padding: 0.5rem 0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

/*--業務内容--*/
.genai-container .genai-text-description {
    font-size: 1.2rem;
    text-align: left;
    padding: 0.5rem 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    height: 87px;
}

.genai-container .genai-text-rrp,
.genai-container .genai-text-atprice,
.genai-container .genai-text-jobtype {
    position: relative;
    font-size: 1.2rem;
    margin: 8px 0;
    padding: 0 0 0 60px;
}

.genai-container .genai-text-rrp::before {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: "勤務地";
    background-color: #eee;
    font-size: 1.2rem;
    width: 50px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

.genai-container .genai-text-atprice::before {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: "年収";
    background-color: #eee;
    font-size: 1.2rem;
    width: 50px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

.genai-container .genai-text-jobtype::before {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: "職種";
    background-color: #eee;
    font-size: 1.2rem;
    width: 50px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

.genai-container .genai-text-description>b {
    font-size: 1.4rem;
    color: #000;
}

@media screen and (max-width:765px) {
    .genai-container .genai-text {
        font-size: 1.6rem;
    }

    .genai-container .genai-text-name {
        height: auto;
    }
}

.rtgai-search-submit:disabled {
    cursor: default !important;
    background-color: #DDDDDD !important;
    color: black !important;
}

@keyframes genai-spin {
    to {
        transform: rotate(360deg);
    }
}

.suggest-button {
    background-color: #eee;
    padding: 8px 16px;
    border: 1px solid #646464;
    color: #646464;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/*-- 求人詳細 --*/
#rt_ViewTrend,
#rt_history {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

#rt_ViewTrend div#rt_ViewTrend_1,
#rt_ViewTrend div#rt_ViewTrend_2,
#rt_ViewTrend div#rt_ViewTrend_3,
#rt_ViewTrend div#rt_ViewTrend_4,
#rt_ViewTrend div#rt_ViewTrend_5,
#rt_ViewTrend div#rt_ViewTrend_6,
#rt_ViewTrend div#rt_ViewTrend_7,
#rt_ViewTrend div#rt_ViewTrend_8,
#rt_ViewTrend div#rt_ViewTrend_9,
#rt_ViewTrend div#rt_ViewTrend_10,
#rt_ViewTrend div#rt_ViewTrend_11,
#rt_ViewTrend div#rt_ViewTrend_12,
#rt_ViewTrend div#rt_ViewTrend_13,
#rt_ViewTrend div#rt_ViewTrend_14,
#rt_ViewTrend div#rt_ViewTrend_15,
#rt_ViewTrend div#rt_ViewTrend_16,
#rt_ViewTrend div#rt_ViewTrend_17,
#rt_ViewTrend div#rt_ViewTrend_18,
#rt_ViewTrend div#rt_ViewTrend_19,
#rt_ViewTrend div#rt_ViewTrend_20,
#rt_history div#rt_history_1,
#rt_history div#rt_history_2,
#rt_history div#rt_history_3,
#rt_history div#rt_history_4,
#rt_history div#rt_history_5,
#rt_history div#rt_history_6,
#rt_history div#rt_history_7,
#rt_history div#rt_history_8,
#rt_history div#rt_history_9,
#rt_history div#rt_history_10,
#rt_history div#rt_history_11,
#rt_history div#rt_history_12,
#rt_history div#rt_history_13,
#rt_history div#rt_history_14,
#rt_history div#rt_history_15,
#rt_history div#rt_history_16,
#rt_history div#rt_history_17,
#rt_history div#rt_history_18,
#rt_history div#rt_history_19,
#rt_history div#rt_history_20 {
    width: calc((100% - 32px) / 3);
    box-sizing: border-box;
}

#rt_ViewTrend div#rt_ViewTrend_1 a,
#rt_ViewTrend div#rt_ViewTrend_2 a,
#rt_ViewTrend div#rt_ViewTrend_3 a,
#rt_ViewTrend div#rt_ViewTrend_4 a,
#rt_ViewTrend div#rt_ViewTrend_5 a,
#rt_ViewTrend div#rt_ViewTrend_6 a,
#rt_ViewTrend div#rt_ViewTrend_7 a,
#rt_ViewTrend div#rt_ViewTrend_8 a,
#rt_ViewTrend div#rt_ViewTrend_9 a,
#rt_ViewTrend div#rt_ViewTrend_10 a,
#rt_ViewTrend div#rt_ViewTrend_11 a,
#rt_ViewTrend div#rt_ViewTrend_12 a,
#rt_ViewTrend div#rt_ViewTrend_13 a,
#rt_ViewTrend div#rt_ViewTrend_14 a,
#rt_ViewTrend div#rt_ViewTrend_15 a,
#rt_ViewTrend div#rt_ViewTrend_16 a,
#rt_ViewTrend div#rt_ViewTrend_17 a,
#rt_ViewTrend div#rt_ViewTrend_18 a,
#rt_ViewTrend div#rt_ViewTrend_19 a,
#rt_ViewTrend div#rt_ViewTrend_20 a,
#rt_history div#rt_history_1 a,
#rt_history div#rt_history_2 a,
#rt_history div#rt_history_3 a,
#rt_history div#rt_history_4 a,
#rt_history div#rt_history_5 a,
#rt_history div#rt_history_6 a,
#rt_history div#rt_history_7 a,
#rt_history div#rt_history_8 a,
#rt_history div#rt_history_9 a,
#rt_history div#rt_history_10 a,
#rt_history div#rt_history_11 a,
#rt_history div#rt_history_12 a,
#rt_history div#rt_history_13 a,
#rt_history div#rt_history_14 a,
#rt_history div#rt_history_15 a,
#rt_history div#rt_history_16 a,
#rt_history div#rt_history_17 a,
#rt_history div#rt_history_18 a,
#rt_history div#rt_history_19 a,
#rt_history div#rt_history_20 a {
    text-decoration: none;
    padding: 16px;
    display: block;
    border-top: 4px solid #d1222d;
    border: 1px solid #dcdcdc;
    position: relative;
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
}

#rt_ViewTrend div#rt_ViewTrend_1 a::before,
#rt_ViewTrend div#rt_ViewTrend_2 a::before,
#rt_ViewTrend div#rt_ViewTrend_3 a::before,
#rt_ViewTrend div#rt_ViewTrend_4 a::before,
#rt_ViewTrend div#rt_ViewTrend_5 a::before,
#rt_ViewTrend div#rt_ViewTrend_6 a::before,
#rt_ViewTrend div#rt_ViewTrend_7 a::before,
#rt_ViewTrend div#rt_ViewTrend_8 a::before,
#rt_ViewTrend div#rt_ViewTrend_9 a::before,
#rt_ViewTrend div#rt_ViewTrend_10 a::before,
#rt_ViewTrend div#rt_ViewTrend_11 a::before,
#rt_ViewTrend div#rt_ViewTrend_12 a::before,
#rt_ViewTrend div#rt_ViewTrend_13 a::before,
#rt_ViewTrend div#rt_ViewTrend_14 a::before,
#rt_ViewTrend div#rt_ViewTrend_15 a::before,
#rt_ViewTrend div#rt_ViewTrend_16 a::before,
#rt_ViewTrend div#rt_ViewTrend_17 a::before,
#rt_ViewTrend div#rt_ViewTrend_18 a::before,
#rt_ViewTrend div#rt_ViewTrend_19 a::before,
#rt_ViewTrend div#rt_ViewTrend_20 a::before,
#rt_history div#rt_history_1 a::before,
#rt_history div#rt_history_2 a::before,
#rt_history div#rt_history_3 a::before,
#rt_history div#rt_history_4 a::before,
#rt_history div#rt_history_5 a::before,
#rt_history div#rt_history_6 a::before,
#rt_history div#rt_history_7 a::before,
#rt_history div#rt_history_8 a::before,
#rt_history div#rt_history_9 a::before,
#rt_history div#rt_history_10 a::before,
#rt_history div#rt_history_11 a::before,
#rt_history div#rt_history_12 a::before,
#rt_history div#rt_history_13 a::before,
#rt_history div#rt_history_14 a::before,
#rt_history div#rt_history_15 a::before,
#rt_history div#rt_history_16 a::before,
#rt_history div#rt_history_17 a::before,
#rt_history div#rt_history_18 a::before,
#rt_history div#rt_history_19 a::before,
#rt_history div#rt_history_20 a::before {
    content: "";
    background: #d1222d;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    position: absolute;
    top: 0;
    left: 0;
}

#rt_ViewTrend div#rt_ViewTrend_1 a:hover,
#rt_ViewTrend div#rt_ViewTrend_2 a:hover,
#rt_ViewTrend div#rt_ViewTrend_3 a:hover,
#rt_ViewTrend div#rt_ViewTrend_4 a:hover,
#rt_ViewTrend div#rt_ViewTrend_5 a:hover,
#rt_ViewTrend div#rt_ViewTrend_6 a:hover,
#rt_ViewTrend div#rt_ViewTrend_7 a:hover,
#rt_ViewTrend div#rt_ViewTrend_8 a:hover,
#rt_ViewTrend div#rt_ViewTrend_9 a:hover,
#rt_ViewTrend div#rt_ViewTrend_10 a:hover,
#rt_ViewTrend div#rt_ViewTrend_11 a:hover,
#rt_ViewTrend div#rt_ViewTrend_12 a:hover,
#rt_ViewTrend div#rt_ViewTrend_13 a:hover,
#rt_ViewTrend div#rt_ViewTrend_14 a:hover,
#rt_ViewTrend div#rt_ViewTrend_15 a:hover,
#rt_ViewTrend div#rt_ViewTrend_16 a:hover,
#rt_ViewTrend div#rt_ViewTrend_17 a:hover,
#rt_ViewTrend div#rt_ViewTrend_18 a:hover,
#rt_ViewTrend div#rt_ViewTrend_19 a:hover,
#rt_ViewTrend div#rt_ViewTrend_20 a:hover,
#rt_history div#rt_history_1 a:hover,
#rt_history div#rt_history_2 a:hover,
#rt_history div#rt_history_3 a:hover,
#rt_history div#rt_history_4 a:hover,
#rt_history div#rt_history_5 a:hover,
#rt_history div#rt_history_6 a:hover,
#rt_history div#rt_history_7 a:hover,
#rt_history div#rt_history_8 a:hover,
#rt_history div#rt_history_9 a:hover,
#rt_history div#rt_history_10 a:hover,
#rt_history div#rt_history_11 a:hover,
#rt_history div#rt_history_12 a:hover,
#rt_history div#rt_history_13 a:hover,
#rt_history div#rt_history_14 a:hover,
#rt_history div#rt_history_15 a:hover,
#rt_history div#rt_history_16 a:hover,
#rt_history div#rt_history_17 a:hover,
#rt_history div#rt_history_18 a:hover,
#rt_history div#rt_history_19 a:hover,
#rt_history div#rt_history_20 a:hover {
    text-decoration: none;
    background: #fcf5f5;
    -webkit-transition: .1s linear;
    transition: .1s linear;
}

@media screen and (max-width: 768px) {

    #rt_ViewTrend,
    #rt_history {
        display: block;
        flex-wrap: nowrap;
        gap: 0;
    }

    #rt_ViewTrend div#rt_ViewTrend_1,
    #rt_ViewTrend div#rt_ViewTrend_2,
    #rt_ViewTrend div#rt_ViewTrend_3,
    #rt_ViewTrend div#rt_ViewTrend_4,
    #rt_ViewTrend div#rt_ViewTrend_5,
    #rt_ViewTrend div#rt_ViewTrend_6,
    #rt_ViewTrend div#rt_ViewTrend_7,
    #rt_ViewTrend div#rt_ViewTrend_8,
    #rt_ViewTrend div#rt_ViewTrend_9,
    #rt_ViewTrend div#rt_ViewTrend_10,
    #rt_ViewTrend div#rt_ViewTrend_11,
    #rt_ViewTrend div#rt_ViewTrend_12,
    #rt_ViewTrend div#rt_ViewTrend_13,
    #rt_ViewTrend div#rt_ViewTrend_14,
    #rt_ViewTrend div#rt_ViewTrend_15,
    #rt_ViewTrend div#rt_ViewTrend_16,
    #rt_ViewTrend div#rt_ViewTrend_17,
    #rt_ViewTrend div#rt_ViewTrend_18,
    #rt_ViewTrend div#rt_ViewTrend_19,
    #rt_ViewTrend div#rt_ViewTrend_20,
    #rt_history div#rt_history_1,
    #rt_history div#rt_history_2,
    #rt_history div#rt_history_3,
    #rt_history div#rt_history_4,
    #rt_history div#rt_history_5,
    #rt_history div#rt_history_6,
    #rt_history div#rt_history_7,
    #rt_history div#rt_history_8,
    #rt_history div#rt_history_9,
    #rt_history div#rt_history_10,
    #rt_history div#rt_history_11,
    #rt_history div#rt_history_12,
    #rt_history div#rt_history_13,
    #rt_history div#rt_history_14,
    #rt_history div#rt_history_15,
    #rt_history div#rt_history_16,
    #rt_history div#rt_history_17,
    #rt_history div#rt_history_18,
    #rt_history div#rt_history_19,
    #rt_history div#rt_history_20 {
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0 0 0;
    }
}

#rt_ViewTrend .job-title .company,
#rt_history .job-title .company {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
}

#rt_ViewTrend .job-title .title,
#rt_history .job-title .title {
    font-size: 1.6rem;
    color: #d1222d;
    line-height: 1.5 !important;
    display: block;
    margin: 0.5rem 0 0 0;
}

#rt_ViewTrend .detail,
#rt_history .detail {
    font-size: 1.4rem;
    margin: 1rem 0;
}

#rt_ViewTrend .detail .text-ommit02,
#rt_history .detail .text-ommit02 {
    overflow: hidden;
    display: -webkit-box;
    height: 100px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4
}

#rt_ViewTrend .summary .location p,
#rt_ViewTrend .summary .salary p,
#rt_history .summary .location p,
#rt_history .summary .salary p {
    position: relative;
    font-size: 1.2rem;
    padding: 0 0 0 1.5rem;
}

#rt_ViewTrend .summary .location p::before,
#rt_history .summary .location p::before {
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    content: "";
    background-image: url("/lp/history/images/icon_map_border.svg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 13px;
    height: 15px;
}

#rt_ViewTrend .summary .salary p::before,
#rt_history .summary .salary p::before {
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    content: "";
    background-image: url("/lp/history/images/icon_money_border.svg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 13px;
    height: 15px;
}