/* 固定ページ共通css */
.section-top {
    height: 30dvh;
    background-color: #0c9cb5;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.section-top h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: clamp(25px,6.6vw,35px);
    color: #000;
    font-weight: bold;
    z-index: 10;
    letter-spacing: 0.1em;
}

/* page-result.php */
.result-row {
    text-align: center;
}

.result-box {
    padding: 18px;
    border: #0c9cb5 5px solid;
    background-color: #0e9fb927;
    border-radius: 10px;
    display: inline-block;
    margin: 20px auto;
    width: 50%;
    transition: all 0.3s;
    min-width: 580px;
}

.result-box:hover .result-img-box img {
    transform: scale(1.2);
}

.result-flex {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    gap: 5%;
}

.result-img-box {
    width: 45%;
    height: auto;
    min-width: 210px;
    min-width: 45%;
    overflow: hidden;
}

.result-img-box img {
    width: 100%;
    height: auto;
    transition: all 0.3s;
}

.sing {
    width: 100%;
}

.cat-box {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 3%;
    flex-wrap: wrap;
}

.cat {
    padding: 0.5em 0.6em 0.4em 0.6em;
    color: #000;
    background-color: #0c9cb5;
    font-size: 14px;
    display: inline-block;
    border-radius: 30px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin-bottom: 5px;
}

.single-content .cat-box {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.result-title {
    font-size: clamp(14px,3.7vw,20px);
    color: #000;
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-weight: bold;
    text-align: left;
}

.result-money,
.result-access,
.result-contents {
    font-size: 14px;
    position: relative;
    padding-left: 2em;
    margin-bottom: 1em;
    text-align: left;
}

.result-access {
    margin-bottom: 1em;
}

.result-money::before,
.result-access::before,
.result-contents::before {
    position: absolute;
    content: "";
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.result-money::before {
    background-image: url(../img/money.svg);
}

.result-access::before {
    background-image: url(../img/place.svg);
}

.result-contents::before {
    background-image: url(../img/comment.svg);
}

@media(max-width:740px) {
    .result-box {
        min-width: inherit;
        width: 90%;
        max-width: 550px;
        padding: 10px;
    }

    .result-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .result-flex img {
        margin-bottom: 15px;
        width: 70%;
        min-width: 70%;
    }

    .single-content .cat-box {
        width: 90%;
    }

    .result-img-box {
        width: 80%;
    }

    .result-img-box img {
        width: 100%;
    }

    .result-texts {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* single.php */
.single-content {
    text-align: center;
}

.single-content td,
.single-texts {
    text-align: left;
}

.single-texts {
    width: 70%;
    margin: 0 auto;
    display: inline-block;
    min-width: 650px;
    font-size: clamp(10px,2.6vw,16px);
}

.single-cat-box {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 30px;
    margin: 40px auto 15px auto;
    width: 50vw;
    flex-wrap: wrap;
}

.single-img {
    width: 50vw;
    height: auto;
    min-width: 600px;
}

.news-single-img {
    width: 70%;
    height: auto;
}

.single-title {
    text-align: center !important;
    font-size: clamp(20px,5.3vw,38px);
    color: #000;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.single-contents-table {
    line-height: 200%;
    margin-bottom: 100px;
}

.single-contents-table p,
.single-contents-table h2,
.single-contents-table h3,
.single-contents-table img {
    margin: 20px 0;
}

.single-contents-table p {
    font-size: 16px;
}

.single-contents-table h2 {
    font-size: 24px;
    font-weight: bold;
    background-color: #0e9fb927;
    border-left: #0c9cb5 solid 6px;
    padding: 20px;
}

.wp-block-table {
    margin-top: 70px;
    margin-bottom: 70px;
}

.contact-tel,
.contact-mail {
    margin-bottom: 2em;
    font-size: clamp(10px,2.6vw,16px);
}

.return-to-list a {
    font-size: 20px;
    background-color: #0c9cb5;
    border: 1px solid #0c9cb5;
    color: #000;
    border-radius: 10px;
    padding: 1em  0.8em 0.8em 0.8em;
    box-shadow: 1px 1px 2px;
    display: block;
    width: 300px;
    margin: 20px auto;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
}

.return-to-list a:hover {
    background-color: #fff;
    border: 1px solid #0c9cb5;
    color: #0c9cb5;
}

@media(max-width:760px) {
    .single-img {
        min-width: 280px;
        width: 70%;
    }

    .single-cat-box {
        margin: 25px auto 15px auto;
    }

    .single-texts {
        width: 100%;
        min-width: 260px;
        max-width: 600px;
    }

    .wp-block-table {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .has-text-align-left {
        white-space: nowrap;
    }

    .return-to-list a {
        font-size: 14px;
        width: 200px;
    }
}

/* レコメンド */
.rec {
    margin: 120px auto;
}

.rec h2 {
    position: relative;
    display: inline-block;
    font-size: clamp(20px,5.3vw,38px);
}

.rec h2::before {
    position: absolute;
    content: "-おすすめ求人-";
    font-size: clamp(16px,4.26vw,30px);
    top: 50%;
    transform: translateY(-50%);
    right: -10em;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/* スライダー */
.rec-box {
    width: 100%;
    margin: 0 auto;
}
.slider {
    border: #0c9cb5 5px solid;
    border-radius: 10px;
    width: 100%;
    padding: 18px;
}

.slider-box {
    width: 300px;
    height: auto;
    overflow: hidden;
    margin-right: 10px;
    margin-left: 10px;
    transition: all 0.3s;
}

.slider-box:hover .result-img-box img{
    transform: scale(1.2);
}

.slider-text {
    font-size: 12px;
    line-height: 150%;
    padding: 1em;
    letter-spacing: 0.1em;
}

.slider-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0.8em;
}

.slick-slide img {
    margin: 0 auto;
}

.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
}

.slick-dots li button {
    font-size: 0;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.slick-dots li button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    content: "";
    width: 10px;
    height: 10px;
    background-color: gray;
    border-radius: 100px;
}

.slick-dots li.slick-active button:before {
    background-color: #0c9cb5  !important;
}

/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 50%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 5px solid #0c9cb5;/*矢印の色*/
    border-right: 5px solid #0c9cb5;/*矢印の色*/
    height: 15px;
    width: 15px;
}
.slick-prev {/*戻る矢印の位置と形状*/
    left: 1%;
    transform: rotate(-135deg);
    z-index: 5;
}
.slick-next {/*次へ矢印の位置と形状*/
    right: 1%;
    transform: rotate(45deg);
    z-index: 5;
}

@media(max-width:900px) {
    .slick-dots {
        gap: 15px;
    }
}

/* 会社概要 */
.about .container {
    padding-bottom: 100px;
}
.about p,
.job-box {
    font-size: clamp(10px,2.6vw,14px);
    line-height: 180%;
}

.about .bold {
    font-size: clamp(12px,3.2vw,16px);
    font-weight: bold;
    margin-bottom: 0.5em;
    margin-top: 3em;
}

.job {
    list-style: inherit;
    list-style-position: inside;
}

@media(max-width:740px) {
    .about .container {
        padding-bottom: 40px;
    }
}

/* privacy.php */
.pr-box {
    margin-bottom: 2em;
}

.privacy .container {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media(max-width:800px) {
    .privacy .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.pr-content a {
    color: rgb(11, 0, 224);
}