:root {
    --base: #fefeff;
    --bk: #343638;
    --main: #1d2087;
    --accent: #009b73;
    --sub: #eee;
    --subblue: #e8f3fc;
}

.jobBox {
    margin: 40px 0 60px;
}

h3 {
    padding: 0 0 1em;
    text-align: center;
    font-size: 40px;
    position: relative;
}

h3::before {
    content: '';
    position: absolute;
    background-color: #009b73;
    width: 14px;
    height: 2px;
    top: 1.8em;
    left: 50%;
    transform: translate(-50%, 0);
}

h4 {
    margin: 32px auto 0;
    max-width: 400px;
}

h4 img {
    width: 100%;
}

.jump {
    margin: 0 auto;
    padding: 20px 0;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.jump-wrapper {
    width: 50%;
}

.jumpBtn {
    margin: 0 auto 30px;
    padding: 1.5em 0 2em;
    display: block;
    width: 80%;
    text-align: center;
    background-color: #fff;
    box-shadow: 1px 1px 4px .5px #cbcdd1;
    border-radius: 6px;
    position: relative;
}

.jumpBtn .mini {
    display: block;
    font-size: 13px;
    line-height: 2em;
}

.jumpBtn::before {
    font-family: 'FontAwesome';
    content: "\f078";
    color: var(--accent);
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, 0);
}

.careerupImage {
    margin: 20px auto;
    max-width: 800px;
    display: flex;
}

.careerupImage img {
    margin: 0 auto;
    width: 90%;
}


.careerup-caption {
    margin: 0 auto;
    max-width: 600px;
    padding: 10px 0 50px;
}

.careerup-caption p {
    margin: 1em auto;
    width: 88%;
    font-size: 17px;
    line-height: 2em;
}

#interview {
    padding: 3em;
    background-color: var(--subblue);
}

.interview-wrapper {
    margin: 0 auto;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.interview-box {
    margin: 10px;
    width: 230px;
}

.interview-box h4 {
    padding: 0 0 1em;
    font-size: 20px;
    text-align: right;
    letter-spacing: -.05em;
}

.interview-box h4 .eng {
    margin: .5em 0 0 0;
    display: block;
    font-size: .7em;
    letter-spacing: .2em;
    position: relative;
}

.interview-box h4 .eng::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    background: linear-gradient(315deg, #0031ea 0%, #228ada 48%, #009b73 100%);
    height: 1px;
    width: 100%;
}

.interview-h {
    display: flex;
    align-self: center;
}

.interview-img {
    margin: 0 auto;
    width: 80%;
}

.interview-box img {
    width: 100%;
    border-radius: 50%;
}

.interview-box h7 {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 1em 0 0;
    font-size: 13px;
    color: var(--accent);
}

.interview-box p {
    color: #666;
    margin: 1em 0;
    font-size: 13px;
    line-height: 1.9em;
}

/* アルバイト */

.parttime-caption {
    margin: 2em auto;
    max-width: 400px;
    padding: 10px 0 50px;
    line-height: 2.5em;
    text-align: center;
    font-weight: bold;
}

.parttime-condition {
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.parttime-condition li {
    margin: 5px;
    width: 150px;
    text-align: center;
    color: var(--accent);
}

.parttime-condition li img {
    width: 100%;
}

.parttime-condition li h7 {
    font-size: 19px;
    letter-spacing: .16em;
    font-weight: bold;
}

.parttime-condition li p {
    width: 80%;
    margin: 0 auto;
    padding: 1em 0;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.4em;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* 応募ボタン */

button {
    cursor: pointer;
}

.webapply {
    position: fixed;
    bottom: 5px;
    width: 100%;
    height: 100px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: .2em;
    color: #fff;
    background: linear-gradient(315deg, #001f3f, #003366, #004c99, #0077cc, #00aaff, #004c99, #003366, #001f3f);
    /* 滑らかな寒色グラデーション */
    background-size: 400% 100%;
    /* 流れるように範囲を広げる */
    animation: movingGradient 8s linear infinite;
    /* よりスムーズに流れるように */
    z-index: 99;
    overflow: hidden;
}

@keyframes movingGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: -200% 50%;
    }

    /* スムーズに流れる */
}

.webapply::before {
    content: "";
    position: absolute;
    top: 5px;
    /* 内側の線なので余白を調整 */
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid white;
    /* 内側の線 */
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.webapply:hover {
    transform: translateY(5%);
    opacity: 0.9;
}

.web {
    display: inline-block;
    position: relative;
    font-size: 30px;
}

.web img {
    width: 33px;
    transform: rotate(-30deg) translateY(10px);
    position: absolute;
    padding-left: 0.7rem;
}


@keyframes waveText {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-5px);
    }

    /* 波のピーク */
    50% {
        transform: translateY(0);
    }

    /* 戻る */
    100% {
        transform: translateY(0);
    }

    /* 次の波まで待機 */
}

.webapply .web span {
    display: inline-block;
    animation: waveText 2s ease-in-out infinite;
    /* 1波ずつループ */
    animation-delay: calc(0.2s * var(--index));
    /* 1文字ずつ遅延させる */
}

/* 求人一覧 */

#recruitinfo {
    padding: 100px 0;
    background-color: var(--subblue);
}

