@charset "UTF-8";

/* -------------------------------------------------------
    recruit-guideline.html タブレット版（768px〜1439px）
    css/recruit-guideline.css（PC版）の px 指定を 1440px 基準で vw に変換
    計算式：px ÷ 1440 × 100 = vw（小数点4桁まで）
    セレクタ・レイアウト構成はPC版から変更していません
------------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1439px) {

    /* -------------------------
        募集要項（19_募集要項）専用のスタイルです。
        ヘッダー・フッター・共通ボタン等は css/common.css を参照しています。
        ヒーロー波形マスク（.c-photo-wave-mask）・共通見出し（.c-heading）も css/common.css を参照しています。
    ------------------------- */

    .l-main {
        min-width: 69.4444vw;
    }


    /* -------------------------
        ページタイトル（ヒーロー）
    ------------------------- */

    .guideline-hero {
        position: relative;
        width: 100%;
        min-width: 69.4444vw;
        height: 44.0972vw;
        overflow: hidden;
        background: var(--color-cream);
    }

    .guideline-hero__photo {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    .guideline-hero__photo-inner {
        position: absolute;
        top: -10%;
        right: -8%;
        bottom: -5%;
        left: 0;
        background: url("../images/recruit-guideline/hero_photo.webp") 100% 69% / 106.94% auto no-repeat;
    }

    .guideline-hero__inner {
        position: relative;
        width: 100%;
        max-width: 100vw;
        height: 100%;
        margin: 0 auto;
    }

    .guideline-hero__title {
        position: absolute;
        left: 11.5278vw;
        top: 18.2639vw;
        display: inline-flex;
        align-items: center;
        height: 5.9028vw;
        margin: 0;
        padding: 0 4.1667vw;
        background: #41bcd7;
        border-radius: 13.8889vw;
        color: #fff;
        font-size: 3.4722vw;
        font-weight: 700;
        letter-spacing: 15px;
        text-indent: 15px;
        white-space: nowrap;
    }


    /* -------------------------
        現在募集中の職種
    ------------------------- */

    .guideline-jobs {
        position: relative;
        padding: 4.8611vw 1.3889vw;
        background: #FFFFBC;
    }

    .guideline-jobs__inner {
        position: relative;
        max-width: 71.5278vw;
        margin: 6.9444vw auto 0;
        text-align: center;
    }

    .guideline-jobs__panel-wrap {
        position: relative;
        max-width: 71.3889vw;
        margin: 0 auto;
    }

    .guideline-jobs__deco-staff {
        position: absolute;
        top: -13.8889vw;
        right: -3.4722vw;
        width: 20.8333vw;
        height: auto;
        pointer-events: none;
    }

    .guideline-jobs__panel {
        position: relative;
        max-width: 71.3889vw;
        margin: 0 auto;
        padding: 4.1667vw 3.4722vw;
        background: #FFF8AA;
        border-radius: 1.3889vw;
        text-align: left;
    }

    .guideline-jobs__tabs {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.0417vw 2.0833vw;
        margin: 0 0 0.8333vw;
        padding: 0 0 1.6667vw;
        border-bottom: 1px solid #ece3af;
        list-style: none;
    }

    .guideline-jobs__tab {
        display: flex;
        align-items: center;
        gap: 0.625vw;
        background: none;
        border: none;
        padding: 0;
        color: #000;
        font-size: 1.3194vw;
        font-weight: 500;
        letter-spacing: 0.95px;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .guideline-jobs__tab:hover {
        opacity: 0.8;
    }

    .guideline-jobs__tab-dot {
        position: relative;
        flex: none;
        width: 1.25vw;
        height: 1.25vw;
        background: #fff;
        border: 1px solid #838383;
        border-radius: 50%;
    }

    .guideline-jobs__tab.is-active .guideline-jobs__tab-dot::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.6944vw;
        height: 0.6944vw;
        background: var(--color-green);
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .guideline-jobs__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6944vw;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .guideline-jobs__card {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 4.4444vw;
        padding: 0 1.3889vw;
        background: #fff;
        border: none;
        border-radius: 0.6944vw;
        color: #333;
        font-size: 1.25vw;
        font-weight: 500;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .guideline-jobs__card:hover {
        opacity: 0.8;
    }

    .guideline-jobs__grid .c-search-panel__tag.is-active {
        background: var(--color-orange);
        color: #fff;
    }

    .guideline-jobs__tabs .c-search-panel__tag.is-active {
        background: transparent;
        color: #000;
    }



    /* -------------------------
        募集要項テーブル
    ------------------------- */

    .guideline-table {
        padding: 4.1667vw 1.3889vw 27.7778vw;
        background: #FFFFBC;
    }

    .guideline-table__inner {
        max-width: 78.4722vw;
        margin: 0 auto;
    }

    .guideline-table__accordion {
        position: relative;
        max-width: 71.3889vw;
        margin: 0 auto 4.1667vw;
        background: #fff;
        border-radius: 2.0833vw;
        overflow: hidden;
    }

    .guideline-table__summary {
        display: flex;
        align-items: center;
        gap: 1.3194vw;
        padding: 3.4722vw 4.5139vw;
        cursor: pointer;
        list-style: none;
    }

    .guideline-table__summary-type {
        display: inline-flex;
        flex: none;
        align-items: center;
        justify-content: center;
        height: 3.2639vw;
        padding: 0 1.3889vw;
        background: #41BCD7;
        color: #fff;
        font-size: 1.1111vw;
        font-weight: 500;
        letter-spacing: 1px;
    }

    .guideline-table__summary-title {
        color: #000;
        font-size: 1.6667vw;
        font-weight: 700;
        letter-spacing: 1.2px;
    }

    .guideline-table__summary-location {
        color: #000;
        font-size: 1.25vw;
    }

    .guideline-table__summary::after {
        content: "";
        flex: none;
        width: 1.3194vw;
        height: 1.3194vw;
        margin-left: auto;
        background-image: url("../images/recruit-guideline/icon_accordion_closed.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .guideline-table__accordion[open] .guideline-table__summary::after {
        background-image: url("../images/recruit-guideline/icon_accordion_open.svg");
    }

    .guideline-table__paper {
        position: relative;
        padding: 0 8.3333vw 6.9444vw;
    }


    .guideline-table__list {
        margin: 0;
    }

    .guideline-table__row {
        display: flex;
        gap: 0;
        padding: 1.0417vw 0;
        border-bottom: 1px solid #D9D9D9;
        font-size: 1.25vw;
        line-height: 2.0833vw;
        letter-spacing: -0.9px;
        color: #000;
    }

    .guideline-table__row dt {
        flex-shrink: 0;
        width: 11.875vw;
    }

    .guideline-table__row dd {
        flex: 1;
        margin: 0;
    }

    .guideline-table__row dd p {
        margin: 0;
    }

    .guideline-table__row dd ul {
        margin: 0;
        padding-left: 1.875vw;
        list-style: disc;
    }

    .guideline-table__buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6944vw;
        margin-top: 5.5556vw;
    }

    .guideline-table__top {
        display: flex;
        justify-content: flex-end;
        margin-top: 2.7778vw;
    }

    .guideline-backtotop {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 11.7361vw;
        height: 11.6667vw;
        text-decoration: none;
    }

    .guideline-backtotop__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .guideline-backtotop__arrow {
        position: absolute;
        left: 50%;
        top: 2.2222vw;
        width: 2.0833vw;
        height: 2.0833vw;
        transform: translateX(-50%);
    }

    .guideline-backtotop__text {
        position: relative;
        margin-top: 2.0833vw;
        color: #000;
        font-size: 1.4583vw;
        font-weight: 500;
        text-align: center;
        line-height: 1.4;
    }

    /* -------------------------
        記事が0件のときの表示
    ------------------------- */

    .guideline-table__empty {
        padding: 4.1667vw 1.3889vw;
        border-radius: 2.0833vw;
        font-size: 1.25vw;
    }
}