.flex01 {
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
}

.recruitBox {
    margin: 0 auto;
    padding: 10px 0 80px;
    max-width: 700px;
    font-size: 14px;
    font-weight: normal;
}


.recruitBox h2 {
    text-align: left;
    margin: 10px 0 26px 26px;
    font-size: clamp(20px, 2.5vw, 26px);
    position: relative;
    letter-spacing: .05em;
    font-family: "Noto Sans JP", sans-serif, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.recruitBox h2::before {
    margin: 0 0 0 -26px;
    position: absolute;
    content: "";
    width: 12px;
    height: 110%;
    background-color: var(--main);
}

.recruitBox h2 .status {
    display: inline-block;
    margin: 5px 0 8px;
    padding: 5px 8px;
    font-size: 14px;
    background-color: #fff200;
}

.recruitBox h3 {
    text-align: center;
    font-size: clamp(22px, 2.5vw, 36px);
    color: var(--main);
    letter-spacing: .1em;
}

.recruitBox h4 {
    margin: .5em 0 .5em 1.8em;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: .1em;
    position: relative;
}

.recruitBox .recruitList {
    margin: 1em 0 0 10px;
}

.recruitBox .recruitList li {
    margin: 0 0 2.5em;
}

.recruitBox .ListHead {
    width: 50%;
}

.recruitBox li h4::before {
    position: absolute;
    top: 45%;
    left: -1.4em;
    transform: translateY(-50%);
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../img/i-h.svg);
}

.recruitBox .li-salary h4::before {
    background-image: url(../img/i-salary.svg);
}

.recruitBox .li-time h4::before {
    background-image: url(../img/i-time.svg);
}

.recruitBox .annotation {
    font-size: 12px;
    margin-top: 10px;
}

.recruitBox .recruitHour {
    margin: 0 0 20px;
}

.recruitBox .recruitHour span {
    font-size: 16px;
    font-weight: bold;
    color: var(--main);
}

.recruitBox ol {
    counter-reset: num;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

.recruitBox ol li {
    position: relative;
    padding: 0 0 0 1.1em;
}

.recruitBox ol li:before {
    position: absolute;
    counter-increment: num;
    content: counter(num);
    display: inline-block;
    background: var(--accent);
    color: var(--base);
    font-weight: bold;
    font-size: 13px;
    padding: 0;
    border-radius: 50%;
    left: -3px;
    width: 16px;
    height: 16px;
    line-height: 13px;
    text-align: center;
    top: 2px;
}


.recruitBox .recruitTime ul {
    margin: 0 0 0 1em;
}

.recruitBox .recruitTime ul li {
    margin: 2px 0;
}


.recruitBox .recruitList-caption {
    margin: 0 0 0 2.4em;
    line-height: 1.3em;
    font-family: "Noto Sans JP", sans-serif, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

#front-cleaner .salary-box>span {
    display: block;
    font-size: 17px;
    font-weight: bold;
    color: var(--main);
    margin-bottom: 10px;
}

/* エリア名（pタグ）に余白を付ける */
#front-cleaner .salary-box>p {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin: 12px 0 6px;
    /* 上下の間隔を広めに */
}

/* 金額 */
#front-cleaner .salary-box .salary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: bold;
    color: #d32f2f;
}

#front-cleaner .salary-box .mini {
    font-size: 16px;
    color: #333;
}

.salary-box {
    background: #ffffff;
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.salary-box>p {
    font-size: 16px;
    font-weight: bold;
    color: var(--main);
    margin-bottom: 8px;
}

.salary-box>span {
    display: block;
    font-size: 17px;
    font-weight: bold;
    color: var(--main);
    margin-bottom: 6px;
}

.salary-box .salary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #d32f2f;
    /* 赤色で目立たせる */
}

.salary-box .mini {
    font-size: 16px;
    color: #333;
}


.recruitBox .recruitHead {
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
}

.recruitBox .recruitImg {
    width: 40%;
}

.recruitBox .recruitImg img {
    width: 100%;
}

.recruitBox .recruitDetail {
    width: 98%;
    padding: 1em 0;
    display: block;
    margin: 0 auto;
    color: var(--bk);
    background-color: var(--base);
    border: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: .04em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.triger {
    cursor: pointer;
}

.triger::before {
    margin: 0 10px 0 0;
    font-family: 'FontAwesome';
    content: "\f078";
    color: var(--accent);
}

.triger.close::before {
    margin: 0 10px 0 0;
    font-family: 'FontAwesome';
    content: "\f077";
    color: var(--accent);
}


.recruitBox .ListDetail {
    width: 95%;
    margin: 0 0 40px;
    padding: 20px 10px;
    background-color: var(--base);

}

.recruitBox .ListDetail .recruitList-caption {
    margin: 1.2em 0 4em 2.4em;
}

.recruitBox .ListDetail .recruitList-caption .recruitList-sub-caption {
    margin: 1.2em 0px 1em 1.4em;
}

#kumamotoStaff .recruitImg img {
    padding: 10px 0;
}

/* 勤務地 */

.recruitArea {
    margin: 100px auto;
}

.recruitArea h4 {
    padding: 0 0 2em;
    text-align: center;
    position: relative;
}

.recruitArea ul {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.recruitArea ul li {
    padding: 18px 0;
    margin: 0 5px 28px;
    width: 300px;
    text-align: center;
    background-color: var(--subblue);
    color: #222;
    border-radius: 40px;
    position: relative;
}

.recruitArea h5 {
    margin: 0 auto;
    width: 90%;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.recruitArea .br {
    font-size: 12px;
}


.areaBox {
    width: 80%;
    margin: 0 auto 20px;
}

/* 点滅 */
@keyframes blinking {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 要素にアニメーションを適用 */
.blink {
    color: #ff0000;
    position: absolute;
    top: 0;
    left: 0;
    animation: blinking 1s ease-in-out infinite alternate;
}

.areaBox h6 {
    text-align: center;
    color: var(--accent);
    position: relative;
}

.areaBox h6 .bgw {
    padding: 0 14px 0 24px;
    background-color: #fff;
    z-index: 1;
    letter-spacing: .5em;
}

.areaBox h6::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--sub);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.attension {
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    color: var(--accent);
}

@media screen and (min-width: 1025px) {

    .web {
        font-size: 22px;
    }

    .web img {
        bottom: -50px;
        left: 43%;
    }

    .webapply {
        width: 180px;
        height: 180px;
        bottom: 5%;
        right: 2%;
        border-radius: 50%;
        font-size: 16px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        /* 影を追加 */
        animation: fuwafuwa 2s infinite, movingGradient 8s linear infinite;

    }

    /* ふわふわアニメーション */
    @keyframes fuwafuwa {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0px);
        }
    }


    .webapply .web span {
        animation: none;
        /* 1波ずつループ */
    }


    .webapply::before {
        border: none;
    }
}

@media screen and (max-width:767px) {

    .careerup-box-sp {
        background-image: url(../img/recruit-arrow-sp.svg);
    }

    .interview-wrapper {
        width: 80%;
    }

    .br {
        display: block;
    }

    .jump-wrapper {
        width: 40%;
    }

    .recruitBox .recruitImg {
        margin: 0 auto;
        width: 90%;
    }

    .recruitBox .ListHead {
        width: 100%;
    }

    .recruitBox {
        max-width: 96%;
    }

    .ListHead {
        width: 100%;
    }

    .recruitDetail {
        width: 96%;
    }

    .recruitArea ul li {
        width: 150px;
    }

    .areaBox {
        width: 100%;
    }
}

@media (max-width:480px) {
    .web {
        font-size: 15px;
    }

    .web img {
        width: 28px;
    }
}